AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConfigurationTemplateRequest.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticbeanstalk/model/SourceConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticbeanstalk/model/ConfigurationOptionSetting.h>
13#include <aws/elasticbeanstalk/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace ElasticBeanstalk
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_ELASTICBEANSTALK_API CreateConfigurationTemplateRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CreateConfigurationTemplate"; }
38
39 AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
40
41 protected:
42 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43
44 public:
45
47
51 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
52 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
53 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
54 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
55 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
57 inline CreateConfigurationTemplateRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
58 inline CreateConfigurationTemplateRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
60
62
66 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
67 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
68 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
69 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
70 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
72 inline CreateConfigurationTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
73 inline CreateConfigurationTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
75
77
93 inline const Aws::String& GetSolutionStackName() const{ return m_solutionStackName; }
94 inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
95 inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = value; }
96 inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::move(value); }
97 inline void SetSolutionStackName(const char* value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName.assign(value); }
100 inline CreateConfigurationTemplateRequest& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;}
102
104
112 inline const Aws::String& GetPlatformArn() const{ return m_platformArn; }
113 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
114 inline void SetPlatformArn(const Aws::String& value) { m_platformArnHasBeenSet = true; m_platformArn = value; }
115 inline void SetPlatformArn(Aws::String&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::move(value); }
116 inline void SetPlatformArn(const char* value) { m_platformArnHasBeenSet = true; m_platformArn.assign(value); }
118 inline CreateConfigurationTemplateRequest& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;}
119 inline CreateConfigurationTemplateRequest& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;}
121
123
135 inline const SourceConfiguration& GetSourceConfiguration() const{ return m_sourceConfiguration; }
136 inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; }
137 inline void SetSourceConfiguration(const SourceConfiguration& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = value; }
138 inline void SetSourceConfiguration(SourceConfiguration&& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = std::move(value); }
142
144
150 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
151 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
152 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
153 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
154 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
156 inline CreateConfigurationTemplateRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
157 inline CreateConfigurationTemplateRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
159
161
164 inline const Aws::String& GetDescription() const{ return m_description; }
165 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
166 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
167 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
168 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
170 inline CreateConfigurationTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
171 inline CreateConfigurationTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
173
175
183 inline const Aws::Vector<ConfigurationOptionSetting>& GetOptionSettings() const{ return m_optionSettings; }
184 inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; }
185 inline void SetOptionSettings(const Aws::Vector<ConfigurationOptionSetting>& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = value; }
186 inline void SetOptionSettings(Aws::Vector<ConfigurationOptionSetting>&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = std::move(value); }
189 inline CreateConfigurationTemplateRequest& AddOptionSettings(const ConfigurationOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; }
190 inline CreateConfigurationTemplateRequest& AddOptionSettings(ConfigurationOptionSetting&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(std::move(value)); return *this; }
192
194
197 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
198 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
199 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
200 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
201 inline CreateConfigurationTemplateRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
202 inline CreateConfigurationTemplateRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
203 inline CreateConfigurationTemplateRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
204 inline CreateConfigurationTemplateRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
206 private:
207
208 Aws::String m_applicationName;
209 bool m_applicationNameHasBeenSet = false;
210
211 Aws::String m_templateName;
212 bool m_templateNameHasBeenSet = false;
213
214 Aws::String m_solutionStackName;
215 bool m_solutionStackNameHasBeenSet = false;
216
217 Aws::String m_platformArn;
218 bool m_platformArnHasBeenSet = false;
219
220 SourceConfiguration m_sourceConfiguration;
221 bool m_sourceConfigurationHasBeenSet = false;
222
223 Aws::String m_environmentId;
224 bool m_environmentIdHasBeenSet = false;
225
226 Aws::String m_description;
227 bool m_descriptionHasBeenSet = false;
228
230 bool m_optionSettingsHasBeenSet = false;
231
232 Aws::Vector<Tag> m_tags;
233 bool m_tagsHasBeenSet = false;
234 };
235
236} // namespace Model
237} // namespace ElasticBeanstalk
238} // namespace Aws
CreateConfigurationTemplateRequest & WithTemplateName(const Aws::String &value)
CreateConfigurationTemplateRequest & WithPlatformArn(const char *value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
CreateConfigurationTemplateRequest & WithTemplateName(const char *value)
CreateConfigurationTemplateRequest & WithSolutionStackName(const char *value)
CreateConfigurationTemplateRequest & WithEnvironmentId(Aws::String &&value)
CreateConfigurationTemplateRequest & WithEnvironmentId(const Aws::String &value)
CreateConfigurationTemplateRequest & WithDescription(const Aws::String &value)
void SetOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)
CreateConfigurationTemplateRequest & WithSourceConfiguration(SourceConfiguration &&value)
CreateConfigurationTemplateRequest & WithSourceConfiguration(const SourceConfiguration &value)
CreateConfigurationTemplateRequest & WithPlatformArn(const Aws::String &value)
CreateConfigurationTemplateRequest & WithOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)
CreateConfigurationTemplateRequest & WithSolutionStackName(Aws::String &&value)
CreateConfigurationTemplateRequest & WithDescription(const char *value)
CreateConfigurationTemplateRequest & WithSolutionStackName(const Aws::String &value)
CreateConfigurationTemplateRequest & WithApplicationName(const char *value)
CreateConfigurationTemplateRequest & WithTags(Aws::Vector< Tag > &&value)
CreateConfigurationTemplateRequest & WithEnvironmentId(const char *value)
void SetOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)
CreateConfigurationTemplateRequest & AddOptionSettings(ConfigurationOptionSetting &&value)
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateConfigurationTemplateRequest & WithPlatformArn(Aws::String &&value)
CreateConfigurationTemplateRequest & WithDescription(Aws::String &&value)
CreateConfigurationTemplateRequest & WithApplicationName(Aws::String &&value)
CreateConfigurationTemplateRequest & WithOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)
CreateConfigurationTemplateRequest & WithTemplateName(Aws::String &&value)
CreateConfigurationTemplateRequest & AddOptionSettings(const ConfigurationOptionSetting &value)
const Aws::Vector< ConfigurationOptionSetting > & GetOptionSettings() const
CreateConfigurationTemplateRequest & WithApplicationName(const Aws::String &value)
CreateConfigurationTemplateRequest & WithTags(const Aws::Vector< Tag > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector