/** * 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 Amazon Simple Notification Service (Amazon SNS) * destination is invalid. See the error message for details.

See * Also:

AWS * API Reference

*/ class InvalidSNSDestinationException { public: AWS_SES_API InvalidSNSDestinationException(); AWS_SES_API InvalidSNSDestinationException(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_SES_API InvalidSNSDestinationException& 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 configuration set does not exist.

*/ inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; } /** *

Indicates that the configuration set does not exist.

*/ inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; } /** *

Indicates that the configuration set does not exist.

*/ inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; } /** *

Indicates that the configuration set does not exist.

*/ inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); } /** *

Indicates that the configuration set does not exist.

*/ inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); } /** *

Indicates that the configuration set does not exist.

*/ inline InvalidSNSDestinationException& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;} /** *

Indicates that the configuration set does not exist.

*/ inline InvalidSNSDestinationException& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;} /** *

Indicates that the configuration set does not exist.

*/ inline InvalidSNSDestinationException& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;} /** *

Indicates that the event destination does not exist.

*/ inline const Aws::String& GetEventDestinationName() const{ return m_eventDestinationName; } /** *

Indicates that the event destination does not exist.

*/ inline bool EventDestinationNameHasBeenSet() const { return m_eventDestinationNameHasBeenSet; } /** *

Indicates that the event destination does not exist.

*/ inline void SetEventDestinationName(const Aws::String& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = value; } /** *

Indicates that the event destination does not exist.

*/ inline void SetEventDestinationName(Aws::String&& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = std::move(value); } /** *

Indicates that the event destination does not exist.

*/ inline void SetEventDestinationName(const char* value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName.assign(value); } /** *

Indicates that the event destination does not exist.

*/ inline InvalidSNSDestinationException& WithEventDestinationName(const Aws::String& value) { SetEventDestinationName(value); return *this;} /** *

Indicates that the event destination does not exist.

*/ inline InvalidSNSDestinationException& WithEventDestinationName(Aws::String&& value) { SetEventDestinationName(std::move(value)); return *this;} /** *

Indicates that the event destination does not exist.

*/ inline InvalidSNSDestinationException& WithEventDestinationName(const char* value) { SetEventDestinationName(value); return *this;} private: Aws::String m_configurationSetName; bool m_configurationSetNameHasBeenSet = false; Aws::String m_eventDestinationName; bool m_eventDestinationNameHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws