/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A floating-point percentage of the desired number of tasks to place and keep
* running in the task set.See Also:
AWS API
* Reference
The value, specified as a percent total of a service's
* desiredCount
, to scale the task set. Accepted values are numbers
* between 0 and 100.
The value, specified as a percent total of a service's
* desiredCount
, to scale the task set. Accepted values are numbers
* between 0 and 100.
The value, specified as a percent total of a service's
* desiredCount
, to scale the task set. Accepted values are numbers
* between 0 and 100.
The value, specified as a percent total of a service's
* desiredCount
, to scale the task set. Accepted values are numbers
* between 0 and 100.
The unit of measure for the scale value.
*/ inline const ScaleUnit& GetUnit() const{ return m_unit; } /** *The unit of measure for the scale value.
*/ inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; } /** *The unit of measure for the scale value.
*/ inline void SetUnit(const ScaleUnit& value) { m_unitHasBeenSet = true; m_unit = value; } /** *The unit of measure for the scale value.
*/ inline void SetUnit(ScaleUnit&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); } /** *The unit of measure for the scale value.
*/ inline Scale& WithUnit(const ScaleUnit& value) { SetUnit(value); return *this;} /** *The unit of measure for the scale value.
*/ inline Scale& WithUnit(ScaleUnit&& value) { SetUnit(std::move(value)); return *this;} private: double m_value; bool m_valueHasBeenSet = false; ScaleUnit m_unit; bool m_unitHasBeenSet = false; }; } // namespace Model } // namespace ECS } // namespace Aws