AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ConfigurationSettingsDescription.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
12#include <aws/elasticbeanstalk/model/ConfigurationDeploymentStatus.h>
13#include <aws/elasticbeanstalk/model/ConfigurationOptionSetting.h>
14#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Xml {
21class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace ElasticBeanstalk {
25namespace Model {
26
33 public:
34 AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription() = default;
35 AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
39 const char* locationValue) const;
40 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
43
46 inline const Aws::String& GetSolutionStackName() const { return m_solutionStackName; }
47 inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
48 template <typename SolutionStackNameT = Aws::String>
49 void SetSolutionStackName(SolutionStackNameT&& value) {
50 m_solutionStackNameHasBeenSet = true;
51 m_solutionStackName = std::forward<SolutionStackNameT>(value);
52 }
53 template <typename SolutionStackNameT = Aws::String>
55 SetSolutionStackName(std::forward<SolutionStackNameT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
65 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
66 template <typename PlatformArnT = Aws::String>
67 void SetPlatformArn(PlatformArnT&& value) {
68 m_platformArnHasBeenSet = true;
69 m_platformArn = std::forward<PlatformArnT>(value);
70 }
71 template <typename PlatformArnT = Aws::String>
73 SetPlatformArn(std::forward<PlatformArnT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
83 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
84 template <typename ApplicationNameT = Aws::String>
85 void SetApplicationName(ApplicationNameT&& value) {
86 m_applicationNameHasBeenSet = true;
87 m_applicationName = std::forward<ApplicationNameT>(value);
88 }
89 template <typename ApplicationNameT = Aws::String>
91 SetApplicationName(std::forward<ApplicationNameT>(value));
92 return *this;
93 }
95
97
101 inline const Aws::String& GetTemplateName() const { return m_templateName; }
102 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
103 template <typename TemplateNameT = Aws::String>
104 void SetTemplateName(TemplateNameT&& value) {
105 m_templateNameHasBeenSet = true;
106 m_templateName = std::forward<TemplateNameT>(value);
107 }
108 template <typename TemplateNameT = Aws::String>
110 SetTemplateName(std::forward<TemplateNameT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetDescription() const { return m_description; }
120 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
121 template <typename DescriptionT = Aws::String>
122 void SetDescription(DescriptionT&& value) {
123 m_descriptionHasBeenSet = true;
124 m_description = std::forward<DescriptionT>(value);
125 }
126 template <typename DescriptionT = Aws::String>
128 SetDescription(std::forward<DescriptionT>(value));
129 return *this;
130 }
132
134
138 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
139 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
140 template <typename EnvironmentNameT = Aws::String>
141 void SetEnvironmentName(EnvironmentNameT&& value) {
142 m_environmentNameHasBeenSet = true;
143 m_environmentName = std::forward<EnvironmentNameT>(value);
144 }
145 template <typename EnvironmentNameT = Aws::String>
147 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
148 return *this;
149 }
151
153
164 inline ConfigurationDeploymentStatus GetDeploymentStatus() const { return m_deploymentStatus; }
165 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
167 m_deploymentStatusHasBeenSet = true;
168 m_deploymentStatus = value;
169 }
171 SetDeploymentStatus(value);
172 return *this;
173 }
175
177
180 inline const Aws::Utils::DateTime& GetDateCreated() const { return m_dateCreated; }
181 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
182 template <typename DateCreatedT = Aws::Utils::DateTime>
183 void SetDateCreated(DateCreatedT&& value) {
184 m_dateCreatedHasBeenSet = true;
185 m_dateCreated = std::forward<DateCreatedT>(value);
186 }
187 template <typename DateCreatedT = Aws::Utils::DateTime>
189 SetDateCreated(std::forward<DateCreatedT>(value));
190 return *this;
191 }
193
195
198 inline const Aws::Utils::DateTime& GetDateUpdated() const { return m_dateUpdated; }
199 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
200 template <typename DateUpdatedT = Aws::Utils::DateTime>
201 void SetDateUpdated(DateUpdatedT&& value) {
202 m_dateUpdatedHasBeenSet = true;
203 m_dateUpdated = std::forward<DateUpdatedT>(value);
204 }
205 template <typename DateUpdatedT = Aws::Utils::DateTime>
207 SetDateUpdated(std::forward<DateUpdatedT>(value));
208 return *this;
209 }
211
213
217 inline const Aws::Vector<ConfigurationOptionSetting>& GetOptionSettings() const { return m_optionSettings; }
218 inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; }
219 template <typename OptionSettingsT = Aws::Vector<ConfigurationOptionSetting>>
220 void SetOptionSettings(OptionSettingsT&& value) {
221 m_optionSettingsHasBeenSet = true;
222 m_optionSettings = std::forward<OptionSettingsT>(value);
223 }
224 template <typename OptionSettingsT = Aws::Vector<ConfigurationOptionSetting>>
226 SetOptionSettings(std::forward<OptionSettingsT>(value));
227 return *this;
228 }
229 template <typename OptionSettingsT = ConfigurationOptionSetting>
231 m_optionSettingsHasBeenSet = true;
232 m_optionSettings.emplace_back(std::forward<OptionSettingsT>(value));
233 return *this;
234 }
236
238
239 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
240 template <typename ResponseMetadataT = ResponseMetadata>
241 void SetResponseMetadata(ResponseMetadataT&& value) {
242 m_responseMetadataHasBeenSet = true;
243 m_responseMetadata = std::forward<ResponseMetadataT>(value);
244 }
245 template <typename ResponseMetadataT = ResponseMetadata>
247 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
248 return *this;
249 }
251 private:
252 Aws::String m_solutionStackName;
253
254 Aws::String m_platformArn;
255
256 Aws::String m_applicationName;
257
258 Aws::String m_templateName;
259
260 Aws::String m_description;
261
262 Aws::String m_environmentName;
263
265
266 Aws::Utils::DateTime m_dateCreated{};
267
268 Aws::Utils::DateTime m_dateUpdated{};
269
271
272 ResponseMetadata m_responseMetadata;
273 bool m_solutionStackNameHasBeenSet = false;
274 bool m_platformArnHasBeenSet = false;
275 bool m_applicationNameHasBeenSet = false;
276 bool m_templateNameHasBeenSet = false;
277 bool m_descriptionHasBeenSet = false;
278 bool m_environmentNameHasBeenSet = false;
279 bool m_deploymentStatusHasBeenSet = false;
280 bool m_dateCreatedHasBeenSet = false;
281 bool m_dateUpdatedHasBeenSet = false;
282 bool m_optionSettingsHasBeenSet = false;
283 bool m_responseMetadataHasBeenSet = true;
284};
285
286} // namespace Model
287} // namespace ElasticBeanstalk
288} // namespace Aws
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ConfigurationSettingsDescription & WithDescription(DescriptionT &&value)
ConfigurationSettingsDescription & WithTemplateName(TemplateNameT &&value)
ConfigurationSettingsDescription & WithOptionSettings(OptionSettingsT &&value)
ConfigurationSettingsDescription & WithEnvironmentName(EnvironmentNameT &&value)
ConfigurationSettingsDescription & WithDateCreated(DateCreatedT &&value)
AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription()=default
ConfigurationSettingsDescription & AddOptionSettings(OptionSettingsT &&value)
const Aws::Vector< ConfigurationOptionSetting > & GetOptionSettings() const
ConfigurationSettingsDescription & WithResponseMetadata(ResponseMetadataT &&value)
ConfigurationSettingsDescription & WithPlatformArn(PlatformArnT &&value)
ConfigurationSettingsDescription & WithDateUpdated(DateUpdatedT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ConfigurationSettingsDescription & WithApplicationName(ApplicationNameT &&value)
AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
ConfigurationSettingsDescription & WithSolutionStackName(SolutionStackNameT &&value)
ConfigurationSettingsDescription & WithDeploymentStatus(ConfigurationDeploymentStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream