AWS SDK for C++  1.8.129
AWS SDK for C++
EventDestinationAlreadyExistsException.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 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
47 
51  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
52 
56  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
57 
61  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
62 
66  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
67 
71  inline EventDestinationAlreadyExistsException& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
72 
76  inline EventDestinationAlreadyExistsException& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
77 
81  inline EventDestinationAlreadyExistsException& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
82 
83 
87  inline const Aws::String& GetEventDestinationName() const{ return m_eventDestinationName; }
88 
92  inline bool EventDestinationNameHasBeenSet() const { return m_eventDestinationNameHasBeenSet; }
93 
97  inline void SetEventDestinationName(const Aws::String& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = value; }
98 
102  inline void SetEventDestinationName(Aws::String&& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = std::move(value); }
103 
107  inline void SetEventDestinationName(const char* value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName.assign(value); }
108 
112  inline EventDestinationAlreadyExistsException& WithEventDestinationName(const Aws::String& value) { SetEventDestinationName(value); return *this;}
113 
117  inline EventDestinationAlreadyExistsException& WithEventDestinationName(Aws::String&& value) { SetEventDestinationName(std::move(value)); return *this;}
118 
122  inline EventDestinationAlreadyExistsException& WithEventDestinationName(const char* value) { SetEventDestinationName(value); return *this;}
123 
124  private:
125 
126  Aws::String m_configurationSetName;
127  bool m_configurationSetNameHasBeenSet;
128 
129  Aws::String m_eventDestinationName;
130  bool m_eventDestinationNameHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace SES
135 } // namespace Aws
Aws::SES::Model::EventDestinationAlreadyExistsException::SetEventDestinationName
void SetEventDestinationName(const char *value)
Definition: EventDestinationAlreadyExistsException.h:107
Aws::SES::Model::EventDestinationAlreadyExistsException::EventDestinationAlreadyExistsException
EventDestinationAlreadyExistsException()
Aws::SES::Model::EventDestinationAlreadyExistsException::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: EventDestinationAlreadyExistsException.h:66
Aws::SES::Model::EventDestinationAlreadyExistsException::GetEventDestinationName
const Aws::String & GetEventDestinationName() const
Definition: EventDestinationAlreadyExistsException.h:87
Aws::SES::Model::EventDestinationAlreadyExistsException::WithConfigurationSetName
EventDestinationAlreadyExistsException & WithConfigurationSetName(Aws::String &&value)
Definition: EventDestinationAlreadyExistsException.h:76
Aws::SES::Model::EventDestinationAlreadyExistsException::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: EventDestinationAlreadyExistsException.h:56
Aws::SES::Model::EventDestinationAlreadyExistsException::WithEventDestinationName
EventDestinationAlreadyExistsException & WithEventDestinationName(Aws::String &&value)
Definition: EventDestinationAlreadyExistsException.h:117
AWSStreamFwd.h
Aws::SES::Model::EventDestinationAlreadyExistsException::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: EventDestinationAlreadyExistsException.h:46
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::EventDestinationAlreadyExistsException::EventDestinationAlreadyExistsException
EventDestinationAlreadyExistsException(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::EventDestinationAlreadyExistsException::EventDestinationNameHasBeenSet
bool EventDestinationNameHasBeenSet() const
Definition: EventDestinationAlreadyExistsException.h:92
Aws::SES::Model::EventDestinationAlreadyExistsException::SetEventDestinationName
void SetEventDestinationName(Aws::String &&value)
Definition: EventDestinationAlreadyExistsException.h:102
Aws::SES::Model::EventDestinationAlreadyExistsException::WithEventDestinationName
EventDestinationAlreadyExistsException & WithEventDestinationName(const char *value)
Definition: EventDestinationAlreadyExistsException.h:122
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::EventDestinationAlreadyExistsException::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: EventDestinationAlreadyExistsException.h:51
Aws::SES::Model::EventDestinationAlreadyExistsException::WithConfigurationSetName
EventDestinationAlreadyExistsException & WithConfigurationSetName(const Aws::String &value)
Definition: EventDestinationAlreadyExistsException.h:71
Aws::SES::Model::EventDestinationAlreadyExistsException::WithEventDestinationName
EventDestinationAlreadyExistsException & WithEventDestinationName(const Aws::String &value)
Definition: EventDestinationAlreadyExistsException.h:112
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::EventDestinationAlreadyExistsException::WithConfigurationSetName
EventDestinationAlreadyExistsException & WithConfigurationSetName(const char *value)
Definition: EventDestinationAlreadyExistsException.h:81
Aws::SES::Model::EventDestinationAlreadyExistsException::operator=
EventDestinationAlreadyExistsException & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::EventDestinationAlreadyExistsException::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: EventDestinationAlreadyExistsException.h:61
Aws::SES::Model::EventDestinationAlreadyExistsException::SetEventDestinationName
void SetEventDestinationName(const Aws::String &value)
Definition: EventDestinationAlreadyExistsException.h:97
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SES::Model::EventDestinationAlreadyExistsException::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::EventDestinationAlreadyExistsException
Definition: EventDestinationAlreadyExistsException.h:33
Aws::SES::Model::EventDestinationAlreadyExistsException::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const