/** * 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 the sender address specified for a custom verification email * is not verified, and is therefore not eligible to send the custom verification * email.

See Also:

AWS * API Reference

*/ class FromEmailAddressNotVerifiedException { public: AWS_SES_API FromEmailAddressNotVerifiedException(); AWS_SES_API FromEmailAddressNotVerifiedException(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_SES_API FromEmailAddressNotVerifiedException& 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 from email address associated with the custom verification * email template is not verified.

*/ inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; } /** *

Indicates that the from email address associated with the custom verification * email template is not verified.

*/ inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; } /** *

Indicates that the from email address associated with the custom verification * email template is not verified.

*/ inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; } /** *

Indicates that the from email address associated with the custom verification * email template is not verified.

*/ inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); } /** *

Indicates that the from email address associated with the custom verification * email template is not verified.

*/ inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); } /** *

Indicates that the from email address associated with the custom verification * email template is not verified.

*/ inline FromEmailAddressNotVerifiedException& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;} /** *

Indicates that the from email address associated with the custom verification * email template is not verified.

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

Indicates that the from email address associated with the custom verification * email template is not verified.

*/ inline FromEmailAddressNotVerifiedException& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;} private: Aws::String m_fromEmailAddress; bool m_fromEmailAddressHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws