/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the minimum and maximum capacity for a scheduled
* action.See Also:
AWS
* API Reference
The minimum capacity.
For Lambda provisioned concurrency, the minimum * value allowed is 0. For all other resources, the minimum value allowed is 1.
*/ inline int GetMinCapacity() const{ return m_minCapacity; } /** *The minimum capacity.
For Lambda provisioned concurrency, the minimum * value allowed is 0. For all other resources, the minimum value allowed is 1.
*/ inline bool MinCapacityHasBeenSet() const { return m_minCapacityHasBeenSet; } /** *The minimum capacity.
For Lambda provisioned concurrency, the minimum * value allowed is 0. For all other resources, the minimum value allowed is 1.
*/ inline void SetMinCapacity(int value) { m_minCapacityHasBeenSet = true; m_minCapacity = value; } /** *The minimum capacity.
For Lambda provisioned concurrency, the minimum * value allowed is 0. For all other resources, the minimum value allowed is 1.
*/ inline ScalableTargetAction& WithMinCapacity(int value) { SetMinCapacity(value); return *this;} /** *The maximum capacity.
*/ inline int GetMaxCapacity() const{ return m_maxCapacity; } /** *The maximum capacity.
*/ inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; } /** *The maximum capacity.
*/ inline void SetMaxCapacity(int value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; } /** *The maximum capacity.
*/ inline ScalableTargetAction& WithMaxCapacity(int value) { SetMaxCapacity(value); return *this;} private: int m_minCapacity; bool m_minCapacityHasBeenSet; int m_maxCapacity; bool m_maxCapacityHasBeenSet; }; } // namespace Model } // namespace ApplicationAutoScaling } // namespace Aws