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

        if (obj instanceof GroupMembershipExistenceResult == false)
            return false;
        GroupMembershipExistenceResult other = (GroupMembershipExistenceResult) obj;
        if (other.getGroupId() == null ^ this.getGroupId() == null)
            return false;
        if (other.getGroupId() != null && other.getGroupId().equals(this.getGroupId()) == false)
            return false;
        if (other.getMemberId() == null ^ this.getMemberId() == null)
            return false;
        if (other.getMemberId() != null && other.getMemberId().equals(this.getMemberId()) == false)
            return false;
        if (other.getMembershipExists() == null ^ this.getMembershipExists() == null)
            return false;
        if (other.getMembershipExists() != null && other.getMembershipExists().equals(this.getMembershipExists()) == 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-identitystore/src/main/java/com/amazonaws/services/identitystore/model/GroupMembershipExistenceResult.java