AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateConfigurationTemplateResult.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/model/ConfigurationDeploymentStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
13#include <aws/elasticbeanstalk/model/ConfigurationOptionSetting.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Xml
24{
25 class XmlDocument;
26} // namespace Xml
27} // namespace Utils
28namespace ElasticBeanstalk
29{
30namespace Model
31{
38 {
39 public:
40 AWS_ELASTICBEANSTALK_API CreateConfigurationTemplateResult() = default;
43
44
46
49 inline const Aws::String& GetSolutionStackName() const { return m_solutionStackName; }
50 template<typename SolutionStackNameT = Aws::String>
51 void SetSolutionStackName(SolutionStackNameT&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::forward<SolutionStackNameT>(value); }
52 template<typename SolutionStackNameT = Aws::String>
53 CreateConfigurationTemplateResult& WithSolutionStackName(SolutionStackNameT&& value) { SetSolutionStackName(std::forward<SolutionStackNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
61 template<typename PlatformArnT = Aws::String>
62 void SetPlatformArn(PlatformArnT&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::forward<PlatformArnT>(value); }
63 template<typename PlatformArnT = Aws::String>
64 CreateConfigurationTemplateResult& WithPlatformArn(PlatformArnT&& value) { SetPlatformArn(std::forward<PlatformArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
72 template<typename ApplicationNameT = Aws::String>
73 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
74 template<typename ApplicationNameT = Aws::String>
75 CreateConfigurationTemplateResult& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
77
79
83 inline const Aws::String& GetTemplateName() const { return m_templateName; }
84 template<typename TemplateNameT = Aws::String>
85 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
86 template<typename TemplateNameT = Aws::String>
87 CreateConfigurationTemplateResult& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 template<typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
97 template<typename DescriptionT = Aws::String>
98 CreateConfigurationTemplateResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
100
102
106 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
107 template<typename EnvironmentNameT = Aws::String>
108 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
109 template<typename EnvironmentNameT = Aws::String>
110 CreateConfigurationTemplateResult& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
112
114
125 inline ConfigurationDeploymentStatus GetDeploymentStatus() const { return m_deploymentStatus; }
126 inline void SetDeploymentStatus(ConfigurationDeploymentStatus value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
129
131
134 inline const Aws::Utils::DateTime& GetDateCreated() const { return m_dateCreated; }
135 template<typename DateCreatedT = Aws::Utils::DateTime>
136 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::forward<DateCreatedT>(value); }
137 template<typename DateCreatedT = Aws::Utils::DateTime>
138 CreateConfigurationTemplateResult& WithDateCreated(DateCreatedT&& value) { SetDateCreated(std::forward<DateCreatedT>(value)); return *this;}
140
142
145 inline const Aws::Utils::DateTime& GetDateUpdated() const { return m_dateUpdated; }
146 template<typename DateUpdatedT = Aws::Utils::DateTime>
147 void SetDateUpdated(DateUpdatedT&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::forward<DateUpdatedT>(value); }
148 template<typename DateUpdatedT = Aws::Utils::DateTime>
149 CreateConfigurationTemplateResult& WithDateUpdated(DateUpdatedT&& value) { SetDateUpdated(std::forward<DateUpdatedT>(value)); return *this;}
151
153
157 inline const Aws::Vector<ConfigurationOptionSetting>& GetOptionSettings() const { return m_optionSettings; }
158 template<typename OptionSettingsT = Aws::Vector<ConfigurationOptionSetting>>
159 void SetOptionSettings(OptionSettingsT&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = std::forward<OptionSettingsT>(value); }
160 template<typename OptionSettingsT = Aws::Vector<ConfigurationOptionSetting>>
161 CreateConfigurationTemplateResult& WithOptionSettings(OptionSettingsT&& value) { SetOptionSettings(std::forward<OptionSettingsT>(value)); return *this;}
162 template<typename OptionSettingsT = ConfigurationOptionSetting>
163 CreateConfigurationTemplateResult& AddOptionSettings(OptionSettingsT&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.emplace_back(std::forward<OptionSettingsT>(value)); return *this; }
165
167
168 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
169 template<typename ResponseMetadataT = ResponseMetadata>
170 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
171 template<typename ResponseMetadataT = ResponseMetadata>
172 CreateConfigurationTemplateResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
174 private:
175
176 Aws::String m_solutionStackName;
177 bool m_solutionStackNameHasBeenSet = false;
178
179 Aws::String m_platformArn;
180 bool m_platformArnHasBeenSet = false;
181
182 Aws::String m_applicationName;
183 bool m_applicationNameHasBeenSet = false;
184
185 Aws::String m_templateName;
186 bool m_templateNameHasBeenSet = false;
187
188 Aws::String m_description;
189 bool m_descriptionHasBeenSet = false;
190
191 Aws::String m_environmentName;
192 bool m_environmentNameHasBeenSet = false;
193
195 bool m_deploymentStatusHasBeenSet = false;
196
197 Aws::Utils::DateTime m_dateCreated{};
198 bool m_dateCreatedHasBeenSet = false;
199
200 Aws::Utils::DateTime m_dateUpdated{};
201 bool m_dateUpdatedHasBeenSet = false;
202
204 bool m_optionSettingsHasBeenSet = false;
205
206 ResponseMetadata m_responseMetadata;
207 bool m_responseMetadataHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace ElasticBeanstalk
212} // namespace Aws
CreateConfigurationTemplateResult & WithDeploymentStatus(ConfigurationDeploymentStatus value)
CreateConfigurationTemplateResult & WithEnvironmentName(EnvironmentNameT &&value)
CreateConfigurationTemplateResult & WithResponseMetadata(ResponseMetadataT &&value)
CreateConfigurationTemplateResult & WithTemplateName(TemplateNameT &&value)
CreateConfigurationTemplateResult & WithDateCreated(DateCreatedT &&value)
CreateConfigurationTemplateResult & WithApplicationName(ApplicationNameT &&value)
CreateConfigurationTemplateResult & WithOptionSettings(OptionSettingsT &&value)
CreateConfigurationTemplateResult & AddOptionSettings(OptionSettingsT &&value)
AWS_ELASTICBEANSTALK_API CreateConfigurationTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateConfigurationTemplateResult & WithSolutionStackName(SolutionStackNameT &&value)
AWS_ELASTICBEANSTALK_API CreateConfigurationTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< ConfigurationOptionSetting > & GetOptionSettings() const
CreateConfigurationTemplateResult & WithDescription(DescriptionT &&value)
CreateConfigurationTemplateResult & WithDateUpdated(DateUpdatedT &&value)
AWS_ELASTICBEANSTALK_API CreateConfigurationTemplateResult()=default
CreateConfigurationTemplateResult & WithPlatformArn(PlatformArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument