/** * 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 namespace Aws { namespace EKS { namespace Model { /** */ class UpdateClusterConfigRequest : public EKSRequest { public: AWS_EKS_API UpdateClusterConfigRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateClusterConfig"; } AWS_EKS_API Aws::String SerializePayload() const override; /** *

The name of the Amazon EKS cluster to update.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the Amazon EKS cluster to update.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the Amazon EKS cluster to update.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the Amazon EKS cluster to update.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the Amazon EKS cluster to update.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the Amazon EKS cluster to update.

*/ inline UpdateClusterConfigRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the Amazon EKS cluster to update.

*/ inline UpdateClusterConfigRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the Amazon EKS cluster to update.

*/ inline UpdateClusterConfigRequest& WithName(const char* value) { SetName(value); return *this;} inline const VpcConfigRequest& GetResourcesVpcConfig() const{ return m_resourcesVpcConfig; } inline bool ResourcesVpcConfigHasBeenSet() const { return m_resourcesVpcConfigHasBeenSet; } inline void SetResourcesVpcConfig(const VpcConfigRequest& value) { m_resourcesVpcConfigHasBeenSet = true; m_resourcesVpcConfig = value; } inline void SetResourcesVpcConfig(VpcConfigRequest&& value) { m_resourcesVpcConfigHasBeenSet = true; m_resourcesVpcConfig = std::move(value); } inline UpdateClusterConfigRequest& WithResourcesVpcConfig(const VpcConfigRequest& value) { SetResourcesVpcConfig(value); return *this;} inline UpdateClusterConfigRequest& WithResourcesVpcConfig(VpcConfigRequest&& value) { SetResourcesVpcConfig(std::move(value)); return *this;} /** *

Enable or disable exporting the Kubernetes control plane logs for your * cluster to CloudWatch Logs. By default, cluster control plane logs aren't * exported to CloudWatch Logs. For more information, see Amazon * EKS cluster control plane logs in the Amazon EKS User Guide * .

CloudWatch Logs ingestion, archive storage, and data * scanning rates apply to exported control plane logs. For more information, see * CloudWatch Pricing.

* */ inline const Logging& GetLogging() const{ return m_logging; } /** *

Enable or disable exporting the Kubernetes control plane logs for your * cluster to CloudWatch Logs. By default, cluster control plane logs aren't * exported to CloudWatch Logs. For more information, see Amazon * EKS cluster control plane logs in the Amazon EKS User Guide * .

CloudWatch Logs ingestion, archive storage, and data * scanning rates apply to exported control plane logs. For more information, see * CloudWatch Pricing.

* */ inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; } /** *

Enable or disable exporting the Kubernetes control plane logs for your * cluster to CloudWatch Logs. By default, cluster control plane logs aren't * exported to CloudWatch Logs. For more information, see Amazon * EKS cluster control plane logs in the Amazon EKS User Guide * .

CloudWatch Logs ingestion, archive storage, and data * scanning rates apply to exported control plane logs. For more information, see * CloudWatch Pricing.

* */ inline void SetLogging(const Logging& value) { m_loggingHasBeenSet = true; m_logging = value; } /** *

Enable or disable exporting the Kubernetes control plane logs for your * cluster to CloudWatch Logs. By default, cluster control plane logs aren't * exported to CloudWatch Logs. For more information, see Amazon * EKS cluster control plane logs in the Amazon EKS User Guide * .

CloudWatch Logs ingestion, archive storage, and data * scanning rates apply to exported control plane logs. For more information, see * CloudWatch Pricing.

* */ inline void SetLogging(Logging&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); } /** *

Enable or disable exporting the Kubernetes control plane logs for your * cluster to CloudWatch Logs. By default, cluster control plane logs aren't * exported to CloudWatch Logs. For more information, see Amazon * EKS cluster control plane logs in the Amazon EKS User Guide * .

CloudWatch Logs ingestion, archive storage, and data * scanning rates apply to exported control plane logs. For more information, see * CloudWatch Pricing.

* */ inline UpdateClusterConfigRequest& WithLogging(const Logging& value) { SetLogging(value); return *this;} /** *

Enable or disable exporting the Kubernetes control plane logs for your * cluster to CloudWatch Logs. By default, cluster control plane logs aren't * exported to CloudWatch Logs. For more information, see Amazon * EKS cluster control plane logs in the Amazon EKS User Guide * .

CloudWatch Logs ingestion, archive storage, and data * scanning rates apply to exported control plane logs. For more information, see * CloudWatch Pricing.

* */ inline UpdateClusterConfigRequest& WithLogging(Logging&& value) { SetLogging(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 UpdateClusterConfigRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline UpdateClusterConfigRequest& 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 UpdateClusterConfigRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; VpcConfigRequest m_resourcesVpcConfig; bool m_resourcesVpcConfigHasBeenSet = false; Logging m_logging; bool m_loggingHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws