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

    if (obj instanceof PutNotificationConfigurationRequest == false) return false;
    PutNotificationConfigurationRequest other = (PutNotificationConfigurationRequest) obj;
    if (other.getAutoScalingGroupName() == null ^ this.getAutoScalingGroupName() == null)
      return false;
    if (other.getAutoScalingGroupName() != null
        && other.getAutoScalingGroupName().equals(this.getAutoScalingGroupName()) == false)
      return false;
    if (other.getTopicARN() == null ^ this.getTopicARN() == null) return false;
    if (other.getTopicARN() != null && other.getTopicARN().equals(this.getTopicARN()) == false)
      return false;
    if (other.getNotificationTypes() == null ^ this.getNotificationTypes() == null) return false;
    if (other.getNotificationTypes() != null
        && other.getNotificationTypes().equals(this.getNotificationTypes()) == false) return false;
    return true;
  }