AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ApplicationVersionDescription.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticbeanstalk/model/SourceBuildInformation.h>
11#include <aws/elasticbeanstalk/model/S3Location.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/elasticbeanstalk/model/ApplicationVersionStatus.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace ElasticBeanstalk
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_ELASTICBEANSTALK_API ApplicationVersionDescription() = default;
40 AWS_ELASTICBEANSTALK_API ApplicationVersionDescription(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_ELASTICBEANSTALK_API ApplicationVersionDescription& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
51 inline const Aws::String& GetApplicationVersionArn() const { return m_applicationVersionArn; }
52 inline bool ApplicationVersionArnHasBeenSet() const { return m_applicationVersionArnHasBeenSet; }
53 template<typename ApplicationVersionArnT = Aws::String>
54 void SetApplicationVersionArn(ApplicationVersionArnT&& value) { m_applicationVersionArnHasBeenSet = true; m_applicationVersionArn = std::forward<ApplicationVersionArnT>(value); }
55 template<typename ApplicationVersionArnT = Aws::String>
56 ApplicationVersionDescription& WithApplicationVersionArn(ApplicationVersionArnT&& value) { SetApplicationVersionArn(std::forward<ApplicationVersionArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
64 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
65 template<typename ApplicationNameT = Aws::String>
66 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
67 template<typename ApplicationNameT = Aws::String>
68 ApplicationVersionDescription& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template<typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
79 template<typename DescriptionT = Aws::String>
80 ApplicationVersionDescription& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
82
84
87 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
88 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
89 template<typename VersionLabelT = Aws::String>
90 void SetVersionLabel(VersionLabelT&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::forward<VersionLabelT>(value); }
91 template<typename VersionLabelT = Aws::String>
92 ApplicationVersionDescription& WithVersionLabel(VersionLabelT&& value) { SetVersionLabel(std::forward<VersionLabelT>(value)); return *this;}
94
96
100 inline const SourceBuildInformation& GetSourceBuildInformation() const { return m_sourceBuildInformation; }
101 inline bool SourceBuildInformationHasBeenSet() const { return m_sourceBuildInformationHasBeenSet; }
102 template<typename SourceBuildInformationT = SourceBuildInformation>
103 void SetSourceBuildInformation(SourceBuildInformationT&& value) { m_sourceBuildInformationHasBeenSet = true; m_sourceBuildInformation = std::forward<SourceBuildInformationT>(value); }
104 template<typename SourceBuildInformationT = SourceBuildInformation>
105 ApplicationVersionDescription& WithSourceBuildInformation(SourceBuildInformationT&& value) { SetSourceBuildInformation(std::forward<SourceBuildInformationT>(value)); return *this;}
107
109
112 inline const Aws::String& GetBuildArn() const { return m_buildArn; }
113 inline bool BuildArnHasBeenSet() const { return m_buildArnHasBeenSet; }
114 template<typename BuildArnT = Aws::String>
115 void SetBuildArn(BuildArnT&& value) { m_buildArnHasBeenSet = true; m_buildArn = std::forward<BuildArnT>(value); }
116 template<typename BuildArnT = Aws::String>
117 ApplicationVersionDescription& WithBuildArn(BuildArnT&& value) { SetBuildArn(std::forward<BuildArnT>(value)); return *this;}
119
121
125 inline const S3Location& GetSourceBundle() const { return m_sourceBundle; }
126 inline bool SourceBundleHasBeenSet() const { return m_sourceBundleHasBeenSet; }
127 template<typename SourceBundleT = S3Location>
128 void SetSourceBundle(SourceBundleT&& value) { m_sourceBundleHasBeenSet = true; m_sourceBundle = std::forward<SourceBundleT>(value); }
129 template<typename SourceBundleT = S3Location>
130 ApplicationVersionDescription& WithSourceBundle(SourceBundleT&& value) { SetSourceBundle(std::forward<SourceBundleT>(value)); return *this;}
132
134
137 inline const Aws::Utils::DateTime& GetDateCreated() const { return m_dateCreated; }
138 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
139 template<typename DateCreatedT = Aws::Utils::DateTime>
140 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::forward<DateCreatedT>(value); }
141 template<typename DateCreatedT = Aws::Utils::DateTime>
142 ApplicationVersionDescription& WithDateCreated(DateCreatedT&& value) { SetDateCreated(std::forward<DateCreatedT>(value)); return *this;}
144
146
149 inline const Aws::Utils::DateTime& GetDateUpdated() const { return m_dateUpdated; }
150 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
151 template<typename DateUpdatedT = Aws::Utils::DateTime>
152 void SetDateUpdated(DateUpdatedT&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::forward<DateUpdatedT>(value); }
153 template<typename DateUpdatedT = Aws::Utils::DateTime>
154 ApplicationVersionDescription& WithDateUpdated(DateUpdatedT&& value) { SetDateUpdated(std::forward<DateUpdatedT>(value)); return *this;}
156
158
175 inline ApplicationVersionStatus GetStatus() const { return m_status; }
176 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
177 inline void SetStatus(ApplicationVersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
180 private:
181
182 Aws::String m_applicationVersionArn;
183 bool m_applicationVersionArnHasBeenSet = false;
184
185 Aws::String m_applicationName;
186 bool m_applicationNameHasBeenSet = false;
187
188 Aws::String m_description;
189 bool m_descriptionHasBeenSet = false;
190
191 Aws::String m_versionLabel;
192 bool m_versionLabelHasBeenSet = false;
193
194 SourceBuildInformation m_sourceBuildInformation;
195 bool m_sourceBuildInformationHasBeenSet = false;
196
197 Aws::String m_buildArn;
198 bool m_buildArnHasBeenSet = false;
199
200 S3Location m_sourceBundle;
201 bool m_sourceBundleHasBeenSet = false;
202
203 Aws::Utils::DateTime m_dateCreated{};
204 bool m_dateCreatedHasBeenSet = false;
205
206 Aws::Utils::DateTime m_dateUpdated{};
207 bool m_dateUpdatedHasBeenSet = false;
208
210 bool m_statusHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace ElasticBeanstalk
215} // 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