7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/eks/model/VpcConfigResponse.h>
11#include <aws/eks/model/KubernetesNetworkConfigResponse.h>
12#include <aws/eks/model/Logging.h>
13#include <aws/eks/model/Identity.h>
14#include <aws/eks/model/ClusterStatus.h>
15#include <aws/eks/model/Certificate.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18#include <aws/eks/model/ConnectorConfigResponse.h>
19#include <aws/eks/model/ClusterHealth.h>
20#include <aws/eks/model/OutpostConfigResponse.h>
21#include <aws/eks/model/AccessConfigResponse.h>
22#include <aws/eks/model/UpgradePolicyResponse.h>
23#include <aws/eks/model/ZonalShiftConfigResponse.h>
24#include <aws/eks/model/RemoteNetworkConfigResponse.h>
25#include <aws/eks/model/ComputeConfigResponse.h>
26#include <aws/eks/model/StorageConfigResponse.h>
27#include <aws/eks/model/EncryptionConfig.h>
65 template<
typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
67 template<
typename NameT = Aws::String>
77 template<
typename ArnT = Aws::String>
78 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
79 template<
typename ArnT = Aws::String>
89 template<
typename CreatedAtT = Aws::Utils::DateTime>
90 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
91 template<
typename CreatedAtT = Aws::Utils::DateTime>
101 template<
typename VersionT = Aws::String>
102 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
103 template<
typename VersionT = Aws::String>
113 template<
typename Endpo
intT = Aws::String>
114 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
115 template<
typename Endpo
intT = Aws::String>
127 template<
typename RoleArnT = Aws::String>
128 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
129 template<
typename RoleArnT = Aws::String>
145 template<
typename ResourcesVpcConfigT = VpcConfigResponse>
146 void SetResourcesVpcConfig(ResourcesVpcConfigT&& value) { m_resourcesVpcConfigHasBeenSet =
true; m_resourcesVpcConfig = std::forward<ResourcesVpcConfigT>(value); }
147 template<
typename ResourcesVpcConfigT = VpcConfigResponse>
157 template<
typename KubernetesNetworkConfigT = KubernetesNetworkConfigResponse>
158 void SetKubernetesNetworkConfig(KubernetesNetworkConfigT&& value) { m_kubernetesNetworkConfigHasBeenSet =
true; m_kubernetesNetworkConfig = std::forward<KubernetesNetworkConfigT>(value); }
159 template<
typename KubernetesNetworkConfigT = KubernetesNetworkConfigResponse>
169 template<
typename LoggingT = Logging>
170 void SetLogging(LoggingT&& value) { m_loggingHasBeenSet =
true; m_logging = std::forward<LoggingT>(value); }
171 template<
typename LoggingT = Logging>
181 template<
typename IdentityT = Identity>
182 void SetIdentity(IdentityT&& value) { m_identityHasBeenSet =
true; m_identity = std::forward<IdentityT>(value); }
183 template<
typename IdentityT = Identity>
203 template<
typename CertificateAuthorityT = Certificate>
204 void SetCertificateAuthority(CertificateAuthorityT&& value) { m_certificateAuthorityHasBeenSet =
true; m_certificateAuthority = std::forward<CertificateAuthorityT>(value); }
205 template<
typename CertificateAuthorityT = Certificate>
216 template<
typename ClientRequestTokenT = Aws::String>
217 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
218 template<
typename ClientRequestTokenT = Aws::String>
235 template<
typename PlatformVersionT = Aws::String>
236 void SetPlatformVersion(PlatformVersionT&& value) { m_platformVersionHasBeenSet =
true; m_platformVersion = std::forward<PlatformVersionT>(value); }
237 template<
typename PlatformVersionT = Aws::String>
249 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
250 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
251 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
253 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
255 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
265 template<
typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
266 void SetEncryptionConfig(EncryptionConfigT&& value) { m_encryptionConfigHasBeenSet =
true; m_encryptionConfig = std::forward<EncryptionConfigT>(value); }
267 template<
typename EncryptionConfigT = Aws::Vector<EncryptionConfig>>
269 template<
typename EncryptionConfigT = EncryptionConfig>
270 Cluster&
AddEncryptionConfig(EncryptionConfigT&& value) { m_encryptionConfigHasBeenSet =
true; m_encryptionConfig.emplace_back(std::forward<EncryptionConfigT>(value));
return *
this; }
279 template<
typename ConnectorConfigT = ConnectorConfigResponse>
280 void SetConnectorConfig(ConnectorConfigT&& value) { m_connectorConfigHasBeenSet =
true; m_connectorConfig = std::forward<ConnectorConfigT>(value); }
281 template<
typename ConnectorConfigT = ConnectorConfigResponse>
293 template<
typename IdT = Aws::String>
294 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
295 template<
typename IdT = Aws::String>
305 template<
typename HealthT = ClusterHealth>
306 void SetHealth(HealthT&& value) { m_healthHasBeenSet =
true; m_health = std::forward<HealthT>(value); }
307 template<
typename HealthT = ClusterHealth>
319 template<
typename OutpostConfigT = OutpostConfigResponse>
320 void SetOutpostConfig(OutpostConfigT&& value) { m_outpostConfigHasBeenSet =
true; m_outpostConfig = std::forward<OutpostConfigT>(value); }
321 template<
typename OutpostConfigT = OutpostConfigResponse>
331 template<
typename AccessConfigT = AccessConfigResponse>
332 void SetAccessConfig(AccessConfigT&& value) { m_accessConfigHasBeenSet =
true; m_accessConfig = std::forward<AccessConfigT>(value); }
333 template<
typename AccessConfigT = AccessConfigResponse>
346 template<
typename UpgradePolicyT = UpgradePolicyResponse>
347 void SetUpgradePolicy(UpgradePolicyT&& value) { m_upgradePolicyHasBeenSet =
true; m_upgradePolicy = std::forward<UpgradePolicyT>(value); }
348 template<
typename UpgradePolicyT = UpgradePolicyResponse>
358 template<
typename ZonalShiftConfigT = ZonalShiftConfigResponse>
359 void SetZonalShiftConfig(ZonalShiftConfigT&& value) { m_zonalShiftConfigHasBeenSet =
true; m_zonalShiftConfig = std::forward<ZonalShiftConfigT>(value); }
360 template<
typename ZonalShiftConfigT = ZonalShiftConfigResponse>
371 template<
typename RemoteNetworkConfigT = RemoteNetworkConfigResponse>
372 void SetRemoteNetworkConfig(RemoteNetworkConfigT&& value) { m_remoteNetworkConfigHasBeenSet =
true; m_remoteNetworkConfig = std::forward<RemoteNetworkConfigT>(value); }
373 template<
typename RemoteNetworkConfigT = RemoteNetworkConfigResponse>
387 template<
typename ComputeConfigT = ComputeConfigResponse>
388 void SetComputeConfig(ComputeConfigT&& value) { m_computeConfigHasBeenSet =
true; m_computeConfig = std::forward<ComputeConfigT>(value); }
389 template<
typename ComputeConfigT = ComputeConfigResponse>
403 template<
typename StorageConfigT = StorageConfigResponse>
404 void SetStorageConfig(StorageConfigT&& value) { m_storageConfigHasBeenSet =
true; m_storageConfig = std::forward<StorageConfigT>(value); }
405 template<
typename StorageConfigT = StorageConfigResponse>
411 bool m_nameHasBeenSet =
false;
414 bool m_arnHasBeenSet =
false;
417 bool m_createdAtHasBeenSet =
false;
420 bool m_versionHasBeenSet =
false;
423 bool m_endpointHasBeenSet =
false;
426 bool m_roleArnHasBeenSet =
false;
428 VpcConfigResponse m_resourcesVpcConfig;
429 bool m_resourcesVpcConfigHasBeenSet =
false;
431 KubernetesNetworkConfigResponse m_kubernetesNetworkConfig;
432 bool m_kubernetesNetworkConfigHasBeenSet =
false;
435 bool m_loggingHasBeenSet =
false;
438 bool m_identityHasBeenSet =
false;
441 bool m_statusHasBeenSet =
false;
443 Certificate m_certificateAuthority;
444 bool m_certificateAuthorityHasBeenSet =
false;
447 bool m_clientRequestTokenHasBeenSet =
false;
450 bool m_platformVersionHasBeenSet =
false;
453 bool m_tagsHasBeenSet =
false;
456 bool m_encryptionConfigHasBeenSet =
false;
458 ConnectorConfigResponse m_connectorConfig;
459 bool m_connectorConfigHasBeenSet =
false;
462 bool m_idHasBeenSet =
false;
464 ClusterHealth m_health;
465 bool m_healthHasBeenSet =
false;
467 OutpostConfigResponse m_outpostConfig;
468 bool m_outpostConfigHasBeenSet =
false;
470 AccessConfigResponse m_accessConfig;
471 bool m_accessConfigHasBeenSet =
false;
473 UpgradePolicyResponse m_upgradePolicy;
474 bool m_upgradePolicyHasBeenSet =
false;
476 ZonalShiftConfigResponse m_zonalShiftConfig;
477 bool m_zonalShiftConfigHasBeenSet =
false;
479 RemoteNetworkConfigResponse m_remoteNetworkConfig;
480 bool m_remoteNetworkConfigHasBeenSet =
false;
482 ComputeConfigResponse m_computeConfig;
483 bool m_computeConfigHasBeenSet =
false;
485 StorageConfigResponse m_storageConfig;
486 bool m_storageConfigHasBeenSet =
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)
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
Cluster & WithId(IdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() 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 & 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)
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 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
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)
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