/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace SES { namespace Model { /** *

Represents the custom MAIL FROM attributes for a list of * identities.

See Also:

AWS * API Reference

*/ class GetIdentityMailFromDomainAttributesResult { public: AWS_SES_API GetIdentityMailFromDomainAttributesResult(); AWS_SES_API GetIdentityMailFromDomainAttributesResult(const Aws::AmazonWebServiceResult& result); AWS_SES_API GetIdentityMailFromDomainAttributesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A map of identities to custom MAIL FROM attributes.

*/ inline const Aws::Map& GetMailFromDomainAttributes() const{ return m_mailFromDomainAttributes; } /** *

A map of identities to custom MAIL FROM attributes.

*/ inline void SetMailFromDomainAttributes(const Aws::Map& value) { m_mailFromDomainAttributes = value; } /** *

A map of identities to custom MAIL FROM attributes.

*/ inline void SetMailFromDomainAttributes(Aws::Map&& value) { m_mailFromDomainAttributes = std::move(value); } /** *

A map of identities to custom MAIL FROM attributes.

*/ inline GetIdentityMailFromDomainAttributesResult& WithMailFromDomainAttributes(const Aws::Map& value) { SetMailFromDomainAttributes(value); return *this;} /** *

A map of identities to custom MAIL FROM attributes.

*/ inline GetIdentityMailFromDomainAttributesResult& WithMailFromDomainAttributes(Aws::Map&& value) { SetMailFromDomainAttributes(std::move(value)); return *this;} /** *

A 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 m_mailFromDomainAttributes; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SES } // namespace Aws