AWS SDK for C++  1.9.66
AWS SDK for C++
UpdateNodegroupConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/eks/EKS_EXPORTS.h>
8 #include <aws/eks/EKSRequest.h>
14 #include <utility>
15 #include <aws/core/utils/UUID.h>
16 
17 namespace Aws
18 {
19 namespace EKS
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UpdateNodegroupConfig"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
44  inline const Aws::String& GetClusterName() const{ return m_clusterName; }
45 
50  inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
51 
56  inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
57 
62  inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
63 
68  inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
69 
74  inline UpdateNodegroupConfigRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
75 
80  inline UpdateNodegroupConfigRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
81 
86  inline UpdateNodegroupConfigRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;}
87 
88 
92  inline const Aws::String& GetNodegroupName() const{ return m_nodegroupName; }
93 
97  inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; }
98 
102  inline void SetNodegroupName(const Aws::String& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = value; }
103 
107  inline void SetNodegroupName(Aws::String&& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = std::move(value); }
108 
112  inline void SetNodegroupName(const char* value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName.assign(value); }
113 
117  inline UpdateNodegroupConfigRequest& WithNodegroupName(const Aws::String& value) { SetNodegroupName(value); return *this;}
118 
122  inline UpdateNodegroupConfigRequest& WithNodegroupName(Aws::String&& value) { SetNodegroupName(std::move(value)); return *this;}
123 
127  inline UpdateNodegroupConfigRequest& WithNodegroupName(const char* value) { SetNodegroupName(value); return *this;}
128 
129 
134  inline const UpdateLabelsPayload& GetLabels() const{ return m_labels; }
135 
140  inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
141 
146  inline void SetLabels(const UpdateLabelsPayload& value) { m_labelsHasBeenSet = true; m_labels = value; }
147 
152  inline void SetLabels(UpdateLabelsPayload&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
153 
158  inline UpdateNodegroupConfigRequest& WithLabels(const UpdateLabelsPayload& value) { SetLabels(value); return *this;}
159 
164  inline UpdateNodegroupConfigRequest& WithLabels(UpdateLabelsPayload&& value) { SetLabels(std::move(value)); return *this;}
165 
166 
171  inline const UpdateTaintsPayload& GetTaints() const{ return m_taints; }
172 
177  inline bool TaintsHasBeenSet() const { return m_taintsHasBeenSet; }
178 
183  inline void SetTaints(const UpdateTaintsPayload& value) { m_taintsHasBeenSet = true; m_taints = value; }
184 
189  inline void SetTaints(UpdateTaintsPayload&& value) { m_taintsHasBeenSet = true; m_taints = std::move(value); }
190 
195  inline UpdateNodegroupConfigRequest& WithTaints(const UpdateTaintsPayload& value) { SetTaints(value); return *this;}
196 
201  inline UpdateNodegroupConfigRequest& WithTaints(UpdateTaintsPayload&& value) { SetTaints(std::move(value)); return *this;}
202 
203 
208  inline const NodegroupScalingConfig& GetScalingConfig() const{ return m_scalingConfig; }
209 
214  inline bool ScalingConfigHasBeenSet() const { return m_scalingConfigHasBeenSet; }
215 
220  inline void SetScalingConfig(const NodegroupScalingConfig& value) { m_scalingConfigHasBeenSet = true; m_scalingConfig = value; }
221 
226  inline void SetScalingConfig(NodegroupScalingConfig&& value) { m_scalingConfigHasBeenSet = true; m_scalingConfig = std::move(value); }
227 
232  inline UpdateNodegroupConfigRequest& WithScalingConfig(const NodegroupScalingConfig& value) { SetScalingConfig(value); return *this;}
233 
238  inline UpdateNodegroupConfigRequest& WithScalingConfig(NodegroupScalingConfig&& value) { SetScalingConfig(std::move(value)); return *this;}
239 
240 
244  inline const NodegroupUpdateConfig& GetUpdateConfig() const{ return m_updateConfig; }
245 
249  inline bool UpdateConfigHasBeenSet() const { return m_updateConfigHasBeenSet; }
250 
254  inline void SetUpdateConfig(const NodegroupUpdateConfig& value) { m_updateConfigHasBeenSet = true; m_updateConfig = value; }
255 
259  inline void SetUpdateConfig(NodegroupUpdateConfig&& value) { m_updateConfigHasBeenSet = true; m_updateConfig = std::move(value); }
260 
264  inline UpdateNodegroupConfigRequest& WithUpdateConfig(const NodegroupUpdateConfig& value) { SetUpdateConfig(value); return *this;}
265 
269  inline UpdateNodegroupConfigRequest& WithUpdateConfig(NodegroupUpdateConfig&& value) { SetUpdateConfig(std::move(value)); return *this;}
270 
271 
276  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
277 
282  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
283 
288  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
289 
294  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
295 
300  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
301 
306  inline UpdateNodegroupConfigRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
307 
312  inline UpdateNodegroupConfigRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
313 
318  inline UpdateNodegroupConfigRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
319 
320  private:
321 
322  Aws::String m_clusterName;
323  bool m_clusterNameHasBeenSet;
324 
325  Aws::String m_nodegroupName;
326  bool m_nodegroupNameHasBeenSet;
327 
328  UpdateLabelsPayload m_labels;
329  bool m_labelsHasBeenSet;
330 
331  UpdateTaintsPayload m_taints;
332  bool m_taintsHasBeenSet;
333 
334  NodegroupScalingConfig m_scalingConfig;
335  bool m_scalingConfigHasBeenSet;
336 
337  NodegroupUpdateConfig m_updateConfig;
338  bool m_updateConfigHasBeenSet;
339 
340  Aws::String m_clientRequestToken;
341  bool m_clientRequestTokenHasBeenSet;
342  };
343 
344 } // namespace Model
345 } // namespace EKS
346 } // namespace Aws
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithScalingConfig
UpdateNodegroupConfigRequest & WithScalingConfig(NodegroupScalingConfig &&value)
Definition: UpdateNodegroupConfigRequest.h:238
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithTaints
UpdateNodegroupConfigRequest & WithTaints(UpdateTaintsPayload &&value)
Definition: UpdateNodegroupConfigRequest.h:201
UpdateTaintsPayload.h
Aws::EKS::Model::NodegroupUpdateConfig
Definition: NodegroupUpdateConfig.h:30
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetNodegroupName
void SetNodegroupName(Aws::String &&value)
Definition: UpdateNodegroupConfigRequest.h:107
Aws::EKS::Model::UpdateNodegroupConfigRequest::LabelsHasBeenSet
bool LabelsHasBeenSet() const
Definition: UpdateNodegroupConfigRequest.h:140
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithLabels
UpdateNodegroupConfigRequest & WithLabels(const UpdateLabelsPayload &value)
Definition: UpdateNodegroupConfigRequest.h:158
Aws::EKS::Model::UpdateNodegroupConfigRequest::UpdateNodegroupConfigRequest
UpdateNodegroupConfigRequest()
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithClusterName
UpdateNodegroupConfigRequest & WithClusterName(const char *value)
Definition: UpdateNodegroupConfigRequest.h:86
Aws::EKS::Model::UpdateNodegroupConfigRequest::NodegroupNameHasBeenSet
bool NodegroupNameHasBeenSet() const
Definition: UpdateNodegroupConfigRequest.h:97
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithClientRequestToken
UpdateNodegroupConfigRequest & WithClientRequestToken(const Aws::String &value)
Definition: UpdateNodegroupConfigRequest.h:306
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetUpdateConfig
void SetUpdateConfig(NodegroupUpdateConfig &&value)
Definition: UpdateNodegroupConfigRequest.h:259
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetScalingConfig
void SetScalingConfig(const NodegroupScalingConfig &value)
Definition: UpdateNodegroupConfigRequest.h:220
Aws::EKS::Model::UpdateNodegroupConfigRequest::TaintsHasBeenSet
bool TaintsHasBeenSet() const
Definition: UpdateNodegroupConfigRequest.h:177
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: UpdateNodegroupConfigRequest.h:294
Aws::EKS::EKSRequest
Definition: EKSRequest.h:17
Aws::EKS::Model::UpdateNodegroupConfigRequest::GetUpdateConfig
const NodegroupUpdateConfig & GetUpdateConfig() const
Definition: UpdateNodegroupConfigRequest.h:244
AWS_EKS_API
#define AWS_EKS_API
Definition: EKS_EXPORTS.h:28
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetTaints
void SetTaints(UpdateTaintsPayload &&value)
Definition: UpdateNodegroupConfigRequest.h:189
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetNodegroupName
void SetNodegroupName(const char *value)
Definition: UpdateNodegroupConfigRequest.h:112
Aws::EKS::Model::UpdateTaintsPayload
Definition: UpdateTaintsPayload.h:34
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithNodegroupName
UpdateNodegroupConfigRequest & WithNodegroupName(const char *value)
Definition: UpdateNodegroupConfigRequest.h:127
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetLabels
void SetLabels(const UpdateLabelsPayload &value)
Definition: UpdateNodegroupConfigRequest.h:146
Aws::EKS::Model::UpdateNodegroupConfigRequest::ScalingConfigHasBeenSet
bool ScalingConfigHasBeenSet() const
Definition: UpdateNodegroupConfigRequest.h:214
Aws::EKS::Model::UpdateNodegroupConfigRequest
Definition: UpdateNodegroupConfigRequest.h:27
Aws::EKS::Model::UpdateLabelsPayload
Definition: UpdateLabelsPayload.h:35
Aws::EKS::Model::UpdateNodegroupConfigRequest::GetNodegroupName
const Aws::String & GetNodegroupName() const
Definition: UpdateNodegroupConfigRequest.h:92
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithNodegroupName
UpdateNodegroupConfigRequest & WithNodegroupName(Aws::String &&value)
Definition: UpdateNodegroupConfigRequest.h:122
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithClusterName
UpdateNodegroupConfigRequest & WithClusterName(Aws::String &&value)
Definition: UpdateNodegroupConfigRequest.h:80
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetUpdateConfig
void SetUpdateConfig(const NodegroupUpdateConfig &value)
Definition: UpdateNodegroupConfigRequest.h:254
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithClientRequestToken
UpdateNodegroupConfigRequest & WithClientRequestToken(const char *value)
Definition: UpdateNodegroupConfigRequest.h:318
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithLabels
UpdateNodegroupConfigRequest & WithLabels(UpdateLabelsPayload &&value)
Definition: UpdateNodegroupConfigRequest.h:164
Aws::EMRContainers::Model::ContainerProviderType::NOT_SET
@ NOT_SET
Aws::EKS::Model::UpdateNodegroupConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateNodegroupConfigRequest.h:35
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithNodegroupName
UpdateNodegroupConfigRequest & WithNodegroupName(const Aws::String &value)
Definition: UpdateNodegroupConfigRequest.h:117
EKSRequest.h
AWSString.h
Aws::EKS::Model::NodegroupScalingConfig
Definition: NodegroupScalingConfig.h:33
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithClusterName
UpdateNodegroupConfigRequest & WithClusterName(const Aws::String &value)
Definition: UpdateNodegroupConfigRequest.h:74
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetTaints
void SetTaints(const UpdateTaintsPayload &value)
Definition: UpdateNodegroupConfigRequest.h:183
Aws::EKS::Model::UpdateNodegroupConfigRequest::GetScalingConfig
const NodegroupScalingConfig & GetScalingConfig() const
Definition: UpdateNodegroupConfigRequest.h:208
UpdateLabelsPayload.h
Aws::EKS::Model::UpdateNodegroupConfigRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: UpdateNodegroupConfigRequest.h:282
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: UpdateNodegroupConfigRequest.h:288
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithTaints
UpdateNodegroupConfigRequest & WithTaints(const UpdateTaintsPayload &value)
Definition: UpdateNodegroupConfigRequest.h:195
NodegroupUpdateConfig.h
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetNodegroupName
void SetNodegroupName(const Aws::String &value)
Definition: UpdateNodegroupConfigRequest.h:102
Aws::EKS::Model::UpdateNodegroupConfigRequest::ClusterNameHasBeenSet
bool ClusterNameHasBeenSet() const
Definition: UpdateNodegroupConfigRequest.h:50
Aws::EKS::Model::UpdateNodegroupConfigRequest::GetClusterName
const Aws::String & GetClusterName() const
Definition: UpdateNodegroupConfigRequest.h:44
EKS_EXPORTS.h
Aws::EKS::Model::UpdateNodegroupConfigRequest::GetTaints
const UpdateTaintsPayload & GetTaints() const
Definition: UpdateNodegroupConfigRequest.h:171
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithUpdateConfig
UpdateNodegroupConfigRequest & WithUpdateConfig(NodegroupUpdateConfig &&value)
Definition: UpdateNodegroupConfigRequest.h:269
Aws
Definition: AccessManagementClient.h:15
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetClusterName
void SetClusterName(const char *value)
Definition: UpdateNodegroupConfigRequest.h:68
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetClusterName
void SetClusterName(Aws::String &&value)
Definition: UpdateNodegroupConfigRequest.h:62
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetLabels
void SetLabels(UpdateLabelsPayload &&value)
Definition: UpdateNodegroupConfigRequest.h:152
Aws::EKS::Model::UpdateNodegroupConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EKS::Model::UpdateNodegroupConfigRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: UpdateNodegroupConfigRequest.h:276
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithUpdateConfig
UpdateNodegroupConfigRequest & WithUpdateConfig(const NodegroupUpdateConfig &value)
Definition: UpdateNodegroupConfigRequest.h:264
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EKS::Model::UpdateNodegroupConfigRequest::UpdateConfigHasBeenSet
bool UpdateConfigHasBeenSet() const
Definition: UpdateNodegroupConfigRequest.h:249
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithScalingConfig
UpdateNodegroupConfigRequest & WithScalingConfig(const NodegroupScalingConfig &value)
Definition: UpdateNodegroupConfigRequest.h:232
Aws::EKS::Model::UpdateNodegroupConfigRequest::GetLabels
const UpdateLabelsPayload & GetLabels() const
Definition: UpdateNodegroupConfigRequest.h:134
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetClusterName
void SetClusterName(const Aws::String &value)
Definition: UpdateNodegroupConfigRequest.h:56
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: UpdateNodegroupConfigRequest.h:300
Aws::EKS::Model::UpdateNodegroupConfigRequest::SetScalingConfig
void SetScalingConfig(NodegroupScalingConfig &&value)
Definition: UpdateNodegroupConfigRequest.h:226
UUID.h
Aws::EKS::Model::UpdateNodegroupConfigRequest::WithClientRequestToken
UpdateNodegroupConfigRequest & WithClientRequestToken(Aws::String &&value)
Definition: UpdateNodegroupConfigRequest.h:312
NodegroupScalingConfig.h