AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConfigurationSettingsDescription.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/ConfigurationDeploymentStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
14#include <aws/elasticbeanstalk/model/ConfigurationOptionSetting.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Xml
22{
23 class XmlNode;
24} // namespace Xml
25} // namespace Utils
26namespace ElasticBeanstalk
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription() = default;
40 AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription& 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& GetSolutionStackName() const { return m_solutionStackName; }
52 inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
53 template<typename SolutionStackNameT = Aws::String>
54 void SetSolutionStackName(SolutionStackNameT&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::forward<SolutionStackNameT>(value); }
55 template<typename SolutionStackNameT = Aws::String>
56 ConfigurationSettingsDescription& WithSolutionStackName(SolutionStackNameT&& value) { SetSolutionStackName(std::forward<SolutionStackNameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
64 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
65 template<typename PlatformArnT = Aws::String>
66 void SetPlatformArn(PlatformArnT&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::forward<PlatformArnT>(value); }
67 template<typename PlatformArnT = Aws::String>
68 ConfigurationSettingsDescription& WithPlatformArn(PlatformArnT&& value) { SetPlatformArn(std::forward<PlatformArnT>(value)); return *this;}
70
72
75 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
76 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
77 template<typename ApplicationNameT = Aws::String>
78 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
79 template<typename ApplicationNameT = Aws::String>
80 ConfigurationSettingsDescription& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
82
84
88 inline const Aws::String& GetTemplateName() const { return m_templateName; }
89 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
90 template<typename TemplateNameT = Aws::String>
91 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
92 template<typename TemplateNameT = Aws::String>
93 ConfigurationSettingsDescription& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
95
97
100 inline const Aws::String& GetDescription() const { return m_description; }
101 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
102 template<typename DescriptionT = Aws::String>
103 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
104 template<typename DescriptionT = Aws::String>
105 ConfigurationSettingsDescription& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
107
109
113 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
114 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
115 template<typename EnvironmentNameT = Aws::String>
116 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
117 template<typename EnvironmentNameT = Aws::String>
118 ConfigurationSettingsDescription& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
120
122
133 inline ConfigurationDeploymentStatus GetDeploymentStatus() const { return m_deploymentStatus; }
134 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
135 inline void SetDeploymentStatus(ConfigurationDeploymentStatus value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
138
140
143 inline const Aws::Utils::DateTime& GetDateCreated() const { return m_dateCreated; }
144 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
145 template<typename DateCreatedT = Aws::Utils::DateTime>
146 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::forward<DateCreatedT>(value); }
147 template<typename DateCreatedT = Aws::Utils::DateTime>
148 ConfigurationSettingsDescription& WithDateCreated(DateCreatedT&& value) { SetDateCreated(std::forward<DateCreatedT>(value)); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetDateUpdated() const { return m_dateUpdated; }
156 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
157 template<typename DateUpdatedT = Aws::Utils::DateTime>
158 void SetDateUpdated(DateUpdatedT&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::forward<DateUpdatedT>(value); }
159 template<typename DateUpdatedT = Aws::Utils::DateTime>
160 ConfigurationSettingsDescription& WithDateUpdated(DateUpdatedT&& value) { SetDateUpdated(std::forward<DateUpdatedT>(value)); return *this;}
162
164
168 inline const Aws::Vector<ConfigurationOptionSetting>& GetOptionSettings() const { return m_optionSettings; }
169 inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; }
170 template<typename OptionSettingsT = Aws::Vector<ConfigurationOptionSetting>>
171 void SetOptionSettings(OptionSettingsT&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = std::forward<OptionSettingsT>(value); }
172 template<typename OptionSettingsT = Aws::Vector<ConfigurationOptionSetting>>
173 ConfigurationSettingsDescription& WithOptionSettings(OptionSettingsT&& value) { SetOptionSettings(std::forward<OptionSettingsT>(value)); return *this;}
174 template<typename OptionSettingsT = ConfigurationOptionSetting>
175 ConfigurationSettingsDescription& AddOptionSettings(OptionSettingsT&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.emplace_back(std::forward<OptionSettingsT>(value)); return *this; }
177
179
180 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
181 template<typename ResponseMetadataT = ResponseMetadata>
182 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
183 template<typename ResponseMetadataT = ResponseMetadata>
184 ConfigurationSettingsDescription& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
186 private:
187
188 Aws::String m_solutionStackName;
189 bool m_solutionStackNameHasBeenSet = false;
190
191 Aws::String m_platformArn;
192 bool m_platformArnHasBeenSet = false;
193
194 Aws::String m_applicationName;
195 bool m_applicationNameHasBeenSet = false;
196
197 Aws::String m_templateName;
198 bool m_templateNameHasBeenSet = false;
199
200 Aws::String m_description;
201 bool m_descriptionHasBeenSet = false;
202
203 Aws::String m_environmentName;
204 bool m_environmentNameHasBeenSet = false;
205
207 bool m_deploymentStatusHasBeenSet = false;
208
209 Aws::Utils::DateTime m_dateCreated{};
210 bool m_dateCreatedHasBeenSet = false;
211
212 Aws::Utils::DateTime m_dateUpdated{};
213 bool m_dateUpdatedHasBeenSet = false;
214
216 bool m_optionSettingsHasBeenSet = false;
217
218 ResponseMetadata m_responseMetadata;
219 bool m_responseMetadataHasBeenSet = true;
220 };
221
222} // namespace Model
223} // namespace ElasticBeanstalk
224} // namespace Aws
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ConfigurationSettingsDescription & WithDescription(DescriptionT &&value)
ConfigurationSettingsDescription & WithTemplateName(TemplateNameT &&value)
ConfigurationSettingsDescription & WithOptionSettings(OptionSettingsT &&value)
ConfigurationSettingsDescription & WithEnvironmentName(EnvironmentNameT &&value)
ConfigurationSettingsDescription & WithDateCreated(DateCreatedT &&value)
AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription()=default
ConfigurationSettingsDescription & AddOptionSettings(OptionSettingsT &&value)
const Aws::Vector< ConfigurationOptionSetting > & GetOptionSettings() const
ConfigurationSettingsDescription & WithResponseMetadata(ResponseMetadataT &&value)
ConfigurationSettingsDescription & WithPlatformArn(PlatformArnT &&value)
ConfigurationSettingsDescription & WithDateUpdated(DateUpdatedT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ConfigurationSettingsDescription & WithApplicationName(ApplicationNameT &&value)
AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API ConfigurationSettingsDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
ConfigurationSettingsDescription & WithSolutionStackName(SolutionStackNameT &&value)
ConfigurationSettingsDescription & WithDeploymentStatus(ConfigurationDeploymentStatus 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