/** * 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 { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace SES { namespace Model { /** *

Represents the DKIM attributes of a verified email address or a * domain.

See Also:

AWS * API Reference

*/ class IdentityDkimAttributes { public: AWS_SES_API IdentityDkimAttributes(); AWS_SES_API IdentityDkimAttributes(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_SES_API IdentityDkimAttributes& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

Is true if DKIM signing is enabled for email sent from the identity. It's * false otherwise. The default value is true.

*/ inline bool GetDkimEnabled() const{ return m_dkimEnabled; } /** *

Is true if DKIM signing is enabled for email sent from the identity. It's * false otherwise. The default value is true.

*/ inline bool DkimEnabledHasBeenSet() const { return m_dkimEnabledHasBeenSet; } /** *

Is true if DKIM signing is enabled for email sent from the identity. It's * false otherwise. The default value is true.

*/ inline void SetDkimEnabled(bool value) { m_dkimEnabledHasBeenSet = true; m_dkimEnabled = value; } /** *

Is true if DKIM signing is enabled for email sent from the identity. It's * false otherwise. The default value is true.

*/ inline IdentityDkimAttributes& WithDkimEnabled(bool value) { SetDkimEnabled(value); return *this;} /** *

Describes whether Amazon SES has successfully verified the DKIM DNS records * (tokens) published in the domain name's DNS. (This only applies to domain * identities, not email address identities.)

*/ inline const VerificationStatus& GetDkimVerificationStatus() const{ return m_dkimVerificationStatus; } /** *

Describes whether Amazon SES has successfully verified the DKIM DNS records * (tokens) published in the domain name's DNS. (This only applies to domain * identities, not email address identities.)

*/ inline bool DkimVerificationStatusHasBeenSet() const { return m_dkimVerificationStatusHasBeenSet; } /** *

Describes whether Amazon SES has successfully verified the DKIM DNS records * (tokens) published in the domain name's DNS. (This only applies to domain * identities, not email address identities.)

*/ inline void SetDkimVerificationStatus(const VerificationStatus& value) { m_dkimVerificationStatusHasBeenSet = true; m_dkimVerificationStatus = value; } /** *

Describes whether Amazon SES has successfully verified the DKIM DNS records * (tokens) published in the domain name's DNS. (This only applies to domain * identities, not email address identities.)

*/ inline void SetDkimVerificationStatus(VerificationStatus&& value) { m_dkimVerificationStatusHasBeenSet = true; m_dkimVerificationStatus = std::move(value); } /** *

Describes whether Amazon SES has successfully verified the DKIM DNS records * (tokens) published in the domain name's DNS. (This only applies to domain * identities, not email address identities.)

*/ inline IdentityDkimAttributes& WithDkimVerificationStatus(const VerificationStatus& value) { SetDkimVerificationStatus(value); return *this;} /** *

Describes whether Amazon SES has successfully verified the DKIM DNS records * (tokens) published in the domain name's DNS. (This only applies to domain * identities, not email address identities.)

*/ inline IdentityDkimAttributes& WithDkimVerificationStatus(VerificationStatus&& value) { SetDkimVerificationStatus(std::move(value)); return *this;} /** *

A set of character strings that represent the domain's identity. Using these * tokens, you need to create DNS CNAME records that point to DKIM public keys that * are hosted by Amazon SES. Amazon Web Services eventually detects that you've * updated your DNS records. This detection process might take up to 72 hours. * After successful detection, Amazon SES is able to DKIM-sign email originating * from that domain. (This only applies to domain identities, not email address * identities.)

For more information about creating DNS records using DKIM * tokens, see the Amazon * SES Developer Guide.

*/ inline const Aws::Vector& GetDkimTokens() const{ return m_dkimTokens; } /** *

A set of character strings that represent the domain's identity. Using these * tokens, you need to create DNS CNAME records that point to DKIM public keys that * are hosted by Amazon SES. Amazon Web Services eventually detects that you've * updated your DNS records. This detection process might take up to 72 hours. * After successful detection, Amazon SES is able to DKIM-sign email originating * from that domain. (This only applies to domain identities, not email address * identities.)

For more information about creating DNS records using DKIM * tokens, see the Amazon * SES Developer Guide.

*/ inline bool DkimTokensHasBeenSet() const { return m_dkimTokensHasBeenSet; } /** *

A set of character strings that represent the domain's identity. Using these * tokens, you need to create DNS CNAME records that point to DKIM public keys that * are hosted by Amazon SES. Amazon Web Services eventually detects that you've * updated your DNS records. This detection process might take up to 72 hours. * After successful detection, Amazon SES is able to DKIM-sign email originating * from that domain. (This only applies to domain identities, not email address * identities.)

For more information about creating DNS records using DKIM * tokens, see the Amazon * SES Developer Guide.

*/ inline void SetDkimTokens(const Aws::Vector& value) { m_dkimTokensHasBeenSet = true; m_dkimTokens = value; } /** *

A set of character strings that represent the domain's identity. Using these * tokens, you need to create DNS CNAME records that point to DKIM public keys that * are hosted by Amazon SES. Amazon Web Services eventually detects that you've * updated your DNS records. This detection process might take up to 72 hours. * After successful detection, Amazon SES is able to DKIM-sign email originating * from that domain. (This only applies to domain identities, not email address * identities.)

For more information about creating DNS records using DKIM * tokens, see the Amazon * SES Developer Guide.

*/ inline void SetDkimTokens(Aws::Vector&& value) { m_dkimTokensHasBeenSet = true; m_dkimTokens = std::move(value); } /** *

A set of character strings that represent the domain's identity. Using these * tokens, you need to create DNS CNAME records that point to DKIM public keys that * are hosted by Amazon SES. Amazon Web Services eventually detects that you've * updated your DNS records. This detection process might take up to 72 hours. * After successful detection, Amazon SES is able to DKIM-sign email originating * from that domain. (This only applies to domain identities, not email address * identities.)

For more information about creating DNS records using DKIM * tokens, see the Amazon * SES Developer Guide.

*/ inline IdentityDkimAttributes& WithDkimTokens(const Aws::Vector& value) { SetDkimTokens(value); return *this;} /** *

A set of character strings that represent the domain's identity. Using these * tokens, you need to create DNS CNAME records that point to DKIM public keys that * are hosted by Amazon SES. Amazon Web Services eventually detects that you've * updated your DNS records. This detection process might take up to 72 hours. * After successful detection, Amazon SES is able to DKIM-sign email originating * from that domain. (This only applies to domain identities, not email address * identities.)

For more information about creating DNS records using DKIM * tokens, see the Amazon * SES Developer Guide.

*/ inline IdentityDkimAttributes& WithDkimTokens(Aws::Vector&& value) { SetDkimTokens(std::move(value)); return *this;} /** *

A set of character strings that represent the domain's identity. Using these * tokens, you need to create DNS CNAME records that point to DKIM public keys that * are hosted by Amazon SES. Amazon Web Services eventually detects that you've * updated your DNS records. This detection process might take up to 72 hours. * After successful detection, Amazon SES is able to DKIM-sign email originating * from that domain. (This only applies to domain identities, not email address * identities.)

For more information about creating DNS records using DKIM * tokens, see the Amazon * SES Developer Guide.

*/ inline IdentityDkimAttributes& AddDkimTokens(const Aws::String& value) { m_dkimTokensHasBeenSet = true; m_dkimTokens.push_back(value); return *this; } /** *

A set of character strings that represent the domain's identity. Using these * tokens, you need to create DNS CNAME records that point to DKIM public keys that * are hosted by Amazon SES. Amazon Web Services eventually detects that you've * updated your DNS records. This detection process might take up to 72 hours. * After successful detection, Amazon SES is able to DKIM-sign email originating * from that domain. (This only applies to domain identities, not email address * identities.)

For more information about creating DNS records using DKIM * tokens, see the Amazon * SES Developer Guide.

*/ inline IdentityDkimAttributes& AddDkimTokens(Aws::String&& value) { m_dkimTokensHasBeenSet = true; m_dkimTokens.push_back(std::move(value)); return *this; } /** *

A set of character strings that represent the domain's identity. Using these * tokens, you need to create DNS CNAME records that point to DKIM public keys that * are hosted by Amazon SES. Amazon Web Services eventually detects that you've * updated your DNS records. This detection process might take up to 72 hours. * After successful detection, Amazon SES is able to DKIM-sign email originating * from that domain. (This only applies to domain identities, not email address * identities.)

For more information about creating DNS records using DKIM * tokens, see the Amazon * SES Developer Guide.

*/ inline IdentityDkimAttributes& AddDkimTokens(const char* value) { m_dkimTokensHasBeenSet = true; m_dkimTokens.push_back(value); return *this; } private: bool m_dkimEnabled; bool m_dkimEnabledHasBeenSet = false; VerificationStatus m_dkimVerificationStatus; bool m_dkimVerificationStatusHasBeenSet = false; Aws::Vector m_dkimTokens; bool m_dkimTokensHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws