/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Request to update an environment.See Also:
AWS
* API Reference
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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::VectorIf 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::VectorIf 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::VectorIf 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::VectorIf 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::VectorIf 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::VectorA 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::VectorA list of custom user-defined configuration options to remove from the * configuration set for this environment.
*/ inline void SetOptionsToRemove(Aws::VectorA list of custom user-defined configuration options to remove from the * configuration set for this environment.
*/ inline UpdateEnvironmentRequest& WithOptionsToRemove(const Aws::VectorA list of custom user-defined configuration options to remove from the * configuration set for this environment.
*/ inline UpdateEnvironmentRequest& WithOptionsToRemove(Aws::VectorA 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