AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
ControlPlaneScalingTierInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKS_EXPORTS.h>
9#include <aws/eks/model/ControlPlaneConfigInfo.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EKS {
21namespace Model {
22
30 public:
31 AWS_EKS_API ControlPlaneScalingTierInfo() = default;
35
37
40 inline const Aws::String& GetTierName() const { return m_tierName; }
41 inline bool TierNameHasBeenSet() const { return m_tierNameHasBeenSet; }
42 template <typename TierNameT = Aws::String>
43 void SetTierName(TierNameT&& value) {
44 m_tierNameHasBeenSet = true;
45 m_tierName = std::forward<TierNameT>(value);
46 }
47 template <typename TierNameT = Aws::String>
49 SetTierName(std::forward<TierNameT>(value));
50 return *this;
51 }
53
55
58 inline int GetApiRequestConcurrency() const { return m_apiRequestConcurrency; }
59 inline bool ApiRequestConcurrencyHasBeenSet() const { return m_apiRequestConcurrencyHasBeenSet; }
60 inline void SetApiRequestConcurrency(int value) {
61 m_apiRequestConcurrencyHasBeenSet = true;
62 m_apiRequestConcurrency = value;
63 }
66 return *this;
67 }
69
71
74 inline int GetPodSchedulingRatePerSecond() const { return m_podSchedulingRatePerSecond; }
75 inline bool PodSchedulingRatePerSecondHasBeenSet() const { return m_podSchedulingRatePerSecondHasBeenSet; }
76 inline void SetPodSchedulingRatePerSecond(int value) {
77 m_podSchedulingRatePerSecondHasBeenSet = true;
78 m_podSchedulingRatePerSecond = value;
79 }
82 return *this;
83 }
85
87
90 inline int GetClusterDatabaseSizeGb() const { return m_clusterDatabaseSizeGb; }
91 inline bool ClusterDatabaseSizeGbHasBeenSet() const { return m_clusterDatabaseSizeGbHasBeenSet; }
92 inline void SetClusterDatabaseSizeGb(int value) {
93 m_clusterDatabaseSizeGbHasBeenSet = true;
94 m_clusterDatabaseSizeGb = value;
95 }
98 return *this;
99 }
101
103
107 inline const ControlPlaneConfigInfo& GetControlPlaneComponentConfigOverrides() const { return m_controlPlaneComponentConfigOverrides; }
108 inline bool ControlPlaneComponentConfigOverridesHasBeenSet() const { return m_controlPlaneComponentConfigOverridesHasBeenSet; }
109 template <typename ControlPlaneComponentConfigOverridesT = ControlPlaneConfigInfo>
110 void SetControlPlaneComponentConfigOverrides(ControlPlaneComponentConfigOverridesT&& value) {
111 m_controlPlaneComponentConfigOverridesHasBeenSet = true;
112 m_controlPlaneComponentConfigOverrides = std::forward<ControlPlaneComponentConfigOverridesT>(value);
113 }
114 template <typename ControlPlaneComponentConfigOverridesT = ControlPlaneConfigInfo>
115 ControlPlaneScalingTierInfo& WithControlPlaneComponentConfigOverrides(ControlPlaneComponentConfigOverridesT&& value) {
116 SetControlPlaneComponentConfigOverrides(std::forward<ControlPlaneComponentConfigOverridesT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_tierName;
122
123 int m_apiRequestConcurrency{0};
124
125 int m_podSchedulingRatePerSecond{0};
126
127 int m_clusterDatabaseSizeGb{0};
128
129 ControlPlaneConfigInfo m_controlPlaneComponentConfigOverrides;
130 bool m_tierNameHasBeenSet = false;
131 bool m_apiRequestConcurrencyHasBeenSet = false;
132 bool m_podSchedulingRatePerSecondHasBeenSet = false;
133 bool m_clusterDatabaseSizeGbHasBeenSet = false;
134 bool m_controlPlaneComponentConfigOverridesHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace EKS
139} // namespace Aws
ControlPlaneScalingTierInfo & WithControlPlaneComponentConfigOverrides(ControlPlaneComponentConfigOverridesT &&value)
AWS_EKS_API ControlPlaneScalingTierInfo()=default
AWS_EKS_API ControlPlaneScalingTierInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const ControlPlaneConfigInfo & GetControlPlaneComponentConfigOverrides() const
ControlPlaneScalingTierInfo & WithTierName(TierNameT &&value)
AWS_EKS_API ControlPlaneScalingTierInfo(Aws::Utils::Json::JsonView jsonValue)
void SetControlPlaneComponentConfigOverrides(ControlPlaneComponentConfigOverridesT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
ControlPlaneScalingTierInfo & WithPodSchedulingRatePerSecond(int value)
ControlPlaneScalingTierInfo & WithApiRequestConcurrency(int value)
ControlPlaneScalingTierInfo & WithClusterDatabaseSizeGb(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue