/** * 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 status of Amazon SES Easy DKIM signing for an identity. For * domain identities, this response also contains the DKIM tokens that are required * for Easy DKIM signing, and whether Amazon SES successfully verified that these * tokens were published.

See Also:

AWS * API Reference

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

The DKIM attributes for an email address or a domain.

*/ inline const Aws::Map& GetDkimAttributes() const{ return m_dkimAttributes; } /** *

The DKIM attributes for an email address or a domain.

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

The DKIM attributes for an email address or a domain.

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

The DKIM attributes for an email address or a domain.

*/ inline GetIdentityDkimAttributesResult& WithDkimAttributes(const Aws::Map& value) { SetDkimAttributes(value); return *this;} /** *

The DKIM attributes for an email address or a domain.

*/ inline GetIdentityDkimAttributesResult& WithDkimAttributes(Aws::Map&& value) { SetDkimAttributes(std::move(value)); return *this;} /** *

The DKIM attributes for an email address or a domain.

*/ inline GetIdentityDkimAttributesResult& AddDkimAttributes(const Aws::String& key, const IdentityDkimAttributes& value) { m_dkimAttributes.emplace(key, value); return *this; } /** *

The DKIM attributes for an email address or a domain.

*/ inline GetIdentityDkimAttributesResult& AddDkimAttributes(Aws::String&& key, const IdentityDkimAttributes& value) { m_dkimAttributes.emplace(std::move(key), value); return *this; } /** *

The DKIM attributes for an email address or a domain.

*/ inline GetIdentityDkimAttributesResult& AddDkimAttributes(const Aws::String& key, IdentityDkimAttributes&& value) { m_dkimAttributes.emplace(key, std::move(value)); return *this; } /** *

The DKIM attributes for an email address or a domain.

*/ inline GetIdentityDkimAttributesResult& AddDkimAttributes(Aws::String&& key, IdentityDkimAttributes&& value) { m_dkimAttributes.emplace(std::move(key), std::move(value)); return *this; } /** *

The DKIM attributes for an email address or a domain.

*/ inline GetIdentityDkimAttributesResult& AddDkimAttributes(const char* key, IdentityDkimAttributes&& value) { m_dkimAttributes.emplace(key, std::move(value)); return *this; } /** *

The DKIM attributes for an email address or a domain.

*/ inline GetIdentityDkimAttributesResult& AddDkimAttributes(const char* key, const IdentityDkimAttributes& value) { m_dkimAttributes.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 GetIdentityDkimAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetIdentityDkimAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Map m_dkimAttributes; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SES } // namespace Aws