/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace EKS { namespace Model { /** *

An object representing an Amazon EKS cluster.

See Also:

AWS API * Reference

*/ class Cluster { public: AWS_EKS_API Cluster(); AWS_EKS_API Cluster(Aws::Utils::Json::JsonView jsonValue); AWS_EKS_API Cluster& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Kubernetes network configuration for the cluster.

*/ inline const KubernetesNetworkConfigResponse& GetKubernetesNetworkConfig() const{ return m_kubernetesNetworkConfig; } /** *

The Kubernetes network configuration for the cluster.

*/ inline bool KubernetesNetworkConfigHasBeenSet() const { return m_kubernetesNetworkConfigHasBeenSet; } /** *

The Kubernetes network configuration for the cluster.

*/ inline void SetKubernetesNetworkConfig(const KubernetesNetworkConfigResponse& value) { m_kubernetesNetworkConfigHasBeenSet = true; m_kubernetesNetworkConfig = value; } /** *

The Kubernetes network configuration for the cluster.

*/ inline void SetKubernetesNetworkConfig(KubernetesNetworkConfigResponse&& value) { m_kubernetesNetworkConfigHasBeenSet = true; m_kubernetesNetworkConfig = std::move(value); } /** *

The Kubernetes network configuration for the cluster.

*/ inline Cluster& WithKubernetesNetworkConfig(const KubernetesNetworkConfigResponse& value) { SetKubernetesNetworkConfig(value); return *this;} /** *

The Kubernetes network configuration for the cluster.

*/ inline Cluster& WithKubernetesNetworkConfig(KubernetesNetworkConfigResponse&& value) { SetKubernetesNetworkConfig(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.

*/ inline const Certificate& GetCertificateAuthority() const{ return m_certificateAuthority; } /** *

The certificate-authority-data for your cluster.

*/ inline bool CertificateAuthorityHasBeenSet() const { return m_certificateAuthorityHasBeenSet; } /** *

The certificate-authority-data for your cluster.

*/ inline void SetCertificateAuthority(const Certificate& value) { m_certificateAuthorityHasBeenSet = true; m_certificateAuthority = value; } /** *

The certificate-authority-data for your cluster.

*/ inline void SetCertificateAuthority(Certificate&& value) { m_certificateAuthorityHasBeenSet = true; m_certificateAuthority = std::move(value); } /** *

The certificate-authority-data for your cluster.

*/ inline Cluster& WithCertificateAuthority(const Certificate& value) { SetCertificateAuthority(value); return *this;} /** *

The certificate-authority-data for your cluster.

*/ inline Cluster& WithCertificateAuthority(Certificate&& value) { SetCertificateAuthority(std::move(value)); return *this;} /** *

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. You define both. * Cluster tags do not propagate to any other resources associated with the * cluster.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value. You define both. * 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. You define both. * Cluster tags do not propagate to any other resources associated with the * cluster.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value. You define both. * Cluster tags do not propagate to any other resources associated with the * cluster.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The metadata that you apply to the cluster to assist with categorization and * organization. Each tag consists of a key and an optional value. You define both. * Cluster tags do not propagate to any other resources associated with the * cluster.

*/ inline Cluster& WithTags(const Aws::Map& value) { SetTags(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. You define both. * Cluster tags do not propagate to any other resources associated with the * cluster.

*/ inline Cluster& WithTags(Aws::Map&& value) { SetTags(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. You define both. * 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. You define both. * 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. You define both. * 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. You define both. * 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. You define both. * 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. You define both. * 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. You define both. * 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::Vector& GetEncryptionConfig() const{ return m_encryptionConfig; } /** *

The encryption configuration for the cluster.

*/ inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; } /** *

The encryption configuration for the cluster.

*/ inline void SetEncryptionConfig(const Aws::Vector& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = value; } /** *

The encryption configuration for the cluster.

*/ inline void SetEncryptionConfig(Aws::Vector&& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = std::move(value); } /** *

The encryption configuration for the cluster.

*/ inline Cluster& WithEncryptionConfig(const Aws::Vector& value) { SetEncryptionConfig(value); return *this;} /** *

The encryption configuration for the cluster.

*/ inline Cluster& WithEncryptionConfig(Aws::Vector&& value) { SetEncryptionConfig(std::move(value)); return *this;} /** *

The 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; } /** *

The configuration used to connect to a cluster for registration.

*/ inline const ConnectorConfigResponse& GetConnectorConfig() const{ return m_connectorConfig; } /** *

The configuration used to connect to a cluster for registration.

*/ inline bool ConnectorConfigHasBeenSet() const { return m_connectorConfigHasBeenSet; } /** *

The configuration used to connect to a cluster for registration.

*/ inline void SetConnectorConfig(const ConnectorConfigResponse& value) { m_connectorConfigHasBeenSet = true; m_connectorConfig = value; } /** *

The configuration used to connect to a cluster for registration.

*/ inline void SetConnectorConfig(ConnectorConfigResponse&& value) { m_connectorConfigHasBeenSet = true; m_connectorConfig = std::move(value); } /** *

The configuration used to connect to a cluster for registration.

*/ inline Cluster& WithConnectorConfig(const ConnectorConfigResponse& value) { SetConnectorConfig(value); return *this;} /** *

The configuration used to connect to a cluster for registration.

*/ inline Cluster& WithConnectorConfig(ConnectorConfigResponse&& value) { SetConnectorConfig(std::move(value)); return *this;} /** *

The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. * This property isn't available for an Amazon EKS cluster on the Amazon Web * Services cloud.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. * This property isn't available for an Amazon EKS cluster on the Amazon Web * Services cloud.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. * This property isn't available for an Amazon EKS cluster on the Amazon Web * Services cloud.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. * This property isn't available for an Amazon EKS cluster on the Amazon Web * Services cloud.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. * This property isn't available for an Amazon EKS cluster on the Amazon Web * Services cloud.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. * This property isn't available for an Amazon EKS cluster on the Amazon Web * Services cloud.

*/ inline Cluster& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. * This property isn't available for an Amazon EKS cluster on the Amazon Web * Services cloud.

*/ inline Cluster& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. * This property isn't available for an Amazon EKS cluster on the Amazon Web * Services cloud.

*/ inline Cluster& WithId(const char* value) { SetId(value); return *this;} /** *

An object representing the health of your local Amazon EKS cluster on an * Amazon Web Services Outpost. This object isn't available for clusters on the * Amazon Web Services cloud.

*/ inline const ClusterHealth& GetHealth() const{ return m_health; } /** *

An object representing the health of your local Amazon EKS cluster on an * Amazon Web Services Outpost. This object isn't available for clusters on the * Amazon Web Services cloud.

*/ inline bool HealthHasBeenSet() const { return m_healthHasBeenSet; } /** *

An object representing the health of your local Amazon EKS cluster on an * Amazon Web Services Outpost. This object isn't available for clusters on the * Amazon Web Services cloud.

*/ inline void SetHealth(const ClusterHealth& value) { m_healthHasBeenSet = true; m_health = value; } /** *

An object representing the health of your local Amazon EKS cluster on an * Amazon Web Services Outpost. This object isn't available for clusters on the * Amazon Web Services cloud.

*/ inline void SetHealth(ClusterHealth&& value) { m_healthHasBeenSet = true; m_health = std::move(value); } /** *

An object representing the health of your local Amazon EKS cluster on an * Amazon Web Services Outpost. This object isn't available for clusters on the * Amazon Web Services cloud.

*/ inline Cluster& WithHealth(const ClusterHealth& value) { SetHealth(value); return *this;} /** *

An object representing the health of your local Amazon EKS cluster on an * Amazon Web Services Outpost. This object isn't available for clusters on the * Amazon Web Services cloud.

*/ inline Cluster& WithHealth(ClusterHealth&& value) { SetHealth(std::move(value)); return *this;} /** *

An object representing the configuration of your local Amazon EKS cluster on * an Amazon Web Services Outpost. This object isn't available for clusters on the * Amazon Web Services cloud.

*/ inline const OutpostConfigResponse& GetOutpostConfig() const{ return m_outpostConfig; } /** *

An object representing the configuration of your local Amazon EKS cluster on * an Amazon Web Services Outpost. This object isn't available for clusters on the * Amazon Web Services cloud.

*/ inline bool OutpostConfigHasBeenSet() const { return m_outpostConfigHasBeenSet; } /** *

An object representing the configuration of your local Amazon EKS cluster on * an Amazon Web Services Outpost. This object isn't available for clusters on the * Amazon Web Services cloud.

*/ inline void SetOutpostConfig(const OutpostConfigResponse& value) { m_outpostConfigHasBeenSet = true; m_outpostConfig = value; } /** *

An object representing the configuration of your local Amazon EKS cluster on * an Amazon Web Services Outpost. This object isn't available for clusters on the * Amazon Web Services cloud.

*/ inline void SetOutpostConfig(OutpostConfigResponse&& value) { m_outpostConfigHasBeenSet = true; m_outpostConfig = std::move(value); } /** *

An object representing the configuration of your local Amazon EKS cluster on * an Amazon Web Services Outpost. This object isn't available for clusters on the * Amazon Web Services cloud.

*/ inline Cluster& WithOutpostConfig(const OutpostConfigResponse& value) { SetOutpostConfig(value); return *this;} /** *

An object representing the configuration of your local Amazon EKS cluster on * an Amazon Web Services Outpost. This object isn't available for clusters on the * Amazon Web Services cloud.

*/ inline Cluster& WithOutpostConfig(OutpostConfigResponse&& value) { SetOutpostConfig(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; Aws::String m_endpoint; bool m_endpointHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; VpcConfigResponse m_resourcesVpcConfig; bool m_resourcesVpcConfigHasBeenSet = false; KubernetesNetworkConfigResponse m_kubernetesNetworkConfig; bool m_kubernetesNetworkConfigHasBeenSet = false; Logging m_logging; bool m_loggingHasBeenSet = false; Identity m_identity; bool m_identityHasBeenSet = false; ClusterStatus m_status; bool m_statusHasBeenSet = false; Certificate m_certificateAuthority; bool m_certificateAuthorityHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; Aws::String m_platformVersion; bool m_platformVersionHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; Aws::Vector m_encryptionConfig; bool m_encryptionConfigHasBeenSet = false; ConnectorConfigResponse m_connectorConfig; bool m_connectorConfigHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; ClusterHealth m_health; bool m_healthHasBeenSet = false; OutpostConfigResponse m_outpostConfig; bool m_outpostConfigHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws