AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Cluster.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/AccessConfigResponse.h>
13#include <aws/eks/model/Certificate.h>
14#include <aws/eks/model/ClusterHealth.h>
15#include <aws/eks/model/ClusterStatus.h>
16#include <aws/eks/model/ComputeConfigResponse.h>
17#include <aws/eks/model/ConnectorConfigResponse.h>
18#include <aws/eks/model/ControlPlaneScalingConfig.h>
19#include <aws/eks/model/EncryptionConfig.h>
20#include <aws/eks/model/Identity.h>
21#include <aws/eks/model/KubernetesNetworkConfigResponse.h>
22#include <aws/eks/model/Logging.h>
23#include <aws/eks/model/OutpostConfigResponse.h>
24#include <aws/eks/model/RemoteNetworkConfigResponse.h>
25#include <aws/eks/model/StorageConfigResponse.h>
26#include <aws/eks/model/UpgradePolicyResponse.h>
27#include <aws/eks/model/VpcConfigResponse.h>
28#include <aws/eks/model/ZonalShiftConfigResponse.h>
29
30#include <utility>
31
32namespace Aws {
33namespace Utils {
34namespace Json {
35class JsonValue;
36class JsonView;
37} // namespace Json
38} // namespace Utils
39namespace EKS {
40namespace Model {
41
47class Cluster {
48 public:
49 AWS_EKS_API Cluster() = default;
50 AWS_EKS_API Cluster(Aws::Utils::Json::JsonView jsonValue);
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
66 Cluster& WithName(NameT&& value) {
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetArn() const { return m_arn; }
77 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
78 template <typename ArnT = Aws::String>
79 void SetArn(ArnT&& value) {
80 m_arnHasBeenSet = true;
81 m_arn = std::forward<ArnT>(value);
82 }
83 template <typename ArnT = Aws::String>
84 Cluster& WithArn(ArnT&& value) {
85 SetArn(std::forward<ArnT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
95 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
96 template <typename CreatedAtT = Aws::Utils::DateTime>
97 void SetCreatedAt(CreatedAtT&& value) {
98 m_createdAtHasBeenSet = true;
99 m_createdAt = std::forward<CreatedAtT>(value);
100 }
101 template <typename CreatedAtT = Aws::Utils::DateTime>
102 Cluster& WithCreatedAt(CreatedAtT&& value) {
103 SetCreatedAt(std::forward<CreatedAtT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetVersion() const { return m_version; }
113 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
114 template <typename VersionT = Aws::String>
115 void SetVersion(VersionT&& value) {
116 m_versionHasBeenSet = true;
117 m_version = std::forward<VersionT>(value);
118 }
119 template <typename VersionT = Aws::String>
120 Cluster& WithVersion(VersionT&& value) {
121 SetVersion(std::forward<VersionT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
131 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
132 template <typename EndpointT = Aws::String>
133 void SetEndpoint(EndpointT&& value) {
134 m_endpointHasBeenSet = true;
135 m_endpoint = std::forward<EndpointT>(value);
136 }
137 template <typename EndpointT = Aws::String>
138 Cluster& WithEndpoint(EndpointT&& value) {
139 SetEndpoint(std::forward<EndpointT>(value));
140 return *this;
141 }
143
145
150 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
151 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
152 template <typename RoleArnT = Aws::String>
153 void SetRoleArn(RoleArnT&& value) {
154 m_roleArnHasBeenSet = true;
155 m_roleArn = std::forward<RoleArnT>(value);
156 }
157 template <typename RoleArnT = Aws::String>
158 Cluster& WithRoleArn(RoleArnT&& value) {
159 SetRoleArn(std::forward<RoleArnT>(value));
160 return *this;
161 }
163
165
174 inline const VpcConfigResponse& GetResourcesVpcConfig() const { return m_resourcesVpcConfig; }
175 inline bool ResourcesVpcConfigHasBeenSet() const { return m_resourcesVpcConfigHasBeenSet; }
176 template <typename ResourcesVpcConfigT = VpcConfigResponse>
177 void SetResourcesVpcConfig(ResourcesVpcConfigT&& value) {
178 m_resourcesVpcConfigHasBeenSet = true;
179 m_resourcesVpcConfig = std::forward<ResourcesVpcConfigT>(value);
180 }
181 template <typename ResourcesVpcConfigT = VpcConfigResponse>
182 Cluster& WithResourcesVpcConfig(ResourcesVpcConfigT&& value) {
183 SetResourcesVpcConfig(std::forward<ResourcesVpcConfigT>(value));
184 return *this;
185 }
187
189
192 inline const KubernetesNetworkConfigResponse& GetKubernetesNetworkConfig() const { return m_kubernetesNetworkConfig; }
193 inline bool KubernetesNetworkConfigHasBeenSet() const { return m_kubernetesNetworkConfigHasBeenSet; }
194 template <typename KubernetesNetworkConfigT = KubernetesNetworkConfigResponse>
195 void SetKubernetesNetworkConfig(KubernetesNetworkConfigT&& value) {
196 m_kubernetesNetworkConfigHasBeenSet = true;
197 m_kubernetesNetworkConfig = std::forward<KubernetesNetworkConfigT>(value);
198 }
199 template <typename KubernetesNetworkConfigT = KubernetesNetworkConfigResponse>
200 Cluster& WithKubernetesNetworkConfig(KubernetesNetworkConfigT&& value) {
201 SetKubernetesNetworkConfig(std::forward<KubernetesNetworkConfigT>(value));
202 return *this;
203 }
205
207
210 inline const Logging& GetLogging() const { return m_logging; }
211 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
212 template <typename LoggingT = Logging>
213 void SetLogging(LoggingT&& value) {
214 m_loggingHasBeenSet = true;
215 m_logging = std::forward<LoggingT>(value);
216 }
217 template <typename LoggingT = Logging>
218 Cluster& WithLogging(LoggingT&& value) {
219 SetLogging(std::forward<LoggingT>(value));
220 return *this;
221 }
223
225
228 inline const Identity& GetIdentity() const { return m_identity; }
229 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
230 template <typename IdentityT = Identity>
231 void SetIdentity(IdentityT&& value) {
232 m_identityHasBeenSet = true;
233 m_identity = std::forward<IdentityT>(value);
234 }
235 template <typename IdentityT = Identity>
236 Cluster& WithIdentity(IdentityT&& value) {
237 SetIdentity(std::forward<IdentityT>(value));
238 return *this;
239 }
241
243
246 inline ClusterStatus GetStatus() const { return m_status; }
247 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
248 inline void SetStatus(ClusterStatus value) {
249 m_statusHasBeenSet = true;
250 m_status = value;
251 }
253 SetStatus(value);
254 return *this;
255 }
257
259
262 inline const Certificate& GetCertificateAuthority() const { return m_certificateAuthority; }
263 inline bool CertificateAuthorityHasBeenSet() const { return m_certificateAuthorityHasBeenSet; }
264 template <typename CertificateAuthorityT = Certificate>
265 void SetCertificateAuthority(CertificateAuthorityT&& value) {
266 m_certificateAuthorityHasBeenSet = true;
267 m_certificateAuthority = std::forward<CertificateAuthorityT>(value);
268 }
269 template <typename CertificateAuthorityT = Certificate>
270 Cluster& WithCertificateAuthority(CertificateAuthorityT&& value) {
271 SetCertificateAuthority(std::forward<CertificateAuthorityT>(value));
272 return *this;
273 }
275
277
281 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
282 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
283 template <typename ClientRequestTokenT = Aws::String>
284 void SetClientRequestToken(ClientRequestTokenT&& value) {
285 m_clientRequestTokenHasBeenSet = true;
286 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
287 }
288 template <typename ClientRequestTokenT = Aws::String>
289 Cluster& WithClientRequestToken(ClientRequestTokenT&& value) {
290 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
291 return *this;
292 }
294
296
306 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
307 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
308 template <typename PlatformVersionT = Aws::String>
309 void SetPlatformVersion(PlatformVersionT&& value) {
310 m_platformVersionHasBeenSet = true;
311 m_platformVersion = std::forward<PlatformVersionT>(value);
312 }
313 template <typename PlatformVersionT = Aws::String>
314 Cluster& WithPlatformVersion(PlatformVersionT&& value) {
315 SetPlatformVersion(std::forward<PlatformVersionT>(value));
316 return *this;
317 }
319
321
326 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
327 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
328 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
329 void SetTags(TagsT&& value) {
330 m_tagsHasBeenSet = true;
331 m_tags = std::forward<TagsT>(value);
332 }
333 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
334 Cluster& WithTags(TagsT&& value) {
335 SetTags(std::forward<TagsT>(value));
336 return *this;
337 }
338 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
339 Cluster& AddTags(TagsKeyT&& key, TagsValueT&& value) {
340 m_tagsHasBeenSet = true;
341 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
342 return *this;
343 }
345
347
350 inline const Aws::Vector<EncryptionConfig>& GetEncryptionConfig() const { return m_encryptionConfig; }
351 inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; }
352 template <typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
353 void SetEncryptionConfig(EncryptionConfigT&& value) {
354 m_encryptionConfigHasBeenSet = true;
355 m_encryptionConfig = std::forward<EncryptionConfigT>(value);
356 }
357 template <typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
358 Cluster& WithEncryptionConfig(EncryptionConfigT&& value) {
359 SetEncryptionConfig(std::forward<EncryptionConfigT>(value));
360 return *this;
361 }
362 template <typename EncryptionConfigT = EncryptionConfig>
363 Cluster& AddEncryptionConfig(EncryptionConfigT&& value) {
364 m_encryptionConfigHasBeenSet = true;
365 m_encryptionConfig.emplace_back(std::forward<EncryptionConfigT>(value));
366 return *this;
367 }
369
371
374 inline const ConnectorConfigResponse& GetConnectorConfig() const { return m_connectorConfig; }
375 inline bool ConnectorConfigHasBeenSet() const { return m_connectorConfigHasBeenSet; }
376 template <typename ConnectorConfigT = ConnectorConfigResponse>
377 void SetConnectorConfig(ConnectorConfigT&& value) {
378 m_connectorConfigHasBeenSet = true;
379 m_connectorConfig = std::forward<ConnectorConfigT>(value);
380 }
381 template <typename ConnectorConfigT = ConnectorConfigResponse>
382 Cluster& WithConnectorConfig(ConnectorConfigT&& value) {
383 SetConnectorConfig(std::forward<ConnectorConfigT>(value));
384 return *this;
385 }
387
389
394 inline const Aws::String& GetId() const { return m_id; }
395 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
396 template <typename IdT = Aws::String>
397 void SetId(IdT&& value) {
398 m_idHasBeenSet = true;
399 m_id = std::forward<IdT>(value);
400 }
401 template <typename IdT = Aws::String>
402 Cluster& WithId(IdT&& value) {
403 SetId(std::forward<IdT>(value));
404 return *this;
405 }
407
409
412 inline const ClusterHealth& GetHealth() const { return m_health; }
413 inline bool HealthHasBeenSet() const { return m_healthHasBeenSet; }
414 template <typename HealthT = ClusterHealth>
415 void SetHealth(HealthT&& value) {
416 m_healthHasBeenSet = true;
417 m_health = std::forward<HealthT>(value);
418 }
419 template <typename HealthT = ClusterHealth>
420 Cluster& WithHealth(HealthT&& value) {
421 SetHealth(std::forward<HealthT>(value));
422 return *this;
423 }
425
427
432 inline const OutpostConfigResponse& GetOutpostConfig() const { return m_outpostConfig; }
433 inline bool OutpostConfigHasBeenSet() const { return m_outpostConfigHasBeenSet; }
434 template <typename OutpostConfigT = OutpostConfigResponse>
435 void SetOutpostConfig(OutpostConfigT&& value) {
436 m_outpostConfigHasBeenSet = true;
437 m_outpostConfig = std::forward<OutpostConfigT>(value);
438 }
439 template <typename OutpostConfigT = OutpostConfigResponse>
440 Cluster& WithOutpostConfig(OutpostConfigT&& value) {
441 SetOutpostConfig(std::forward<OutpostConfigT>(value));
442 return *this;
443 }
445
447
450 inline const AccessConfigResponse& GetAccessConfig() const { return m_accessConfig; }
451 inline bool AccessConfigHasBeenSet() const { return m_accessConfigHasBeenSet; }
452 template <typename AccessConfigT = AccessConfigResponse>
453 void SetAccessConfig(AccessConfigT&& value) {
454 m_accessConfigHasBeenSet = true;
455 m_accessConfig = std::forward<AccessConfigT>(value);
456 }
457 template <typename AccessConfigT = AccessConfigResponse>
458 Cluster& WithAccessConfig(AccessConfigT&& value) {
459 SetAccessConfig(std::forward<AccessConfigT>(value));
460 return *this;
461 }
463
465
471 inline const UpgradePolicyResponse& GetUpgradePolicy() const { return m_upgradePolicy; }
472 inline bool UpgradePolicyHasBeenSet() const { return m_upgradePolicyHasBeenSet; }
473 template <typename UpgradePolicyT = UpgradePolicyResponse>
474 void SetUpgradePolicy(UpgradePolicyT&& value) {
475 m_upgradePolicyHasBeenSet = true;
476 m_upgradePolicy = std::forward<UpgradePolicyT>(value);
477 }
478 template <typename UpgradePolicyT = UpgradePolicyResponse>
479 Cluster& WithUpgradePolicy(UpgradePolicyT&& value) {
480 SetUpgradePolicy(std::forward<UpgradePolicyT>(value));
481 return *this;
482 }
484
486
489 inline const ZonalShiftConfigResponse& GetZonalShiftConfig() const { return m_zonalShiftConfig; }
490 inline bool ZonalShiftConfigHasBeenSet() const { return m_zonalShiftConfigHasBeenSet; }
491 template <typename ZonalShiftConfigT = ZonalShiftConfigResponse>
492 void SetZonalShiftConfig(ZonalShiftConfigT&& value) {
493 m_zonalShiftConfigHasBeenSet = true;
494 m_zonalShiftConfig = std::forward<ZonalShiftConfigT>(value);
495 }
496 template <typename ZonalShiftConfigT = ZonalShiftConfigResponse>
497 Cluster& WithZonalShiftConfig(ZonalShiftConfigT&& value) {
498 SetZonalShiftConfig(std::forward<ZonalShiftConfigT>(value));
499 return *this;
500 }
502
504
508 inline const RemoteNetworkConfigResponse& GetRemoteNetworkConfig() const { return m_remoteNetworkConfig; }
509 inline bool RemoteNetworkConfigHasBeenSet() const { return m_remoteNetworkConfigHasBeenSet; }
510 template <typename RemoteNetworkConfigT = RemoteNetworkConfigResponse>
511 void SetRemoteNetworkConfig(RemoteNetworkConfigT&& value) {
512 m_remoteNetworkConfigHasBeenSet = true;
513 m_remoteNetworkConfig = std::forward<RemoteNetworkConfigT>(value);
514 }
515 template <typename RemoteNetworkConfigT = RemoteNetworkConfigResponse>
516 Cluster& WithRemoteNetworkConfig(RemoteNetworkConfigT&& value) {
517 SetRemoteNetworkConfig(std::forward<RemoteNetworkConfigT>(value));
518 return *this;
519 }
521
523
530 inline const ComputeConfigResponse& GetComputeConfig() const { return m_computeConfig; }
531 inline bool ComputeConfigHasBeenSet() const { return m_computeConfigHasBeenSet; }
532 template <typename ComputeConfigT = ComputeConfigResponse>
533 void SetComputeConfig(ComputeConfigT&& value) {
534 m_computeConfigHasBeenSet = true;
535 m_computeConfig = std::forward<ComputeConfigT>(value);
536 }
537 template <typename ComputeConfigT = ComputeConfigResponse>
538 Cluster& WithComputeConfig(ComputeConfigT&& value) {
539 SetComputeConfig(std::forward<ComputeConfigT>(value));
540 return *this;
541 }
543
545
552 inline const StorageConfigResponse& GetStorageConfig() const { return m_storageConfig; }
553 inline bool StorageConfigHasBeenSet() const { return m_storageConfigHasBeenSet; }
554 template <typename StorageConfigT = StorageConfigResponse>
555 void SetStorageConfig(StorageConfigT&& value) {
556 m_storageConfigHasBeenSet = true;
557 m_storageConfig = std::forward<StorageConfigT>(value);
558 }
559 template <typename StorageConfigT = StorageConfigResponse>
560 Cluster& WithStorageConfig(StorageConfigT&& value) {
561 SetStorageConfig(std::forward<StorageConfigT>(value));
562 return *this;
563 }
565
567
574 inline bool GetDeletionProtection() const { return m_deletionProtection; }
575 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
576 inline void SetDeletionProtection(bool value) {
577 m_deletionProtectionHasBeenSet = true;
578 m_deletionProtection = value;
579 }
580 inline Cluster& WithDeletionProtection(bool value) {
582 return *this;
583 }
585
587
591 inline const ControlPlaneScalingConfig& GetControlPlaneScalingConfig() const { return m_controlPlaneScalingConfig; }
592 inline bool ControlPlaneScalingConfigHasBeenSet() const { return m_controlPlaneScalingConfigHasBeenSet; }
593 template <typename ControlPlaneScalingConfigT = ControlPlaneScalingConfig>
594 void SetControlPlaneScalingConfig(ControlPlaneScalingConfigT&& value) {
595 m_controlPlaneScalingConfigHasBeenSet = true;
596 m_controlPlaneScalingConfig = std::forward<ControlPlaneScalingConfigT>(value);
597 }
598 template <typename ControlPlaneScalingConfigT = ControlPlaneScalingConfig>
599 Cluster& WithControlPlaneScalingConfig(ControlPlaneScalingConfigT&& value) {
600 SetControlPlaneScalingConfig(std::forward<ControlPlaneScalingConfigT>(value));
601 return *this;
602 }
604 private:
605 Aws::String m_name;
606
607 Aws::String m_arn;
608
609 Aws::Utils::DateTime m_createdAt{};
610
611 Aws::String m_version;
612
613 Aws::String m_endpoint;
614
615 Aws::String m_roleArn;
616
617 VpcConfigResponse m_resourcesVpcConfig;
618
619 KubernetesNetworkConfigResponse m_kubernetesNetworkConfig;
620
621 Logging m_logging;
622
623 Identity m_identity;
624
626
627 Certificate m_certificateAuthority;
628
629 Aws::String m_clientRequestToken;
630
631 Aws::String m_platformVersion;
632
634
635 Aws::Vector<EncryptionConfig> m_encryptionConfig;
636
637 ConnectorConfigResponse m_connectorConfig;
638
639 Aws::String m_id;
640
641 ClusterHealth m_health;
642
643 OutpostConfigResponse m_outpostConfig;
644
645 AccessConfigResponse m_accessConfig;
646
647 UpgradePolicyResponse m_upgradePolicy;
648
649 ZonalShiftConfigResponse m_zonalShiftConfig;
650
651 RemoteNetworkConfigResponse m_remoteNetworkConfig;
652
653 ComputeConfigResponse m_computeConfig;
654
655 StorageConfigResponse m_storageConfig;
656
657 bool m_deletionProtection{false};
658
659 ControlPlaneScalingConfig m_controlPlaneScalingConfig;
660 bool m_nameHasBeenSet = false;
661 bool m_arnHasBeenSet = false;
662 bool m_createdAtHasBeenSet = false;
663 bool m_versionHasBeenSet = false;
664 bool m_endpointHasBeenSet = false;
665 bool m_roleArnHasBeenSet = false;
666 bool m_resourcesVpcConfigHasBeenSet = false;
667 bool m_kubernetesNetworkConfigHasBeenSet = false;
668 bool m_loggingHasBeenSet = false;
669 bool m_identityHasBeenSet = false;
670 bool m_statusHasBeenSet = false;
671 bool m_certificateAuthorityHasBeenSet = false;
672 bool m_clientRequestTokenHasBeenSet = false;
673 bool m_platformVersionHasBeenSet = false;
674 bool m_tagsHasBeenSet = false;
675 bool m_encryptionConfigHasBeenSet = false;
676 bool m_connectorConfigHasBeenSet = false;
677 bool m_idHasBeenSet = false;
678 bool m_healthHasBeenSet = false;
679 bool m_outpostConfigHasBeenSet = false;
680 bool m_accessConfigHasBeenSet = false;
681 bool m_upgradePolicyHasBeenSet = false;
682 bool m_zonalShiftConfigHasBeenSet = false;
683 bool m_remoteNetworkConfigHasBeenSet = false;
684 bool m_computeConfigHasBeenSet = false;
685 bool m_storageConfigHasBeenSet = false;
686 bool m_deletionProtectionHasBeenSet = false;
687 bool m_controlPlaneScalingConfigHasBeenSet = false;
688};
689
690} // namespace Model
691} // namespace EKS
692} // namespace Aws
const Aws::String & GetEndpoint() const
Definition Cluster.h:130
void SetName(NameT &&value)
Definition Cluster.h:61
void SetEncryptionConfig(EncryptionConfigT &&value)
Definition Cluster.h:353
bool KubernetesNetworkConfigHasBeenSet() const
Definition Cluster.h:193
bool ConnectorConfigHasBeenSet() const
Definition Cluster.h:375
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
Cluster & WithLogging(LoggingT &&value)
Definition Cluster.h:218
Cluster & WithStorageConfig(StorageConfigT &&value)
Definition Cluster.h:560
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Cluster.h:326
void SetCertificateAuthority(CertificateAuthorityT &&value)
Definition Cluster.h:265
Cluster & WithIdentity(IdentityT &&value)
Definition Cluster.h:236
Cluster & WithRemoteNetworkConfig(RemoteNetworkConfigT &&value)
Definition Cluster.h:516
void SetComputeConfig(ComputeConfigT &&value)
Definition Cluster.h:533
void SetClientRequestToken(ClientRequestTokenT &&value)
Definition Cluster.h:284
bool GetDeletionProtection() const
Definition Cluster.h:574
const Logging & GetLogging() const
Definition Cluster.h:210
Cluster & WithEndpoint(EndpointT &&value)
Definition Cluster.h:138
Cluster & WithOutpostConfig(OutpostConfigT &&value)
Definition Cluster.h:440
void SetHealth(HealthT &&value)
Definition Cluster.h:415
Cluster & WithZonalShiftConfig(ZonalShiftConfigT &&value)
Definition Cluster.h:497
Cluster & WithCertificateAuthority(CertificateAuthorityT &&value)
Definition Cluster.h:270
bool AccessConfigHasBeenSet() const
Definition Cluster.h:451
const UpgradePolicyResponse & GetUpgradePolicy() const
Definition Cluster.h:471
bool RoleArnHasBeenSet() const
Definition Cluster.h:151
Cluster & AddEncryptionConfig(EncryptionConfigT &&value)
Definition Cluster.h:363
void SetLogging(LoggingT &&value)
Definition Cluster.h:213
bool StorageConfigHasBeenSet() const
Definition Cluster.h:553
const VpcConfigResponse & GetResourcesVpcConfig() const
Definition Cluster.h:174
const ConnectorConfigResponse & GetConnectorConfig() const
Definition Cluster.h:374
bool DeletionProtectionHasBeenSet() const
Definition Cluster.h:575
Cluster & WithId(IdT &&value)
Definition Cluster.h:402
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Cluster.h:94
bool ControlPlaneScalingConfigHasBeenSet() const
Definition Cluster.h:592
bool IdHasBeenSet() const
Definition Cluster.h:395
const OutpostConfigResponse & GetOutpostConfig() const
Definition Cluster.h:432
bool UpgradePolicyHasBeenSet() const
Definition Cluster.h:472
const Aws::String & GetName() const
Definition Cluster.h:58
const Identity & GetIdentity() const
Definition Cluster.h:228
ClusterStatus GetStatus() const
Definition Cluster.h:246
bool ArnHasBeenSet() const
Definition Cluster.h:77
bool RemoteNetworkConfigHasBeenSet() const
Definition Cluster.h:509
const Aws::String & GetId() const
Definition Cluster.h:394
bool CreatedAtHasBeenSet() const
Definition Cluster.h:95
Cluster & WithDeletionProtection(bool value)
Definition Cluster.h:580
Cluster & WithPlatformVersion(PlatformVersionT &&value)
Definition Cluster.h:314
void SetStatus(ClusterStatus value)
Definition Cluster.h:248
Cluster & WithArn(ArnT &&value)
Definition Cluster.h:84
Cluster & WithVersion(VersionT &&value)
Definition Cluster.h:120
Cluster & WithClientRequestToken(ClientRequestTokenT &&value)
Definition Cluster.h:289
void SetArn(ArnT &&value)
Definition Cluster.h:79
void SetUpgradePolicy(UpgradePolicyT &&value)
Definition Cluster.h:474
Cluster & WithControlPlaneScalingConfig(ControlPlaneScalingConfigT &&value)
Definition Cluster.h:599
void SetIdentity(IdentityT &&value)
Definition Cluster.h:231
void SetConnectorConfig(ConnectorConfigT &&value)
Definition Cluster.h:377
Cluster & WithComputeConfig(ComputeConfigT &&value)
Definition Cluster.h:538
Cluster & WithTags(TagsT &&value)
Definition Cluster.h:334
void SetEndpoint(EndpointT &&value)
Definition Cluster.h:133
Cluster & WithCreatedAt(CreatedAtT &&value)
Definition Cluster.h:102
bool IdentityHasBeenSet() const
Definition Cluster.h:229
void SetResourcesVpcConfig(ResourcesVpcConfigT &&value)
Definition Cluster.h:177
void SetTags(TagsT &&value)
Definition Cluster.h:329
const ClusterHealth & GetHealth() const
Definition Cluster.h:412
void SetAccessConfig(AccessConfigT &&value)
Definition Cluster.h:453
bool HealthHasBeenSet() const
Definition Cluster.h:413
const Aws::String & GetRoleArn() const
Definition Cluster.h:150
bool ClientRequestTokenHasBeenSet() const
Definition Cluster.h:282
Cluster & WithConnectorConfig(ConnectorConfigT &&value)
Definition Cluster.h:382
bool LoggingHasBeenSet() const
Definition Cluster.h:211
bool StatusHasBeenSet() const
Definition Cluster.h:247
void SetVersion(VersionT &&value)
Definition Cluster.h:115
const Aws::String & GetClientRequestToken() const
Definition Cluster.h:281
const Aws::String & GetPlatformVersion() const
Definition Cluster.h:306
bool CertificateAuthorityHasBeenSet() const
Definition Cluster.h:263
Cluster & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Cluster.h:339
Cluster & WithKubernetesNetworkConfig(KubernetesNetworkConfigT &&value)
Definition Cluster.h:200
bool TagsHasBeenSet() const
Definition Cluster.h:327
const ZonalShiftConfigResponse & GetZonalShiftConfig() const
Definition Cluster.h:489
Cluster & WithEncryptionConfig(EncryptionConfigT &&value)
Definition Cluster.h:358
bool ResourcesVpcConfigHasBeenSet() const
Definition Cluster.h:175
void SetId(IdT &&value)
Definition Cluster.h:397
const Aws::Vector< EncryptionConfig > & GetEncryptionConfig() const
Definition Cluster.h:350
const Certificate & GetCertificateAuthority() const
Definition Cluster.h:262
const KubernetesNetworkConfigResponse & GetKubernetesNetworkConfig() const
Definition Cluster.h:192
Cluster & WithRoleArn(RoleArnT &&value)
Definition Cluster.h:158
Cluster & WithHealth(HealthT &&value)
Definition Cluster.h:420
const AccessConfigResponse & GetAccessConfig() const
Definition Cluster.h:450
const RemoteNetworkConfigResponse & GetRemoteNetworkConfig() const
Definition Cluster.h:508
bool OutpostConfigHasBeenSet() const
Definition Cluster.h:433
Cluster & WithAccessConfig(AccessConfigT &&value)
Definition Cluster.h:458
void SetControlPlaneScalingConfig(ControlPlaneScalingConfigT &&value)
Definition Cluster.h:594
void SetCreatedAt(CreatedAtT &&value)
Definition Cluster.h:97
void SetZonalShiftConfig(ZonalShiftConfigT &&value)
Definition Cluster.h:492
bool PlatformVersionHasBeenSet() const
Definition Cluster.h:307
void SetRoleArn(RoleArnT &&value)
Definition Cluster.h:153
const StorageConfigResponse & GetStorageConfig() const
Definition Cluster.h:552
void SetPlatformVersion(PlatformVersionT &&value)
Definition Cluster.h:309
Cluster & WithName(NameT &&value)
Definition Cluster.h:66
AWS_EKS_API Cluster()=default
void SetDeletionProtection(bool value)
Definition Cluster.h:576
bool EncryptionConfigHasBeenSet() const
Definition Cluster.h:351
const ComputeConfigResponse & GetComputeConfig() const
Definition Cluster.h:530
const Aws::String & GetArn() const
Definition Cluster.h:76
Cluster & WithResourcesVpcConfig(ResourcesVpcConfigT &&value)
Definition Cluster.h:182
void SetRemoteNetworkConfig(RemoteNetworkConfigT &&value)
Definition Cluster.h:511
AWS_EKS_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ComputeConfigHasBeenSet() const
Definition Cluster.h:531
const Aws::String & GetVersion() const
Definition Cluster.h:112
void SetKubernetesNetworkConfig(KubernetesNetworkConfigT &&value)
Definition Cluster.h:195
Cluster & WithStatus(ClusterStatus value)
Definition Cluster.h:252
Cluster & WithUpgradePolicy(UpgradePolicyT &&value)
Definition Cluster.h:479
AWS_EKS_API Cluster(Aws::Utils::Json::JsonView jsonValue)
void SetStorageConfig(StorageConfigT &&value)
Definition Cluster.h:555
const ControlPlaneScalingConfig & GetControlPlaneScalingConfig() const
Definition Cluster.h:591
bool ZonalShiftConfigHasBeenSet() const
Definition Cluster.h:490
bool VersionHasBeenSet() const
Definition Cluster.h:113
bool EndpointHasBeenSet() const
Definition Cluster.h:131
bool NameHasBeenSet() const
Definition Cluster.h:59
void SetOutpostConfig(OutpostConfigT &&value)
Definition Cluster.h:435
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