AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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/S3Location.h>
13#include <aws/elasticbeanstalk/model/SourceBuildInformation.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Xml {
20class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace ElasticBeanstalk {
24namespace Model {
25
33 public:
34 AWS_ELASTICBEANSTALK_API ApplicationVersionDescription() = default;
35 AWS_ELASTICBEANSTALK_API ApplicationVersionDescription(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ELASTICBEANSTALK_API ApplicationVersionDescription& 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& GetApplicationVersionArn() const { return m_applicationVersionArn; }
47 inline bool ApplicationVersionArnHasBeenSet() const { return m_applicationVersionArnHasBeenSet; }
48 template <typename ApplicationVersionArnT = Aws::String>
49 void SetApplicationVersionArn(ApplicationVersionArnT&& value) {
50 m_applicationVersionArnHasBeenSet = true;
51 m_applicationVersionArn = std::forward<ApplicationVersionArnT>(value);
52 }
53 template <typename ApplicationVersionArnT = Aws::String>
55 SetApplicationVersionArn(std::forward<ApplicationVersionArnT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
65 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
66 template <typename ApplicationNameT = Aws::String>
67 void SetApplicationName(ApplicationNameT&& value) {
68 m_applicationNameHasBeenSet = true;
69 m_applicationName = std::forward<ApplicationNameT>(value);
70 }
71 template <typename ApplicationNameT = Aws::String>
73 SetApplicationName(std::forward<ApplicationNameT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetDescription() const { return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 template <typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) {
86 m_descriptionHasBeenSet = true;
87 m_description = std::forward<DescriptionT>(value);
88 }
89 template <typename DescriptionT = Aws::String>
91 SetDescription(std::forward<DescriptionT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
101 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
102 template <typename VersionLabelT = Aws::String>
103 void SetVersionLabel(VersionLabelT&& value) {
104 m_versionLabelHasBeenSet = true;
105 m_versionLabel = std::forward<VersionLabelT>(value);
106 }
107 template <typename VersionLabelT = Aws::String>
109 SetVersionLabel(std::forward<VersionLabelT>(value));
110 return *this;
111 }
113
115
119 inline const SourceBuildInformation& GetSourceBuildInformation() const { return m_sourceBuildInformation; }
120 inline bool SourceBuildInformationHasBeenSet() const { return m_sourceBuildInformationHasBeenSet; }
121 template <typename SourceBuildInformationT = SourceBuildInformation>
122 void SetSourceBuildInformation(SourceBuildInformationT&& value) {
123 m_sourceBuildInformationHasBeenSet = true;
124 m_sourceBuildInformation = std::forward<SourceBuildInformationT>(value);
125 }
126 template <typename SourceBuildInformationT = SourceBuildInformation>
128 SetSourceBuildInformation(std::forward<SourceBuildInformationT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::String& GetBuildArn() const { return m_buildArn; }
138 inline bool BuildArnHasBeenSet() const { return m_buildArnHasBeenSet; }
139 template <typename BuildArnT = Aws::String>
140 void SetBuildArn(BuildArnT&& value) {
141 m_buildArnHasBeenSet = true;
142 m_buildArn = std::forward<BuildArnT>(value);
143 }
144 template <typename BuildArnT = Aws::String>
146 SetBuildArn(std::forward<BuildArnT>(value));
147 return *this;
148 }
150
152
156 inline const S3Location& GetSourceBundle() const { return m_sourceBundle; }
157 inline bool SourceBundleHasBeenSet() const { return m_sourceBundleHasBeenSet; }
158 template <typename SourceBundleT = S3Location>
159 void SetSourceBundle(SourceBundleT&& value) {
160 m_sourceBundleHasBeenSet = true;
161 m_sourceBundle = std::forward<SourceBundleT>(value);
162 }
163 template <typename SourceBundleT = S3Location>
165 SetSourceBundle(std::forward<SourceBundleT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::Utils::DateTime& GetDateCreated() const { return m_dateCreated; }
175 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
176 template <typename DateCreatedT = Aws::Utils::DateTime>
177 void SetDateCreated(DateCreatedT&& value) {
178 m_dateCreatedHasBeenSet = true;
179 m_dateCreated = std::forward<DateCreatedT>(value);
180 }
181 template <typename DateCreatedT = Aws::Utils::DateTime>
183 SetDateCreated(std::forward<DateCreatedT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::Utils::DateTime& GetDateUpdated() const { return m_dateUpdated; }
193 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
194 template <typename DateUpdatedT = Aws::Utils::DateTime>
195 void SetDateUpdated(DateUpdatedT&& value) {
196 m_dateUpdatedHasBeenSet = true;
197 m_dateUpdated = std::forward<DateUpdatedT>(value);
198 }
199 template <typename DateUpdatedT = Aws::Utils::DateTime>
201 SetDateUpdated(std::forward<DateUpdatedT>(value));
202 return *this;
203 }
205
207
224 inline ApplicationVersionStatus GetStatus() const { return m_status; }
225 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
227 m_statusHasBeenSet = true;
228 m_status = value;
229 }
231 SetStatus(value);
232 return *this;
233 }
235 private:
236 Aws::String m_applicationVersionArn;
237
238 Aws::String m_applicationName;
239
240 Aws::String m_description;
241
242 Aws::String m_versionLabel;
243
244 SourceBuildInformation m_sourceBuildInformation;
245
246 Aws::String m_buildArn;
247
248 S3Location m_sourceBundle;
249
250 Aws::Utils::DateTime m_dateCreated{};
251
252 Aws::Utils::DateTime m_dateUpdated{};
253
255 bool m_applicationVersionArnHasBeenSet = false;
256 bool m_applicationNameHasBeenSet = false;
257 bool m_descriptionHasBeenSet = false;
258 bool m_versionLabelHasBeenSet = false;
259 bool m_sourceBuildInformationHasBeenSet = false;
260 bool m_buildArnHasBeenSet = false;
261 bool m_sourceBundleHasBeenSet = false;
262 bool m_dateCreatedHasBeenSet = false;
263 bool m_dateUpdatedHasBeenSet = false;
264 bool m_statusHasBeenSet = false;
265};
266
267} // namespace Model
268} // namespace ElasticBeanstalk
269} // 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
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ApplicationVersionDescription & WithApplicationVersionArn(ApplicationVersionArnT &&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