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

Indicates that a custom verification email template with the name you * specified already exists.

See Also:

AWS * API Reference

*/ class CustomVerificationEmailTemplateAlreadyExistsException { public: AWS_SES_API CustomVerificationEmailTemplateAlreadyExistsException(); AWS_SES_API CustomVerificationEmailTemplateAlreadyExistsException(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_SES_API CustomVerificationEmailTemplateAlreadyExistsException& 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; /** *

Indicates that the provided custom verification email template with the * specified template name already exists.

*/ inline const Aws::String& GetCustomVerificationEmailTemplateName() const{ return m_customVerificationEmailTemplateName; } /** *

Indicates that the provided custom verification email template with the * specified template name already exists.

*/ inline bool CustomVerificationEmailTemplateNameHasBeenSet() const { return m_customVerificationEmailTemplateNameHasBeenSet; } /** *

Indicates that the provided custom verification email template with the * specified template name already exists.

*/ inline void SetCustomVerificationEmailTemplateName(const Aws::String& value) { m_customVerificationEmailTemplateNameHasBeenSet = true; m_customVerificationEmailTemplateName = value; } /** *

Indicates that the provided custom verification email template with the * specified template name already exists.

*/ inline void SetCustomVerificationEmailTemplateName(Aws::String&& value) { m_customVerificationEmailTemplateNameHasBeenSet = true; m_customVerificationEmailTemplateName = std::move(value); } /** *

Indicates that the provided custom verification email template with the * specified template name already exists.

*/ inline void SetCustomVerificationEmailTemplateName(const char* value) { m_customVerificationEmailTemplateNameHasBeenSet = true; m_customVerificationEmailTemplateName.assign(value); } /** *

Indicates that the provided custom verification email template with the * specified template name already exists.

*/ inline CustomVerificationEmailTemplateAlreadyExistsException& WithCustomVerificationEmailTemplateName(const Aws::String& value) { SetCustomVerificationEmailTemplateName(value); return *this;} /** *

Indicates that the provided custom verification email template with the * specified template name already exists.

*/ inline CustomVerificationEmailTemplateAlreadyExistsException& WithCustomVerificationEmailTemplateName(Aws::String&& value) { SetCustomVerificationEmailTemplateName(std::move(value)); return *this;} /** *

Indicates that the provided custom verification email template with the * specified template name already exists.

*/ inline CustomVerificationEmailTemplateAlreadyExistsException& WithCustomVerificationEmailTemplateName(const char* value) { SetCustomVerificationEmailTemplateName(value); return *this;} private: Aws::String m_customVerificationEmailTemplateName; bool m_customVerificationEmailTemplateNameHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws