/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an instance reuse policy for a warm pool. For more
* information, see Warm
* pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User
* Guide.See Also:
AWS
* API Reference
Specifies whether instances in the Auto Scaling group can be returned to the * warm pool on scale in.
*/ inline bool GetReuseOnScaleIn() const{ return m_reuseOnScaleIn; } /** *Specifies whether instances in the Auto Scaling group can be returned to the * warm pool on scale in.
*/ inline bool ReuseOnScaleInHasBeenSet() const { return m_reuseOnScaleInHasBeenSet; } /** *Specifies whether instances in the Auto Scaling group can be returned to the * warm pool on scale in.
*/ inline void SetReuseOnScaleIn(bool value) { m_reuseOnScaleInHasBeenSet = true; m_reuseOnScaleIn = value; } /** *Specifies whether instances in the Auto Scaling group can be returned to the * warm pool on scale in.
*/ inline InstanceReusePolicy& WithReuseOnScaleIn(bool value) { SetReuseOnScaleIn(value); return *this;} private: bool m_reuseOnScaleIn; bool m_reuseOnScaleInHasBeenSet = false; }; } // namespace Model } // namespace AutoScaling } // namespace Aws