/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The following elements are returned by the service.See Also:
* AWS
* API Reference
The name of the custom verification email template.
*/ inline const Aws::String& GetTemplateName() const{ return m_templateName; } /** *The name of the custom verification email template.
*/ inline void SetTemplateName(const Aws::String& value) { m_templateName = value; } /** *The name of the custom verification email template.
*/ inline void SetTemplateName(Aws::String&& value) { m_templateName = std::move(value); } /** *The name of the custom verification email template.
*/ inline void SetTemplateName(const char* value) { m_templateName.assign(value); } /** *The name of the custom verification email template.
*/ inline GetCustomVerificationEmailTemplateResult& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} /** *The name of the custom verification email template.
*/ inline GetCustomVerificationEmailTemplateResult& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} /** *The name of the custom verification email template.
*/ inline GetCustomVerificationEmailTemplateResult& WithTemplateName(const char* value) { SetTemplateName(value); return *this;} /** *The email address that the custom verification email is sent from.
*/ inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; } /** *The email address that the custom verification email is sent from.
*/ inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddress = value; } /** *The email address that the custom verification email is sent from.
*/ inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddress = std::move(value); } /** *The email address that the custom verification email is sent from.
*/ inline void SetFromEmailAddress(const char* value) { m_fromEmailAddress.assign(value); } /** *The email address that the custom verification email is sent from.
*/ inline GetCustomVerificationEmailTemplateResult& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;} /** *The email address that the custom verification email is sent from.
*/ inline GetCustomVerificationEmailTemplateResult& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;} /** *The email address that the custom verification email is sent from.
*/ inline GetCustomVerificationEmailTemplateResult& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;} /** *The subject line of the custom verification email.
*/ inline const Aws::String& GetTemplateSubject() const{ return m_templateSubject; } /** *The subject line of the custom verification email.
*/ inline void SetTemplateSubject(const Aws::String& value) { m_templateSubject = value; } /** *The subject line of the custom verification email.
*/ inline void SetTemplateSubject(Aws::String&& value) { m_templateSubject = std::move(value); } /** *The subject line of the custom verification email.
*/ inline void SetTemplateSubject(const char* value) { m_templateSubject.assign(value); } /** *The subject line of the custom verification email.
*/ inline GetCustomVerificationEmailTemplateResult& WithTemplateSubject(const Aws::String& value) { SetTemplateSubject(value); return *this;} /** *The subject line of the custom verification email.
*/ inline GetCustomVerificationEmailTemplateResult& WithTemplateSubject(Aws::String&& value) { SetTemplateSubject(std::move(value)); return *this;} /** *The subject line of the custom verification email.
*/ inline GetCustomVerificationEmailTemplateResult& WithTemplateSubject(const char* value) { SetTemplateSubject(value); return *this;} /** *The content of the custom verification email.
*/ inline const Aws::String& GetTemplateContent() const{ return m_templateContent; } /** *The content of the custom verification email.
*/ inline void SetTemplateContent(const Aws::String& value) { m_templateContent = value; } /** *The content of the custom verification email.
*/ inline void SetTemplateContent(Aws::String&& value) { m_templateContent = std::move(value); } /** *The content of the custom verification email.
*/ inline void SetTemplateContent(const char* value) { m_templateContent.assign(value); } /** *The content of the custom verification email.
*/ inline GetCustomVerificationEmailTemplateResult& WithTemplateContent(const Aws::String& value) { SetTemplateContent(value); return *this;} /** *The content of the custom verification email.
*/ inline GetCustomVerificationEmailTemplateResult& WithTemplateContent(Aws::String&& value) { SetTemplateContent(std::move(value)); return *this;} /** *The content of the custom verification email.
*/ inline GetCustomVerificationEmailTemplateResult& WithTemplateContent(const char* value) { SetTemplateContent(value); return *this;} /** *The URL that the recipient of the verification email is sent to if his or her * address is successfully verified.
*/ inline const Aws::String& GetSuccessRedirectionURL() const{ return m_successRedirectionURL; } /** *The URL that the recipient of the verification email is sent to if his or her * address is successfully verified.
*/ inline void SetSuccessRedirectionURL(const Aws::String& value) { m_successRedirectionURL = value; } /** *The URL that the recipient of the verification email is sent to if his or her * address is successfully verified.
*/ inline void SetSuccessRedirectionURL(Aws::String&& value) { m_successRedirectionURL = std::move(value); } /** *The URL that the recipient of the verification email is sent to if his or her * address is successfully verified.
*/ inline void SetSuccessRedirectionURL(const char* value) { m_successRedirectionURL.assign(value); } /** *The URL that the recipient of the verification email is sent to if his or her * address is successfully verified.
*/ inline GetCustomVerificationEmailTemplateResult& WithSuccessRedirectionURL(const Aws::String& value) { SetSuccessRedirectionURL(value); return *this;} /** *The URL that the recipient of the verification email is sent to if his or her * address is successfully verified.
*/ inline GetCustomVerificationEmailTemplateResult& WithSuccessRedirectionURL(Aws::String&& value) { SetSuccessRedirectionURL(std::move(value)); return *this;} /** *The URL that the recipient of the verification email is sent to if his or her * address is successfully verified.
*/ inline GetCustomVerificationEmailTemplateResult& WithSuccessRedirectionURL(const char* value) { SetSuccessRedirectionURL(value); return *this;} /** *The URL that the recipient of the verification email is sent to if his or her * address is not successfully verified.
*/ inline const Aws::String& GetFailureRedirectionURL() const{ return m_failureRedirectionURL; } /** *The URL that the recipient of the verification email is sent to if his or her * address is not successfully verified.
*/ inline void SetFailureRedirectionURL(const Aws::String& value) { m_failureRedirectionURL = value; } /** *The URL that the recipient of the verification email is sent to if his or her * address is not successfully verified.
*/ inline void SetFailureRedirectionURL(Aws::String&& value) { m_failureRedirectionURL = std::move(value); } /** *The URL that the recipient of the verification email is sent to if his or her * address is not successfully verified.
*/ inline void SetFailureRedirectionURL(const char* value) { m_failureRedirectionURL.assign(value); } /** *The URL that the recipient of the verification email is sent to if his or her * address is not successfully verified.
*/ inline GetCustomVerificationEmailTemplateResult& WithFailureRedirectionURL(const Aws::String& value) { SetFailureRedirectionURL(value); return *this;} /** *The URL that the recipient of the verification email is sent to if his or her * address is not successfully verified.
*/ inline GetCustomVerificationEmailTemplateResult& WithFailureRedirectionURL(Aws::String&& value) { SetFailureRedirectionURL(std::move(value)); return *this;} /** *The URL that the recipient of the verification email is sent to if his or her * address is not successfully verified.
*/ inline GetCustomVerificationEmailTemplateResult& WithFailureRedirectionURL(const char* value) { SetFailureRedirectionURL(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetCustomVerificationEmailTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetCustomVerificationEmailTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetCustomVerificationEmailTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_templateName; Aws::String m_fromEmailAddress; Aws::String m_templateSubject; Aws::String m_templateContent; Aws::String m_successRedirectionURL; Aws::String m_failureRedirectionURL; Aws::String m_requestId; }; } // namespace Model } // namespace SESV2 } // namespace Aws