AWS SDK for C++  1.8.95
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:
37  OptionSpecification& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
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
OptionSpecification & WithNamespace(Aws::String &&value)
OptionSpecification & WithResourceName(const Aws::String &value)
#define AWS_ELASTICBEANSTALK_API
OptionSpecification & WithNamespace(const char *value)
OptionSpecification & WithOptionName(const Aws::String &value)
OptionSpecification & WithOptionName(Aws::String &&value)
int index
Definition: cJSON.h:171
OptionSpecification & WithNamespace(const Aws::String &value)
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
OptionSpecification & WithResourceName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
OptionSpecification & WithResourceName(Aws::String &&value)
OptionSpecification & WithOptionName(const char *value)