AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConfigurationTemplateRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticbeanstalk/model/ConfigurationOptionSetting.h>
12#include <aws/elasticbeanstalk/model/OptionSpecification.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ElasticBeanstalk
18{
19namespace Model
20{
21
29 {
30 public:
31 AWS_ELASTICBEANSTALK_API UpdateConfigurationTemplateRequest();
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 "UpdateConfigurationTemplate"; }
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
53 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
54 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
55 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
56 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
57 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
59 inline UpdateConfigurationTemplateRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
60 inline UpdateConfigurationTemplateRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
62
64
69 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
70 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
71 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
72 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
73 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
75 inline UpdateConfigurationTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
76 inline UpdateConfigurationTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
78
80
83 inline const Aws::String& GetDescription() const{ return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
86 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
87 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
89 inline UpdateConfigurationTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
90 inline UpdateConfigurationTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
92
94
98 inline const Aws::Vector<ConfigurationOptionSetting>& GetOptionSettings() const{ return m_optionSettings; }
99 inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; }
100 inline void SetOptionSettings(const Aws::Vector<ConfigurationOptionSetting>& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = value; }
101 inline void SetOptionSettings(Aws::Vector<ConfigurationOptionSetting>&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = std::move(value); }
104 inline UpdateConfigurationTemplateRequest& AddOptionSettings(const ConfigurationOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; }
105 inline UpdateConfigurationTemplateRequest& AddOptionSettings(ConfigurationOptionSetting&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(std::move(value)); return *this; }
107
109
114 inline const Aws::Vector<OptionSpecification>& GetOptionsToRemove() const{ return m_optionsToRemove; }
115 inline bool OptionsToRemoveHasBeenSet() const { return m_optionsToRemoveHasBeenSet; }
116 inline void SetOptionsToRemove(const Aws::Vector<OptionSpecification>& value) { m_optionsToRemoveHasBeenSet = true; m_optionsToRemove = value; }
117 inline void SetOptionsToRemove(Aws::Vector<OptionSpecification>&& value) { m_optionsToRemoveHasBeenSet = true; m_optionsToRemove = std::move(value); }
120 inline UpdateConfigurationTemplateRequest& AddOptionsToRemove(const OptionSpecification& value) { m_optionsToRemoveHasBeenSet = true; m_optionsToRemove.push_back(value); return *this; }
121 inline UpdateConfigurationTemplateRequest& AddOptionsToRemove(OptionSpecification&& value) { m_optionsToRemoveHasBeenSet = true; m_optionsToRemove.push_back(std::move(value)); return *this; }
123 private:
124
125 Aws::String m_applicationName;
126 bool m_applicationNameHasBeenSet = false;
127
128 Aws::String m_templateName;
129 bool m_templateNameHasBeenSet = false;
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
135 bool m_optionSettingsHasBeenSet = false;
136
137 Aws::Vector<OptionSpecification> m_optionsToRemove;
138 bool m_optionsToRemoveHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace ElasticBeanstalk
143} // namespace Aws
UpdateConfigurationTemplateRequest & AddOptionSettings(const ConfigurationOptionSetting &value)
UpdateConfigurationTemplateRequest & WithDescription(const Aws::String &value)
void SetOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)
UpdateConfigurationTemplateRequest & WithDescription(const char *value)
UpdateConfigurationTemplateRequest & WithOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)
UpdateConfigurationTemplateRequest & WithApplicationName(const char *value)
UpdateConfigurationTemplateRequest & WithOptionsToRemove(const Aws::Vector< OptionSpecification > &value)
UpdateConfigurationTemplateRequest & WithDescription(Aws::String &&value)
UpdateConfigurationTemplateRequest & WithApplicationName(Aws::String &&value)
UpdateConfigurationTemplateRequest & WithTemplateName(const char *value)
void SetOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)
UpdateConfigurationTemplateRequest & AddOptionSettings(ConfigurationOptionSetting &&value)
UpdateConfigurationTemplateRequest & AddOptionsToRemove(OptionSpecification &&value)
UpdateConfigurationTemplateRequest & AddOptionsToRemove(const OptionSpecification &value)
UpdateConfigurationTemplateRequest & WithOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)
UpdateConfigurationTemplateRequest & WithTemplateName(Aws::String &&value)
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
UpdateConfigurationTemplateRequest & WithApplicationName(const Aws::String &value)
void SetOptionsToRemove(const Aws::Vector< OptionSpecification > &value)
UpdateConfigurationTemplateRequest & WithOptionsToRemove(Aws::Vector< OptionSpecification > &&value)
const Aws::Vector< ConfigurationOptionSetting > & GetOptionSettings() const
UpdateConfigurationTemplateRequest & WithTemplateName(const Aws::String &value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector