AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplicationArn(const Aws::String& value) { m_applicationArnHasBeenSet = true; m_applicationArn = value; }
52 inline void SetApplicationArn(Aws::String&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::move(value); }
53 inline void SetApplicationArn(const char* value) { m_applicationArnHasBeenSet = true; m_applicationArn.assign(value); }
54 inline ApplicationDescription& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
55 inline ApplicationDescription& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
56 inline ApplicationDescription& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
58
60
63 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
64 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
65 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
66 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
67 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
68 inline ApplicationDescription& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
69 inline ApplicationDescription& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
70 inline ApplicationDescription& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline ApplicationDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline ApplicationDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline ApplicationDescription& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetDateCreated() const{ return m_dateCreated; }
92 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
93 inline void SetDateCreated(const Aws::Utils::DateTime& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
94 inline void SetDateCreated(Aws::Utils::DateTime&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
95 inline ApplicationDescription& WithDateCreated(const Aws::Utils::DateTime& value) { SetDateCreated(value); return *this;}
96 inline ApplicationDescription& WithDateCreated(Aws::Utils::DateTime&& value) { SetDateCreated(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetDateUpdated() const{ return m_dateUpdated; }
104 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
105 inline void SetDateUpdated(const Aws::Utils::DateTime& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = value; }
106 inline void SetDateUpdated(Aws::Utils::DateTime&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::move(value); }
107 inline ApplicationDescription& WithDateUpdated(const Aws::Utils::DateTime& value) { SetDateUpdated(value); return *this;}
108 inline ApplicationDescription& WithDateUpdated(Aws::Utils::DateTime&& value) { SetDateUpdated(std::move(value)); return *this;}
110
112
115 inline const Aws::Vector<Aws::String>& GetVersions() const{ return m_versions; }
116 inline bool VersionsHasBeenSet() const { return m_versionsHasBeenSet; }
117 inline void SetVersions(const Aws::Vector<Aws::String>& value) { m_versionsHasBeenSet = true; m_versions = value; }
118 inline void SetVersions(Aws::Vector<Aws::String>&& value) { m_versionsHasBeenSet = true; m_versions = std::move(value); }
119 inline ApplicationDescription& WithVersions(const Aws::Vector<Aws::String>& value) { SetVersions(value); return *this;}
120 inline ApplicationDescription& WithVersions(Aws::Vector<Aws::String>&& value) { SetVersions(std::move(value)); return *this;}
121 inline ApplicationDescription& AddVersions(const Aws::String& value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; }
122 inline ApplicationDescription& AddVersions(Aws::String&& value) { m_versionsHasBeenSet = true; m_versions.push_back(std::move(value)); return *this; }
123 inline ApplicationDescription& AddVersions(const char* value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; }
125
127
131 inline const Aws::Vector<Aws::String>& GetConfigurationTemplates() const{ return m_configurationTemplates; }
132 inline bool ConfigurationTemplatesHasBeenSet() const { return m_configurationTemplatesHasBeenSet; }
133 inline void SetConfigurationTemplates(const Aws::Vector<Aws::String>& value) { m_configurationTemplatesHasBeenSet = true; m_configurationTemplates = value; }
134 inline void SetConfigurationTemplates(Aws::Vector<Aws::String>&& value) { m_configurationTemplatesHasBeenSet = true; m_configurationTemplates = std::move(value); }
137 inline ApplicationDescription& AddConfigurationTemplates(const Aws::String& value) { m_configurationTemplatesHasBeenSet = true; m_configurationTemplates.push_back(value); return *this; }
138 inline ApplicationDescription& AddConfigurationTemplates(Aws::String&& value) { m_configurationTemplatesHasBeenSet = true; m_configurationTemplates.push_back(std::move(value)); return *this; }
139 inline ApplicationDescription& AddConfigurationTemplates(const char* value) { m_configurationTemplatesHasBeenSet = true; m_configurationTemplates.push_back(value); return *this; }
141
143
146 inline const ApplicationResourceLifecycleConfig& GetResourceLifecycleConfig() const{ return m_resourceLifecycleConfig; }
147 inline bool ResourceLifecycleConfigHasBeenSet() const { return m_resourceLifecycleConfigHasBeenSet; }
148 inline void SetResourceLifecycleConfig(const ApplicationResourceLifecycleConfig& value) { m_resourceLifecycleConfigHasBeenSet = true; m_resourceLifecycleConfig = value; }
149 inline void SetResourceLifecycleConfig(ApplicationResourceLifecycleConfig&& value) { m_resourceLifecycleConfigHasBeenSet = true; m_resourceLifecycleConfig = std::move(value); }
153 private:
154
155 Aws::String m_applicationArn;
156 bool m_applicationArnHasBeenSet = false;
157
158 Aws::String m_applicationName;
159 bool m_applicationNameHasBeenSet = false;
160
161 Aws::String m_description;
162 bool m_descriptionHasBeenSet = false;
163
164 Aws::Utils::DateTime m_dateCreated;
165 bool m_dateCreatedHasBeenSet = false;
166
167 Aws::Utils::DateTime m_dateUpdated;
168 bool m_dateUpdatedHasBeenSet = false;
169
170 Aws::Vector<Aws::String> m_versions;
171 bool m_versionsHasBeenSet = false;
172
173 Aws::Vector<Aws::String> m_configurationTemplates;
174 bool m_configurationTemplatesHasBeenSet = false;
175
176 ApplicationResourceLifecycleConfig m_resourceLifecycleConfig;
177 bool m_resourceLifecycleConfigHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace ElasticBeanstalk
182} // namespace Aws
void SetResourceLifecycleConfig(const ApplicationResourceLifecycleConfig &value)
void SetConfigurationTemplates(const Aws::Vector< Aws::String > &value)
void SetConfigurationTemplates(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetVersions() const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ApplicationDescription & AddVersions(const Aws::String &value)
AWS_ELASTICBEANSTALK_API ApplicationDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ApplicationDescription & WithApplicationArn(const char *value)
ApplicationDescription & WithDateUpdated(const Aws::Utils::DateTime &value)
void SetVersions(Aws::Vector< Aws::String > &&value)
ApplicationDescription & WithDateUpdated(Aws::Utils::DateTime &&value)
ApplicationDescription & AddConfigurationTemplates(const Aws::String &value)
ApplicationDescription & WithVersions(Aws::Vector< Aws::String > &&value)
ApplicationDescription & WithResourceLifecycleConfig(ApplicationResourceLifecycleConfig &&value)
AWS_ELASTICBEANSTALK_API ApplicationDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDateUpdated(const Aws::Utils::DateTime &value)
ApplicationDescription & AddVersions(const char *value)
ApplicationDescription & WithDescription(Aws::String &&value)
const Aws::Vector< Aws::String > & GetConfigurationTemplates() const
ApplicationDescription & WithApplicationName(const Aws::String &value)
ApplicationDescription & WithApplicationArn(Aws::String &&value)
ApplicationDescription & WithConfigurationTemplates(const Aws::Vector< Aws::String > &value)
void SetVersions(const Aws::Vector< Aws::String > &value)
ApplicationDescription & AddConfigurationTemplates(Aws::String &&value)
ApplicationDescription & WithDescription(const char *value)
ApplicationDescription & WithApplicationName(Aws::String &&value)
ApplicationDescription & WithConfigurationTemplates(Aws::Vector< Aws::String > &&value)
ApplicationDescription & WithResourceLifecycleConfig(const ApplicationResourceLifecycleConfig &value)
void SetDateCreated(const Aws::Utils::DateTime &value)
void SetResourceLifecycleConfig(ApplicationResourceLifecycleConfig &&value)
ApplicationDescription & WithApplicationName(const char *value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const ApplicationResourceLifecycleConfig & GetResourceLifecycleConfig() const
ApplicationDescription & WithDescription(const Aws::String &value)
ApplicationDescription & AddConfigurationTemplates(const char *value)
ApplicationDescription & WithApplicationArn(const Aws::String &value)
ApplicationDescription & WithDateCreated(Aws::Utils::DateTime &&value)
ApplicationDescription & AddVersions(Aws::String &&value)
ApplicationDescription & WithVersions(const Aws::Vector< Aws::String > &value)
ApplicationDescription & WithDateCreated(const Aws::Utils::DateTime &value)
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