/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the custom MAIL FROM attributes for a list of
* identities.See Also:
AWS
* API Reference
A map of identities to custom MAIL FROM attributes.
*/ inline const Aws::MapA map of identities to custom MAIL FROM attributes.
*/ inline void SetMailFromDomainAttributes(const Aws::MapA map of identities to custom MAIL FROM attributes.
*/ inline void SetMailFromDomainAttributes(Aws::MapA map of identities to custom MAIL FROM attributes.
*/ inline GetIdentityMailFromDomainAttributesResult& WithMailFromDomainAttributes(const Aws::MapA map of identities to custom MAIL FROM attributes.
*/ inline GetIdentityMailFromDomainAttributesResult& WithMailFromDomainAttributes(Aws::MapA map of identities to custom MAIL FROM attributes.
*/ inline GetIdentityMailFromDomainAttributesResult& AddMailFromDomainAttributes(const Aws::String& key, const IdentityMailFromDomainAttributes& value) { m_mailFromDomainAttributes.emplace(key, value); return *this; } /** *A map of identities to custom MAIL FROM attributes.
*/ inline GetIdentityMailFromDomainAttributesResult& AddMailFromDomainAttributes(Aws::String&& key, const IdentityMailFromDomainAttributes& value) { m_mailFromDomainAttributes.emplace(std::move(key), value); return *this; } /** *A map of identities to custom MAIL FROM attributes.
*/ inline GetIdentityMailFromDomainAttributesResult& AddMailFromDomainAttributes(const Aws::String& key, IdentityMailFromDomainAttributes&& value) { m_mailFromDomainAttributes.emplace(key, std::move(value)); return *this; } /** *A map of identities to custom MAIL FROM attributes.
*/ inline GetIdentityMailFromDomainAttributesResult& AddMailFromDomainAttributes(Aws::String&& key, IdentityMailFromDomainAttributes&& value) { m_mailFromDomainAttributes.emplace(std::move(key), std::move(value)); return *this; } /** *A map of identities to custom MAIL FROM attributes.
*/ inline GetIdentityMailFromDomainAttributesResult& AddMailFromDomainAttributes(const char* key, IdentityMailFromDomainAttributes&& value) { m_mailFromDomainAttributes.emplace(key, std::move(value)); return *this; } /** *A map of identities to custom MAIL FROM attributes.
*/ inline GetIdentityMailFromDomainAttributesResult& AddMailFromDomainAttributes(const char* key, const IdentityMailFromDomainAttributes& value) { m_mailFromDomainAttributes.emplace(key, value); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline GetIdentityMailFromDomainAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetIdentityMailFromDomainAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Map