/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns a TXT record that you must publish to the DNS server of your domain
* to complete domain verification with Amazon SES.See Also:
AWS
* API Reference
A TXT record that you must place in the DNS settings of the domain to * complete domain verification with Amazon SES.
As Amazon SES searches for * the TXT record, the domain's verification status is "Pending". When Amazon SES * detects the record, the domain's verification status changes to "Success". If * Amazon SES is unable to detect the record within 72 hours, the domain's * verification status changes to "Failed." In that case, if you still want to * verify the domain, you must restart the verification process from the * beginning.
*/ inline const Aws::String& GetVerificationToken() const{ return m_verificationToken; } /** *A TXT record that you must place in the DNS settings of the domain to * complete domain verification with Amazon SES.
As Amazon SES searches for * the TXT record, the domain's verification status is "Pending". When Amazon SES * detects the record, the domain's verification status changes to "Success". If * Amazon SES is unable to detect the record within 72 hours, the domain's * verification status changes to "Failed." In that case, if you still want to * verify the domain, you must restart the verification process from the * beginning.
*/ inline void SetVerificationToken(const Aws::String& value) { m_verificationToken = value; } /** *A TXT record that you must place in the DNS settings of the domain to * complete domain verification with Amazon SES.
As Amazon SES searches for * the TXT record, the domain's verification status is "Pending". When Amazon SES * detects the record, the domain's verification status changes to "Success". If * Amazon SES is unable to detect the record within 72 hours, the domain's * verification status changes to "Failed." In that case, if you still want to * verify the domain, you must restart the verification process from the * beginning.
*/ inline void SetVerificationToken(Aws::String&& value) { m_verificationToken = std::move(value); } /** *A TXT record that you must place in the DNS settings of the domain to * complete domain verification with Amazon SES.
As Amazon SES searches for * the TXT record, the domain's verification status is "Pending". When Amazon SES * detects the record, the domain's verification status changes to "Success". If * Amazon SES is unable to detect the record within 72 hours, the domain's * verification status changes to "Failed." In that case, if you still want to * verify the domain, you must restart the verification process from the * beginning.
*/ inline void SetVerificationToken(const char* value) { m_verificationToken.assign(value); } /** *A TXT record that you must place in the DNS settings of the domain to * complete domain verification with Amazon SES.
As Amazon SES searches for * the TXT record, the domain's verification status is "Pending". When Amazon SES * detects the record, the domain's verification status changes to "Success". If * Amazon SES is unable to detect the record within 72 hours, the domain's * verification status changes to "Failed." In that case, if you still want to * verify the domain, you must restart the verification process from the * beginning.
*/ inline VerifyDomainIdentityResult& WithVerificationToken(const Aws::String& value) { SetVerificationToken(value); return *this;} /** *A TXT record that you must place in the DNS settings of the domain to * complete domain verification with Amazon SES.
As Amazon SES searches for * the TXT record, the domain's verification status is "Pending". When Amazon SES * detects the record, the domain's verification status changes to "Success". If * Amazon SES is unable to detect the record within 72 hours, the domain's * verification status changes to "Failed." In that case, if you still want to * verify the domain, you must restart the verification process from the * beginning.
*/ inline VerifyDomainIdentityResult& WithVerificationToken(Aws::String&& value) { SetVerificationToken(std::move(value)); return *this;} /** *A TXT record that you must place in the DNS settings of the domain to * complete domain verification with Amazon SES.
As Amazon SES searches for * the TXT record, the domain's verification status is "Pending". When Amazon SES * detects the record, the domain's verification status changes to "Success". If * Amazon SES is unable to detect the record within 72 hours, the domain's * verification status changes to "Failed." In that case, if you still want to * verify the domain, you must restart the verification process from the * beginning.
*/ inline VerifyDomainIdentityResult& WithVerificationToken(const char* value) { SetVerificationToken(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 VerifyDomainIdentityResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline VerifyDomainIdentityResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_verificationToken; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SES } // namespace Aws