AWS SDK for C++  1.9.108
AWS SDK for C++
NodegroupScalingConfig.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/eks/EKS_EXPORTS.h>
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace EKS
20 {
21 namespace Model
22 {
23 
33  {
34  public:
39 
40 
44  inline int GetMinSize() const{ return m_minSize; }
45 
49  inline bool MinSizeHasBeenSet() const { return m_minSizeHasBeenSet; }
50 
54  inline void SetMinSize(int value) { m_minSizeHasBeenSet = true; m_minSize = value; }
55 
59  inline NodegroupScalingConfig& WithMinSize(int value) { SetMinSize(value); return *this;}
60 
61 
68  inline int GetMaxSize() const{ return m_maxSize; }
69 
76  inline bool MaxSizeHasBeenSet() const { return m_maxSizeHasBeenSet; }
77 
84  inline void SetMaxSize(int value) { m_maxSizeHasBeenSet = true; m_maxSize = value; }
85 
92  inline NodegroupScalingConfig& WithMaxSize(int value) { SetMaxSize(value); return *this;}
93 
94 
98  inline int GetDesiredSize() const{ return m_desiredSize; }
99 
103  inline bool DesiredSizeHasBeenSet() const { return m_desiredSizeHasBeenSet; }
104 
108  inline void SetDesiredSize(int value) { m_desiredSizeHasBeenSet = true; m_desiredSize = value; }
109 
113  inline NodegroupScalingConfig& WithDesiredSize(int value) { SetDesiredSize(value); return *this;}
114 
115  private:
116 
117  int m_minSize;
118  bool m_minSizeHasBeenSet;
119 
120  int m_maxSize;
121  bool m_maxSizeHasBeenSet;
122 
123  int m_desiredSize;
124  bool m_desiredSizeHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace EKS
129 } // namespace Aws
Aws::EKS::Model::NodegroupScalingConfig::WithMaxSize
NodegroupScalingConfig & WithMaxSize(int value)
Definition: NodegroupScalingConfig.h:92
Aws::EKS::Model::NodegroupScalingConfig::NodegroupScalingConfig
NodegroupScalingConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::EKS::Model::NodegroupScalingConfig::GetDesiredSize
int GetDesiredSize() const
Definition: NodegroupScalingConfig.h:98
Aws::EKS::Model::NodegroupScalingConfig::SetMaxSize
void SetMaxSize(int value)
Definition: NodegroupScalingConfig.h:84
Aws::EKS::Model::NodegroupScalingConfig::WithMinSize
NodegroupScalingConfig & WithMinSize(int value)
Definition: NodegroupScalingConfig.h:59
Aws::EKS::Model::NodegroupScalingConfig::WithDesiredSize
NodegroupScalingConfig & WithDesiredSize(int value)
Definition: NodegroupScalingConfig.h:113
Aws::EKS::Model::NodegroupScalingConfig::DesiredSizeHasBeenSet
bool DesiredSizeHasBeenSet() const
Definition: NodegroupScalingConfig.h:103
AWS_EKS_API
#define AWS_EKS_API
Definition: EKS_EXPORTS.h:28
Aws::EKS::Model::NodegroupScalingConfig::SetDesiredSize
void SetDesiredSize(int value)
Definition: NodegroupScalingConfig.h:108
Aws::EKS::Model::NodegroupScalingConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EKS::Model::NodegroupScalingConfig::MinSizeHasBeenSet
bool MinSizeHasBeenSet() const
Definition: NodegroupScalingConfig.h:49
Aws::EMRContainers::Model::ContainerProviderType::NOT_SET
@ NOT_SET
Aws::EKS::Model::NodegroupScalingConfig::SetMinSize
void SetMinSize(int value)
Definition: NodegroupScalingConfig.h:54
Aws::EKS::Model::NodegroupScalingConfig::NodegroupScalingConfig
NodegroupScalingConfig()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::EKS::Model::NodegroupScalingConfig
Definition: NodegroupScalingConfig.h:33
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::EKS::Model::NodegroupScalingConfig::operator=
NodegroupScalingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EKS::Model::NodegroupScalingConfig::MaxSizeHasBeenSet
bool MaxSizeHasBeenSet() const
Definition: NodegroupScalingConfig.h:76
EKS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::EKS::Model::NodegroupScalingConfig::GetMaxSize
int GetMaxSize() const
Definition: NodegroupScalingConfig.h:68
Aws::EKS::Model::NodegroupScalingConfig::GetMinSize
int GetMinSize() const
Definition: NodegroupScalingConfig.h:44