AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CreateConfigurationTemplateResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
11#include <aws/elasticbeanstalk/model/ConfigurationDeploymentStatus.h>
12#include <aws/elasticbeanstalk/model/ConfigurationOptionSetting.h>
13#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Xml {
23class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace ElasticBeanstalk {
27namespace Model {
34 public:
35 AWS_ELASTICBEANSTALK_API CreateConfigurationTemplateResult() = default;
39
41
44 inline const Aws::String& GetSolutionStackName() const { return m_solutionStackName; }
45 template <typename SolutionStackNameT = Aws::String>
46 void SetSolutionStackName(SolutionStackNameT&& value) {
47 m_solutionStackNameHasBeenSet = true;
48 m_solutionStackName = std::forward<SolutionStackNameT>(value);
49 }
50 template <typename SolutionStackNameT = Aws::String>
52 SetSolutionStackName(std::forward<SolutionStackNameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
62 template <typename PlatformArnT = Aws::String>
63 void SetPlatformArn(PlatformArnT&& value) {
64 m_platformArnHasBeenSet = true;
65 m_platformArn = std::forward<PlatformArnT>(value);
66 }
67 template <typename PlatformArnT = Aws::String>
69 SetPlatformArn(std::forward<PlatformArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
79 template <typename ApplicationNameT = Aws::String>
80 void SetApplicationName(ApplicationNameT&& value) {
81 m_applicationNameHasBeenSet = true;
82 m_applicationName = std::forward<ApplicationNameT>(value);
83 }
84 template <typename ApplicationNameT = Aws::String>
86 SetApplicationName(std::forward<ApplicationNameT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetTemplateName() const { return m_templateName; }
97 template <typename TemplateNameT = Aws::String>
98 void SetTemplateName(TemplateNameT&& value) {
99 m_templateNameHasBeenSet = true;
100 m_templateName = std::forward<TemplateNameT>(value);
101 }
102 template <typename TemplateNameT = Aws::String>
104 SetTemplateName(std::forward<TemplateNameT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetDescription() const { return m_description; }
114 template <typename DescriptionT = Aws::String>
115 void SetDescription(DescriptionT&& value) {
116 m_descriptionHasBeenSet = true;
117 m_description = std::forward<DescriptionT>(value);
118 }
119 template <typename DescriptionT = Aws::String>
121 SetDescription(std::forward<DescriptionT>(value));
122 return *this;
123 }
125
127
131 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
132 template <typename EnvironmentNameT = Aws::String>
133 void SetEnvironmentName(EnvironmentNameT&& value) {
134 m_environmentNameHasBeenSet = true;
135 m_environmentName = std::forward<EnvironmentNameT>(value);
136 }
137 template <typename EnvironmentNameT = Aws::String>
139 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
140 return *this;
141 }
143
145
156 inline ConfigurationDeploymentStatus GetDeploymentStatus() const { return m_deploymentStatus; }
158 m_deploymentStatusHasBeenSet = true;
159 m_deploymentStatus = value;
160 }
162 SetDeploymentStatus(value);
163 return *this;
164 }
166
168
171 inline const Aws::Utils::DateTime& GetDateCreated() const { return m_dateCreated; }
172 template <typename DateCreatedT = Aws::Utils::DateTime>
173 void SetDateCreated(DateCreatedT&& value) {
174 m_dateCreatedHasBeenSet = true;
175 m_dateCreated = std::forward<DateCreatedT>(value);
176 }
177 template <typename DateCreatedT = Aws::Utils::DateTime>
179 SetDateCreated(std::forward<DateCreatedT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::Utils::DateTime& GetDateUpdated() const { return m_dateUpdated; }
189 template <typename DateUpdatedT = Aws::Utils::DateTime>
190 void SetDateUpdated(DateUpdatedT&& value) {
191 m_dateUpdatedHasBeenSet = true;
192 m_dateUpdated = std::forward<DateUpdatedT>(value);
193 }
194 template <typename DateUpdatedT = Aws::Utils::DateTime>
196 SetDateUpdated(std::forward<DateUpdatedT>(value));
197 return *this;
198 }
200
202
206 inline const Aws::Vector<ConfigurationOptionSetting>& GetOptionSettings() const { return m_optionSettings; }
207 template <typename OptionSettingsT = Aws::Vector<ConfigurationOptionSetting>>
208 void SetOptionSettings(OptionSettingsT&& value) {
209 m_optionSettingsHasBeenSet = true;
210 m_optionSettings = std::forward<OptionSettingsT>(value);
211 }
212 template <typename OptionSettingsT = Aws::Vector<ConfigurationOptionSetting>>
214 SetOptionSettings(std::forward<OptionSettingsT>(value));
215 return *this;
216 }
217 template <typename OptionSettingsT = ConfigurationOptionSetting>
219 m_optionSettingsHasBeenSet = true;
220 m_optionSettings.emplace_back(std::forward<OptionSettingsT>(value));
221 return *this;
222 }
224
226
227 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
228 template <typename ResponseMetadataT = ResponseMetadata>
229 void SetResponseMetadata(ResponseMetadataT&& value) {
230 m_responseMetadataHasBeenSet = true;
231 m_responseMetadata = std::forward<ResponseMetadataT>(value);
232 }
233 template <typename ResponseMetadataT = ResponseMetadata>
235 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
236 return *this;
237 }
239 private:
240 Aws::String m_solutionStackName;
241
242 Aws::String m_platformArn;
243
244 Aws::String m_applicationName;
245
246 Aws::String m_templateName;
247
248 Aws::String m_description;
249
250 Aws::String m_environmentName;
251
253
254 Aws::Utils::DateTime m_dateCreated{};
255
256 Aws::Utils::DateTime m_dateUpdated{};
257
259
260 ResponseMetadata m_responseMetadata;
261 bool m_solutionStackNameHasBeenSet = false;
262 bool m_platformArnHasBeenSet = false;
263 bool m_applicationNameHasBeenSet = false;
264 bool m_templateNameHasBeenSet = false;
265 bool m_descriptionHasBeenSet = false;
266 bool m_environmentNameHasBeenSet = false;
267 bool m_deploymentStatusHasBeenSet = false;
268 bool m_dateCreatedHasBeenSet = false;
269 bool m_dateUpdatedHasBeenSet = false;
270 bool m_optionSettingsHasBeenSet = false;
271 bool m_responseMetadataHasBeenSet = false;
272};
273
274} // namespace Model
275} // namespace ElasticBeanstalk
276} // namespace Aws
CreateConfigurationTemplateResult & WithDeploymentStatus(ConfigurationDeploymentStatus value)
CreateConfigurationTemplateResult & WithEnvironmentName(EnvironmentNameT &&value)
CreateConfigurationTemplateResult & WithResponseMetadata(ResponseMetadataT &&value)
CreateConfigurationTemplateResult & WithTemplateName(TemplateNameT &&value)
CreateConfigurationTemplateResult & WithDateCreated(DateCreatedT &&value)
CreateConfigurationTemplateResult & WithApplicationName(ApplicationNameT &&value)
CreateConfigurationTemplateResult & WithOptionSettings(OptionSettingsT &&value)
CreateConfigurationTemplateResult & AddOptionSettings(OptionSettingsT &&value)
AWS_ELASTICBEANSTALK_API CreateConfigurationTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateConfigurationTemplateResult & WithSolutionStackName(SolutionStackNameT &&value)
AWS_ELASTICBEANSTALK_API CreateConfigurationTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< ConfigurationOptionSetting > & GetOptionSettings() const
CreateConfigurationTemplateResult & WithDescription(DescriptionT &&value)
CreateConfigurationTemplateResult & WithDateUpdated(DateUpdatedT &&value)
AWS_ELASTICBEANSTALK_API CreateConfigurationTemplateResult()=default
CreateConfigurationTemplateResult & WithPlatformArn(PlatformArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument