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

        if (obj instanceof Impact == false)
            return false;
        Impact other = (Impact) obj;
        if (other.getMaxImpact() == null ^ this.getMaxImpact() == null)
            return false;
        if (other.getMaxImpact() != null && other.getMaxImpact().equals(this.getMaxImpact()) == false)
            return false;
        if (other.getTotalImpact() == null ^ this.getTotalImpact() == null)
            return false;
        if (other.getTotalImpact() != null && other.getTotalImpact().equals(this.getTotalImpact()) == false)
            return false;
        if (other.getTotalActualSpend() == null ^ this.getTotalActualSpend() == null)
            return false;
        if (other.getTotalActualSpend() != null && other.getTotalActualSpend().equals(this.getTotalActualSpend()) == false)
            return false;
        if (other.getTotalExpectedSpend() == null ^ this.getTotalExpectedSpend() == null)
            return false;
        if (other.getTotalExpectedSpend() != null && other.getTotalExpectedSpend().equals(this.getTotalExpectedSpend()) == false)
            return false;
        if (other.getTotalImpactPercentage() == null ^ this.getTotalImpactPercentage() == null)
            return false;
        if (other.getTotalImpactPercentage() != null && other.getTotalImpactPercentage().equals(this.getTotalImpactPercentage()) == 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-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/Impact.java