/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace ElasticBeanstalk { namespace Model { /** *

The result message containing the options for the specified solution * stack.

See Also:

AWS * API Reference

*/ class UpdateConfigurationTemplateRequest : public ElasticBeanstalkRequest { public: AWS_ELASTICBEANSTALK_API UpdateConfigurationTemplateRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateConfigurationTemplate"; } AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override; protected: AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the application associated with the configuration template to * update.

If no application is found with this name, * UpdateConfigurationTemplate returns an * InvalidParameterValue error.

*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *

The name of the application associated with the configuration template to * update.

If no application is found with this name, * UpdateConfigurationTemplate returns an * InvalidParameterValue error.

*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *

The name of the application associated with the configuration template to * update.

If no application is found with this name, * UpdateConfigurationTemplate returns an * InvalidParameterValue error.

*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *

The name of the application associated with the configuration template to * update.

If no application is found with this name, * UpdateConfigurationTemplate returns an * InvalidParameterValue error.

*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *

The name of the application associated with the configuration template to * update.

If no application is found with this name, * UpdateConfigurationTemplate returns an * InvalidParameterValue error.

*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *

The name of the application associated with the configuration template to * update.

If no application is found with this name, * UpdateConfigurationTemplate returns an * InvalidParameterValue error.

*/ inline UpdateConfigurationTemplateRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *

The name of the application associated with the configuration template to * update.

If no application is found with this name, * UpdateConfigurationTemplate returns an * InvalidParameterValue error.

*/ inline UpdateConfigurationTemplateRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *

The name of the application associated with the configuration template to * update.

If no application is found with this name, * UpdateConfigurationTemplate returns an * InvalidParameterValue error.

*/ inline UpdateConfigurationTemplateRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *

The name of the configuration template to update.

If no configuration * template is found with this name, UpdateConfigurationTemplate * returns an InvalidParameterValue error.

*/ inline const Aws::String& GetTemplateName() const{ return m_templateName; } /** *

The name of the configuration template to update.

If no configuration * template is found with this name, UpdateConfigurationTemplate * returns an InvalidParameterValue error.

*/ inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *

The name of the configuration template to update.

If no configuration * template is found with this name, UpdateConfigurationTemplate * returns an InvalidParameterValue error.

*/ inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } /** *

The name of the configuration template to update.

If no configuration * template is found with this name, UpdateConfigurationTemplate * returns an InvalidParameterValue error.

*/ inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } /** *

The name of the configuration template to update.

If no configuration * template is found with this name, UpdateConfigurationTemplate * returns an InvalidParameterValue error.

*/ inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } /** *

The name of the configuration template to update.

If no configuration * template is found with this name, UpdateConfigurationTemplate * returns an InvalidParameterValue error.

*/ inline UpdateConfigurationTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} /** *

The name of the configuration template to update.

If no configuration * template is found with this name, UpdateConfigurationTemplate * returns an InvalidParameterValue error.

*/ inline UpdateConfigurationTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} /** *

The name of the configuration template to update.

If no configuration * template is found with this name, UpdateConfigurationTemplate * returns an InvalidParameterValue error.

*/ inline UpdateConfigurationTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;} /** *

A new description for the configuration.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A new description for the configuration.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A new description for the configuration.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A new description for the configuration.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A new description for the configuration.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A new description for the configuration.

*/ inline UpdateConfigurationTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A new description for the configuration.

*/ inline UpdateConfigurationTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A new description for the configuration.

*/ inline UpdateConfigurationTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A list of configuration option settings to update with the new specified * option value.

*/ inline const Aws::Vector& GetOptionSettings() const{ return m_optionSettings; } /** *

A list of configuration option settings to update with the new specified * option value.

*/ inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; } /** *

A list of configuration option settings to update with the new specified * option value.

*/ inline void SetOptionSettings(const Aws::Vector& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = value; } /** *

A list of configuration option settings to update with the new specified * option value.

*/ inline void SetOptionSettings(Aws::Vector&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = std::move(value); } /** *

A list of configuration option settings to update with the new specified * option value.

*/ inline UpdateConfigurationTemplateRequest& WithOptionSettings(const Aws::Vector& value) { SetOptionSettings(value); return *this;} /** *

A list of configuration option settings to update with the new specified * option value.

*/ inline UpdateConfigurationTemplateRequest& WithOptionSettings(Aws::Vector&& value) { SetOptionSettings(std::move(value)); return *this;} /** *

A list of configuration option settings to update with the new specified * option value.

*/ inline UpdateConfigurationTemplateRequest& AddOptionSettings(const ConfigurationOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; } /** *

A list of configuration option settings to update with the new specified * option value.

*/ inline UpdateConfigurationTemplateRequest& AddOptionSettings(ConfigurationOptionSetting&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(std::move(value)); return *this; } /** *

A list of configuration options to remove from the configuration set.

* Constraint: You can remove only UserDefined configuration options. *

*/ inline const Aws::Vector& GetOptionsToRemove() const{ return m_optionsToRemove; } /** *

A list of configuration options to remove from the configuration set.

* Constraint: You can remove only UserDefined configuration options. *

*/ inline bool OptionsToRemoveHasBeenSet() const { return m_optionsToRemoveHasBeenSet; } /** *

A list of configuration options to remove from the configuration set.

* Constraint: You can remove only UserDefined configuration options. *

*/ inline void SetOptionsToRemove(const Aws::Vector& value) { m_optionsToRemoveHasBeenSet = true; m_optionsToRemove = value; } /** *

A list of configuration options to remove from the configuration set.

* Constraint: You can remove only UserDefined configuration options. *

*/ inline void SetOptionsToRemove(Aws::Vector&& value) { m_optionsToRemoveHasBeenSet = true; m_optionsToRemove = std::move(value); } /** *

A list of configuration options to remove from the configuration set.

* Constraint: You can remove only UserDefined configuration options. *

*/ inline UpdateConfigurationTemplateRequest& WithOptionsToRemove(const Aws::Vector& value) { SetOptionsToRemove(value); return *this;} /** *

A list of configuration options to remove from the configuration set.

* Constraint: You can remove only UserDefined configuration options. *

*/ inline UpdateConfigurationTemplateRequest& WithOptionsToRemove(Aws::Vector&& value) { SetOptionsToRemove(std::move(value)); return *this;} /** *

A list of configuration options to remove from the configuration set.

* Constraint: You can remove only UserDefined configuration options. *

*/ inline UpdateConfigurationTemplateRequest& AddOptionsToRemove(const OptionSpecification& value) { m_optionsToRemoveHasBeenSet = true; m_optionsToRemove.push_back(value); return *this; } /** *

A list of configuration options to remove from the configuration set.

* Constraint: You can remove only UserDefined configuration options. *

*/ inline UpdateConfigurationTemplateRequest& AddOptionsToRemove(OptionSpecification&& value) { m_optionsToRemoveHasBeenSet = true; m_optionsToRemove.push_back(std::move(value)); return *this; } private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_templateName; bool m_templateNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_optionSettings; bool m_optionSettingsHasBeenSet = false; Aws::Vector m_optionsToRemove; bool m_optionsToRemoveHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws