package com.amazonaws.services.cognitoidentity.model; import com.amazonaws.AmazonWebServiceRequest; import java.io.Serializable; import java.util.Map; /* loaded from: classes.dex */ public class GetIdRequest extends AmazonWebServiceRequest implements Serializable { public String accountId; public String identityPoolId; public Map logins; public String getAccountId() { return this.accountId; } public String getIdentityPoolId() { return this.identityPoolId; } public Map getLogins() { return this.logins; } public GetIdRequest withAccountId(String str) { this.accountId = str; return this; } public GetIdRequest withIdentityPoolId(String str) { this.identityPoolId = str; return this; } public GetIdRequest withLogins(Map map) { this.logins = map; return this; } public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getAccountId() != null) { sb.append("AccountId: " + getAccountId() + ","); } if (getIdentityPoolId() != null) { sb.append("IdentityPoolId: " + getIdentityPoolId() + ","); } if (getLogins() != null) { sb.append("Logins: " + getLogins()); } sb.append("}"); return sb.toString(); } public int hashCode() { return (((((getAccountId() == null ? 0 : getAccountId().hashCode()) + 31) * 31) + (getIdentityPoolId() == null ? 0 : getIdentityPoolId().hashCode())) * 31) + (getLogins() != null ? getLogins().hashCode() : 0); } public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || !(obj instanceof GetIdRequest)) { return false; } GetIdRequest getIdRequest = (GetIdRequest) obj; if ((getIdRequest.getAccountId() == null) ^ (getAccountId() == null)) { return false; } if (getIdRequest.getAccountId() != null && !getIdRequest.getAccountId().equals(getAccountId())) { return false; } if ((getIdRequest.getIdentityPoolId() == null) ^ (getIdentityPoolId() == null)) { return false; } if (getIdRequest.getIdentityPoolId() != null && !getIdRequest.getIdentityPoolId().equals(getIdentityPoolId())) { return false; } if ((getIdRequest.getLogins() == null) ^ (getLogins() == null)) { return false; } return getIdRequest.getLogins() == null || getIdRequest.getLogins().equals(getLogins()); } }