AWS SDK for C++  1.8.95
AWS SDK for C++
UpdateConfigurationTemplateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace ElasticBeanstalk
18 {
19 namespace Model
20 {
21 
29  {
30  public:
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::String SerializePayload() const override;
40 
41  protected:
42  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43 
44  public:
45 
52  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
53 
60  inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
61 
68  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
69 
76  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
77 
84  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
85 
92  inline UpdateConfigurationTemplateRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
93 
100  inline UpdateConfigurationTemplateRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
101 
108  inline UpdateConfigurationTemplateRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
109 
110 
116  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
117 
123  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
124 
130  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
131 
137  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
138 
144  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
145 
151  inline UpdateConfigurationTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
152 
158  inline UpdateConfigurationTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
159 
165  inline UpdateConfigurationTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
166 
167 
171  inline const Aws::String& GetDescription() const{ return m_description; }
172 
176  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
177 
181  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
182 
186  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
187 
191  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
192 
196  inline UpdateConfigurationTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
197 
201  inline UpdateConfigurationTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
202 
206  inline UpdateConfigurationTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
207 
208 
213  inline const Aws::Vector<ConfigurationOptionSetting>& GetOptionSettings() const{ return m_optionSettings; }
214 
219  inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; }
220 
225  inline void SetOptionSettings(const Aws::Vector<ConfigurationOptionSetting>& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = value; }
226 
231  inline void SetOptionSettings(Aws::Vector<ConfigurationOptionSetting>&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = std::move(value); }
232 
237  inline UpdateConfigurationTemplateRequest& WithOptionSettings(const Aws::Vector<ConfigurationOptionSetting>& value) { SetOptionSettings(value); return *this;}
238 
243  inline UpdateConfigurationTemplateRequest& WithOptionSettings(Aws::Vector<ConfigurationOptionSetting>&& value) { SetOptionSettings(std::move(value)); return *this;}
244 
249  inline UpdateConfigurationTemplateRequest& AddOptionSettings(const ConfigurationOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; }
250 
255  inline UpdateConfigurationTemplateRequest& AddOptionSettings(ConfigurationOptionSetting&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(std::move(value)); return *this; }
256 
257 
263  inline const Aws::Vector<OptionSpecification>& GetOptionsToRemove() const{ return m_optionsToRemove; }
264 
270  inline bool OptionsToRemoveHasBeenSet() const { return m_optionsToRemoveHasBeenSet; }
271 
277  inline void SetOptionsToRemove(const Aws::Vector<OptionSpecification>& value) { m_optionsToRemoveHasBeenSet = true; m_optionsToRemove = value; }
278 
284  inline void SetOptionsToRemove(Aws::Vector<OptionSpecification>&& value) { m_optionsToRemoveHasBeenSet = true; m_optionsToRemove = std::move(value); }
285 
291  inline UpdateConfigurationTemplateRequest& WithOptionsToRemove(const Aws::Vector<OptionSpecification>& value) { SetOptionsToRemove(value); return *this;}
292 
298  inline UpdateConfigurationTemplateRequest& WithOptionsToRemove(Aws::Vector<OptionSpecification>&& value) { SetOptionsToRemove(std::move(value)); return *this;}
299 
305  inline UpdateConfigurationTemplateRequest& AddOptionsToRemove(const OptionSpecification& value) { m_optionsToRemoveHasBeenSet = true; m_optionsToRemove.push_back(value); return *this; }
306 
312  inline UpdateConfigurationTemplateRequest& AddOptionsToRemove(OptionSpecification&& value) { m_optionsToRemoveHasBeenSet = true; m_optionsToRemove.push_back(std::move(value)); return *this; }
313 
314  private:
315 
316  Aws::String m_applicationName;
317  bool m_applicationNameHasBeenSet;
318 
319  Aws::String m_templateName;
320  bool m_templateNameHasBeenSet;
321 
322  Aws::String m_description;
323  bool m_descriptionHasBeenSet;
324 
326  bool m_optionSettingsHasBeenSet;
327 
328  Aws::Vector<OptionSpecification> m_optionsToRemove;
329  bool m_optionsToRemoveHasBeenSet;
330  };
331 
332 } // namespace Model
333 } // namespace ElasticBeanstalk
334 } // namespace Aws
UpdateConfigurationTemplateRequest & AddOptionSettings(ConfigurationOptionSetting &&value)
UpdateConfigurationTemplateRequest & WithApplicationName(const char *value)
UpdateConfigurationTemplateRequest & AddOptionsToRemove(OptionSpecification &&value)
UpdateConfigurationTemplateRequest & WithOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)
UpdateConfigurationTemplateRequest & WithDescription(const Aws::String &value)
UpdateConfigurationTemplateRequest & WithTemplateName(const Aws::String &value)
#define AWS_ELASTICBEANSTALK_API
UpdateConfigurationTemplateRequest & WithDescription(Aws::String &&value)
UpdateConfigurationTemplateRequest & WithApplicationName(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
UpdateConfigurationTemplateRequest & WithOptionsToRemove(Aws::Vector< OptionSpecification > &&value)
UpdateConfigurationTemplateRequest & WithOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)
UpdateConfigurationTemplateRequest & WithOptionsToRemove(const Aws::Vector< OptionSpecification > &value)
void SetOptionsToRemove(const Aws::Vector< OptionSpecification > &value)
UpdateConfigurationTemplateRequest & WithTemplateName(const char *value)
UpdateConfigurationTemplateRequest & AddOptionsToRemove(const OptionSpecification &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateConfigurationTemplateRequest & WithDescription(const char *value)
void SetOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)
void SetOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)
UpdateConfigurationTemplateRequest & AddOptionSettings(const ConfigurationOptionSetting &value)
const Aws::Vector< ConfigurationOptionSetting > & GetOptionSettings() const
UpdateConfigurationTemplateRequest & WithApplicationName(const Aws::String &value)
UpdateConfigurationTemplateRequest & WithTemplateName(Aws::String &&value)