AWS SDK for C++  1.9.17
AWS SDK for C++
OptionSpecification.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 
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& GetResourceName() const{ return m_resourceName; }
47 
51  inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
52 
56  inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
57 
61  inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
62 
66  inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
67 
71  inline OptionSpecification& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
72 
76  inline OptionSpecification& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
77 
81  inline OptionSpecification& WithResourceName(const char* value) { SetResourceName(value); return *this;}
82 
83 
87  inline const Aws::String& GetNamespace() const{ return m_namespace; }
88 
92  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
93 
97  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
98 
102  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
103 
107  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
108 
112  inline OptionSpecification& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
113 
117  inline OptionSpecification& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
118 
122  inline OptionSpecification& WithNamespace(const char* value) { SetNamespace(value); return *this;}
123 
124 
128  inline const Aws::String& GetOptionName() const{ return m_optionName; }
129 
133  inline bool OptionNameHasBeenSet() const { return m_optionNameHasBeenSet; }
134 
138  inline void SetOptionName(const Aws::String& value) { m_optionNameHasBeenSet = true; m_optionName = value; }
139 
143  inline void SetOptionName(Aws::String&& value) { m_optionNameHasBeenSet = true; m_optionName = std::move(value); }
144 
148  inline void SetOptionName(const char* value) { m_optionNameHasBeenSet = true; m_optionName.assign(value); }
149 
153  inline OptionSpecification& WithOptionName(const Aws::String& value) { SetOptionName(value); return *this;}
154 
158  inline OptionSpecification& WithOptionName(Aws::String&& value) { SetOptionName(std::move(value)); return *this;}
159 
163  inline OptionSpecification& WithOptionName(const char* value) { SetOptionName(value); return *this;}
164 
165  private:
166 
167  Aws::String m_resourceName;
168  bool m_resourceNameHasBeenSet;
169 
170  Aws::String m_namespace;
171  bool m_namespaceHasBeenSet;
172 
173  Aws::String m_optionName;
174  bool m_optionNameHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace ElasticBeanstalk
179 } // namespace Aws
Aws::ElasticBeanstalk::Model::OptionSpecification::SetResourceName
void SetResourceName(Aws::String &&value)
Definition: OptionSpecification.h:61
Aws::ElasticBeanstalk::Model::OptionSpecification::SetOptionName
void SetOptionName(Aws::String &&value)
Definition: OptionSpecification.h:143
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::OptionSpecification::WithOptionName
OptionSpecification & WithOptionName(Aws::String &&value)
Definition: OptionSpecification.h:158
Aws::ElasticBeanstalk::Model::OptionSpecification::OptionNameHasBeenSet
bool OptionNameHasBeenSet() const
Definition: OptionSpecification.h:133
Aws::ElasticBeanstalk::Model::OptionSpecification
Definition: OptionSpecification.h:33
Aws::ElasticBeanstalk::Model::OptionSpecification::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: OptionSpecification.h:102
Aws::ElasticBeanstalk::Model::OptionSpecification::ResourceNameHasBeenSet
bool ResourceNameHasBeenSet() const
Definition: OptionSpecification.h:51
Aws::ElasticBeanstalk::Model::OptionSpecification::SetResourceName
void SetResourceName(const Aws::String &value)
Definition: OptionSpecification.h:56
Aws::ElasticBeanstalk::Model::OptionSpecification::SetOptionName
void SetOptionName(const Aws::String &value)
Definition: OptionSpecification.h:138
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::OptionSpecification::WithResourceName
OptionSpecification & WithResourceName(Aws::String &&value)
Definition: OptionSpecification.h:76
Aws::ElasticBeanstalk::Model::OptionSpecification::WithNamespace
OptionSpecification & WithNamespace(const Aws::String &value)
Definition: OptionSpecification.h:112
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::ElasticBeanstalk::Model::OptionSpecification::SetResourceName
void SetResourceName(const char *value)
Definition: OptionSpecification.h:66
Aws::ElasticBeanstalk::Model::OptionSpecification::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::ElasticBeanstalk::Model::OptionSpecification::GetResourceName
const Aws::String & GetResourceName() const
Definition: OptionSpecification.h:46
Aws::ElasticBeanstalk::Model::OptionSpecification::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::OptionSpecification::WithOptionName
OptionSpecification & WithOptionName(const Aws::String &value)
Definition: OptionSpecification.h:153
Aws::ElasticBeanstalk::Model::OptionSpecification::GetNamespace
const Aws::String & GetNamespace() const
Definition: OptionSpecification.h:87
Aws::ElasticBeanstalk::Model::OptionSpecification::WithNamespace
OptionSpecification & WithNamespace(const char *value)
Definition: OptionSpecification.h:122
AWSString.h
Aws::ElasticBeanstalk::Model::OptionSpecification::WithResourceName
OptionSpecification & WithResourceName(const Aws::String &value)
Definition: OptionSpecification.h:71
Aws::ElasticBeanstalk::Model::OptionSpecification::WithOptionName
OptionSpecification & WithOptionName(const char *value)
Definition: OptionSpecification.h:163
Aws::ElasticBeanstalk::Model::OptionSpecification::GetOptionName
const Aws::String & GetOptionName() const
Definition: OptionSpecification.h:128
Aws::ElasticBeanstalk::Model::OptionSpecification::SetNamespace
void SetNamespace(const char *value)
Definition: OptionSpecification.h:107
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::OptionSpecification::WithResourceName
OptionSpecification & WithResourceName(const char *value)
Definition: OptionSpecification.h:81
Aws::ElasticBeanstalk::Model::OptionSpecification::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: OptionSpecification.h:92
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::OptionSpecification::SetOptionName
void SetOptionName(const char *value)
Definition: OptionSpecification.h:148
Aws::ElasticBeanstalk::Model::OptionSpecification::WithNamespace
OptionSpecification & WithNamespace(Aws::String &&value)
Definition: OptionSpecification.h:117
Aws::ElasticBeanstalk::Model::OptionSpecification::OptionSpecification
OptionSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::OptionSpecification::operator=
OptionSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
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::ElasticBeanstalk::Model::OptionSpecification::OptionSpecification
OptionSpecification()
Aws::ElasticBeanstalk::Model::OptionSpecification::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: OptionSpecification.h:97