/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing the scaling configuration details for the Auto Scaling
* group that is associated with your node group. If you specify a value for any
* property, then you must specify values for all of the properties.See
* Also:
AWS
* API Reference
The minimum number of worker nodes that the managed node group can scale in * to. This number must be greater than zero.
*/ inline int GetMinSize() const{ return m_minSize; } /** *The minimum number of worker nodes that the managed node group can scale in * to. This number must be greater than zero.
*/ inline bool MinSizeHasBeenSet() const { return m_minSizeHasBeenSet; } /** *The minimum number of worker nodes that the managed node group can scale in * to. This number must be greater than zero.
*/ inline void SetMinSize(int value) { m_minSizeHasBeenSet = true; m_minSize = value; } /** *The minimum number of worker nodes that the managed node group can scale in * to. This number must be greater than zero.
*/ inline NodegroupScalingConfig& WithMinSize(int value) { SetMinSize(value); return *this;} /** *The maximum number of worker nodes that the managed node group can scale out * to. Managed node groups can support up to 100 nodes by default.
*/ inline int GetMaxSize() const{ return m_maxSize; } /** *The maximum number of worker nodes that the managed node group can scale out * to. Managed node groups can support up to 100 nodes by default.
*/ inline bool MaxSizeHasBeenSet() const { return m_maxSizeHasBeenSet; } /** *The maximum number of worker nodes that the managed node group can scale out * to. Managed node groups can support up to 100 nodes by default.
*/ inline void SetMaxSize(int value) { m_maxSizeHasBeenSet = true; m_maxSize = value; } /** *The maximum number of worker nodes that the managed node group can scale out * to. Managed node groups can support up to 100 nodes by default.
*/ inline NodegroupScalingConfig& WithMaxSize(int value) { SetMaxSize(value); return *this;} /** *The current number of worker nodes that the managed node group should * maintain.
*/ inline int GetDesiredSize() const{ return m_desiredSize; } /** *The current number of worker nodes that the managed node group should * maintain.
*/ inline bool DesiredSizeHasBeenSet() const { return m_desiredSizeHasBeenSet; } /** *The current number of worker nodes that the managed node group should * maintain.
*/ inline void SetDesiredSize(int value) { m_desiredSizeHasBeenSet = true; m_desiredSize = value; } /** *The current number of worker nodes that the managed node group should * maintain.
*/ inline NodegroupScalingConfig& WithDesiredSize(int value) { SetDesiredSize(value); return *this;} private: int m_minSize; bool m_minSizeHasBeenSet; int m_maxSize; bool m_maxSizeHasBeenSet; int m_desiredSize; bool m_desiredSizeHasBeenSet; }; } // namespace Model } // namespace EKS } // namespace Aws