AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeConfigurationOptionsRequest.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticbeanstalk/model/OptionSpecification.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ElasticBeanstalk
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_ELASTICBEANSTALK_API DescribeConfigurationOptionsRequest() = default;
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_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
51 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
52 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
53 template<typename ApplicationNameT = Aws::String>
54 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
55 template<typename ApplicationNameT = Aws::String>
56 DescribeConfigurationOptionsRequest& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
58
60
64 inline const Aws::String& GetTemplateName() const { return m_templateName; }
65 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
66 template<typename TemplateNameT = Aws::String>
67 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
68 template<typename TemplateNameT = Aws::String>
69 DescribeConfigurationOptionsRequest& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
71
73
77 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
78 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
79 template<typename EnvironmentNameT = Aws::String>
80 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
81 template<typename EnvironmentNameT = Aws::String>
82 DescribeConfigurationOptionsRequest& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
84
86
90 inline const Aws::String& GetSolutionStackName() const { return m_solutionStackName; }
91 inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
92 template<typename SolutionStackNameT = Aws::String>
93 void SetSolutionStackName(SolutionStackNameT&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::forward<SolutionStackNameT>(value); }
94 template<typename SolutionStackNameT = Aws::String>
95 DescribeConfigurationOptionsRequest& WithSolutionStackName(SolutionStackNameT&& value) { SetSolutionStackName(std::forward<SolutionStackNameT>(value)); return *this;}
97
99
102 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
103 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
104 template<typename PlatformArnT = Aws::String>
105 void SetPlatformArn(PlatformArnT&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::forward<PlatformArnT>(value); }
106 template<typename PlatformArnT = Aws::String>
107 DescribeConfigurationOptionsRequest& WithPlatformArn(PlatformArnT&& value) { SetPlatformArn(std::forward<PlatformArnT>(value)); return *this;}
109
111
114 inline const Aws::Vector<OptionSpecification>& GetOptions() const { return m_options; }
115 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
116 template<typename OptionsT = Aws::Vector<OptionSpecification>>
117 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options = std::forward<OptionsT>(value); }
118 template<typename OptionsT = Aws::Vector<OptionSpecification>>
119 DescribeConfigurationOptionsRequest& WithOptions(OptionsT&& value) { SetOptions(std::forward<OptionsT>(value)); return *this;}
120 template<typename OptionsT = OptionSpecification>
121 DescribeConfigurationOptionsRequest& AddOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options.emplace_back(std::forward<OptionsT>(value)); return *this; }
123 private:
124
125 Aws::String m_applicationName;
126 bool m_applicationNameHasBeenSet = false;
127
128 Aws::String m_templateName;
129 bool m_templateNameHasBeenSet = false;
130
131 Aws::String m_environmentName;
132 bool m_environmentNameHasBeenSet = false;
133
134 Aws::String m_solutionStackName;
135 bool m_solutionStackNameHasBeenSet = false;
136
137 Aws::String m_platformArn;
138 bool m_platformArnHasBeenSet = false;
139
141 bool m_optionsHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace ElasticBeanstalk
146} // namespace Aws
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeConfigurationOptionsRequest & WithSolutionStackName(SolutionStackNameT &&value)
AWS_ELASTICBEANSTALK_API DescribeConfigurationOptionsRequest()=default
DescribeConfigurationOptionsRequest & WithTemplateName(TemplateNameT &&value)
DescribeConfigurationOptionsRequest & WithEnvironmentName(EnvironmentNameT &&value)
DescribeConfigurationOptionsRequest & WithApplicationName(ApplicationNameT &&value)
DescribeConfigurationOptionsRequest & WithPlatformArn(PlatformArnT &&value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector