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>
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
78 template <
typename ArnT = Aws::String>
80 m_arnHasBeenSet =
true;
81 m_arn = std::forward<ArnT>(value);
83 template <
typename ArnT = Aws::String>
85 SetArn(std::forward<ArnT>(value));
96 template <
typename CreatedAtT = Aws::Utils::DateTime>
98 m_createdAtHasBeenSet =
true;
99 m_createdAt = std::forward<CreatedAtT>(value);
101 template <
typename CreatedAtT = Aws::Utils::DateTime>
114 template <
typename VersionT = Aws::String>
116 m_versionHasBeenSet =
true;
117 m_version = std::forward<VersionT>(value);
119 template <
typename VersionT = Aws::String>
132 template <
typename Endpo
intT = Aws::String>
134 m_endpointHasBeenSet =
true;
135 m_endpoint = std::forward<EndpointT>(value);
137 template <
typename Endpo
intT = Aws::String>
152 template <
typename RoleArnT = Aws::String>
154 m_roleArnHasBeenSet =
true;
155 m_roleArn = std::forward<RoleArnT>(value);
157 template <
typename RoleArnT = Aws::String>
176 template <
typename ResourcesVpcConfigT = VpcConfigResponse>
178 m_resourcesVpcConfigHasBeenSet =
true;
179 m_resourcesVpcConfig = std::forward<ResourcesVpcConfigT>(value);
181 template <
typename ResourcesVpcConfigT = VpcConfigResponse>
194 template <
typename KubernetesNetworkConfigT = KubernetesNetworkConfigResponse>
196 m_kubernetesNetworkConfigHasBeenSet =
true;
197 m_kubernetesNetworkConfig = std::forward<KubernetesNetworkConfigT>(value);
199 template <
typename KubernetesNetworkConfigT = KubernetesNetworkConfigResponse>
212 template <
typename LoggingT = Logging>
214 m_loggingHasBeenSet =
true;
215 m_logging = std::forward<LoggingT>(value);
217 template <
typename LoggingT = Logging>
230 template <
typename IdentityT = Identity>
232 m_identityHasBeenSet =
true;
233 m_identity = std::forward<IdentityT>(value);
235 template <
typename IdentityT = Identity>
249 m_statusHasBeenSet =
true;
264 template <
typename CertificateAuthorityT = Certificate>
266 m_certificateAuthorityHasBeenSet =
true;
267 m_certificateAuthority = std::forward<CertificateAuthorityT>(value);
269 template <
typename CertificateAuthorityT = Certificate>
283 template <
typename ClientRequestTokenT = Aws::String>
285 m_clientRequestTokenHasBeenSet =
true;
286 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
288 template <
typename ClientRequestTokenT = Aws::String>
308 template <
typename PlatformVersionT = Aws::String>
310 m_platformVersionHasBeenSet =
true;
311 m_platformVersion = std::forward<PlatformVersionT>(value);
313 template <
typename PlatformVersionT = Aws::String>
328 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
330 m_tagsHasBeenSet =
true;
331 m_tags = std::forward<TagsT>(value);
333 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
335 SetTags(std::forward<TagsT>(value));
338 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
340 m_tagsHasBeenSet =
true;
341 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
352 template <
typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
354 m_encryptionConfigHasBeenSet =
true;
355 m_encryptionConfig = std::forward<EncryptionConfigT>(value);
357 template <
typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
362 template <
typename EncryptionConfigT = EncryptionConfig>
364 m_encryptionConfigHasBeenSet =
true;
365 m_encryptionConfig.emplace_back(std::forward<EncryptionConfigT>(value));
376 template <
typename ConnectorConfigT = ConnectorConfigResponse>
378 m_connectorConfigHasBeenSet =
true;
379 m_connectorConfig = std::forward<ConnectorConfigT>(value);
381 template <
typename ConnectorConfigT = ConnectorConfigResponse>
396 template <
typename IdT = Aws::String>
398 m_idHasBeenSet =
true;
399 m_id = std::forward<IdT>(value);
401 template <
typename IdT = Aws::String>
403 SetId(std::forward<IdT>(value));
414 template <
typename HealthT = ClusterHealth>
416 m_healthHasBeenSet =
true;
417 m_health = std::forward<HealthT>(value);
419 template <
typename HealthT = ClusterHealth>
434 template <
typename OutpostConfigT = OutpostConfigResponse>
436 m_outpostConfigHasBeenSet =
true;
437 m_outpostConfig = std::forward<OutpostConfigT>(value);
439 template <
typename OutpostConfigT = OutpostConfigResponse>
452 template <
typename AccessConfigT = AccessConfigResponse>
454 m_accessConfigHasBeenSet =
true;
455 m_accessConfig = std::forward<AccessConfigT>(value);
457 template <
typename AccessConfigT = AccessConfigResponse>
473 template <
typename UpgradePolicyT = UpgradePolicyResponse>
475 m_upgradePolicyHasBeenSet =
true;
476 m_upgradePolicy = std::forward<UpgradePolicyT>(value);
478 template <
typename UpgradePolicyT = UpgradePolicyResponse>
491 template <
typename ZonalShiftConfigT = ZonalShiftConfigResponse>
493 m_zonalShiftConfigHasBeenSet =
true;
494 m_zonalShiftConfig = std::forward<ZonalShiftConfigT>(value);
496 template <
typename ZonalShiftConfigT = ZonalShiftConfigResponse>
510 template <
typename RemoteNetworkConfigT = RemoteNetworkConfigResponse>
512 m_remoteNetworkConfigHasBeenSet =
true;
513 m_remoteNetworkConfig = std::forward<RemoteNetworkConfigT>(value);
515 template <
typename RemoteNetworkConfigT = RemoteNetworkConfigResponse>
532 template <
typename ComputeConfigT = ComputeConfigResponse>
534 m_computeConfigHasBeenSet =
true;
535 m_computeConfig = std::forward<ComputeConfigT>(value);
537 template <
typename ComputeConfigT = ComputeConfigResponse>
554 template <
typename StorageConfigT = StorageConfigResponse>
556 m_storageConfigHasBeenSet =
true;
557 m_storageConfig = std::forward<StorageConfigT>(value);
559 template <
typename StorageConfigT = StorageConfigResponse>
577 m_deletionProtectionHasBeenSet =
true;
578 m_deletionProtection = value;
593 template <
typename ControlPlaneScalingConfigT = ControlPlaneScalingConfig>
595 m_controlPlaneScalingConfigHasBeenSet =
true;
596 m_controlPlaneScalingConfig = std::forward<ControlPlaneScalingConfigT>(value);
598 template <
typename ControlPlaneScalingConfigT = ControlPlaneScalingConfig>
617 VpcConfigResponse m_resourcesVpcConfig;
619 KubernetesNetworkConfigResponse m_kubernetesNetworkConfig;
627 Certificate m_certificateAuthority;
637 ConnectorConfigResponse m_connectorConfig;
641 ClusterHealth m_health;
643 OutpostConfigResponse m_outpostConfig;
645 AccessConfigResponse m_accessConfig;
647 UpgradePolicyResponse m_upgradePolicy;
649 ZonalShiftConfigResponse m_zonalShiftConfig;
651 RemoteNetworkConfigResponse m_remoteNetworkConfig;
653 ComputeConfigResponse m_computeConfig;
655 StorageConfigResponse m_storageConfig;
657 bool m_deletionProtection{
false};
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;
const Aws::String & GetEndpoint() const
void SetName(NameT &&value)
void SetEncryptionConfig(EncryptionConfigT &&value)
bool KubernetesNetworkConfigHasBeenSet() const
bool ConnectorConfigHasBeenSet() const
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
Cluster & WithLogging(LoggingT &&value)
Cluster & WithStorageConfig(StorageConfigT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetCertificateAuthority(CertificateAuthorityT &&value)
Cluster & WithIdentity(IdentityT &&value)
Cluster & WithRemoteNetworkConfig(RemoteNetworkConfigT &&value)
void SetComputeConfig(ComputeConfigT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
bool GetDeletionProtection() const
const Logging & GetLogging() const
Cluster & WithEndpoint(EndpointT &&value)
Cluster & WithOutpostConfig(OutpostConfigT &&value)
void SetHealth(HealthT &&value)
Cluster & WithZonalShiftConfig(ZonalShiftConfigT &&value)
Cluster & WithCertificateAuthority(CertificateAuthorityT &&value)
bool AccessConfigHasBeenSet() const
const UpgradePolicyResponse & GetUpgradePolicy() const
bool RoleArnHasBeenSet() const
Cluster & AddEncryptionConfig(EncryptionConfigT &&value)
void SetLogging(LoggingT &&value)
bool StorageConfigHasBeenSet() const
const VpcConfigResponse & GetResourcesVpcConfig() const
const ConnectorConfigResponse & GetConnectorConfig() const
bool DeletionProtectionHasBeenSet() const
Cluster & WithId(IdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool ControlPlaneScalingConfigHasBeenSet() const
bool IdHasBeenSet() const
const OutpostConfigResponse & GetOutpostConfig() const
bool UpgradePolicyHasBeenSet() const
const Aws::String & GetName() const
const Identity & GetIdentity() const
ClusterStatus GetStatus() const
bool ArnHasBeenSet() const
bool RemoteNetworkConfigHasBeenSet() const
const Aws::String & GetId() const
bool CreatedAtHasBeenSet() const
Cluster & WithDeletionProtection(bool value)
Cluster & WithPlatformVersion(PlatformVersionT &&value)
void SetStatus(ClusterStatus value)
Cluster & WithArn(ArnT &&value)
Cluster & WithVersion(VersionT &&value)
Cluster & WithClientRequestToken(ClientRequestTokenT &&value)
void SetArn(ArnT &&value)
void SetUpgradePolicy(UpgradePolicyT &&value)
Cluster & WithControlPlaneScalingConfig(ControlPlaneScalingConfigT &&value)
void SetIdentity(IdentityT &&value)
void SetConnectorConfig(ConnectorConfigT &&value)
Cluster & WithComputeConfig(ComputeConfigT &&value)
Cluster & WithTags(TagsT &&value)
void SetEndpoint(EndpointT &&value)
Cluster & WithCreatedAt(CreatedAtT &&value)
bool IdentityHasBeenSet() const
void SetResourcesVpcConfig(ResourcesVpcConfigT &&value)
void SetTags(TagsT &&value)
const ClusterHealth & GetHealth() const
void SetAccessConfig(AccessConfigT &&value)
bool HealthHasBeenSet() const
const Aws::String & GetRoleArn() const
bool ClientRequestTokenHasBeenSet() const
Cluster & WithConnectorConfig(ConnectorConfigT &&value)
bool LoggingHasBeenSet() const
bool StatusHasBeenSet() const
void SetVersion(VersionT &&value)
const Aws::String & GetClientRequestToken() const
const Aws::String & GetPlatformVersion() const
bool CertificateAuthorityHasBeenSet() const
Cluster & AddTags(TagsKeyT &&key, TagsValueT &&value)
Cluster & WithKubernetesNetworkConfig(KubernetesNetworkConfigT &&value)
bool TagsHasBeenSet() const
const ZonalShiftConfigResponse & GetZonalShiftConfig() const
Cluster & WithEncryptionConfig(EncryptionConfigT &&value)
bool ResourcesVpcConfigHasBeenSet() const
const Aws::Vector< EncryptionConfig > & GetEncryptionConfig() const
const Certificate & GetCertificateAuthority() const
const KubernetesNetworkConfigResponse & GetKubernetesNetworkConfig() const
Cluster & WithRoleArn(RoleArnT &&value)
Cluster & WithHealth(HealthT &&value)
const AccessConfigResponse & GetAccessConfig() const
const RemoteNetworkConfigResponse & GetRemoteNetworkConfig() const
bool OutpostConfigHasBeenSet() const
Cluster & WithAccessConfig(AccessConfigT &&value)
void SetControlPlaneScalingConfig(ControlPlaneScalingConfigT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetZonalShiftConfig(ZonalShiftConfigT &&value)
bool PlatformVersionHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
const StorageConfigResponse & GetStorageConfig() const
void SetPlatformVersion(PlatformVersionT &&value)
Cluster & WithName(NameT &&value)
AWS_EKS_API Cluster()=default
void SetDeletionProtection(bool value)
bool EncryptionConfigHasBeenSet() const
const ComputeConfigResponse & GetComputeConfig() const
const Aws::String & GetArn() const
Cluster & WithResourcesVpcConfig(ResourcesVpcConfigT &&value)
void SetRemoteNetworkConfig(RemoteNetworkConfigT &&value)
AWS_EKS_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ComputeConfigHasBeenSet() const
const Aws::String & GetVersion() const
void SetKubernetesNetworkConfig(KubernetesNetworkConfigT &&value)
Cluster & WithStatus(ClusterStatus value)
Cluster & WithUpgradePolicy(UpgradePolicyT &&value)
AWS_EKS_API Cluster(Aws::Utils::Json::JsonView jsonValue)
void SetStorageConfig(StorageConfigT &&value)
const ControlPlaneScalingConfig & GetControlPlaneScalingConfig() const
bool ZonalShiftConfigHasBeenSet() const
bool VersionHasBeenSet() const
bool EndpointHasBeenSet() const
bool NameHasBeenSet() const
void SetOutpostConfig(OutpostConfigT &&value)
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