/** * 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 #include namespace Aws { namespace ElasticBeanstalk { namespace Model { /** *

Request to update an environment.

See Also:

AWS * API Reference

*/ class UpdateEnvironmentRequest : public ElasticBeanstalkRequest { public: AWS_ELASTICBEANSTALK_API UpdateEnvironmentRequest(); // 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 "UpdateEnvironment"; } 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 with which the environment is associated.

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

The name of the application with which the environment is associated.

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

The name of the application with which the environment is associated.

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

The name of the application with which the environment is associated.

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

The name of the application with which the environment is associated.

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

The name of the application with which the environment is associated.

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

The name of the application with which the environment is associated.

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

The name of the application with which the environment is associated.

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

The ID of the environment to update.

If no environment with this ID * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentName, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

The ID of the environment to update.

If no environment with this ID * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentName, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *

The ID of the environment to update.

If no environment with this ID * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentName, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *

The ID of the environment to update.

If no environment with this ID * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentName, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *

The ID of the environment to update.

If no environment with this ID * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentName, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *

The ID of the environment to update.

If no environment with this ID * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentName, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline UpdateEnvironmentRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

The ID of the environment to update.

If no environment with this ID * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentName, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline UpdateEnvironmentRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

The ID of the environment to update.

If no environment with this ID * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentName, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline UpdateEnvironmentRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *

The name of the environment to update. If no environment with this name * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentId, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *

The name of the environment to update. If no environment with this name * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentId, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *

The name of the environment to update. If no environment with this name * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentId, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *

The name of the environment to update. If no environment with this name * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentId, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *

The name of the environment to update. If no environment with this name * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentId, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *

The name of the environment to update. If no environment with this name * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentId, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline UpdateEnvironmentRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *

The name of the environment to update. If no environment with this name * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentId, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline UpdateEnvironmentRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *

The name of the environment to update. If no environment with this name * exists, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

Condition: You must specify either this or an EnvironmentId, or * both. If you do not specify either, AWS Elastic Beanstalk returns * MissingRequiredParameter error.

*/ inline UpdateEnvironmentRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *

The name of the group to which the target environment belongs. Specify a * group name only if the environment's name is specified in an environment * manifest and not with the environment name or environment ID parameters. See Environment * Manifest (env.yaml) for details.

*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *

The name of the group to which the target environment belongs. Specify a * group name only if the environment's name is specified in an environment * manifest and not with the environment name or environment ID parameters. See Environment * Manifest (env.yaml) for details.

*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *

The name of the group to which the target environment belongs. Specify a * group name only if the environment's name is specified in an environment * manifest and not with the environment name or environment ID parameters. See Environment * Manifest (env.yaml) for details.

*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *

The name of the group to which the target environment belongs. Specify a * group name only if the environment's name is specified in an environment * manifest and not with the environment name or environment ID parameters. See Environment * Manifest (env.yaml) for details.

*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *

The name of the group to which the target environment belongs. Specify a * group name only if the environment's name is specified in an environment * manifest and not with the environment name or environment ID parameters. See Environment * Manifest (env.yaml) for details.

*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *

The name of the group to which the target environment belongs. Specify a * group name only if the environment's name is specified in an environment * manifest and not with the environment name or environment ID parameters. See Environment * Manifest (env.yaml) for details.

*/ inline UpdateEnvironmentRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *

The name of the group to which the target environment belongs. Specify a * group name only if the environment's name is specified in an environment * manifest and not with the environment name or environment ID parameters. See Environment * Manifest (env.yaml) for details.

*/ inline UpdateEnvironmentRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *

The name of the group to which the target environment belongs. Specify a * group name only if the environment's name is specified in an environment * manifest and not with the environment name or environment ID parameters. See Environment * Manifest (env.yaml) for details.

*/ inline UpdateEnvironmentRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *

If this parameter is specified, AWS Elastic Beanstalk updates the description * of this environment.

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

If this parameter is specified, AWS Elastic Beanstalk updates the description * of this environment.

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

If this parameter is specified, AWS Elastic Beanstalk updates the description * of this environment.

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

If this parameter is specified, AWS Elastic Beanstalk updates the description * of this environment.

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

If this parameter is specified, AWS Elastic Beanstalk updates the description * of this environment.

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

If this parameter is specified, AWS Elastic Beanstalk updates the description * of this environment.

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

If this parameter is specified, AWS Elastic Beanstalk updates the description * of this environment.

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

If this parameter is specified, AWS Elastic Beanstalk updates the description * of this environment.

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

This specifies the tier to use to update the environment.

Condition: * At this time, if you change the tier version, name, or type, AWS Elastic * Beanstalk returns InvalidParameterValue error.

*/ inline const EnvironmentTier& GetTier() const{ return m_tier; } /** *

This specifies the tier to use to update the environment.

Condition: * At this time, if you change the tier version, name, or type, AWS Elastic * Beanstalk returns InvalidParameterValue error.

*/ inline bool TierHasBeenSet() const { return m_tierHasBeenSet; } /** *

This specifies the tier to use to update the environment.

Condition: * At this time, if you change the tier version, name, or type, AWS Elastic * Beanstalk returns InvalidParameterValue error.

*/ inline void SetTier(const EnvironmentTier& value) { m_tierHasBeenSet = true; m_tier = value; } /** *

This specifies the tier to use to update the environment.

Condition: * At this time, if you change the tier version, name, or type, AWS Elastic * Beanstalk returns InvalidParameterValue error.

*/ inline void SetTier(EnvironmentTier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); } /** *

This specifies the tier to use to update the environment.

Condition: * At this time, if you change the tier version, name, or type, AWS Elastic * Beanstalk returns InvalidParameterValue error.

*/ inline UpdateEnvironmentRequest& WithTier(const EnvironmentTier& value) { SetTier(value); return *this;} /** *

This specifies the tier to use to update the environment.

Condition: * At this time, if you change the tier version, name, or type, AWS Elastic * Beanstalk returns InvalidParameterValue error.

*/ inline UpdateEnvironmentRequest& WithTier(EnvironmentTier&& value) { SetTier(std::move(value)); return *this;} /** *

If this parameter is specified, AWS Elastic Beanstalk deploys the named * application version to the environment. If no such application version is found, * returns an InvalidParameterValue error.

*/ inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; } /** *

If this parameter is specified, AWS Elastic Beanstalk deploys the named * application version to the environment. If no such application version is found, * returns an InvalidParameterValue error.

*/ inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; } /** *

If this parameter is specified, AWS Elastic Beanstalk deploys the named * application version to the environment. If no such application version is found, * returns an InvalidParameterValue error.

*/ inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; } /** *

If this parameter is specified, AWS Elastic Beanstalk deploys the named * application version to the environment. If no such application version is found, * returns an InvalidParameterValue error.

*/ inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); } /** *

If this parameter is specified, AWS Elastic Beanstalk deploys the named * application version to the environment. If no such application version is found, * returns an InvalidParameterValue error.

*/ inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); } /** *

If this parameter is specified, AWS Elastic Beanstalk deploys the named * application version to the environment. If no such application version is found, * returns an InvalidParameterValue error.

*/ inline UpdateEnvironmentRequest& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;} /** *

If this parameter is specified, AWS Elastic Beanstalk deploys the named * application version to the environment. If no such application version is found, * returns an InvalidParameterValue error.

*/ inline UpdateEnvironmentRequest& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;} /** *

If this parameter is specified, AWS Elastic Beanstalk deploys the named * application version to the environment. If no such application version is found, * returns an InvalidParameterValue error.

*/ inline UpdateEnvironmentRequest& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;} /** *

If this parameter is specified, AWS Elastic Beanstalk deploys this * configuration template to the environment. If no such configuration template is * found, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

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

If this parameter is specified, AWS Elastic Beanstalk deploys this * configuration template to the environment. If no such configuration template is * found, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

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

If this parameter is specified, AWS Elastic Beanstalk deploys this * configuration template to the environment. If no such configuration template is * found, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

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

If this parameter is specified, AWS Elastic Beanstalk deploys this * configuration template to the environment. If no such configuration template is * found, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

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

If this parameter is specified, AWS Elastic Beanstalk deploys this * configuration template to the environment. If no such configuration template is * found, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

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

If this parameter is specified, AWS Elastic Beanstalk deploys this * configuration template to the environment. If no such configuration template is * found, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

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

If this parameter is specified, AWS Elastic Beanstalk deploys this * configuration template to the environment. If no such configuration template is * found, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

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

If this parameter is specified, AWS Elastic Beanstalk deploys this * configuration template to the environment. If no such configuration template is * found, AWS Elastic Beanstalk returns an InvalidParameterValue * error.

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

This specifies the platform version that the environment will run after the * environment is updated.

*/ inline const Aws::String& GetSolutionStackName() const{ return m_solutionStackName; } /** *

This specifies the platform version that the environment will run after the * environment is updated.

*/ inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; } /** *

This specifies the platform version that the environment will run after the * environment is updated.

*/ inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = value; } /** *

This specifies the platform version that the environment will run after the * environment is updated.

*/ inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::move(value); } /** *

This specifies the platform version that the environment will run after the * environment is updated.

*/ inline void SetSolutionStackName(const char* value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName.assign(value); } /** *

This specifies the platform version that the environment will run after the * environment is updated.

*/ inline UpdateEnvironmentRequest& WithSolutionStackName(const Aws::String& value) { SetSolutionStackName(value); return *this;} /** *

This specifies the platform version that the environment will run after the * environment is updated.

*/ inline UpdateEnvironmentRequest& WithSolutionStackName(Aws::String&& value) { SetSolutionStackName(std::move(value)); return *this;} /** *

This specifies the platform version that the environment will run after the * environment is updated.

*/ inline UpdateEnvironmentRequest& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;} /** *

The ARN of the platform, if used.

*/ inline const Aws::String& GetPlatformArn() const{ return m_platformArn; } /** *

The ARN of the platform, if used.

*/ inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; } /** *

The ARN of the platform, if used.

*/ inline void SetPlatformArn(const Aws::String& value) { m_platformArnHasBeenSet = true; m_platformArn = value; } /** *

The ARN of the platform, if used.

*/ inline void SetPlatformArn(Aws::String&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::move(value); } /** *

The ARN of the platform, if used.

*/ inline void SetPlatformArn(const char* value) { m_platformArnHasBeenSet = true; m_platformArn.assign(value); } /** *

The ARN of the platform, if used.

*/ inline UpdateEnvironmentRequest& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;} /** *

The ARN of the platform, if used.

*/ inline UpdateEnvironmentRequest& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;} /** *

The ARN of the platform, if used.

*/ inline UpdateEnvironmentRequest& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;} /** *

If specified, AWS Elastic Beanstalk updates the configuration set associated * with the running environment and sets the specified configuration options to the * requested value.

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

If specified, AWS Elastic Beanstalk updates the configuration set associated * with the running environment and sets the specified configuration options to the * requested value.

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

If specified, AWS Elastic Beanstalk updates the configuration set associated * with the running environment and sets the specified configuration options to the * requested value.

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

If specified, AWS Elastic Beanstalk updates the configuration set associated * with the running environment and sets the specified configuration options to the * requested value.

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

If specified, AWS Elastic Beanstalk updates the configuration set associated * with the running environment and sets the specified configuration options to the * requested value.

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

If specified, AWS Elastic Beanstalk updates the configuration set associated * with the running environment and sets the specified configuration options to the * requested value.

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

If specified, AWS Elastic Beanstalk updates the configuration set associated * with the running environment and sets the specified configuration options to the * requested value.

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

If specified, AWS Elastic Beanstalk updates the configuration set associated * with the running environment and sets the specified configuration options to the * requested value.

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

A list of custom user-defined configuration options to remove from the * configuration set for this environment.

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

A list of custom user-defined configuration options to remove from the * configuration set for this environment.

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

A list of custom user-defined configuration options to remove from the * configuration set for this environment.

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

A list of custom user-defined configuration options to remove from the * configuration set for this environment.

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

A list of custom user-defined configuration options to remove from the * configuration set for this environment.

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

A list of custom user-defined configuration options to remove from the * configuration set for this environment.

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

A list of custom user-defined configuration options to remove from the * configuration set for this environment.

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

A list of custom user-defined configuration options to remove from the * configuration set for this environment.

*/ inline UpdateEnvironmentRequest& 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_environmentId; bool m_environmentIdHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; Aws::String m_groupName; bool m_groupNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; EnvironmentTier m_tier; bool m_tierHasBeenSet = false; Aws::String m_versionLabel; bool m_versionLabelHasBeenSet = false; Aws::String m_templateName; bool m_templateNameHasBeenSet = false; Aws::String m_solutionStackName; bool m_solutionStackNameHasBeenSet = false; Aws::String m_platformArn; bool m_platformArnHasBeenSet = false; Aws::Vector m_optionSettings; bool m_optionSettingsHasBeenSet = false; Aws::Vector m_optionsToRemove; bool m_optionsToRemoveHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws