@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof ListShareInvitationsRequest == false)
            return false;
        ListShareInvitationsRequest other = (ListShareInvitationsRequest) obj;
        if (other.getWorkloadNamePrefix() == null ^ this.getWorkloadNamePrefix() == null)
            return false;
        if (other.getWorkloadNamePrefix() != null && other.getWorkloadNamePrefix().equals(this.getWorkloadNamePrefix()) == false)
            return false;
        if (other.getLensNamePrefix() == null ^ this.getLensNamePrefix() == null)
            return false;
        if (other.getLensNamePrefix() != null && other.getLensNamePrefix().equals(this.getLensNamePrefix()) == false)
            return false;
        if (other.getShareResourceType() == null ^ this.getShareResourceType() == null)
            return false;
        if (other.getShareResourceType() != null && other.getShareResourceType().equals(this.getShareResourceType()) == false)
            return false;
        if (other.getNextToken() == null ^ this.getNextToken() == null)
            return false;
        if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
            return false;
        if (other.getMaxResults() == null ^ this.getMaxResults() == null)
            return false;
        if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false)
            return false;
        if (other.getProfileNamePrefix() == null ^ this.getProfileNamePrefix() == null)
            return false;
        if (other.getProfileNamePrefix() != null && other.getProfileNamePrefix().equals(this.getProfileNamePrefix()) == false)
            return false;
        if (other.getTemplateNamePrefix() == null ^ this.getTemplateNamePrefix() == null)
            return false;
        if (other.getTemplateNamePrefix() != null && other.getTemplateNamePrefix().equals(this.getTemplateNamePrefix()) == false)
            return false;
        return true;
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-wellarchitected/src/main/java/com/amazonaws/services/wellarchitected/model/ListShareInvitationsRequest.java