/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a request to update an existing custom verification email
* template.See Also:
AWS
* API Reference
The name of the custom verification email template that you want to * update.
*/ inline const Aws::String& GetTemplateName() const{ return m_templateName; } /** *The name of the custom verification email template that you want to * update.
*/ inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *The name of the custom verification email template that you want to * update.
*/ inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } /** *The name of the custom verification email template that you want to * update.
*/ inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } /** *The name of the custom verification email template that you want to * update.
*/ inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } /** *The name of the custom verification email template that you want to * update.
*/ inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} /** *The name of the custom verification email template that you want to * update.
*/ inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} /** *The name of the custom verification email template that you want to * update.
*/ inline UpdateCustomVerificationEmailTemplateRequest& 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 bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; } /** *The email address that the custom verification email is sent from.
*/ inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; } /** *The email address that the custom verification email is sent from.
*/ inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); } /** *The email address that the custom verification email is sent from.
*/ inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); } /** *The email address that the custom verification email is sent from.
*/ inline UpdateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;} /** *The email address that the custom verification email is sent from.
*/ inline UpdateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;} /** *The email address that the custom verification email is sent from.
*/ inline UpdateCustomVerificationEmailTemplateRequest& 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 bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; } /** *The subject line of the custom verification email.
*/ inline void SetTemplateSubject(const Aws::String& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = value; } /** *The subject line of the custom verification email.
*/ inline void SetTemplateSubject(Aws::String&& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = std::move(value); } /** *The subject line of the custom verification email.
*/ inline void SetTemplateSubject(const char* value) { m_templateSubjectHasBeenSet = true; m_templateSubject.assign(value); } /** *The subject line of the custom verification email.
*/ inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateSubject(const Aws::String& value) { SetTemplateSubject(value); return *this;} /** *The subject line of the custom verification email.
*/ inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateSubject(Aws::String&& value) { SetTemplateSubject(std::move(value)); return *this;} /** *The subject line of the custom verification email.
*/ inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateSubject(const char* value) { SetTemplateSubject(value); return *this;} /** *The content of the custom verification email. The total size of the email * must be less than 10 MB. The message body may contain HTML, with some * limitations. For more information, see Custom * verification email frequently asked questions in the Amazon SES Developer * Guide.
*/ inline const Aws::String& GetTemplateContent() const{ return m_templateContent; } /** *The content of the custom verification email. The total size of the email * must be less than 10 MB. The message body may contain HTML, with some * limitations. For more information, see Custom * verification email frequently asked questions in the Amazon SES Developer * Guide.
*/ inline bool TemplateContentHasBeenSet() const { return m_templateContentHasBeenSet; } /** *The content of the custom verification email. The total size of the email * must be less than 10 MB. The message body may contain HTML, with some * limitations. For more information, see Custom * verification email frequently asked questions in the Amazon SES Developer * Guide.
*/ inline void SetTemplateContent(const Aws::String& value) { m_templateContentHasBeenSet = true; m_templateContent = value; } /** *The content of the custom verification email. The total size of the email * must be less than 10 MB. The message body may contain HTML, with some * limitations. For more information, see Custom * verification email frequently asked questions in the Amazon SES Developer * Guide.
*/ inline void SetTemplateContent(Aws::String&& value) { m_templateContentHasBeenSet = true; m_templateContent = std::move(value); } /** *The content of the custom verification email. The total size of the email * must be less than 10 MB. The message body may contain HTML, with some * limitations. For more information, see Custom * verification email frequently asked questions in the Amazon SES Developer * Guide.
*/ inline void SetTemplateContent(const char* value) { m_templateContentHasBeenSet = true; m_templateContent.assign(value); } /** *The content of the custom verification email. The total size of the email * must be less than 10 MB. The message body may contain HTML, with some * limitations. For more information, see Custom * verification email frequently asked questions in the Amazon SES Developer * Guide.
*/ inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateContent(const Aws::String& value) { SetTemplateContent(value); return *this;} /** *The content of the custom verification email. The total size of the email * must be less than 10 MB. The message body may contain HTML, with some * limitations. For more information, see Custom * verification email frequently asked questions in the Amazon SES Developer * Guide.
*/ inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateContent(Aws::String&& value) { SetTemplateContent(std::move(value)); return *this;} /** *The content of the custom verification email. The total size of the email * must be less than 10 MB. The message body may contain HTML, with some * limitations. For more information, see Custom * verification email frequently asked questions in the Amazon SES Developer * Guide.
*/ inline UpdateCustomVerificationEmailTemplateRequest& 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 bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; } /** *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_successRedirectionURLHasBeenSet = true; 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_successRedirectionURLHasBeenSet = true; 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_successRedirectionURLHasBeenSet = true; 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 UpdateCustomVerificationEmailTemplateRequest& 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 UpdateCustomVerificationEmailTemplateRequest& 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 UpdateCustomVerificationEmailTemplateRequest& 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 bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; } /** *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_failureRedirectionURLHasBeenSet = true; 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_failureRedirectionURLHasBeenSet = true; 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_failureRedirectionURLHasBeenSet = true; 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 UpdateCustomVerificationEmailTemplateRequest& 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 UpdateCustomVerificationEmailTemplateRequest& 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 UpdateCustomVerificationEmailTemplateRequest& WithFailureRedirectionURL(const char* value) { SetFailureRedirectionURL(value); return *this;} private: Aws::String m_templateName; bool m_templateNameHasBeenSet = false; Aws::String m_fromEmailAddress; bool m_fromEmailAddressHasBeenSet = false; Aws::String m_templateSubject; bool m_templateSubjectHasBeenSet = false; Aws::String m_templateContent; bool m_templateContentHasBeenSet = false; Aws::String m_successRedirectionURL; bool m_successRedirectionURLHasBeenSet = false; Aws::String m_failureRedirectionURL; bool m_failureRedirectionURLHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws