AWS SDK for C++  1.8.129
AWS SDK for C++
InvalidSNSDestinationException.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SES
22 {
23 namespace Model
24 {
25 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
48 
52  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
53 
57  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
58 
62  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
63 
67  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
68 
72  inline InvalidSNSDestinationException& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
73 
77  inline InvalidSNSDestinationException& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
78 
82  inline InvalidSNSDestinationException& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
83 
84 
88  inline const Aws::String& GetEventDestinationName() const{ return m_eventDestinationName; }
89 
93  inline bool EventDestinationNameHasBeenSet() const { return m_eventDestinationNameHasBeenSet; }
94 
98  inline void SetEventDestinationName(const Aws::String& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = value; }
99 
103  inline void SetEventDestinationName(Aws::String&& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = std::move(value); }
104 
108  inline void SetEventDestinationName(const char* value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName.assign(value); }
109 
113  inline InvalidSNSDestinationException& WithEventDestinationName(const Aws::String& value) { SetEventDestinationName(value); return *this;}
114 
118  inline InvalidSNSDestinationException& WithEventDestinationName(Aws::String&& value) { SetEventDestinationName(std::move(value)); return *this;}
119 
123  inline InvalidSNSDestinationException& WithEventDestinationName(const char* value) { SetEventDestinationName(value); return *this;}
124 
125  private:
126 
127  Aws::String m_configurationSetName;
128  bool m_configurationSetNameHasBeenSet;
129 
130  Aws::String m_eventDestinationName;
131  bool m_eventDestinationNameHasBeenSet;
132  };
133 
134 } // namespace Model
135 } // namespace SES
136 } // namespace Aws
Aws::SES::Model::InvalidSNSDestinationException::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::InvalidSNSDestinationException::WithEventDestinationName
InvalidSNSDestinationException & WithEventDestinationName(const char *value)
Definition: InvalidSNSDestinationException.h:123
Aws::SES::Model::InvalidSNSDestinationException::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::InvalidSNSDestinationException::operator=
InvalidSNSDestinationException & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::InvalidSNSDestinationException::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: InvalidSNSDestinationException.h:67
Aws::SES::Model::InvalidSNSDestinationException::SetEventDestinationName
void SetEventDestinationName(Aws::String &&value)
Definition: InvalidSNSDestinationException.h:103
Aws::SES::Model::InvalidSNSDestinationException::WithEventDestinationName
InvalidSNSDestinationException & WithEventDestinationName(Aws::String &&value)
Definition: InvalidSNSDestinationException.h:118
Aws::SES::Model::InvalidSNSDestinationException::WithConfigurationSetName
InvalidSNSDestinationException & WithConfigurationSetName(Aws::String &&value)
Definition: InvalidSNSDestinationException.h:77
Aws::SES::Model::InvalidSNSDestinationException::WithConfigurationSetName
InvalidSNSDestinationException & WithConfigurationSetName(const char *value)
Definition: InvalidSNSDestinationException.h:82
AWSStreamFwd.h
Aws::SES::Model::InvalidSNSDestinationException::EventDestinationNameHasBeenSet
bool EventDestinationNameHasBeenSet() const
Definition: InvalidSNSDestinationException.h:93
Aws::SES::Model::InvalidSNSDestinationException::GetEventDestinationName
const Aws::String & GetEventDestinationName() const
Definition: InvalidSNSDestinationException.h:88
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::InvalidSNSDestinationException::InvalidSNSDestinationException
InvalidSNSDestinationException()
Aws::SES::Model::InvalidSNSDestinationException::WithEventDestinationName
InvalidSNSDestinationException & WithEventDestinationName(const Aws::String &value)
Definition: InvalidSNSDestinationException.h:113
Aws::SES::Model::InvalidSNSDestinationException::WithConfigurationSetName
InvalidSNSDestinationException & WithConfigurationSetName(const Aws::String &value)
Definition: InvalidSNSDestinationException.h:72
Aws::SES::Model::InvalidSNSDestinationException::InvalidSNSDestinationException
InvalidSNSDestinationException(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::InvalidSNSDestinationException::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: InvalidSNSDestinationException.h:57
Aws::SES::Model::InvalidSNSDestinationException
Definition: InvalidSNSDestinationException.h:34
Aws::SES::Model::InvalidSNSDestinationException::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: InvalidSNSDestinationException.h:47
Aws::SES::Model::InvalidSNSDestinationException::SetEventDestinationName
void SetEventDestinationName(const Aws::String &value)
Definition: InvalidSNSDestinationException.h:98
Aws::SES::Model::InvalidSNSDestinationException::SetEventDestinationName
void SetEventDestinationName(const char *value)
Definition: InvalidSNSDestinationException.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::InvalidSNSDestinationException::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: InvalidSNSDestinationException.h:62
index
int index
Definition: cJSON.h:171
Aws::SES::Model::InvalidSNSDestinationException::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: InvalidSNSDestinationException.h:52