AWS SDK for C++  1.8.128
AWS SDK for C++
ConfigurationSet.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 
38  {
39  public:
43 
44  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45  void OutputToStream(Aws::OStream& oStream, const char* location) const;
46 
47 
54  inline const Aws::String& GetName() const{ return m_name; }
55 
62  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 
70  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
71 
78  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 
86  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
87 
94  inline ConfigurationSet& WithName(const Aws::String& value) { SetName(value); return *this;}
95 
102  inline ConfigurationSet& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
103 
110  inline ConfigurationSet& WithName(const char* value) { SetName(value); return *this;}
111 
112  private:
113 
114  Aws::String m_name;
115  bool m_nameHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace SES
120 } // namespace Aws
Aws::SES::Model::ConfigurationSet::WithName
ConfigurationSet & WithName(Aws::String &&value)
Definition: ConfigurationSet.h:102
Aws::SES::Model::ConfigurationSet::WithName
ConfigurationSet & WithName(const Aws::String &value)
Definition: ConfigurationSet.h:94
Aws::SES::Model::ConfigurationSet::operator=
ConfigurationSet & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::ConfigurationSet::GetName
const Aws::String & GetName() const
Definition: ConfigurationSet.h:54
AWSStreamFwd.h
Aws::SES::Model::ConfigurationSet::SetName
void SetName(const Aws::String &value)
Definition: ConfigurationSet.h:70
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::ConfigurationSet::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::ConfigurationSet::SetName
void SetName(Aws::String &&value)
Definition: ConfigurationSet.h:78
Aws::SES::Model::ConfigurationSet::WithName
ConfigurationSet & WithName(const char *value)
Definition: ConfigurationSet.h:110
Aws::SES::Model::ConfigurationSet
Definition: ConfigurationSet.h:38
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::ConfigurationSet::ConfigurationSet
ConfigurationSet(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::ConfigurationSet::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ConfigurationSet.h:62
Aws::SES::Model::ConfigurationSet::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::ConfigurationSet::SetName
void SetName(const char *value)
Definition: ConfigurationSet.h:86
index
int index
Definition: cJSON.h:171
Aws::SES::Model::ConfigurationSet::ConfigurationSet
ConfigurationSet()