AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
ApplicationVersionDescription.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/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
11#include <aws/elasticbeanstalk/model/ApplicationVersionStatus.h>
12#include <aws/elasticbeanstalk/model/ImageBuildConfiguration.h>
13#include <aws/elasticbeanstalk/model/ImageSource.h>
14#include <aws/elasticbeanstalk/model/S3Location.h>
15#include <aws/elasticbeanstalk/model/SourceBuildInformation.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Xml {
22class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace ElasticBeanstalk {
26namespace Model {
27
35 public:
36 AWS_ELASTICBEANSTALK_API ApplicationVersionDescription() = default;
37 AWS_ELASTICBEANSTALK_API ApplicationVersionDescription(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICBEANSTALK_API ApplicationVersionDescription& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
41 const char* locationValue) const;
42 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
45
48 inline const Aws::String& GetApplicationVersionArn() const { return m_applicationVersionArn; }
49 inline bool ApplicationVersionArnHasBeenSet() const { return m_applicationVersionArnHasBeenSet; }
50 template <typename ApplicationVersionArnT = Aws::String>
51 void SetApplicationVersionArn(ApplicationVersionArnT&& value) {
52 m_applicationVersionArnHasBeenSet = true;
53 m_applicationVersionArn = std::forward<ApplicationVersionArnT>(value);
54 }
55 template <typename ApplicationVersionArnT = Aws::String>
57 SetApplicationVersionArn(std::forward<ApplicationVersionArnT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
67 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
68 template <typename ApplicationNameT = Aws::String>
69 void SetApplicationName(ApplicationNameT&& value) {
70 m_applicationNameHasBeenSet = true;
71 m_applicationName = std::forward<ApplicationNameT>(value);
72 }
73 template <typename ApplicationNameT = Aws::String>
75 SetApplicationName(std::forward<ApplicationNameT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetDescription() const { return m_description; }
85 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 template <typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) {
88 m_descriptionHasBeenSet = true;
89 m_description = std::forward<DescriptionT>(value);
90 }
91 template <typename DescriptionT = Aws::String>
93 SetDescription(std::forward<DescriptionT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
103 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
104 template <typename VersionLabelT = Aws::String>
105 void SetVersionLabel(VersionLabelT&& value) {
106 m_versionLabelHasBeenSet = true;
107 m_versionLabel = std::forward<VersionLabelT>(value);
108 }
109 template <typename VersionLabelT = Aws::String>
111 SetVersionLabel(std::forward<VersionLabelT>(value));
112 return *this;
113 }
115
117
121 inline const SourceBuildInformation& GetSourceBuildInformation() const { return m_sourceBuildInformation; }
122 inline bool SourceBuildInformationHasBeenSet() const { return m_sourceBuildInformationHasBeenSet; }
123 template <typename SourceBuildInformationT = SourceBuildInformation>
124 void SetSourceBuildInformation(SourceBuildInformationT&& value) {
125 m_sourceBuildInformationHasBeenSet = true;
126 m_sourceBuildInformation = std::forward<SourceBuildInformationT>(value);
127 }
128 template <typename SourceBuildInformationT = SourceBuildInformation>
130 SetSourceBuildInformation(std::forward<SourceBuildInformationT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetBuildArn() const { return m_buildArn; }
140 inline bool BuildArnHasBeenSet() const { return m_buildArnHasBeenSet; }
141 template <typename BuildArnT = Aws::String>
142 void SetBuildArn(BuildArnT&& value) {
143 m_buildArnHasBeenSet = true;
144 m_buildArn = std::forward<BuildArnT>(value);
145 }
146 template <typename BuildArnT = Aws::String>
148 SetBuildArn(std::forward<BuildArnT>(value));
149 return *this;
150 }
152
154
158 inline const S3Location& GetSourceBundle() const { return m_sourceBundle; }
159 inline bool SourceBundleHasBeenSet() const { return m_sourceBundleHasBeenSet; }
160 template <typename SourceBundleT = S3Location>
161 void SetSourceBundle(SourceBundleT&& value) {
162 m_sourceBundleHasBeenSet = true;
163 m_sourceBundle = std::forward<SourceBundleT>(value);
164 }
165 template <typename SourceBundleT = S3Location>
167 SetSourceBundle(std::forward<SourceBundleT>(value));
168 return *this;
169 }
171
173
179 inline const ImageSource& GetImageSource() const { return m_imageSource; }
180 inline bool ImageSourceHasBeenSet() const { return m_imageSourceHasBeenSet; }
181 template <typename ImageSourceT = ImageSource>
182 void SetImageSource(ImageSourceT&& value) {
183 m_imageSourceHasBeenSet = true;
184 m_imageSource = std::forward<ImageSourceT>(value);
185 }
186 template <typename ImageSourceT = ImageSource>
188 SetImageSource(std::forward<ImageSourceT>(value));
189 return *this;
190 }
192
194
199 inline const ImageBuildConfiguration& GetImageBuildConfiguration() const { return m_imageBuildConfiguration; }
200 inline bool ImageBuildConfigurationHasBeenSet() const { return m_imageBuildConfigurationHasBeenSet; }
201 template <typename ImageBuildConfigurationT = ImageBuildConfiguration>
202 void SetImageBuildConfiguration(ImageBuildConfigurationT&& value) {
203 m_imageBuildConfigurationHasBeenSet = true;
204 m_imageBuildConfiguration = std::forward<ImageBuildConfigurationT>(value);
205 }
206 template <typename ImageBuildConfigurationT = ImageBuildConfiguration>
208 SetImageBuildConfiguration(std::forward<ImageBuildConfigurationT>(value));
209 return *this;
210 }
212
214
220 inline bool GetProcess() const { return m_process; }
221 inline bool ProcessHasBeenSet() const { return m_processHasBeenSet; }
222 inline void SetProcess(bool value) {
223 m_processHasBeenSet = true;
224 m_process = value;
225 }
227 SetProcess(value);
228 return *this;
229 }
231
233
236 inline const Aws::Utils::DateTime& GetDateCreated() const { return m_dateCreated; }
237 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
238 template <typename DateCreatedT = Aws::Utils::DateTime>
239 void SetDateCreated(DateCreatedT&& value) {
240 m_dateCreatedHasBeenSet = true;
241 m_dateCreated = std::forward<DateCreatedT>(value);
242 }
243 template <typename DateCreatedT = Aws::Utils::DateTime>
245 SetDateCreated(std::forward<DateCreatedT>(value));
246 return *this;
247 }
249
251
254 inline const Aws::Utils::DateTime& GetDateUpdated() const { return m_dateUpdated; }
255 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
256 template <typename DateUpdatedT = Aws::Utils::DateTime>
257 void SetDateUpdated(DateUpdatedT&& value) {
258 m_dateUpdatedHasBeenSet = true;
259 m_dateUpdated = std::forward<DateUpdatedT>(value);
260 }
261 template <typename DateUpdatedT = Aws::Utils::DateTime>
263 SetDateUpdated(std::forward<DateUpdatedT>(value));
264 return *this;
265 }
267
269
285 inline ApplicationVersionStatus GetStatus() const { return m_status; }
286 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
288 m_statusHasBeenSet = true;
289 m_status = value;
290 }
292 SetStatus(value);
293 return *this;
294 }
296 private:
297 Aws::String m_applicationVersionArn;
298
299 Aws::String m_applicationName;
300
301 Aws::String m_description;
302
303 Aws::String m_versionLabel;
304
305 SourceBuildInformation m_sourceBuildInformation;
306
307 Aws::String m_buildArn;
308
309 S3Location m_sourceBundle;
310
311 ImageSource m_imageSource;
312
313 ImageBuildConfiguration m_imageBuildConfiguration;
314
315 bool m_process{false};
316
317 Aws::Utils::DateTime m_dateCreated{};
318
319 Aws::Utils::DateTime m_dateUpdated{};
320
322 bool m_applicationVersionArnHasBeenSet = false;
323 bool m_applicationNameHasBeenSet = false;
324 bool m_descriptionHasBeenSet = false;
325 bool m_versionLabelHasBeenSet = false;
326 bool m_sourceBuildInformationHasBeenSet = false;
327 bool m_buildArnHasBeenSet = false;
328 bool m_sourceBundleHasBeenSet = false;
329 bool m_imageSourceHasBeenSet = false;
330 bool m_imageBuildConfigurationHasBeenSet = false;
331 bool m_processHasBeenSet = false;
332 bool m_dateCreatedHasBeenSet = false;
333 bool m_dateUpdatedHasBeenSet = false;
334 bool m_statusHasBeenSet = false;
335};
336
337} // namespace Model
338} // namespace ElasticBeanstalk
339} // namespace Aws
ApplicationVersionDescription & WithApplicationName(ApplicationNameT &&value)
ApplicationVersionDescription & WithDateCreated(DateCreatedT &&value)
ApplicationVersionDescription & WithSourceBundle(SourceBundleT &&value)
ApplicationVersionDescription & WithSourceBuildInformation(SourceBuildInformationT &&value)
AWS_ELASTICBEANSTALK_API ApplicationVersionDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ApplicationVersionDescription & WithDateUpdated(DateUpdatedT &&value)
ApplicationVersionDescription & WithVersionLabel(VersionLabelT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ApplicationVersionDescription & WithBuildArn(BuildArnT &&value)
ApplicationVersionDescription & WithDescription(DescriptionT &&value)
AWS_ELASTICBEANSTALK_API ApplicationVersionDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API ApplicationVersionDescription()=default
ApplicationVersionDescription & WithImageSource(ImageSourceT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ApplicationVersionDescription & WithApplicationVersionArn(ApplicationVersionArnT &&value)
ApplicationVersionDescription & WithImageBuildConfiguration(ImageBuildConfigurationT &&value)
ApplicationVersionDescription & WithStatus(ApplicationVersionStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream