AWS SDK for C++

AWS SDK for C++ Version 1.11.872

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/KubeApiServerConfigResponse.h>
22#include <aws/eks/model/KubeControllerManagerConfigResponse.h>
23#include <aws/eks/model/KubeSchedulerConfigResponse.h>
24#include <aws/eks/model/KubernetesNetworkConfigResponse.h>
25#include <aws/eks/model/Logging.h>
26#include <aws/eks/model/OutpostConfigResponse.h>
27#include <aws/eks/model/RemoteNetworkConfigResponse.h>
28#include <aws/eks/model/StorageConfigResponse.h>
29#include <aws/eks/model/UpgradePolicyResponse.h>
30#include <aws/eks/model/VpcConfigResponse.h>
31#include <aws/eks/model/ZonalShiftConfigResponse.h>
32
33#include <utility>
34
35namespace Aws {
36namespace Utils {
37namespace Json {
38class JsonValue;
39class JsonView;
40} // namespace Json
41} // namespace Utils
42namespace EKS {
43namespace Model {
44
50class Cluster {
51 public:
52 AWS_EKS_API Cluster() = default;
53 AWS_EKS_API Cluster(Aws::Utils::Json::JsonView jsonValue);
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template <typename NameT = Aws::String>
64 void SetName(NameT&& value) {
65 m_nameHasBeenSet = true;
66 m_name = std::forward<NameT>(value);
67 }
68 template <typename NameT = Aws::String>
69 Cluster& WithName(NameT&& value) {
70 SetName(std::forward<NameT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetArn() const { return m_arn; }
80 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
81 template <typename ArnT = Aws::String>
82 void SetArn(ArnT&& value) {
83 m_arnHasBeenSet = true;
84 m_arn = std::forward<ArnT>(value);
85 }
86 template <typename ArnT = Aws::String>
87 Cluster& WithArn(ArnT&& value) {
88 SetArn(std::forward<ArnT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
98 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
99 template <typename CreatedAtT = Aws::Utils::DateTime>
100 void SetCreatedAt(CreatedAtT&& value) {
101 m_createdAtHasBeenSet = true;
102 m_createdAt = std::forward<CreatedAtT>(value);
103 }
104 template <typename CreatedAtT = Aws::Utils::DateTime>
105 Cluster& WithCreatedAt(CreatedAtT&& value) {
106 SetCreatedAt(std::forward<CreatedAtT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetVersion() const { return m_version; }
116 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
117 template <typename VersionT = Aws::String>
118 void SetVersion(VersionT&& value) {
119 m_versionHasBeenSet = true;
120 m_version = std::forward<VersionT>(value);
121 }
122 template <typename VersionT = Aws::String>
123 Cluster& WithVersion(VersionT&& value) {
124 SetVersion(std::forward<VersionT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
134 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
135 template <typename EndpointT = Aws::String>
136 void SetEndpoint(EndpointT&& value) {
137 m_endpointHasBeenSet = true;
138 m_endpoint = std::forward<EndpointT>(value);
139 }
140 template <typename EndpointT = Aws::String>
141 Cluster& WithEndpoint(EndpointT&& value) {
142 SetEndpoint(std::forward<EndpointT>(value));
143 return *this;
144 }
146
148
153 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
154 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
155 template <typename RoleArnT = Aws::String>
156 void SetRoleArn(RoleArnT&& value) {
157 m_roleArnHasBeenSet = true;
158 m_roleArn = std::forward<RoleArnT>(value);
159 }
160 template <typename RoleArnT = Aws::String>
161 Cluster& WithRoleArn(RoleArnT&& value) {
162 SetRoleArn(std::forward<RoleArnT>(value));
163 return *this;
164 }
166
168
177 inline const VpcConfigResponse& GetResourcesVpcConfig() const { return m_resourcesVpcConfig; }
178 inline bool ResourcesVpcConfigHasBeenSet() const { return m_resourcesVpcConfigHasBeenSet; }
179 template <typename ResourcesVpcConfigT = VpcConfigResponse>
180 void SetResourcesVpcConfig(ResourcesVpcConfigT&& value) {
181 m_resourcesVpcConfigHasBeenSet = true;
182 m_resourcesVpcConfig = std::forward<ResourcesVpcConfigT>(value);
183 }
184 template <typename ResourcesVpcConfigT = VpcConfigResponse>
185 Cluster& WithResourcesVpcConfig(ResourcesVpcConfigT&& value) {
186 SetResourcesVpcConfig(std::forward<ResourcesVpcConfigT>(value));
187 return *this;
188 }
190
192
195 inline const KubernetesNetworkConfigResponse& GetKubernetesNetworkConfig() const { return m_kubernetesNetworkConfig; }
196 inline bool KubernetesNetworkConfigHasBeenSet() const { return m_kubernetesNetworkConfigHasBeenSet; }
197 template <typename KubernetesNetworkConfigT = KubernetesNetworkConfigResponse>
198 void SetKubernetesNetworkConfig(KubernetesNetworkConfigT&& value) {
199 m_kubernetesNetworkConfigHasBeenSet = true;
200 m_kubernetesNetworkConfig = std::forward<KubernetesNetworkConfigT>(value);
201 }
202 template <typename KubernetesNetworkConfigT = KubernetesNetworkConfigResponse>
203 Cluster& WithKubernetesNetworkConfig(KubernetesNetworkConfigT&& value) {
204 SetKubernetesNetworkConfig(std::forward<KubernetesNetworkConfigT>(value));
205 return *this;
206 }
208
210
213 inline const Logging& GetLogging() const { return m_logging; }
214 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
215 template <typename LoggingT = Logging>
216 void SetLogging(LoggingT&& value) {
217 m_loggingHasBeenSet = true;
218 m_logging = std::forward<LoggingT>(value);
219 }
220 template <typename LoggingT = Logging>
221 Cluster& WithLogging(LoggingT&& value) {
222 SetLogging(std::forward<LoggingT>(value));
223 return *this;
224 }
226
228
231 inline const Identity& GetIdentity() const { return m_identity; }
232 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
233 template <typename IdentityT = Identity>
234 void SetIdentity(IdentityT&& value) {
235 m_identityHasBeenSet = true;
236 m_identity = std::forward<IdentityT>(value);
237 }
238 template <typename IdentityT = Identity>
239 Cluster& WithIdentity(IdentityT&& value) {
240 SetIdentity(std::forward<IdentityT>(value));
241 return *this;
242 }
244
246
249 inline ClusterStatus GetStatus() const { return m_status; }
250 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
251 inline void SetStatus(ClusterStatus value) {
252 m_statusHasBeenSet = true;
253 m_status = value;
254 }
256 SetStatus(value);
257 return *this;
258 }
260
262
265 inline const Certificate& GetCertificateAuthority() const { return m_certificateAuthority; }
266 inline bool CertificateAuthorityHasBeenSet() const { return m_certificateAuthorityHasBeenSet; }
267 template <typename CertificateAuthorityT = Certificate>
268 void SetCertificateAuthority(CertificateAuthorityT&& value) {
269 m_certificateAuthorityHasBeenSet = true;
270 m_certificateAuthority = std::forward<CertificateAuthorityT>(value);
271 }
272 template <typename CertificateAuthorityT = Certificate>
273 Cluster& WithCertificateAuthority(CertificateAuthorityT&& value) {
274 SetCertificateAuthority(std::forward<CertificateAuthorityT>(value));
275 return *this;
276 }
278
280
284 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
285 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
286 template <typename ClientRequestTokenT = Aws::String>
287 void SetClientRequestToken(ClientRequestTokenT&& value) {
288 m_clientRequestTokenHasBeenSet = true;
289 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
290 }
291 template <typename ClientRequestTokenT = Aws::String>
292 Cluster& WithClientRequestToken(ClientRequestTokenT&& value) {
293 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
294 return *this;
295 }
297
299
309 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
310 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
311 template <typename PlatformVersionT = Aws::String>
312 void SetPlatformVersion(PlatformVersionT&& value) {
313 m_platformVersionHasBeenSet = true;
314 m_platformVersion = std::forward<PlatformVersionT>(value);
315 }
316 template <typename PlatformVersionT = Aws::String>
317 Cluster& WithPlatformVersion(PlatformVersionT&& value) {
318 SetPlatformVersion(std::forward<PlatformVersionT>(value));
319 return *this;
320 }
322
324
329 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
330 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
331 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
332 void SetTags(TagsT&& value) {
333 m_tagsHasBeenSet = true;
334 m_tags = std::forward<TagsT>(value);
335 }
336 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
337 Cluster& WithTags(TagsT&& value) {
338 SetTags(std::forward<TagsT>(value));
339 return *this;
340 }
341 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
342 Cluster& AddTags(TagsKeyT&& key, TagsValueT&& value) {
343 m_tagsHasBeenSet = true;
344 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
345 return *this;
346 }
348
350
353 inline const Aws::Vector<EncryptionConfig>& GetEncryptionConfig() const { return m_encryptionConfig; }
354 inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; }
355 template <typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
356 void SetEncryptionConfig(EncryptionConfigT&& value) {
357 m_encryptionConfigHasBeenSet = true;
358 m_encryptionConfig = std::forward<EncryptionConfigT>(value);
359 }
360 template <typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
361 Cluster& WithEncryptionConfig(EncryptionConfigT&& value) {
362 SetEncryptionConfig(std::forward<EncryptionConfigT>(value));
363 return *this;
364 }
365 template <typename EncryptionConfigT = EncryptionConfig>
366 Cluster& AddEncryptionConfig(EncryptionConfigT&& value) {
367 m_encryptionConfigHasBeenSet = true;
368 m_encryptionConfig.emplace_back(std::forward<EncryptionConfigT>(value));
369 return *this;
370 }
372
374
377 inline const ConnectorConfigResponse& GetConnectorConfig() const { return m_connectorConfig; }
378 inline bool ConnectorConfigHasBeenSet() const { return m_connectorConfigHasBeenSet; }
379 template <typename ConnectorConfigT = ConnectorConfigResponse>
380 void SetConnectorConfig(ConnectorConfigT&& value) {
381 m_connectorConfigHasBeenSet = true;
382 m_connectorConfig = std::forward<ConnectorConfigT>(value);
383 }
384 template <typename ConnectorConfigT = ConnectorConfigResponse>
385 Cluster& WithConnectorConfig(ConnectorConfigT&& value) {
386 SetConnectorConfig(std::forward<ConnectorConfigT>(value));
387 return *this;
388 }
390
392
397 inline const Aws::String& GetId() const { return m_id; }
398 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
399 template <typename IdT = Aws::String>
400 void SetId(IdT&& value) {
401 m_idHasBeenSet = true;
402 m_id = std::forward<IdT>(value);
403 }
404 template <typename IdT = Aws::String>
405 Cluster& WithId(IdT&& value) {
406 SetId(std::forward<IdT>(value));
407 return *this;
408 }
410
412
415 inline const ClusterHealth& GetHealth() const { return m_health; }
416 inline bool HealthHasBeenSet() const { return m_healthHasBeenSet; }
417 template <typename HealthT = ClusterHealth>
418 void SetHealth(HealthT&& value) {
419 m_healthHasBeenSet = true;
420 m_health = std::forward<HealthT>(value);
421 }
422 template <typename HealthT = ClusterHealth>
423 Cluster& WithHealth(HealthT&& value) {
424 SetHealth(std::forward<HealthT>(value));
425 return *this;
426 }
428
430
435 inline const OutpostConfigResponse& GetOutpostConfig() const { return m_outpostConfig; }
436 inline bool OutpostConfigHasBeenSet() const { return m_outpostConfigHasBeenSet; }
437 template <typename OutpostConfigT = OutpostConfigResponse>
438 void SetOutpostConfig(OutpostConfigT&& value) {
439 m_outpostConfigHasBeenSet = true;
440 m_outpostConfig = std::forward<OutpostConfigT>(value);
441 }
442 template <typename OutpostConfigT = OutpostConfigResponse>
443 Cluster& WithOutpostConfig(OutpostConfigT&& value) {
444 SetOutpostConfig(std::forward<OutpostConfigT>(value));
445 return *this;
446 }
448
450
453 inline const AccessConfigResponse& GetAccessConfig() const { return m_accessConfig; }
454 inline bool AccessConfigHasBeenSet() const { return m_accessConfigHasBeenSet; }
455 template <typename AccessConfigT = AccessConfigResponse>
456 void SetAccessConfig(AccessConfigT&& value) {
457 m_accessConfigHasBeenSet = true;
458 m_accessConfig = std::forward<AccessConfigT>(value);
459 }
460 template <typename AccessConfigT = AccessConfigResponse>
461 Cluster& WithAccessConfig(AccessConfigT&& value) {
462 SetAccessConfig(std::forward<AccessConfigT>(value));
463 return *this;
464 }
466
468
474 inline const UpgradePolicyResponse& GetUpgradePolicy() const { return m_upgradePolicy; }
475 inline bool UpgradePolicyHasBeenSet() const { return m_upgradePolicyHasBeenSet; }
476 template <typename UpgradePolicyT = UpgradePolicyResponse>
477 void SetUpgradePolicy(UpgradePolicyT&& value) {
478 m_upgradePolicyHasBeenSet = true;
479 m_upgradePolicy = std::forward<UpgradePolicyT>(value);
480 }
481 template <typename UpgradePolicyT = UpgradePolicyResponse>
482 Cluster& WithUpgradePolicy(UpgradePolicyT&& value) {
483 SetUpgradePolicy(std::forward<UpgradePolicyT>(value));
484 return *this;
485 }
487
489
492 inline const ZonalShiftConfigResponse& GetZonalShiftConfig() const { return m_zonalShiftConfig; }
493 inline bool ZonalShiftConfigHasBeenSet() const { return m_zonalShiftConfigHasBeenSet; }
494 template <typename ZonalShiftConfigT = ZonalShiftConfigResponse>
495 void SetZonalShiftConfig(ZonalShiftConfigT&& value) {
496 m_zonalShiftConfigHasBeenSet = true;
497 m_zonalShiftConfig = std::forward<ZonalShiftConfigT>(value);
498 }
499 template <typename ZonalShiftConfigT = ZonalShiftConfigResponse>
500 Cluster& WithZonalShiftConfig(ZonalShiftConfigT&& value) {
501 SetZonalShiftConfig(std::forward<ZonalShiftConfigT>(value));
502 return *this;
503 }
505
507
511 inline const RemoteNetworkConfigResponse& GetRemoteNetworkConfig() const { return m_remoteNetworkConfig; }
512 inline bool RemoteNetworkConfigHasBeenSet() const { return m_remoteNetworkConfigHasBeenSet; }
513 template <typename RemoteNetworkConfigT = RemoteNetworkConfigResponse>
514 void SetRemoteNetworkConfig(RemoteNetworkConfigT&& value) {
515 m_remoteNetworkConfigHasBeenSet = true;
516 m_remoteNetworkConfig = std::forward<RemoteNetworkConfigT>(value);
517 }
518 template <typename RemoteNetworkConfigT = RemoteNetworkConfigResponse>
519 Cluster& WithRemoteNetworkConfig(RemoteNetworkConfigT&& value) {
520 SetRemoteNetworkConfig(std::forward<RemoteNetworkConfigT>(value));
521 return *this;
522 }
524
526
533 inline const ComputeConfigResponse& GetComputeConfig() const { return m_computeConfig; }
534 inline bool ComputeConfigHasBeenSet() const { return m_computeConfigHasBeenSet; }
535 template <typename ComputeConfigT = ComputeConfigResponse>
536 void SetComputeConfig(ComputeConfigT&& value) {
537 m_computeConfigHasBeenSet = true;
538 m_computeConfig = std::forward<ComputeConfigT>(value);
539 }
540 template <typename ComputeConfigT = ComputeConfigResponse>
541 Cluster& WithComputeConfig(ComputeConfigT&& value) {
542 SetComputeConfig(std::forward<ComputeConfigT>(value));
543 return *this;
544 }
546
548
555 inline const StorageConfigResponse& GetStorageConfig() const { return m_storageConfig; }
556 inline bool StorageConfigHasBeenSet() const { return m_storageConfigHasBeenSet; }
557 template <typename StorageConfigT = StorageConfigResponse>
558 void SetStorageConfig(StorageConfigT&& value) {
559 m_storageConfigHasBeenSet = true;
560 m_storageConfig = std::forward<StorageConfigT>(value);
561 }
562 template <typename StorageConfigT = StorageConfigResponse>
563 Cluster& WithStorageConfig(StorageConfigT&& value) {
564 SetStorageConfig(std::forward<StorageConfigT>(value));
565 return *this;
566 }
568
570
577 inline bool GetDeletionProtection() const { return m_deletionProtection; }
578 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
579 inline void SetDeletionProtection(bool value) {
580 m_deletionProtectionHasBeenSet = true;
581 m_deletionProtection = value;
582 }
583 inline Cluster& WithDeletionProtection(bool value) {
585 return *this;
586 }
588
590
594 inline const ControlPlaneScalingConfig& GetControlPlaneScalingConfig() const { return m_controlPlaneScalingConfig; }
595 inline bool ControlPlaneScalingConfigHasBeenSet() const { return m_controlPlaneScalingConfigHasBeenSet; }
596 template <typename ControlPlaneScalingConfigT = ControlPlaneScalingConfig>
597 void SetControlPlaneScalingConfig(ControlPlaneScalingConfigT&& value) {
598 m_controlPlaneScalingConfigHasBeenSet = true;
599 m_controlPlaneScalingConfig = std::forward<ControlPlaneScalingConfigT>(value);
600 }
601 template <typename ControlPlaneScalingConfigT = ControlPlaneScalingConfig>
602 Cluster& WithControlPlaneScalingConfig(ControlPlaneScalingConfigT&& value) {
603 SetControlPlaneScalingConfig(std::forward<ControlPlaneScalingConfigT>(value));
604 return *this;
605 }
607
609
612 inline const KubeApiServerConfigResponse& GetKubeApiServerConfig() const { return m_kubeApiServerConfig; }
613 inline bool KubeApiServerConfigHasBeenSet() const { return m_kubeApiServerConfigHasBeenSet; }
614 template <typename KubeApiServerConfigT = KubeApiServerConfigResponse>
615 void SetKubeApiServerConfig(KubeApiServerConfigT&& value) {
616 m_kubeApiServerConfigHasBeenSet = true;
617 m_kubeApiServerConfig = std::forward<KubeApiServerConfigT>(value);
618 }
619 template <typename KubeApiServerConfigT = KubeApiServerConfigResponse>
620 Cluster& WithKubeApiServerConfig(KubeApiServerConfigT&& value) {
621 SetKubeApiServerConfig(std::forward<KubeApiServerConfigT>(value));
622 return *this;
623 }
625
627
630 inline const KubeSchedulerConfigResponse& GetKubeSchedulerConfig() const { return m_kubeSchedulerConfig; }
631 inline bool KubeSchedulerConfigHasBeenSet() const { return m_kubeSchedulerConfigHasBeenSet; }
632 template <typename KubeSchedulerConfigT = KubeSchedulerConfigResponse>
633 void SetKubeSchedulerConfig(KubeSchedulerConfigT&& value) {
634 m_kubeSchedulerConfigHasBeenSet = true;
635 m_kubeSchedulerConfig = std::forward<KubeSchedulerConfigT>(value);
636 }
637 template <typename KubeSchedulerConfigT = KubeSchedulerConfigResponse>
638 Cluster& WithKubeSchedulerConfig(KubeSchedulerConfigT&& value) {
639 SetKubeSchedulerConfig(std::forward<KubeSchedulerConfigT>(value));
640 return *this;
641 }
643
645
648 inline const KubeControllerManagerConfigResponse& GetKubeControllerManagerConfig() const { return m_kubeControllerManagerConfig; }
649 inline bool KubeControllerManagerConfigHasBeenSet() const { return m_kubeControllerManagerConfigHasBeenSet; }
650 template <typename KubeControllerManagerConfigT = KubeControllerManagerConfigResponse>
651 void SetKubeControllerManagerConfig(KubeControllerManagerConfigT&& value) {
652 m_kubeControllerManagerConfigHasBeenSet = true;
653 m_kubeControllerManagerConfig = std::forward<KubeControllerManagerConfigT>(value);
654 }
655 template <typename KubeControllerManagerConfigT = KubeControllerManagerConfigResponse>
656 Cluster& WithKubeControllerManagerConfig(KubeControllerManagerConfigT&& value) {
657 SetKubeControllerManagerConfig(std::forward<KubeControllerManagerConfigT>(value));
658 return *this;
659 }
661 private:
662 Aws::String m_name;
663
664 Aws::String m_arn;
665
666 Aws::Utils::DateTime m_createdAt{};
667
668 Aws::String m_version;
669
670 Aws::String m_endpoint;
671
672 Aws::String m_roleArn;
673
674 VpcConfigResponse m_resourcesVpcConfig;
675
676 KubernetesNetworkConfigResponse m_kubernetesNetworkConfig;
677
678 Logging m_logging;
679
680 Identity m_identity;
681
683
684 Certificate m_certificateAuthority;
685
686 Aws::String m_clientRequestToken;
687
688 Aws::String m_platformVersion;
689
691
692 Aws::Vector<EncryptionConfig> m_encryptionConfig;
693
694 ConnectorConfigResponse m_connectorConfig;
695
696 Aws::String m_id;
697
698 ClusterHealth m_health;
699
700 OutpostConfigResponse m_outpostConfig;
701
702 AccessConfigResponse m_accessConfig;
703
704 UpgradePolicyResponse m_upgradePolicy;
705
706 ZonalShiftConfigResponse m_zonalShiftConfig;
707
708 RemoteNetworkConfigResponse m_remoteNetworkConfig;
709
710 ComputeConfigResponse m_computeConfig;
711
712 StorageConfigResponse m_storageConfig;
713
714 bool m_deletionProtection{false};
715
716 ControlPlaneScalingConfig m_controlPlaneScalingConfig;
717
718 KubeApiServerConfigResponse m_kubeApiServerConfig;
719
720 KubeSchedulerConfigResponse m_kubeSchedulerConfig;
721
722 KubeControllerManagerConfigResponse m_kubeControllerManagerConfig;
723 bool m_nameHasBeenSet = false;
724 bool m_arnHasBeenSet = false;
725 bool m_createdAtHasBeenSet = false;
726 bool m_versionHasBeenSet = false;
727 bool m_endpointHasBeenSet = false;
728 bool m_roleArnHasBeenSet = false;
729 bool m_resourcesVpcConfigHasBeenSet = false;
730 bool m_kubernetesNetworkConfigHasBeenSet = false;
731 bool m_loggingHasBeenSet = false;
732 bool m_identityHasBeenSet = false;
733 bool m_statusHasBeenSet = false;
734 bool m_certificateAuthorityHasBeenSet = false;
735 bool m_clientRequestTokenHasBeenSet = false;
736 bool m_platformVersionHasBeenSet = false;
737 bool m_tagsHasBeenSet = false;
738 bool m_encryptionConfigHasBeenSet = false;
739 bool m_connectorConfigHasBeenSet = false;
740 bool m_idHasBeenSet = false;
741 bool m_healthHasBeenSet = false;
742 bool m_outpostConfigHasBeenSet = false;
743 bool m_accessConfigHasBeenSet = false;
744 bool m_upgradePolicyHasBeenSet = false;
745 bool m_zonalShiftConfigHasBeenSet = false;
746 bool m_remoteNetworkConfigHasBeenSet = false;
747 bool m_computeConfigHasBeenSet = false;
748 bool m_storageConfigHasBeenSet = false;
749 bool m_deletionProtectionHasBeenSet = false;
750 bool m_controlPlaneScalingConfigHasBeenSet = false;
751 bool m_kubeApiServerConfigHasBeenSet = false;
752 bool m_kubeSchedulerConfigHasBeenSet = false;
753 bool m_kubeControllerManagerConfigHasBeenSet = false;
754};
755
756} // namespace Model
757} // namespace EKS
758} // namespace Aws
const Aws::String & GetEndpoint() const
Definition Cluster.h:133
void SetName(NameT &&value)
Definition Cluster.h:64
void SetEncryptionConfig(EncryptionConfigT &&value)
Definition Cluster.h:356
bool KubernetesNetworkConfigHasBeenSet() const
Definition Cluster.h:196
bool ConnectorConfigHasBeenSet() const
Definition Cluster.h:378
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
Cluster & WithLogging(LoggingT &&value)
Definition Cluster.h:221
Cluster & WithStorageConfig(StorageConfigT &&value)
Definition Cluster.h:563
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Cluster.h:329
void SetCertificateAuthority(CertificateAuthorityT &&value)
Definition Cluster.h:268
Cluster & WithIdentity(IdentityT &&value)
Definition Cluster.h:239
Cluster & WithRemoteNetworkConfig(RemoteNetworkConfigT &&value)
Definition Cluster.h:519
const KubeControllerManagerConfigResponse & GetKubeControllerManagerConfig() const
Definition Cluster.h:648
void SetComputeConfig(ComputeConfigT &&value)
Definition Cluster.h:536
void SetClientRequestToken(ClientRequestTokenT &&value)
Definition Cluster.h:287
bool GetDeletionProtection() const
Definition Cluster.h:577
Cluster & WithKubeControllerManagerConfig(KubeControllerManagerConfigT &&value)
Definition Cluster.h:656
const Logging & GetLogging() const
Definition Cluster.h:213
Cluster & WithEndpoint(EndpointT &&value)
Definition Cluster.h:141
Cluster & WithOutpostConfig(OutpostConfigT &&value)
Definition Cluster.h:443
void SetHealth(HealthT &&value)
Definition Cluster.h:418
Cluster & WithZonalShiftConfig(ZonalShiftConfigT &&value)
Definition Cluster.h:500
Cluster & WithCertificateAuthority(CertificateAuthorityT &&value)
Definition Cluster.h:273
bool AccessConfigHasBeenSet() const
Definition Cluster.h:454
const UpgradePolicyResponse & GetUpgradePolicy() const
Definition Cluster.h:474
bool RoleArnHasBeenSet() const
Definition Cluster.h:154
Cluster & AddEncryptionConfig(EncryptionConfigT &&value)
Definition Cluster.h:366
void SetLogging(LoggingT &&value)
Definition Cluster.h:216
bool StorageConfigHasBeenSet() const
Definition Cluster.h:556
const VpcConfigResponse & GetResourcesVpcConfig() const
Definition Cluster.h:177
const ConnectorConfigResponse & GetConnectorConfig() const
Definition Cluster.h:377
bool DeletionProtectionHasBeenSet() const
Definition Cluster.h:578
Cluster & WithId(IdT &&value)
Definition Cluster.h:405
void SetKubeApiServerConfig(KubeApiServerConfigT &&value)
Definition Cluster.h:615
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Cluster.h:97
bool ControlPlaneScalingConfigHasBeenSet() const
Definition Cluster.h:595
const KubeApiServerConfigResponse & GetKubeApiServerConfig() const
Definition Cluster.h:612
bool IdHasBeenSet() const
Definition Cluster.h:398
const OutpostConfigResponse & GetOutpostConfig() const
Definition Cluster.h:435
bool UpgradePolicyHasBeenSet() const
Definition Cluster.h:475
const Aws::String & GetName() const
Definition Cluster.h:61
const Identity & GetIdentity() const
Definition Cluster.h:231
ClusterStatus GetStatus() const
Definition Cluster.h:249
bool ArnHasBeenSet() const
Definition Cluster.h:80
bool RemoteNetworkConfigHasBeenSet() const
Definition Cluster.h:512
const Aws::String & GetId() const
Definition Cluster.h:397
bool CreatedAtHasBeenSet() const
Definition Cluster.h:98
Cluster & WithDeletionProtection(bool value)
Definition Cluster.h:583
Cluster & WithPlatformVersion(PlatformVersionT &&value)
Definition Cluster.h:317
void SetStatus(ClusterStatus value)
Definition Cluster.h:251
Cluster & WithArn(ArnT &&value)
Definition Cluster.h:87
Cluster & WithVersion(VersionT &&value)
Definition Cluster.h:123
Cluster & WithClientRequestToken(ClientRequestTokenT &&value)
Definition Cluster.h:292
void SetArn(ArnT &&value)
Definition Cluster.h:82
void SetUpgradePolicy(UpgradePolicyT &&value)
Definition Cluster.h:477
Cluster & WithControlPlaneScalingConfig(ControlPlaneScalingConfigT &&value)
Definition Cluster.h:602
void SetIdentity(IdentityT &&value)
Definition Cluster.h:234
void SetConnectorConfig(ConnectorConfigT &&value)
Definition Cluster.h:380
Cluster & WithComputeConfig(ComputeConfigT &&value)
Definition Cluster.h:541
Cluster & WithTags(TagsT &&value)
Definition Cluster.h:337
void SetEndpoint(EndpointT &&value)
Definition Cluster.h:136
Cluster & WithCreatedAt(CreatedAtT &&value)
Definition Cluster.h:105
bool IdentityHasBeenSet() const
Definition Cluster.h:232
void SetResourcesVpcConfig(ResourcesVpcConfigT &&value)
Definition Cluster.h:180
void SetTags(TagsT &&value)
Definition Cluster.h:332
const ClusterHealth & GetHealth() const
Definition Cluster.h:415
void SetAccessConfig(AccessConfigT &&value)
Definition Cluster.h:456
bool HealthHasBeenSet() const
Definition Cluster.h:416
const Aws::String & GetRoleArn() const
Definition Cluster.h:153
bool ClientRequestTokenHasBeenSet() const
Definition Cluster.h:285
void SetKubeSchedulerConfig(KubeSchedulerConfigT &&value)
Definition Cluster.h:633
Cluster & WithConnectorConfig(ConnectorConfigT &&value)
Definition Cluster.h:385
bool LoggingHasBeenSet() const
Definition Cluster.h:214
bool StatusHasBeenSet() const
Definition Cluster.h:250
void SetVersion(VersionT &&value)
Definition Cluster.h:118
const KubeSchedulerConfigResponse & GetKubeSchedulerConfig() const
Definition Cluster.h:630
Cluster & WithKubeSchedulerConfig(KubeSchedulerConfigT &&value)
Definition Cluster.h:638
const Aws::String & GetClientRequestToken() const
Definition Cluster.h:284
const Aws::String & GetPlatformVersion() const
Definition Cluster.h:309
bool CertificateAuthorityHasBeenSet() const
Definition Cluster.h:266
Cluster & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Cluster.h:342
Cluster & WithKubernetesNetworkConfig(KubernetesNetworkConfigT &&value)
Definition Cluster.h:203
bool TagsHasBeenSet() const
Definition Cluster.h:330
const ZonalShiftConfigResponse & GetZonalShiftConfig() const
Definition Cluster.h:492
Cluster & WithEncryptionConfig(EncryptionConfigT &&value)
Definition Cluster.h:361
bool ResourcesVpcConfigHasBeenSet() const
Definition Cluster.h:178
void SetId(IdT &&value)
Definition Cluster.h:400
const Aws::Vector< EncryptionConfig > & GetEncryptionConfig() const
Definition Cluster.h:353
void SetKubeControllerManagerConfig(KubeControllerManagerConfigT &&value)
Definition Cluster.h:651
const Certificate & GetCertificateAuthority() const
Definition Cluster.h:265
const KubernetesNetworkConfigResponse & GetKubernetesNetworkConfig() const
Definition Cluster.h:195
Cluster & WithRoleArn(RoleArnT &&value)
Definition Cluster.h:161
Cluster & WithHealth(HealthT &&value)
Definition Cluster.h:423
const AccessConfigResponse & GetAccessConfig() const
Definition Cluster.h:453
const RemoteNetworkConfigResponse & GetRemoteNetworkConfig() const
Definition Cluster.h:511
bool OutpostConfigHasBeenSet() const
Definition Cluster.h:436
Cluster & WithAccessConfig(AccessConfigT &&value)
Definition Cluster.h:461
void SetControlPlaneScalingConfig(ControlPlaneScalingConfigT &&value)
Definition Cluster.h:597
void SetCreatedAt(CreatedAtT &&value)
Definition Cluster.h:100
void SetZonalShiftConfig(ZonalShiftConfigT &&value)
Definition Cluster.h:495
bool PlatformVersionHasBeenSet() const
Definition Cluster.h:310
void SetRoleArn(RoleArnT &&value)
Definition Cluster.h:156
const StorageConfigResponse & GetStorageConfig() const
Definition Cluster.h:555
Cluster & WithKubeApiServerConfig(KubeApiServerConfigT &&value)
Definition Cluster.h:620
void SetPlatformVersion(PlatformVersionT &&value)
Definition Cluster.h:312
Cluster & WithName(NameT &&value)
Definition Cluster.h:69
AWS_EKS_API Cluster()=default
void SetDeletionProtection(bool value)
Definition Cluster.h:579
bool EncryptionConfigHasBeenSet() const
Definition Cluster.h:354
const ComputeConfigResponse & GetComputeConfig() const
Definition Cluster.h:533
const Aws::String & GetArn() const
Definition Cluster.h:79
bool KubeControllerManagerConfigHasBeenSet() const
Definition Cluster.h:649
Cluster & WithResourcesVpcConfig(ResourcesVpcConfigT &&value)
Definition Cluster.h:185
void SetRemoteNetworkConfig(RemoteNetworkConfigT &&value)
Definition Cluster.h:514
AWS_EKS_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ComputeConfigHasBeenSet() const
Definition Cluster.h:534
const Aws::String & GetVersion() const
Definition Cluster.h:115
void SetKubernetesNetworkConfig(KubernetesNetworkConfigT &&value)
Definition Cluster.h:198
Cluster & WithStatus(ClusterStatus value)
Definition Cluster.h:255
Cluster & WithUpgradePolicy(UpgradePolicyT &&value)
Definition Cluster.h:482
AWS_EKS_API Cluster(Aws::Utils::Json::JsonView jsonValue)
bool KubeSchedulerConfigHasBeenSet() const
Definition Cluster.h:631
void SetStorageConfig(StorageConfigT &&value)
Definition Cluster.h:558
const ControlPlaneScalingConfig & GetControlPlaneScalingConfig() const
Definition Cluster.h:594
bool ZonalShiftConfigHasBeenSet() const
Definition Cluster.h:493
bool VersionHasBeenSet() const
Definition Cluster.h:116
bool EndpointHasBeenSet() const
Definition Cluster.h:134
bool KubeApiServerConfigHasBeenSet() const
Definition Cluster.h:613
bool NameHasBeenSet() const
Definition Cluster.h:62
void SetOutpostConfig(OutpostConfigT &&value)
Definition Cluster.h:438
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