AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplicationVersionArn(const Aws::String& value) { m_applicationVersionArnHasBeenSet = true; m_applicationVersionArn = value; }
54 inline void SetApplicationVersionArn(Aws::String&& value) { m_applicationVersionArnHasBeenSet = true; m_applicationVersionArn = std::move(value); }
55 inline void SetApplicationVersionArn(const char* value) { m_applicationVersionArnHasBeenSet = true; m_applicationVersionArn.assign(value); }
58 inline ApplicationVersionDescription& WithApplicationVersionArn(const char* value) { SetApplicationVersionArn(value); return *this;}
60
62
65 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
66 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
67 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
68 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
69 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
71 inline ApplicationVersionDescription& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
72 inline ApplicationVersionDescription& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
74
76
79 inline const Aws::String& GetDescription() const{ return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
82 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
83 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
84 inline ApplicationVersionDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
85 inline ApplicationVersionDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
86 inline ApplicationVersionDescription& WithDescription(const char* value) { SetDescription(value); return *this;}
88
90
93 inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
94 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
95 inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
96 inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); }
97 inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
98 inline ApplicationVersionDescription& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
99 inline ApplicationVersionDescription& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
100 inline ApplicationVersionDescription& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
102
104
108 inline const SourceBuildInformation& GetSourceBuildInformation() const{ return m_sourceBuildInformation; }
109 inline bool SourceBuildInformationHasBeenSet() const { return m_sourceBuildInformationHasBeenSet; }
110 inline void SetSourceBuildInformation(const SourceBuildInformation& value) { m_sourceBuildInformationHasBeenSet = true; m_sourceBuildInformation = value; }
111 inline void SetSourceBuildInformation(SourceBuildInformation&& value) { m_sourceBuildInformationHasBeenSet = true; m_sourceBuildInformation = std::move(value); }
115
117
120 inline const Aws::String& GetBuildArn() const{ return m_buildArn; }
121 inline bool BuildArnHasBeenSet() const { return m_buildArnHasBeenSet; }
122 inline void SetBuildArn(const Aws::String& value) { m_buildArnHasBeenSet = true; m_buildArn = value; }
123 inline void SetBuildArn(Aws::String&& value) { m_buildArnHasBeenSet = true; m_buildArn = std::move(value); }
124 inline void SetBuildArn(const char* value) { m_buildArnHasBeenSet = true; m_buildArn.assign(value); }
125 inline ApplicationVersionDescription& WithBuildArn(const Aws::String& value) { SetBuildArn(value); return *this;}
126 inline ApplicationVersionDescription& WithBuildArn(Aws::String&& value) { SetBuildArn(std::move(value)); return *this;}
127 inline ApplicationVersionDescription& WithBuildArn(const char* value) { SetBuildArn(value); return *this;}
129
131
135 inline const S3Location& GetSourceBundle() const{ return m_sourceBundle; }
136 inline bool SourceBundleHasBeenSet() const { return m_sourceBundleHasBeenSet; }
137 inline void SetSourceBundle(const S3Location& value) { m_sourceBundleHasBeenSet = true; m_sourceBundle = value; }
138 inline void SetSourceBundle(S3Location&& value) { m_sourceBundleHasBeenSet = true; m_sourceBundle = std::move(value); }
139 inline ApplicationVersionDescription& WithSourceBundle(const S3Location& value) { SetSourceBundle(value); return *this;}
140 inline ApplicationVersionDescription& WithSourceBundle(S3Location&& value) { SetSourceBundle(std::move(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetDateCreated() const{ return m_dateCreated; }
148 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
149 inline void SetDateCreated(const Aws::Utils::DateTime& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
150 inline void SetDateCreated(Aws::Utils::DateTime&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
152 inline ApplicationVersionDescription& WithDateCreated(Aws::Utils::DateTime&& value) { SetDateCreated(std::move(value)); return *this;}
154
156
159 inline const Aws::Utils::DateTime& GetDateUpdated() const{ return m_dateUpdated; }
160 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
161 inline void SetDateUpdated(const Aws::Utils::DateTime& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = value; }
162 inline void SetDateUpdated(Aws::Utils::DateTime&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::move(value); }
164 inline ApplicationVersionDescription& WithDateUpdated(Aws::Utils::DateTime&& value) { SetDateUpdated(std::move(value)); return *this;}
166
168
185 inline const ApplicationVersionStatus& GetStatus() const{ return m_status; }
186 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
187 inline void SetStatus(const ApplicationVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
188 inline void SetStatus(ApplicationVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
189 inline ApplicationVersionDescription& WithStatus(const ApplicationVersionStatus& value) { SetStatus(value); return *this;}
190 inline ApplicationVersionDescription& WithStatus(ApplicationVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
192 private:
193
194 Aws::String m_applicationVersionArn;
195 bool m_applicationVersionArnHasBeenSet = false;
196
197 Aws::String m_applicationName;
198 bool m_applicationNameHasBeenSet = false;
199
200 Aws::String m_description;
201 bool m_descriptionHasBeenSet = false;
202
203 Aws::String m_versionLabel;
204 bool m_versionLabelHasBeenSet = false;
205
206 SourceBuildInformation m_sourceBuildInformation;
207 bool m_sourceBuildInformationHasBeenSet = false;
208
209 Aws::String m_buildArn;
210 bool m_buildArnHasBeenSet = false;
211
212 S3Location m_sourceBundle;
213 bool m_sourceBundleHasBeenSet = false;
214
215 Aws::Utils::DateTime m_dateCreated;
216 bool m_dateCreatedHasBeenSet = false;
217
218 Aws::Utils::DateTime m_dateUpdated;
219 bool m_dateUpdatedHasBeenSet = false;
220
222 bool m_statusHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace ElasticBeanstalk
227} // namespace Aws
ApplicationVersionDescription & WithDescription(Aws::String &&value)
AWS_ELASTICBEANSTALK_API ApplicationVersionDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ApplicationVersionDescription & WithSourceBuildInformation(SourceBuildInformation &&value)
ApplicationVersionDescription & WithDateCreated(Aws::Utils::DateTime &&value)
ApplicationVersionDescription & WithStatus(ApplicationVersionStatus &&value)
ApplicationVersionDescription & WithBuildArn(const char *value)
ApplicationVersionDescription & WithDateCreated(const Aws::Utils::DateTime &value)
ApplicationVersionDescription & WithApplicationVersionArn(const char *value)
ApplicationVersionDescription & WithApplicationVersionArn(Aws::String &&value)
ApplicationVersionDescription & WithApplicationVersionArn(const Aws::String &value)
ApplicationVersionDescription & WithSourceBundle(const S3Location &value)
ApplicationVersionDescription & WithDescription(const Aws::String &value)
ApplicationVersionDescription & WithApplicationName(const Aws::String &value)
ApplicationVersionDescription & WithDateUpdated(Aws::Utils::DateTime &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ApplicationVersionDescription & WithBuildArn(Aws::String &&value)
ApplicationVersionDescription & WithApplicationName(const char *value)
ApplicationVersionDescription & WithSourceBundle(S3Location &&value)
ApplicationVersionDescription & WithBuildArn(const Aws::String &value)
ApplicationVersionDescription & WithDateUpdated(const Aws::Utils::DateTime &value)
ApplicationVersionDescription & WithDescription(const char *value)
ApplicationVersionDescription & WithStatus(const ApplicationVersionStatus &value)
ApplicationVersionDescription & WithVersionLabel(const Aws::String &value)
AWS_ELASTICBEANSTALK_API ApplicationVersionDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
ApplicationVersionDescription & WithVersionLabel(Aws::String &&value)
ApplicationVersionDescription & WithVersionLabel(const char *value)
ApplicationVersionDescription & WithSourceBuildInformation(const SourceBuildInformation &value)
ApplicationVersionDescription & WithApplicationName(Aws::String &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream