AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ApplicationDescription.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/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticbeanstalk/model/ApplicationResourceLifecycleConfig.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace ElasticBeanstalk
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_ELASTICBEANSTALK_API ApplicationDescription() = default;
38 AWS_ELASTICBEANSTALK_API ApplicationDescription(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_ELASTICBEANSTALK_API ApplicationDescription& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
50 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
51 template<typename ApplicationArnT = Aws::String>
52 void SetApplicationArn(ApplicationArnT&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::forward<ApplicationArnT>(value); }
53 template<typename ApplicationArnT = Aws::String>
54 ApplicationDescription& WithApplicationArn(ApplicationArnT&& value) { SetApplicationArn(std::forward<ApplicationArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
62 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
63 template<typename ApplicationNameT = Aws::String>
64 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
65 template<typename ApplicationNameT = Aws::String>
66 ApplicationDescription& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template<typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
77 template<typename DescriptionT = Aws::String>
78 ApplicationDescription& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetDateCreated() const { return m_dateCreated; }
86 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
87 template<typename DateCreatedT = Aws::Utils::DateTime>
88 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::forward<DateCreatedT>(value); }
89 template<typename DateCreatedT = Aws::Utils::DateTime>
90 ApplicationDescription& WithDateCreated(DateCreatedT&& value) { SetDateCreated(std::forward<DateCreatedT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetDateUpdated() const { return m_dateUpdated; }
98 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
99 template<typename DateUpdatedT = Aws::Utils::DateTime>
100 void SetDateUpdated(DateUpdatedT&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::forward<DateUpdatedT>(value); }
101 template<typename DateUpdatedT = Aws::Utils::DateTime>
102 ApplicationDescription& WithDateUpdated(DateUpdatedT&& value) { SetDateUpdated(std::forward<DateUpdatedT>(value)); return *this;}
104
106
109 inline const Aws::Vector<Aws::String>& GetVersions() const { return m_versions; }
110 inline bool VersionsHasBeenSet() const { return m_versionsHasBeenSet; }
111 template<typename VersionsT = Aws::Vector<Aws::String>>
112 void SetVersions(VersionsT&& value) { m_versionsHasBeenSet = true; m_versions = std::forward<VersionsT>(value); }
113 template<typename VersionsT = Aws::Vector<Aws::String>>
114 ApplicationDescription& WithVersions(VersionsT&& value) { SetVersions(std::forward<VersionsT>(value)); return *this;}
115 template<typename VersionsT = Aws::String>
116 ApplicationDescription& AddVersions(VersionsT&& value) { m_versionsHasBeenSet = true; m_versions.emplace_back(std::forward<VersionsT>(value)); return *this; }
118
120
124 inline const Aws::Vector<Aws::String>& GetConfigurationTemplates() const { return m_configurationTemplates; }
125 inline bool ConfigurationTemplatesHasBeenSet() const { return m_configurationTemplatesHasBeenSet; }
126 template<typename ConfigurationTemplatesT = Aws::Vector<Aws::String>>
127 void SetConfigurationTemplates(ConfigurationTemplatesT&& value) { m_configurationTemplatesHasBeenSet = true; m_configurationTemplates = std::forward<ConfigurationTemplatesT>(value); }
128 template<typename ConfigurationTemplatesT = Aws::Vector<Aws::String>>
129 ApplicationDescription& WithConfigurationTemplates(ConfigurationTemplatesT&& value) { SetConfigurationTemplates(std::forward<ConfigurationTemplatesT>(value)); return *this;}
130 template<typename ConfigurationTemplatesT = Aws::String>
131 ApplicationDescription& AddConfigurationTemplates(ConfigurationTemplatesT&& value) { m_configurationTemplatesHasBeenSet = true; m_configurationTemplates.emplace_back(std::forward<ConfigurationTemplatesT>(value)); return *this; }
133
135
138 inline const ApplicationResourceLifecycleConfig& GetResourceLifecycleConfig() const { return m_resourceLifecycleConfig; }
139 inline bool ResourceLifecycleConfigHasBeenSet() const { return m_resourceLifecycleConfigHasBeenSet; }
140 template<typename ResourceLifecycleConfigT = ApplicationResourceLifecycleConfig>
141 void SetResourceLifecycleConfig(ResourceLifecycleConfigT&& value) { m_resourceLifecycleConfigHasBeenSet = true; m_resourceLifecycleConfig = std::forward<ResourceLifecycleConfigT>(value); }
142 template<typename ResourceLifecycleConfigT = ApplicationResourceLifecycleConfig>
143 ApplicationDescription& WithResourceLifecycleConfig(ResourceLifecycleConfigT&& value) { SetResourceLifecycleConfig(std::forward<ResourceLifecycleConfigT>(value)); return *this;}
145 private:
146
147 Aws::String m_applicationArn;
148 bool m_applicationArnHasBeenSet = false;
149
150 Aws::String m_applicationName;
151 bool m_applicationNameHasBeenSet = false;
152
153 Aws::String m_description;
154 bool m_descriptionHasBeenSet = false;
155
156 Aws::Utils::DateTime m_dateCreated{};
157 bool m_dateCreatedHasBeenSet = false;
158
159 Aws::Utils::DateTime m_dateUpdated{};
160 bool m_dateUpdatedHasBeenSet = false;
161
162 Aws::Vector<Aws::String> m_versions;
163 bool m_versionsHasBeenSet = false;
164
165 Aws::Vector<Aws::String> m_configurationTemplates;
166 bool m_configurationTemplatesHasBeenSet = false;
167
168 ApplicationResourceLifecycleConfig m_resourceLifecycleConfig;
169 bool m_resourceLifecycleConfigHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace ElasticBeanstalk
174} // 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