AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
Nodegroup.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/eks/EKS_EXPORTS.h>
12#include <aws/eks/model/AMITypes.h>
13#include <aws/eks/model/CapacityTypes.h>
14#include <aws/eks/model/LaunchTemplateSpecification.h>
15#include <aws/eks/model/NodeRepairConfig.h>
16#include <aws/eks/model/NodegroupHealth.h>
17#include <aws/eks/model/NodegroupResources.h>
18#include <aws/eks/model/NodegroupScalingConfig.h>
19#include <aws/eks/model/NodegroupStatus.h>
20#include <aws/eks/model/NodegroupUpdateConfig.h>
21#include <aws/eks/model/RemoteAccessConfig.h>
22#include <aws/eks/model/Taint.h>
23#include <aws/eks/model/WarmPoolConfig.h>
24
25#include <utility>
26
27namespace Aws {
28namespace Utils {
29namespace Json {
30class JsonValue;
31class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace EKS {
35namespace Model {
36
43class Nodegroup {
44 public:
45 AWS_EKS_API Nodegroup() = default;
46 AWS_EKS_API Nodegroup(Aws::Utils::Json::JsonView jsonValue);
49
51
54 inline const Aws::String& GetNodegroupName() const { return m_nodegroupName; }
55 inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; }
56 template <typename NodegroupNameT = Aws::String>
57 void SetNodegroupName(NodegroupNameT&& value) {
58 m_nodegroupNameHasBeenSet = true;
59 m_nodegroupName = std::forward<NodegroupNameT>(value);
60 }
61 template <typename NodegroupNameT = Aws::String>
62 Nodegroup& WithNodegroupName(NodegroupNameT&& value) {
63 SetNodegroupName(std::forward<NodegroupNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetNodegroupArn() const { return m_nodegroupArn; }
73 inline bool NodegroupArnHasBeenSet() const { return m_nodegroupArnHasBeenSet; }
74 template <typename NodegroupArnT = Aws::String>
75 void SetNodegroupArn(NodegroupArnT&& value) {
76 m_nodegroupArnHasBeenSet = true;
77 m_nodegroupArn = std::forward<NodegroupArnT>(value);
78 }
79 template <typename NodegroupArnT = Aws::String>
80 Nodegroup& WithNodegroupArn(NodegroupArnT&& value) {
81 SetNodegroupArn(std::forward<NodegroupArnT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetClusterName() const { return m_clusterName; }
91 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
92 template <typename ClusterNameT = Aws::String>
93 void SetClusterName(ClusterNameT&& value) {
94 m_clusterNameHasBeenSet = true;
95 m_clusterName = std::forward<ClusterNameT>(value);
96 }
97 template <typename ClusterNameT = Aws::String>
98 Nodegroup& WithClusterName(ClusterNameT&& value) {
99 SetClusterName(std::forward<ClusterNameT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetVersion() const { return m_version; }
109 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
110 template <typename VersionT = Aws::String>
111 void SetVersion(VersionT&& value) {
112 m_versionHasBeenSet = true;
113 m_version = std::forward<VersionT>(value);
114 }
115 template <typename VersionT = Aws::String>
116 Nodegroup& WithVersion(VersionT&& value) {
117 SetVersion(std::forward<VersionT>(value));
118 return *this;
119 }
121
123
129 inline const Aws::String& GetReleaseVersion() const { return m_releaseVersion; }
130 inline bool ReleaseVersionHasBeenSet() const { return m_releaseVersionHasBeenSet; }
131 template <typename ReleaseVersionT = Aws::String>
132 void SetReleaseVersion(ReleaseVersionT&& value) {
133 m_releaseVersionHasBeenSet = true;
134 m_releaseVersion = std::forward<ReleaseVersionT>(value);
135 }
136 template <typename ReleaseVersionT = Aws::String>
137 Nodegroup& WithReleaseVersion(ReleaseVersionT&& value) {
138 SetReleaseVersion(std::forward<ReleaseVersionT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
148 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
149 template <typename CreatedAtT = Aws::Utils::DateTime>
150 void SetCreatedAt(CreatedAtT&& value) {
151 m_createdAtHasBeenSet = true;
152 m_createdAt = std::forward<CreatedAtT>(value);
153 }
154 template <typename CreatedAtT = Aws::Utils::DateTime>
155 Nodegroup& WithCreatedAt(CreatedAtT&& value) {
156 SetCreatedAt(std::forward<CreatedAtT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
166 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
167 template <typename ModifiedAtT = Aws::Utils::DateTime>
168 void SetModifiedAt(ModifiedAtT&& value) {
169 m_modifiedAtHasBeenSet = true;
170 m_modifiedAt = std::forward<ModifiedAtT>(value);
171 }
172 template <typename ModifiedAtT = Aws::Utils::DateTime>
173 Nodegroup& WithModifiedAt(ModifiedAtT&& value) {
174 SetModifiedAt(std::forward<ModifiedAtT>(value));
175 return *this;
176 }
178
180
183 inline NodegroupStatus GetStatus() const { return m_status; }
184 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
185 inline void SetStatus(NodegroupStatus value) {
186 m_statusHasBeenSet = true;
187 m_status = value;
188 }
190 SetStatus(value);
191 return *this;
192 }
194
196
199 inline CapacityTypes GetCapacityType() const { return m_capacityType; }
200 inline bool CapacityTypeHasBeenSet() const { return m_capacityTypeHasBeenSet; }
201 inline void SetCapacityType(CapacityTypes value) {
202 m_capacityTypeHasBeenSet = true;
203 m_capacityType = value;
204 }
206 SetCapacityType(value);
207 return *this;
208 }
210
212
216 inline const NodegroupScalingConfig& GetScalingConfig() const { return m_scalingConfig; }
217 inline bool ScalingConfigHasBeenSet() const { return m_scalingConfigHasBeenSet; }
218 template <typename ScalingConfigT = NodegroupScalingConfig>
219 void SetScalingConfig(ScalingConfigT&& value) {
220 m_scalingConfigHasBeenSet = true;
221 m_scalingConfig = std::forward<ScalingConfigT>(value);
222 }
223 template <typename ScalingConfigT = NodegroupScalingConfig>
224 Nodegroup& WithScalingConfig(ScalingConfigT&& value) {
225 SetScalingConfig(std::forward<ScalingConfigT>(value));
226 return *this;
227 }
229
231
236 inline const Aws::Vector<Aws::String>& GetInstanceTypes() const { return m_instanceTypes; }
237 inline bool InstanceTypesHasBeenSet() const { return m_instanceTypesHasBeenSet; }
238 template <typename InstanceTypesT = Aws::Vector<Aws::String>>
239 void SetInstanceTypes(InstanceTypesT&& value) {
240 m_instanceTypesHasBeenSet = true;
241 m_instanceTypes = std::forward<InstanceTypesT>(value);
242 }
243 template <typename InstanceTypesT = Aws::Vector<Aws::String>>
244 Nodegroup& WithInstanceTypes(InstanceTypesT&& value) {
245 SetInstanceTypes(std::forward<InstanceTypesT>(value));
246 return *this;
247 }
248 template <typename InstanceTypesT = Aws::String>
249 Nodegroup& AddInstanceTypes(InstanceTypesT&& value) {
250 m_instanceTypesHasBeenSet = true;
251 m_instanceTypes.emplace_back(std::forward<InstanceTypesT>(value));
252 return *this;
253 }
255
257
261 inline const Aws::Vector<Aws::String>& GetSubnets() const { return m_subnets; }
262 inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
263 template <typename SubnetsT = Aws::Vector<Aws::String>>
264 void SetSubnets(SubnetsT&& value) {
265 m_subnetsHasBeenSet = true;
266 m_subnets = std::forward<SubnetsT>(value);
267 }
268 template <typename SubnetsT = Aws::Vector<Aws::String>>
269 Nodegroup& WithSubnets(SubnetsT&& value) {
270 SetSubnets(std::forward<SubnetsT>(value));
271 return *this;
272 }
273 template <typename SubnetsT = Aws::String>
274 Nodegroup& AddSubnets(SubnetsT&& value) {
275 m_subnetsHasBeenSet = true;
276 m_subnets.emplace_back(std::forward<SubnetsT>(value));
277 return *this;
278 }
280
282
287 inline const RemoteAccessConfig& GetRemoteAccess() const { return m_remoteAccess; }
288 inline bool RemoteAccessHasBeenSet() const { return m_remoteAccessHasBeenSet; }
289 template <typename RemoteAccessT = RemoteAccessConfig>
290 void SetRemoteAccess(RemoteAccessT&& value) {
291 m_remoteAccessHasBeenSet = true;
292 m_remoteAccess = std::forward<RemoteAccessT>(value);
293 }
294 template <typename RemoteAccessT = RemoteAccessConfig>
295 Nodegroup& WithRemoteAccess(RemoteAccessT&& value) {
296 SetRemoteAccess(std::forward<RemoteAccessT>(value));
297 return *this;
298 }
300
302
308 inline AMITypes GetAmiType() const { return m_amiType; }
309 inline bool AmiTypeHasBeenSet() const { return m_amiTypeHasBeenSet; }
310 inline void SetAmiType(AMITypes value) {
311 m_amiTypeHasBeenSet = true;
312 m_amiType = value;
313 }
315 SetAmiType(value);
316 return *this;
317 }
319
321
327 inline const Aws::String& GetNodeRole() const { return m_nodeRole; }
328 inline bool NodeRoleHasBeenSet() const { return m_nodeRoleHasBeenSet; }
329 template <typename NodeRoleT = Aws::String>
330 void SetNodeRole(NodeRoleT&& value) {
331 m_nodeRoleHasBeenSet = true;
332 m_nodeRole = std::forward<NodeRoleT>(value);
333 }
334 template <typename NodeRoleT = Aws::String>
335 Nodegroup& WithNodeRole(NodeRoleT&& value) {
336 SetNodeRole(std::forward<NodeRoleT>(value));
337 return *this;
338 }
340
342
348 inline const Aws::Map<Aws::String, Aws::String>& GetLabels() const { return m_labels; }
349 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
350 template <typename LabelsT = Aws::Map<Aws::String, Aws::String>>
351 void SetLabels(LabelsT&& value) {
352 m_labelsHasBeenSet = true;
353 m_labels = std::forward<LabelsT>(value);
354 }
355 template <typename LabelsT = Aws::Map<Aws::String, Aws::String>>
356 Nodegroup& WithLabels(LabelsT&& value) {
357 SetLabels(std::forward<LabelsT>(value));
358 return *this;
359 }
360 template <typename LabelsKeyT = Aws::String, typename LabelsValueT = Aws::String>
361 Nodegroup& AddLabels(LabelsKeyT&& key, LabelsValueT&& value) {
362 m_labelsHasBeenSet = true;
363 m_labels.emplace(std::forward<LabelsKeyT>(key), std::forward<LabelsValueT>(value));
364 return *this;
365 }
367
369
378 inline const Aws::Vector<Taint>& GetTaints() const { return m_taints; }
379 inline bool TaintsHasBeenSet() const { return m_taintsHasBeenSet; }
380 template <typename TaintsT = Aws::Vector<Taint>>
381 void SetTaints(TaintsT&& value) {
382 m_taintsHasBeenSet = true;
383 m_taints = std::forward<TaintsT>(value);
384 }
385 template <typename TaintsT = Aws::Vector<Taint>>
386 Nodegroup& WithTaints(TaintsT&& value) {
387 SetTaints(std::forward<TaintsT>(value));
388 return *this;
389 }
390 template <typename TaintsT = Taint>
391 Nodegroup& AddTaints(TaintsT&& value) {
392 m_taintsHasBeenSet = true;
393 m_taints.emplace_back(std::forward<TaintsT>(value));
394 return *this;
395 }
397
399
403 inline const NodegroupResources& GetResources() const { return m_resources; }
404 inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
405 template <typename ResourcesT = NodegroupResources>
406 void SetResources(ResourcesT&& value) {
407 m_resourcesHasBeenSet = true;
408 m_resources = std::forward<ResourcesT>(value);
409 }
410 template <typename ResourcesT = NodegroupResources>
411 Nodegroup& WithResources(ResourcesT&& value) {
412 SetResources(std::forward<ResourcesT>(value));
413 return *this;
414 }
416
418
423 inline int GetDiskSize() const { return m_diskSize; }
424 inline bool DiskSizeHasBeenSet() const { return m_diskSizeHasBeenSet; }
425 inline void SetDiskSize(int value) {
426 m_diskSizeHasBeenSet = true;
427 m_diskSize = value;
428 }
429 inline Nodegroup& WithDiskSize(int value) {
430 SetDiskSize(value);
431 return *this;
432 }
434
436
440 inline const NodegroupHealth& GetHealth() const { return m_health; }
441 inline bool HealthHasBeenSet() const { return m_healthHasBeenSet; }
442 template <typename HealthT = NodegroupHealth>
443 void SetHealth(HealthT&& value) {
444 m_healthHasBeenSet = true;
445 m_health = std::forward<HealthT>(value);
446 }
447 template <typename HealthT = NodegroupHealth>
448 Nodegroup& WithHealth(HealthT&& value) {
449 SetHealth(std::forward<HealthT>(value));
450 return *this;
451 }
453
455
458 inline const NodegroupUpdateConfig& GetUpdateConfig() const { return m_updateConfig; }
459 inline bool UpdateConfigHasBeenSet() const { return m_updateConfigHasBeenSet; }
460 template <typename UpdateConfigT = NodegroupUpdateConfig>
461 void SetUpdateConfig(UpdateConfigT&& value) {
462 m_updateConfigHasBeenSet = true;
463 m_updateConfig = std::forward<UpdateConfigT>(value);
464 }
465 template <typename UpdateConfigT = NodegroupUpdateConfig>
466 Nodegroup& WithUpdateConfig(UpdateConfigT&& value) {
467 SetUpdateConfig(std::forward<UpdateConfigT>(value));
468 return *this;
469 }
471
473
476 inline const NodeRepairConfig& GetNodeRepairConfig() const { return m_nodeRepairConfig; }
477 inline bool NodeRepairConfigHasBeenSet() const { return m_nodeRepairConfigHasBeenSet; }
478 template <typename NodeRepairConfigT = NodeRepairConfig>
479 void SetNodeRepairConfig(NodeRepairConfigT&& value) {
480 m_nodeRepairConfigHasBeenSet = true;
481 m_nodeRepairConfig = std::forward<NodeRepairConfigT>(value);
482 }
483 template <typename NodeRepairConfigT = NodeRepairConfig>
484 Nodegroup& WithNodeRepairConfig(NodeRepairConfigT&& value) {
485 SetNodeRepairConfig(std::forward<NodeRepairConfigT>(value));
486 return *this;
487 }
489
491
495 inline const LaunchTemplateSpecification& GetLaunchTemplate() const { return m_launchTemplate; }
496 inline bool LaunchTemplateHasBeenSet() const { return m_launchTemplateHasBeenSet; }
497 template <typename LaunchTemplateT = LaunchTemplateSpecification>
498 void SetLaunchTemplate(LaunchTemplateT&& value) {
499 m_launchTemplateHasBeenSet = true;
500 m_launchTemplate = std::forward<LaunchTemplateT>(value);
501 }
502 template <typename LaunchTemplateT = LaunchTemplateSpecification>
503 Nodegroup& WithLaunchTemplate(LaunchTemplateT&& value) {
504 SetLaunchTemplate(std::forward<LaunchTemplateT>(value));
505 return *this;
506 }
508
510
515 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
516 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
517 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
518 void SetTags(TagsT&& value) {
519 m_tagsHasBeenSet = true;
520 m_tags = std::forward<TagsT>(value);
521 }
522 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
523 Nodegroup& WithTags(TagsT&& value) {
524 SetTags(std::forward<TagsT>(value));
525 return *this;
526 }
527 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
528 Nodegroup& AddTags(TagsKeyT&& key, TagsValueT&& value) {
529 m_tagsHasBeenSet = true;
530 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
531 return *this;
532 }
534
536
542 inline const WarmPoolConfig& GetWarmPoolConfig() const { return m_warmPoolConfig; }
543 inline bool WarmPoolConfigHasBeenSet() const { return m_warmPoolConfigHasBeenSet; }
544 template <typename WarmPoolConfigT = WarmPoolConfig>
545 void SetWarmPoolConfig(WarmPoolConfigT&& value) {
546 m_warmPoolConfigHasBeenSet = true;
547 m_warmPoolConfig = std::forward<WarmPoolConfigT>(value);
548 }
549 template <typename WarmPoolConfigT = WarmPoolConfig>
550 Nodegroup& WithWarmPoolConfig(WarmPoolConfigT&& value) {
551 SetWarmPoolConfig(std::forward<WarmPoolConfigT>(value));
552 return *this;
553 }
555 private:
556 Aws::String m_nodegroupName;
557
558 Aws::String m_nodegroupArn;
559
560 Aws::String m_clusterName;
561
562 Aws::String m_version;
563
564 Aws::String m_releaseVersion;
565
566 Aws::Utils::DateTime m_createdAt{};
567
568 Aws::Utils::DateTime m_modifiedAt{};
569
571
573
574 NodegroupScalingConfig m_scalingConfig;
575
576 Aws::Vector<Aws::String> m_instanceTypes;
577
578 Aws::Vector<Aws::String> m_subnets;
579
580 RemoteAccessConfig m_remoteAccess;
581
582 AMITypes m_amiType{AMITypes::NOT_SET};
583
584 Aws::String m_nodeRole;
585
587
588 Aws::Vector<Taint> m_taints;
589
590 NodegroupResources m_resources;
591
592 int m_diskSize{0};
593
594 NodegroupHealth m_health;
595
596 NodegroupUpdateConfig m_updateConfig;
597
598 NodeRepairConfig m_nodeRepairConfig;
599
600 LaunchTemplateSpecification m_launchTemplate;
601
603
604 WarmPoolConfig m_warmPoolConfig;
605 bool m_nodegroupNameHasBeenSet = false;
606 bool m_nodegroupArnHasBeenSet = false;
607 bool m_clusterNameHasBeenSet = false;
608 bool m_versionHasBeenSet = false;
609 bool m_releaseVersionHasBeenSet = false;
610 bool m_createdAtHasBeenSet = false;
611 bool m_modifiedAtHasBeenSet = false;
612 bool m_statusHasBeenSet = false;
613 bool m_capacityTypeHasBeenSet = false;
614 bool m_scalingConfigHasBeenSet = false;
615 bool m_instanceTypesHasBeenSet = false;
616 bool m_subnetsHasBeenSet = false;
617 bool m_remoteAccessHasBeenSet = false;
618 bool m_amiTypeHasBeenSet = false;
619 bool m_nodeRoleHasBeenSet = false;
620 bool m_labelsHasBeenSet = false;
621 bool m_taintsHasBeenSet = false;
622 bool m_resourcesHasBeenSet = false;
623 bool m_diskSizeHasBeenSet = false;
624 bool m_healthHasBeenSet = false;
625 bool m_updateConfigHasBeenSet = false;
626 bool m_nodeRepairConfigHasBeenSet = false;
627 bool m_launchTemplateHasBeenSet = false;
628 bool m_tagsHasBeenSet = false;
629 bool m_warmPoolConfigHasBeenSet = false;
630};
631
632} // namespace Model
633} // namespace EKS
634} // namespace Aws
void SetLabels(LabelsT &&value)
Definition Nodegroup.h:351
void SetTags(TagsT &&value)
Definition Nodegroup.h:518
Nodegroup & WithNodeRole(NodeRoleT &&value)
Definition Nodegroup.h:335
AMITypes GetAmiType() const
Definition Nodegroup.h:308
bool LaunchTemplateHasBeenSet() const
Definition Nodegroup.h:496
const NodegroupScalingConfig & GetScalingConfig() const
Definition Nodegroup.h:216
void SetLaunchTemplate(LaunchTemplateT &&value)
Definition Nodegroup.h:498
Nodegroup & WithAmiType(AMITypes value)
Definition Nodegroup.h:314
const WarmPoolConfig & GetWarmPoolConfig() const
Definition Nodegroup.h:542
Nodegroup & WithNodegroupArn(NodegroupArnT &&value)
Definition Nodegroup.h:80
Nodegroup & WithCreatedAt(CreatedAtT &&value)
Definition Nodegroup.h:155
bool CreatedAtHasBeenSet() const
Definition Nodegroup.h:148
bool TaintsHasBeenSet() const
Definition Nodegroup.h:379
Nodegroup & WithDiskSize(int value)
Definition Nodegroup.h:429
bool RemoteAccessHasBeenSet() const
Definition Nodegroup.h:288
void SetHealth(HealthT &&value)
Definition Nodegroup.h:443
bool TagsHasBeenSet() const
Definition Nodegroup.h:516
void SetScalingConfig(ScalingConfigT &&value)
Definition Nodegroup.h:219
const Aws::Map< Aws::String, Aws::String > & GetLabels() const
Definition Nodegroup.h:348
const Aws::String & GetNodeRole() const
Definition Nodegroup.h:327
Nodegroup & WithScalingConfig(ScalingConfigT &&value)
Definition Nodegroup.h:224
Nodegroup & WithClusterName(ClusterNameT &&value)
Definition Nodegroup.h:98
const NodegroupHealth & GetHealth() const
Definition Nodegroup.h:440
void SetClusterName(ClusterNameT &&value)
Definition Nodegroup.h:93
void SetTaints(TaintsT &&value)
Definition Nodegroup.h:381
bool NodegroupNameHasBeenSet() const
Definition Nodegroup.h:55
void SetVersion(VersionT &&value)
Definition Nodegroup.h:111
void SetResources(ResourcesT &&value)
Definition Nodegroup.h:406
void SetNodegroupArn(NodegroupArnT &&value)
Definition Nodegroup.h:75
Nodegroup & WithVersion(VersionT &&value)
Definition Nodegroup.h:116
const Aws::Vector< Aws::String > & GetSubnets() const
Definition Nodegroup.h:261
void SetWarmPoolConfig(WarmPoolConfigT &&value)
Definition Nodegroup.h:545
void SetCreatedAt(CreatedAtT &&value)
Definition Nodegroup.h:150
void SetReleaseVersion(ReleaseVersionT &&value)
Definition Nodegroup.h:132
bool CapacityTypeHasBeenSet() const
Definition Nodegroup.h:200
NodegroupStatus GetStatus() const
Definition Nodegroup.h:183
void SetCapacityType(CapacityTypes value)
Definition Nodegroup.h:201
Nodegroup & WithModifiedAt(ModifiedAtT &&value)
Definition Nodegroup.h:173
const Aws::String & GetNodegroupName() const
Definition Nodegroup.h:54
bool StatusHasBeenSet() const
Definition Nodegroup.h:184
bool NodeRepairConfigHasBeenSet() const
Definition Nodegroup.h:477
Nodegroup & WithReleaseVersion(ReleaseVersionT &&value)
Definition Nodegroup.h:137
const Aws::Utils::DateTime & GetModifiedAt() const
Definition Nodegroup.h:165
Nodegroup & WithNodegroupName(NodegroupNameT &&value)
Definition Nodegroup.h:62
Nodegroup & WithHealth(HealthT &&value)
Definition Nodegroup.h:448
void SetAmiType(AMITypes value)
Definition Nodegroup.h:310
bool NodeRoleHasBeenSet() const
Definition Nodegroup.h:328
void SetModifiedAt(ModifiedAtT &&value)
Definition Nodegroup.h:168
const NodegroupResources & GetResources() const
Definition Nodegroup.h:403
Nodegroup & WithSubnets(SubnetsT &&value)
Definition Nodegroup.h:269
void SetNodegroupName(NodegroupNameT &&value)
Definition Nodegroup.h:57
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Nodegroup.h:515
bool LabelsHasBeenSet() const
Definition Nodegroup.h:349
void SetRemoteAccess(RemoteAccessT &&value)
Definition Nodegroup.h:290
Nodegroup & AddSubnets(SubnetsT &&value)
Definition Nodegroup.h:274
bool ScalingConfigHasBeenSet() const
Definition Nodegroup.h:217
void SetDiskSize(int value)
Definition Nodegroup.h:425
AWS_EKS_API Nodegroup(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API Nodegroup & operator=(Aws::Utils::Json::JsonView jsonValue)
Nodegroup & WithLabels(LabelsT &&value)
Definition Nodegroup.h:356
void SetSubnets(SubnetsT &&value)
Definition Nodegroup.h:264
Nodegroup & WithRemoteAccess(RemoteAccessT &&value)
Definition Nodegroup.h:295
Nodegroup & WithInstanceTypes(InstanceTypesT &&value)
Definition Nodegroup.h:244
bool ModifiedAtHasBeenSet() const
Definition Nodegroup.h:166
AWS_EKS_API Nodegroup()=default
bool AmiTypeHasBeenSet() const
Definition Nodegroup.h:309
const Aws::Vector< Aws::String > & GetInstanceTypes() const
Definition Nodegroup.h:236
Nodegroup & WithTags(TagsT &&value)
Definition Nodegroup.h:523
const Aws::String & GetReleaseVersion() const
Definition Nodegroup.h:129
Nodegroup & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Nodegroup.h:528
Nodegroup & AddTaints(TaintsT &&value)
Definition Nodegroup.h:391
Nodegroup & WithUpdateConfig(UpdateConfigT &&value)
Definition Nodegroup.h:466
const NodeRepairConfig & GetNodeRepairConfig() const
Definition Nodegroup.h:476
const RemoteAccessConfig & GetRemoteAccess() const
Definition Nodegroup.h:287
Nodegroup & WithWarmPoolConfig(WarmPoolConfigT &&value)
Definition Nodegroup.h:550
const Aws::String & GetNodegroupArn() const
Definition Nodegroup.h:72
bool SubnetsHasBeenSet() const
Definition Nodegroup.h:262
const Aws::String & GetVersion() const
Definition Nodegroup.h:108
bool UpdateConfigHasBeenSet() const
Definition Nodegroup.h:459
CapacityTypes GetCapacityType() const
Definition Nodegroup.h:199
bool HealthHasBeenSet() const
Definition Nodegroup.h:441
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ReleaseVersionHasBeenSet() const
Definition Nodegroup.h:130
bool DiskSizeHasBeenSet() const
Definition Nodegroup.h:424
bool InstanceTypesHasBeenSet() const
Definition Nodegroup.h:237
Nodegroup & WithStatus(NodegroupStatus value)
Definition Nodegroup.h:189
Nodegroup & WithLaunchTemplate(LaunchTemplateT &&value)
Definition Nodegroup.h:503
Nodegroup & WithTaints(TaintsT &&value)
Definition Nodegroup.h:386
bool NodegroupArnHasBeenSet() const
Definition Nodegroup.h:73
const Aws::String & GetClusterName() const
Definition Nodegroup.h:90
void SetStatus(NodegroupStatus value)
Definition Nodegroup.h:185
const Aws::Vector< Taint > & GetTaints() const
Definition Nodegroup.h:378
Nodegroup & AddInstanceTypes(InstanceTypesT &&value)
Definition Nodegroup.h:249
void SetInstanceTypes(InstanceTypesT &&value)
Definition Nodegroup.h:239
bool ResourcesHasBeenSet() const
Definition Nodegroup.h:404
Nodegroup & WithNodeRepairConfig(NodeRepairConfigT &&value)
Definition Nodegroup.h:484
void SetNodeRole(NodeRoleT &&value)
Definition Nodegroup.h:330
void SetUpdateConfig(UpdateConfigT &&value)
Definition Nodegroup.h:461
const NodegroupUpdateConfig & GetUpdateConfig() const
Definition Nodegroup.h:458
void SetNodeRepairConfig(NodeRepairConfigT &&value)
Definition Nodegroup.h:479
Nodegroup & WithResources(ResourcesT &&value)
Definition Nodegroup.h:411
const LaunchTemplateSpecification & GetLaunchTemplate() const
Definition Nodegroup.h:495
Nodegroup & WithCapacityType(CapacityTypes value)
Definition Nodegroup.h:205
bool VersionHasBeenSet() const
Definition Nodegroup.h:109
bool WarmPoolConfigHasBeenSet() const
Definition Nodegroup.h:543
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Nodegroup.h:147
Nodegroup & AddLabels(LabelsKeyT &&key, LabelsValueT &&value)
Definition Nodegroup.h:361
bool ClusterNameHasBeenSet() const
Definition Nodegroup.h:91
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue