AWS SDK for C++  1.9.154
AWS SDK for C++
ConfigurationOptionSetting.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 ElasticBeanstalk
22 {
23 namespace Model
24 {
25 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
50  inline const Aws::String& GetResourceName() const{ return m_resourceName; }
51 
56  inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
57 
62  inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
63 
68  inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
69 
74  inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
75 
80  inline ConfigurationOptionSetting& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
81 
86  inline ConfigurationOptionSetting& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
87 
92  inline ConfigurationOptionSetting& WithResourceName(const char* value) { SetResourceName(value); return *this;}
93 
94 
98  inline const Aws::String& GetNamespace() const{ return m_namespace; }
99 
103  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
104 
108  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
109 
113  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
114 
118  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
119 
123  inline ConfigurationOptionSetting& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
124 
128  inline ConfigurationOptionSetting& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
129 
133  inline ConfigurationOptionSetting& WithNamespace(const char* value) { SetNamespace(value); return *this;}
134 
135 
139  inline const Aws::String& GetOptionName() const{ return m_optionName; }
140 
144  inline bool OptionNameHasBeenSet() const { return m_optionNameHasBeenSet; }
145 
149  inline void SetOptionName(const Aws::String& value) { m_optionNameHasBeenSet = true; m_optionName = value; }
150 
154  inline void SetOptionName(Aws::String&& value) { m_optionNameHasBeenSet = true; m_optionName = std::move(value); }
155 
159  inline void SetOptionName(const char* value) { m_optionNameHasBeenSet = true; m_optionName.assign(value); }
160 
164  inline ConfigurationOptionSetting& WithOptionName(const Aws::String& value) { SetOptionName(value); return *this;}
165 
169  inline ConfigurationOptionSetting& WithOptionName(Aws::String&& value) { SetOptionName(std::move(value)); return *this;}
170 
174  inline ConfigurationOptionSetting& WithOptionName(const char* value) { SetOptionName(value); return *this;}
175 
176 
180  inline const Aws::String& GetValue() const{ return m_value; }
181 
185  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
186 
190  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
191 
195  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
196 
200  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
201 
205  inline ConfigurationOptionSetting& WithValue(const Aws::String& value) { SetValue(value); return *this;}
206 
210  inline ConfigurationOptionSetting& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
211 
215  inline ConfigurationOptionSetting& WithValue(const char* value) { SetValue(value); return *this;}
216 
217  private:
218 
219  Aws::String m_resourceName;
220  bool m_resourceNameHasBeenSet;
221 
222  Aws::String m_namespace;
223  bool m_namespaceHasBeenSet;
224 
225  Aws::String m_optionName;
226  bool m_optionNameHasBeenSet;
227 
228  Aws::String m_value;
229  bool m_valueHasBeenSet;
230  };
231 
232 } // namespace Model
233 } // namespace ElasticBeanstalk
234 } // namespace Aws
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::WithNamespace
ConfigurationOptionSetting & WithNamespace(Aws::String &&value)
Definition: ConfigurationOptionSetting.h:128
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::SetValue
void SetValue(Aws::String &&value)
Definition: ConfigurationOptionSetting.h:195
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: ConfigurationOptionSetting.h:113
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::WithResourceName
ConfigurationOptionSetting & WithResourceName(Aws::String &&value)
Definition: ConfigurationOptionSetting.h:86
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::WithOptionName
ConfigurationOptionSetting & WithOptionName(Aws::String &&value)
Definition: ConfigurationOptionSetting.h:169
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: ConfigurationOptionSetting.h:108
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::GetResourceName
const Aws::String & GetResourceName() const
Definition: ConfigurationOptionSetting.h:50
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::WithValue
ConfigurationOptionSetting & WithValue(const Aws::String &value)
Definition: ConfigurationOptionSetting.h:205
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::WithNamespace
ConfigurationOptionSetting & WithNamespace(const Aws::String &value)
Definition: ConfigurationOptionSetting.h:123
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::OptionNameHasBeenSet
bool OptionNameHasBeenSet() const
Definition: ConfigurationOptionSetting.h:144
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::WithValue
ConfigurationOptionSetting & WithValue(Aws::String &&value)
Definition: ConfigurationOptionSetting.h:210
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::WithNamespace
ConfigurationOptionSetting & WithNamespace(const char *value)
Definition: ConfigurationOptionSetting.h:133
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::SetOptionName
void SetOptionName(const char *value)
Definition: ConfigurationOptionSetting.h:159
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::WithOptionName
ConfigurationOptionSetting & WithOptionName(const char *value)
Definition: ConfigurationOptionSetting.h:174
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::SetResourceName
void SetResourceName(const char *value)
Definition: ConfigurationOptionSetting.h:74
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::GetValue
const Aws::String & GetValue() const
Definition: ConfigurationOptionSetting.h:180
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::SetOptionName
void SetOptionName(const Aws::String &value)
Definition: ConfigurationOptionSetting.h:149
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::ConfigurationOptionSetting
ConfigurationOptionSetting(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSString.h
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::SetResourceName
void SetResourceName(Aws::String &&value)
Definition: ConfigurationOptionSetting.h:68
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::WithOptionName
ConfigurationOptionSetting & WithOptionName(const Aws::String &value)
Definition: ConfigurationOptionSetting.h:164
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::operator=
ConfigurationOptionSetting & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::SetOptionName
void SetOptionName(Aws::String &&value)
Definition: ConfigurationOptionSetting.h:154
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::SetResourceName
void SetResourceName(const Aws::String &value)
Definition: ConfigurationOptionSetting.h:62
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::SetNamespace
void SetNamespace(const char *value)
Definition: ConfigurationOptionSetting.h:118
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: ConfigurationOptionSetting.h:185
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::ConfigurationOptionSetting
ConfigurationOptionSetting()
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::GetNamespace
const Aws::String & GetNamespace() const
Definition: ConfigurationOptionSetting.h:98
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::ResourceNameHasBeenSet
bool ResourceNameHasBeenSet() const
Definition: ConfigurationOptionSetting.h:56
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::SetValue
void SetValue(const Aws::String &value)
Definition: ConfigurationOptionSetting.h:190
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::SetValue
void SetValue(const char *value)
Definition: ConfigurationOptionSetting.h:200
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::WithValue
ConfigurationOptionSetting & WithValue(const char *value)
Definition: ConfigurationOptionSetting.h:215
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting
Definition: ConfigurationOptionSetting.h:36
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::WithResourceName
ConfigurationOptionSetting & WithResourceName(const char *value)
Definition: ConfigurationOptionSetting.h:92
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::WithResourceName
ConfigurationOptionSetting & WithResourceName(const Aws::String &value)
Definition: ConfigurationOptionSetting.h:80
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: ConfigurationOptionSetting.h:103
Aws::ElasticBeanstalk::Model::ConfigurationOptionSetting::GetOptionName
const Aws::String & GetOptionName() const
Definition: ConfigurationOptionSetting.h:139