AWS SDK for C++  1.8.95
AWS SDK for C++
DescribeConfigurationOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ElasticBeanstalk
17 {
18 namespace Model
19 {
20 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "DescribeConfigurationOptions"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
50  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
51 
57  inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
58 
64  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
65 
71  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
72 
78  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
79 
85  inline DescribeConfigurationOptionsRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
86 
92  inline DescribeConfigurationOptionsRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
93 
99  inline DescribeConfigurationOptionsRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
100 
101 
106  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
107 
112  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
113 
118  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
119 
124  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
125 
130  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
131 
136  inline DescribeConfigurationOptionsRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
137 
142  inline DescribeConfigurationOptionsRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
143 
148  inline DescribeConfigurationOptionsRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
149 
150 
155  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
156 
161  inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
162 
167  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
168 
173  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
174 
179  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
180 
185  inline DescribeConfigurationOptionsRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
186 
191  inline DescribeConfigurationOptionsRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
192 
197  inline DescribeConfigurationOptionsRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
198 
199 
204  inline const Aws::String& GetSolutionStackName() const{ return m_solutionStackName; }
205 
210  inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
211 
216  inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = value; }
217 
222  inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::move(value); }
223 
228  inline void SetSolutionStackName(const char* value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName.assign(value); }
229 
234  inline DescribeConfigurationOptionsRequest& WithSolutionStackName(const Aws::String& value) { SetSolutionStackName(value); return *this;}
235 
240  inline DescribeConfigurationOptionsRequest& WithSolutionStackName(Aws::String&& value) { SetSolutionStackName(std::move(value)); return *this;}
241 
246  inline DescribeConfigurationOptionsRequest& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;}
247 
248 
252  inline const Aws::String& GetPlatformArn() const{ return m_platformArn; }
253 
257  inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
258 
262  inline void SetPlatformArn(const Aws::String& value) { m_platformArnHasBeenSet = true; m_platformArn = value; }
263 
267  inline void SetPlatformArn(Aws::String&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::move(value); }
268 
272  inline void SetPlatformArn(const char* value) { m_platformArnHasBeenSet = true; m_platformArn.assign(value); }
273 
277  inline DescribeConfigurationOptionsRequest& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;}
278 
282  inline DescribeConfigurationOptionsRequest& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;}
283 
287  inline DescribeConfigurationOptionsRequest& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;}
288 
289 
293  inline const Aws::Vector<OptionSpecification>& GetOptions() const{ return m_options; }
294 
298  inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
299 
303  inline void SetOptions(const Aws::Vector<OptionSpecification>& value) { m_optionsHasBeenSet = true; m_options = value; }
304 
308  inline void SetOptions(Aws::Vector<OptionSpecification>&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
309 
313  inline DescribeConfigurationOptionsRequest& WithOptions(const Aws::Vector<OptionSpecification>& value) { SetOptions(value); return *this;}
314 
318  inline DescribeConfigurationOptionsRequest& WithOptions(Aws::Vector<OptionSpecification>&& value) { SetOptions(std::move(value)); return *this;}
319 
323  inline DescribeConfigurationOptionsRequest& AddOptions(const OptionSpecification& value) { m_optionsHasBeenSet = true; m_options.push_back(value); return *this; }
324 
328  inline DescribeConfigurationOptionsRequest& AddOptions(OptionSpecification&& value) { m_optionsHasBeenSet = true; m_options.push_back(std::move(value)); return *this; }
329 
330  private:
331 
332  Aws::String m_applicationName;
333  bool m_applicationNameHasBeenSet;
334 
335  Aws::String m_templateName;
336  bool m_templateNameHasBeenSet;
337 
338  Aws::String m_environmentName;
339  bool m_environmentNameHasBeenSet;
340 
341  Aws::String m_solutionStackName;
342  bool m_solutionStackNameHasBeenSet;
343 
344  Aws::String m_platformArn;
345  bool m_platformArnHasBeenSet;
346 
348  bool m_optionsHasBeenSet;
349  };
350 
351 } // namespace Model
352 } // namespace ElasticBeanstalk
353 } // namespace Aws
DescribeConfigurationOptionsRequest & WithOptions(Aws::Vector< OptionSpecification > &&value)
DescribeConfigurationOptionsRequest & WithEnvironmentName(Aws::String &&value)
DescribeConfigurationOptionsRequest & AddOptions(const OptionSpecification &value)
#define AWS_ELASTICBEANSTALK_API
DescribeConfigurationOptionsRequest & WithPlatformArn(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribeConfigurationOptionsRequest & WithTemplateName(const char *value)
DescribeConfigurationOptionsRequest & WithApplicationName(const char *value)
DescribeConfigurationOptionsRequest & WithEnvironmentName(const char *value)
DescribeConfigurationOptionsRequest & WithOptions(const Aws::Vector< OptionSpecification > &value)
DescribeConfigurationOptionsRequest & AddOptions(OptionSpecification &&value)
DescribeConfigurationOptionsRequest & WithSolutionStackName(const char *value)
DescribeConfigurationOptionsRequest & WithEnvironmentName(const Aws::String &value)
DescribeConfigurationOptionsRequest & WithApplicationName(const Aws::String &value)
DescribeConfigurationOptionsRequest & WithTemplateName(Aws::String &&value)
DescribeConfigurationOptionsRequest & WithSolutionStackName(const Aws::String &value)
DescribeConfigurationOptionsRequest & WithPlatformArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeConfigurationOptionsRequest & WithPlatformArn(const char *value)
DescribeConfigurationOptionsRequest & WithApplicationName(Aws::String &&value)
DescribeConfigurationOptionsRequest & WithSolutionStackName(Aws::String &&value)
DescribeConfigurationOptionsRequest & WithTemplateName(const Aws::String &value)