/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Request to terminate an environment.See Also:
AWS
* API Reference
The ID of the environment to terminate.
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 terminate.
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 terminate.
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 terminate.
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 terminate.
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 terminate.
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 terminate.
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 terminate.
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 terminate.
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 terminate.
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 terminate.
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 terminate.
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 terminate.
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 terminate.
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 terminate.
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 terminate.
Condition: You must specify
* either this or an EnvironmentId, or both. If you do not specify either, AWS
* Elastic Beanstalk returns MissingRequiredParameter
error.
Indicates whether the associated AWS resources should shut down when the * environment is terminated:
true
: The specified
* environment as well as the associated AWS resources, such as Auto Scaling group
* and LoadBalancer, are terminated.
false
: AWS
* Elastic Beanstalk resource management is removed from the environment, but the
* AWS resources continue to operate.
For more information, see * the AWS * Elastic Beanstalk User Guide.
Default: true
* Valid Values: true
| false
Indicates whether the associated AWS resources should shut down when the * environment is terminated:
true
: The specified
* environment as well as the associated AWS resources, such as Auto Scaling group
* and LoadBalancer, are terminated.
false
: AWS
* Elastic Beanstalk resource management is removed from the environment, but the
* AWS resources continue to operate.
For more information, see * the AWS * Elastic Beanstalk User Guide.
Default: true
* Valid Values: true
| false
Indicates whether the associated AWS resources should shut down when the * environment is terminated:
true
: The specified
* environment as well as the associated AWS resources, such as Auto Scaling group
* and LoadBalancer, are terminated.
false
: AWS
* Elastic Beanstalk resource management is removed from the environment, but the
* AWS resources continue to operate.
For more information, see * the AWS * Elastic Beanstalk User Guide.
Default: true
* Valid Values: true
| false
Indicates whether the associated AWS resources should shut down when the * environment is terminated:
true
: The specified
* environment as well as the associated AWS resources, such as Auto Scaling group
* and LoadBalancer, are terminated.
false
: AWS
* Elastic Beanstalk resource management is removed from the environment, but the
* AWS resources continue to operate.
For more information, see * the AWS * Elastic Beanstalk User Guide.
Default: true
* Valid Values: true
| false
Terminates the target environment even if another environment in the same * group is dependent on it.
*/ inline bool GetForceTerminate() const{ return m_forceTerminate; } /** *Terminates the target environment even if another environment in the same * group is dependent on it.
*/ inline bool ForceTerminateHasBeenSet() const { return m_forceTerminateHasBeenSet; } /** *Terminates the target environment even if another environment in the same * group is dependent on it.
*/ inline void SetForceTerminate(bool value) { m_forceTerminateHasBeenSet = true; m_forceTerminate = value; } /** *Terminates the target environment even if another environment in the same * group is dependent on it.
*/ inline TerminateEnvironmentRequest& WithForceTerminate(bool value) { SetForceTerminate(value); return *this;} private: Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; bool m_terminateResources; bool m_terminateResourcesHasBeenSet = false; bool m_forceTerminate; bool m_forceTerminateHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws