package com.amazonaws.services.cognitoidentity.model; import java.io.Serializable; /* loaded from: classes.dex */ public class GetIdResult implements Serializable { public String identityId; public String getIdentityId() { return this.identityId; } public void setIdentityId(String str) { this.identityId = str; } public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getIdentityId() != null) { sb.append("IdentityId: " + getIdentityId()); } sb.append("}"); return sb.toString(); } public int hashCode() { return 31 + (getIdentityId() == null ? 0 : getIdentityId().hashCode()); } public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || !(obj instanceof GetIdResult)) { return false; } GetIdResult getIdResult = (GetIdResult) obj; if ((getIdResult.getIdentityId() == null) ^ (getIdentityId() == null)) { return false; } return getIdResult.getIdentityId() == null || getIdResult.getIdentityId().equals(getIdentityId()); } }