/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SESV2 { namespace Model { /** *

Contains information about a custom verification email * template.

See Also:

AWS * API Reference

*/ class AWS_SESV2_API CustomVerificationEmailTemplateMetadata { public: CustomVerificationEmailTemplateMetadata(); CustomVerificationEmailTemplateMetadata(Aws::Utils::Json::JsonView jsonValue); CustomVerificationEmailTemplateMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *

The name of the custom verification email template.

*/ inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } /** *

The name of the custom verification email template.

*/ inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } /** *

The name of the custom verification email template.

*/ inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } /** *

The name of the custom verification email template.

*/ inline CustomVerificationEmailTemplateMetadata& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} /** *

The name of the custom verification email template.

*/ inline CustomVerificationEmailTemplateMetadata& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} /** *

The name of the custom verification email template.

*/ inline CustomVerificationEmailTemplateMetadata& 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 CustomVerificationEmailTemplateMetadata& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;} /** *

The email address that the custom verification email is sent from.

*/ inline CustomVerificationEmailTemplateMetadata& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;} /** *

The email address that the custom verification email is sent from.

*/ inline CustomVerificationEmailTemplateMetadata& 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 CustomVerificationEmailTemplateMetadata& WithTemplateSubject(const Aws::String& value) { SetTemplateSubject(value); return *this;} /** *

The subject line of the custom verification email.

*/ inline CustomVerificationEmailTemplateMetadata& WithTemplateSubject(Aws::String&& value) { SetTemplateSubject(std::move(value)); return *this;} /** *

The subject line of the custom verification email.

*/ inline CustomVerificationEmailTemplateMetadata& WithTemplateSubject(const char* value) { SetTemplateSubject(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 CustomVerificationEmailTemplateMetadata& 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 CustomVerificationEmailTemplateMetadata& 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 CustomVerificationEmailTemplateMetadata& 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 CustomVerificationEmailTemplateMetadata& 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 CustomVerificationEmailTemplateMetadata& 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 CustomVerificationEmailTemplateMetadata& WithFailureRedirectionURL(const char* value) { SetFailureRedirectionURL(value); return *this;} private: Aws::String m_templateName; bool m_templateNameHasBeenSet; Aws::String m_fromEmailAddress; bool m_fromEmailAddressHasBeenSet; Aws::String m_templateSubject; bool m_templateSubjectHasBeenSet; Aws::String m_successRedirectionURL; bool m_successRedirectionURLHasBeenSet; Aws::String m_failureRedirectionURL; bool m_failureRedirectionURLHasBeenSet; }; } // namespace Model } // namespace SESV2 } // namespace Aws