AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
DescribeConfigurationOptionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
10#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
11#include <aws/elasticbeanstalk/model/OptionSpecification.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ElasticBeanstalk {
17namespace Model {
18
26 public:
27 AWS_ELASTICBEANSTALK_API DescribeConfigurationOptionsRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DescribeConfigurationOptions"; }
34
35 AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
39
40 public:
42
47 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
48 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
49 template <typename ApplicationNameT = Aws::String>
50 void SetApplicationName(ApplicationNameT&& value) {
51 m_applicationNameHasBeenSet = true;
52 m_applicationName = std::forward<ApplicationNameT>(value);
53 }
54 template <typename ApplicationNameT = Aws::String>
56 SetApplicationName(std::forward<ApplicationNameT>(value));
57 return *this;
58 }
60
62
66 inline const Aws::String& GetTemplateName() const { return m_templateName; }
67 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
68 template <typename TemplateNameT = Aws::String>
69 void SetTemplateName(TemplateNameT&& value) {
70 m_templateNameHasBeenSet = true;
71 m_templateName = std::forward<TemplateNameT>(value);
72 }
73 template <typename TemplateNameT = Aws::String>
75 SetTemplateName(std::forward<TemplateNameT>(value));
76 return *this;
77 }
79
81
85 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
86 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
87 template <typename EnvironmentNameT = Aws::String>
88 void SetEnvironmentName(EnvironmentNameT&& value) {
89 m_environmentNameHasBeenSet = true;
90 m_environmentName = std::forward<EnvironmentNameT>(value);
91 }
92 template <typename EnvironmentNameT = Aws::String>
94 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
95 return *this;
96 }
98
100
104 inline const Aws::String& GetSolutionStackName() const { return m_solutionStackName; }
105 inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
106 template <typename SolutionStackNameT = Aws::String>
107 void SetSolutionStackName(SolutionStackNameT&& value) {
108 m_solutionStackNameHasBeenSet = true;
109 m_solutionStackName = std::forward<SolutionStackNameT>(value);
110 }
111 template <typename SolutionStackNameT = Aws::String>
113 SetSolutionStackName(std::forward<SolutionStackNameT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
123 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
124 template <typename PlatformArnT = Aws::String>
125 void SetPlatformArn(PlatformArnT&& value) {
126 m_platformArnHasBeenSet = true;
127 m_platformArn = std::forward<PlatformArnT>(value);
128 }
129 template <typename PlatformArnT = Aws::String>
131 SetPlatformArn(std::forward<PlatformArnT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Vector<OptionSpecification>& GetOptions() const { return m_options; }
141 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
142 template <typename OptionsT = Aws::Vector<OptionSpecification>>
143 void SetOptions(OptionsT&& value) {
144 m_optionsHasBeenSet = true;
145 m_options = std::forward<OptionsT>(value);
146 }
147 template <typename OptionsT = Aws::Vector<OptionSpecification>>
149 SetOptions(std::forward<OptionsT>(value));
150 return *this;
151 }
152 template <typename OptionsT = OptionSpecification>
154 m_optionsHasBeenSet = true;
155 m_options.emplace_back(std::forward<OptionsT>(value));
156 return *this;
157 }
159 private:
160 Aws::String m_applicationName;
161
162 Aws::String m_templateName;
163
164 Aws::String m_environmentName;
165
166 Aws::String m_solutionStackName;
167
168 Aws::String m_platformArn;
169
171 bool m_applicationNameHasBeenSet = false;
172 bool m_templateNameHasBeenSet = false;
173 bool m_environmentNameHasBeenSet = false;
174 bool m_solutionStackNameHasBeenSet = false;
175 bool m_platformArnHasBeenSet = false;
176 bool m_optionsHasBeenSet = false;
177};
178
179} // namespace Model
180} // namespace ElasticBeanstalk
181} // 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