AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ApplicationDescription.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/ApplicationResourceLifecycleConfig.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Xml {
19class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace ElasticBeanstalk {
23namespace Model {
24
31 public:
32 AWS_ELASTICBEANSTALK_API ApplicationDescription() = default;
33 AWS_ELASTICBEANSTALK_API ApplicationDescription(const Aws::Utils::Xml::XmlNode& xmlNode);
34 AWS_ELASTICBEANSTALK_API ApplicationDescription& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
35
36 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
37 const char* locationValue) const;
38 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
41
44 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
45 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
46 template <typename ApplicationArnT = Aws::String>
47 void SetApplicationArn(ApplicationArnT&& value) {
48 m_applicationArnHasBeenSet = true;
49 m_applicationArn = std::forward<ApplicationArnT>(value);
50 }
51 template <typename ApplicationArnT = Aws::String>
52 ApplicationDescription& WithApplicationArn(ApplicationArnT&& value) {
53 SetApplicationArn(std::forward<ApplicationArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
63 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
64 template <typename ApplicationNameT = Aws::String>
65 void SetApplicationName(ApplicationNameT&& value) {
66 m_applicationNameHasBeenSet = true;
67 m_applicationName = std::forward<ApplicationNameT>(value);
68 }
69 template <typename ApplicationNameT = Aws::String>
70 ApplicationDescription& WithApplicationName(ApplicationNameT&& value) {
71 SetApplicationName(std::forward<ApplicationNameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetDescription() const { return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 template <typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) {
84 m_descriptionHasBeenSet = true;
85 m_description = std::forward<DescriptionT>(value);
86 }
87 template <typename DescriptionT = Aws::String>
88 ApplicationDescription& WithDescription(DescriptionT&& value) {
89 SetDescription(std::forward<DescriptionT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Utils::DateTime& GetDateCreated() const { return m_dateCreated; }
99 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
100 template <typename DateCreatedT = Aws::Utils::DateTime>
101 void SetDateCreated(DateCreatedT&& value) {
102 m_dateCreatedHasBeenSet = true;
103 m_dateCreated = std::forward<DateCreatedT>(value);
104 }
105 template <typename DateCreatedT = Aws::Utils::DateTime>
107 SetDateCreated(std::forward<DateCreatedT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::Utils::DateTime& GetDateUpdated() const { return m_dateUpdated; }
117 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
118 template <typename DateUpdatedT = Aws::Utils::DateTime>
119 void SetDateUpdated(DateUpdatedT&& value) {
120 m_dateUpdatedHasBeenSet = true;
121 m_dateUpdated = std::forward<DateUpdatedT>(value);
122 }
123 template <typename DateUpdatedT = Aws::Utils::DateTime>
125 SetDateUpdated(std::forward<DateUpdatedT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::Vector<Aws::String>& GetVersions() const { return m_versions; }
135 inline bool VersionsHasBeenSet() const { return m_versionsHasBeenSet; }
136 template <typename VersionsT = Aws::Vector<Aws::String>>
137 void SetVersions(VersionsT&& value) {
138 m_versionsHasBeenSet = true;
139 m_versions = std::forward<VersionsT>(value);
140 }
141 template <typename VersionsT = Aws::Vector<Aws::String>>
143 SetVersions(std::forward<VersionsT>(value));
144 return *this;
145 }
146 template <typename VersionsT = Aws::String>
148 m_versionsHasBeenSet = true;
149 m_versions.emplace_back(std::forward<VersionsT>(value));
150 return *this;
151 }
153
155
159 inline const Aws::Vector<Aws::String>& GetConfigurationTemplates() const { return m_configurationTemplates; }
160 inline bool ConfigurationTemplatesHasBeenSet() const { return m_configurationTemplatesHasBeenSet; }
161 template <typename ConfigurationTemplatesT = Aws::Vector<Aws::String>>
162 void SetConfigurationTemplates(ConfigurationTemplatesT&& value) {
163 m_configurationTemplatesHasBeenSet = true;
164 m_configurationTemplates = std::forward<ConfigurationTemplatesT>(value);
165 }
166 template <typename ConfigurationTemplatesT = Aws::Vector<Aws::String>>
167 ApplicationDescription& WithConfigurationTemplates(ConfigurationTemplatesT&& value) {
168 SetConfigurationTemplates(std::forward<ConfigurationTemplatesT>(value));
169 return *this;
170 }
171 template <typename ConfigurationTemplatesT = Aws::String>
172 ApplicationDescription& AddConfigurationTemplates(ConfigurationTemplatesT&& value) {
173 m_configurationTemplatesHasBeenSet = true;
174 m_configurationTemplates.emplace_back(std::forward<ConfigurationTemplatesT>(value));
175 return *this;
176 }
178
180
183 inline const ApplicationResourceLifecycleConfig& GetResourceLifecycleConfig() const { return m_resourceLifecycleConfig; }
184 inline bool ResourceLifecycleConfigHasBeenSet() const { return m_resourceLifecycleConfigHasBeenSet; }
185 template <typename ResourceLifecycleConfigT = ApplicationResourceLifecycleConfig>
186 void SetResourceLifecycleConfig(ResourceLifecycleConfigT&& value) {
187 m_resourceLifecycleConfigHasBeenSet = true;
188 m_resourceLifecycleConfig = std::forward<ResourceLifecycleConfigT>(value);
189 }
190 template <typename ResourceLifecycleConfigT = ApplicationResourceLifecycleConfig>
191 ApplicationDescription& WithResourceLifecycleConfig(ResourceLifecycleConfigT&& value) {
192 SetResourceLifecycleConfig(std::forward<ResourceLifecycleConfigT>(value));
193 return *this;
194 }
196 private:
197 Aws::String m_applicationArn;
198
199 Aws::String m_applicationName;
200
201 Aws::String m_description;
202
203 Aws::Utils::DateTime m_dateCreated{};
204
205 Aws::Utils::DateTime m_dateUpdated{};
206
207 Aws::Vector<Aws::String> m_versions;
208
209 Aws::Vector<Aws::String> m_configurationTemplates;
210
211 ApplicationResourceLifecycleConfig m_resourceLifecycleConfig;
212 bool m_applicationArnHasBeenSet = false;
213 bool m_applicationNameHasBeenSet = false;
214 bool m_descriptionHasBeenSet = false;
215 bool m_dateCreatedHasBeenSet = false;
216 bool m_dateUpdatedHasBeenSet = false;
217 bool m_versionsHasBeenSet = false;
218 bool m_configurationTemplatesHasBeenSet = false;
219 bool m_resourceLifecycleConfigHasBeenSet = false;
220};
221
222} // namespace Model
223} // namespace ElasticBeanstalk
224} // namespace Aws
ApplicationDescription & AddVersions(VersionsT &&value)
const Aws::Vector< Aws::String > & GetVersions() const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetConfigurationTemplates(ConfigurationTemplatesT &&value)
AWS_ELASTICBEANSTALK_API ApplicationDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ApplicationDescription & AddConfigurationTemplates(ConfigurationTemplatesT &&value)
ApplicationDescription & WithDateCreated(DateCreatedT &&value)
ApplicationDescription & WithConfigurationTemplates(ConfigurationTemplatesT &&value)
ApplicationDescription & WithVersions(VersionsT &&value)
void SetResourceLifecycleConfig(ResourceLifecycleConfigT &&value)
ApplicationDescription & WithApplicationArn(ApplicationArnT &&value)
AWS_ELASTICBEANSTALK_API ApplicationDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
ApplicationDescription & WithApplicationName(ApplicationNameT &&value)
const Aws::Vector< Aws::String > & GetConfigurationTemplates() const
AWS_ELASTICBEANSTALK_API ApplicationDescription()=default
ApplicationDescription & WithDescription(DescriptionT &&value)
ApplicationDescription & WithDateUpdated(DateUpdatedT &&value)
ApplicationDescription & WithResourceLifecycleConfig(ResourceLifecycleConfigT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const ApplicationResourceLifecycleConfig & GetResourceLifecycleConfig() const
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