/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Reports progress on replacing instances that are in the warm
* pool.See Also:
AWS
* API Reference
The percentage of instances in the warm pool that have been replaced. For * each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health * status and warm-up time. When the instance's health status changes to healthy * and the specified warm-up time passes, the instance is considered updated and is * added to the percentage complete.
*/ inline int GetPercentageComplete() const{ return m_percentageComplete; } /** *The percentage of instances in the warm pool that have been replaced. For * each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health * status and warm-up time. When the instance's health status changes to healthy * and the specified warm-up time passes, the instance is considered updated and is * added to the percentage complete.
*/ inline bool PercentageCompleteHasBeenSet() const { return m_percentageCompleteHasBeenSet; } /** *The percentage of instances in the warm pool that have been replaced. For * each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health * status and warm-up time. When the instance's health status changes to healthy * and the specified warm-up time passes, the instance is considered updated and is * added to the percentage complete.
*/ inline void SetPercentageComplete(int value) { m_percentageCompleteHasBeenSet = true; m_percentageComplete = value; } /** *The percentage of instances in the warm pool that have been replaced. For * each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health * status and warm-up time. When the instance's health status changes to healthy * and the specified warm-up time passes, the instance is considered updated and is * added to the percentage complete.
*/ inline InstanceRefreshWarmPoolProgress& WithPercentageComplete(int value) { SetPercentageComplete(value); return *this;} /** *The number of instances remaining to update.
*/ inline int GetInstancesToUpdate() const{ return m_instancesToUpdate; } /** *The number of instances remaining to update.
*/ inline bool InstancesToUpdateHasBeenSet() const { return m_instancesToUpdateHasBeenSet; } /** *The number of instances remaining to update.
*/ inline void SetInstancesToUpdate(int value) { m_instancesToUpdateHasBeenSet = true; m_instancesToUpdate = value; } /** *The number of instances remaining to update.
*/ inline InstanceRefreshWarmPoolProgress& WithInstancesToUpdate(int value) { SetInstancesToUpdate(value); return *this;} private: int m_percentageComplete; bool m_percentageCompleteHasBeenSet = false; int m_instancesToUpdate; bool m_instancesToUpdateHasBeenSet = false; }; } // namespace Model } // namespace AutoScaling } // namespace Aws