/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing an Amazon EKS cluster.See Also:
AWS API
* Reference
The name of the cluster.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the cluster.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the cluster.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the cluster.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the cluster.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the cluster.
*/ inline Cluster& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the cluster.
*/ inline Cluster& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the cluster.
*/ inline Cluster& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline Cluster& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline Cluster& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline Cluster& WithArn(const char* value) { SetArn(value); return *this;} /** *The Unix epoch timestamp in seconds for when the cluster was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The Unix epoch timestamp in seconds for when the cluster was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The Unix epoch timestamp in seconds for when the cluster was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The Unix epoch timestamp in seconds for when the cluster was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The Unix epoch timestamp in seconds for when the cluster was created.
*/ inline Cluster& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The Unix epoch timestamp in seconds for when the cluster was created.
*/ inline Cluster& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The Kubernetes server version for the cluster.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The Kubernetes server version for the cluster.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The Kubernetes server version for the cluster.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The Kubernetes server version for the cluster.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The Kubernetes server version for the cluster.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The Kubernetes server version for the cluster.
*/ inline Cluster& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The Kubernetes server version for the cluster.
*/ inline Cluster& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The Kubernetes server version for the cluster.
*/ inline Cluster& WithVersion(const char* value) { SetVersion(value); return *this;} /** *The endpoint for your Kubernetes API server.
*/ inline const Aws::String& GetEndpoint() const{ return m_endpoint; } /** *The endpoint for your Kubernetes API server.
*/ inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; } /** *The endpoint for your Kubernetes API server.
*/ inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; } /** *The endpoint for your Kubernetes API server.
*/ inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); } /** *The endpoint for your Kubernetes API server.
*/ inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); } /** *The endpoint for your Kubernetes API server.
*/ inline Cluster& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} /** *The endpoint for your Kubernetes API server.
*/ inline Cluster& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} /** *The endpoint for your Kubernetes API server.
*/ inline Cluster& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role that provides permissions for * the Kubernetes control plane to make calls to AWS API operations on your * behalf.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The Amazon Resource Name (ARN) of the IAM role that provides permissions for * the Kubernetes control plane to make calls to AWS API operations on your * behalf.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the IAM role that provides permissions for * the Kubernetes control plane to make calls to AWS API operations on your * behalf.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The Amazon Resource Name (ARN) of the IAM role that provides permissions for * the Kubernetes control plane to make calls to AWS API operations on your * behalf.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the IAM role that provides permissions for * the Kubernetes control plane to make calls to AWS API operations on your * behalf.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the IAM role that provides permissions for * the Kubernetes control plane to make calls to AWS API operations on your * behalf.
*/ inline Cluster& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role that provides permissions for * the Kubernetes control plane to make calls to AWS API operations on your * behalf.
*/ inline Cluster& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role that provides permissions for * the Kubernetes control plane to make calls to AWS API operations on your * behalf.
*/ inline Cluster& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The VPC configuration used by the cluster control plane. Amazon EKS VPC * resources have specific requirements to work properly with Kubernetes. For more * information, see Cluster * VPC Considerations and Cluster * Security Group Considerations in the Amazon EKS User Guide.
*/ inline const VpcConfigResponse& GetResourcesVpcConfig() const{ return m_resourcesVpcConfig; } /** *The VPC configuration used by the cluster control plane. Amazon EKS VPC * resources have specific requirements to work properly with Kubernetes. For more * information, see Cluster * VPC Considerations and Cluster * Security Group Considerations in the Amazon EKS User Guide.
*/ inline bool ResourcesVpcConfigHasBeenSet() const { return m_resourcesVpcConfigHasBeenSet; } /** *The VPC configuration used by the cluster control plane. Amazon EKS VPC * resources have specific requirements to work properly with Kubernetes. For more * information, see Cluster * VPC Considerations and Cluster * Security Group Considerations in the Amazon EKS User Guide.
*/ inline void SetResourcesVpcConfig(const VpcConfigResponse& value) { m_resourcesVpcConfigHasBeenSet = true; m_resourcesVpcConfig = value; } /** *The VPC configuration used by the cluster control plane. Amazon EKS VPC * resources have specific requirements to work properly with Kubernetes. For more * information, see Cluster * VPC Considerations and Cluster * Security Group Considerations in the Amazon EKS User Guide.
*/ inline void SetResourcesVpcConfig(VpcConfigResponse&& value) { m_resourcesVpcConfigHasBeenSet = true; m_resourcesVpcConfig = std::move(value); } /** *The VPC configuration used by the cluster control plane. Amazon EKS VPC * resources have specific requirements to work properly with Kubernetes. For more * information, see Cluster * VPC Considerations and Cluster * Security Group Considerations in the Amazon EKS User Guide.
*/ inline Cluster& WithResourcesVpcConfig(const VpcConfigResponse& value) { SetResourcesVpcConfig(value); return *this;} /** *The VPC configuration used by the cluster control plane. Amazon EKS VPC * resources have specific requirements to work properly with Kubernetes. For more * information, see Cluster * VPC Considerations and Cluster * Security Group Considerations in the Amazon EKS User Guide.
*/ inline Cluster& WithResourcesVpcConfig(VpcConfigResponse&& value) { SetResourcesVpcConfig(std::move(value)); return *this;} /** *The logging configuration for your cluster.
*/ inline const Logging& GetLogging() const{ return m_logging; } /** *The logging configuration for your cluster.
*/ inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; } /** *The logging configuration for your cluster.
*/ inline void SetLogging(const Logging& value) { m_loggingHasBeenSet = true; m_logging = value; } /** *The logging configuration for your cluster.
*/ inline void SetLogging(Logging&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); } /** *The logging configuration for your cluster.
*/ inline Cluster& WithLogging(const Logging& value) { SetLogging(value); return *this;} /** *The logging configuration for your cluster.
*/ inline Cluster& WithLogging(Logging&& value) { SetLogging(std::move(value)); return *this;} /** *The identity provider information for the cluster.
*/ inline const Identity& GetIdentity() const{ return m_identity; } /** *The identity provider information for the cluster.
*/ inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; } /** *The identity provider information for the cluster.
*/ inline void SetIdentity(const Identity& value) { m_identityHasBeenSet = true; m_identity = value; } /** *The identity provider information for the cluster.
*/ inline void SetIdentity(Identity&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); } /** *The identity provider information for the cluster.
*/ inline Cluster& WithIdentity(const Identity& value) { SetIdentity(value); return *this;} /** *The identity provider information for the cluster.
*/ inline Cluster& WithIdentity(Identity&& value) { SetIdentity(std::move(value)); return *this;} /** *The current status of the cluster.
*/ inline const ClusterStatus& GetStatus() const{ return m_status; } /** *The current status of the cluster.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of the cluster.
*/ inline void SetStatus(const ClusterStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of the cluster.
*/ inline void SetStatus(ClusterStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of the cluster.
*/ inline Cluster& WithStatus(const ClusterStatus& value) { SetStatus(value); return *this;} /** *The current status of the cluster.
*/ inline Cluster& WithStatus(ClusterStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The certificate-authority-data for your cluster.
The certificate-authority-data for your cluster.
The certificate-authority-data for your cluster.
The certificate-authority-data for your cluster.
The certificate-authority-data for your cluster.
The certificate-authority-data for your cluster.
Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.
*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.
*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.
*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.
*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.
*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.
*/ inline Cluster& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.
*/ inline Cluster& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.
*/ inline Cluster& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *The platform version of your Amazon EKS cluster. For more information, see Platform * Versions in the Amazon EKS User Guide .
*/ inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; } /** *The platform version of your Amazon EKS cluster. For more information, see Platform * Versions in the Amazon EKS User Guide .
*/ inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; } /** *The platform version of your Amazon EKS cluster. For more information, see Platform * Versions in the Amazon EKS User Guide .
*/ inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; } /** *The platform version of your Amazon EKS cluster. For more information, see Platform * Versions in the Amazon EKS User Guide .
*/ inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); } /** *The platform version of your Amazon EKS cluster. For more information, see Platform * Versions in the Amazon EKS User Guide .
*/ inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); } /** *The platform version of your Amazon EKS cluster. For more information, see Platform * Versions in the Amazon EKS User Guide .
*/ inline Cluster& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;} /** *The platform version of your Amazon EKS cluster. For more information, see Platform * Versions in the Amazon EKS User Guide .
*/ inline Cluster& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;} /** *The platform version of your Amazon EKS cluster. For more information, see Platform * Versions in the Amazon EKS User Guide .
*/ inline Cluster& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;} /** *The metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Cluster tags do not propagate to any other resources associated with * the cluster.
*/ inline const Aws::MapThe metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Cluster tags do not propagate to any other resources associated with * the cluster.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Cluster tags do not propagate to any other resources associated with * the cluster.
*/ inline void SetTags(const Aws::MapThe metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Cluster tags do not propagate to any other resources associated with * the cluster.
*/ inline void SetTags(Aws::MapThe metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Cluster tags do not propagate to any other resources associated with * the cluster.
*/ inline Cluster& WithTags(const Aws::MapThe metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Cluster tags do not propagate to any other resources associated with * the cluster.
*/ inline Cluster& WithTags(Aws::MapThe metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Cluster tags do not propagate to any other resources associated with * the cluster.
*/ inline Cluster& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Cluster tags do not propagate to any other resources associated with * the cluster.
*/ inline Cluster& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Cluster tags do not propagate to any other resources associated with * the cluster.
*/ inline Cluster& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Cluster tags do not propagate to any other resources associated with * the cluster.
*/ inline Cluster& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Cluster tags do not propagate to any other resources associated with * the cluster.
*/ inline Cluster& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Cluster tags do not propagate to any other resources associated with * the cluster.
*/ inline Cluster& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value, both of which * you define. Cluster tags do not propagate to any other resources associated with * the cluster.
*/ inline Cluster& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The encryption configuration for the cluster.
*/ inline const Aws::VectorThe encryption configuration for the cluster.
*/ inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; } /** *The encryption configuration for the cluster.
*/ inline void SetEncryptionConfig(const Aws::VectorThe encryption configuration for the cluster.
*/ inline void SetEncryptionConfig(Aws::VectorThe encryption configuration for the cluster.
*/ inline Cluster& WithEncryptionConfig(const Aws::VectorThe encryption configuration for the cluster.
*/ inline Cluster& WithEncryptionConfig(Aws::VectorThe encryption configuration for the cluster.
*/ inline Cluster& AddEncryptionConfig(const EncryptionConfig& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig.push_back(value); return *this; } /** *The encryption configuration for the cluster.
*/ inline Cluster& AddEncryptionConfig(EncryptionConfig&& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_arn; bool m_arnHasBeenSet; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet; Aws::String m_version; bool m_versionHasBeenSet; Aws::String m_endpoint; bool m_endpointHasBeenSet; Aws::String m_roleArn; bool m_roleArnHasBeenSet; VpcConfigResponse m_resourcesVpcConfig; bool m_resourcesVpcConfigHasBeenSet; Logging m_logging; bool m_loggingHasBeenSet; Identity m_identity; bool m_identityHasBeenSet; ClusterStatus m_status; bool m_statusHasBeenSet; Certificate m_certificateAuthority; bool m_certificateAuthorityHasBeenSet; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet; Aws::String m_platformVersion; bool m_platformVersionHasBeenSet; Aws::Map