/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The full description of your connected cluster.See Also:
AWS
* API Reference
A unique ID associated with the cluster for registration purposes.
*/ inline const Aws::String& GetActivationId() const{ return m_activationId; } /** *A unique ID associated with the cluster for registration purposes.
*/ inline bool ActivationIdHasBeenSet() const { return m_activationIdHasBeenSet; } /** *A unique ID associated with the cluster for registration purposes.
*/ inline void SetActivationId(const Aws::String& value) { m_activationIdHasBeenSet = true; m_activationId = value; } /** *A unique ID associated with the cluster for registration purposes.
*/ inline void SetActivationId(Aws::String&& value) { m_activationIdHasBeenSet = true; m_activationId = std::move(value); } /** *A unique ID associated with the cluster for registration purposes.
*/ inline void SetActivationId(const char* value) { m_activationIdHasBeenSet = true; m_activationId.assign(value); } /** *A unique ID associated with the cluster for registration purposes.
*/ inline ConnectorConfigResponse& WithActivationId(const Aws::String& value) { SetActivationId(value); return *this;} /** *A unique ID associated with the cluster for registration purposes.
*/ inline ConnectorConfigResponse& WithActivationId(Aws::String&& value) { SetActivationId(std::move(value)); return *this;} /** *A unique ID associated with the cluster for registration purposes.
*/ inline ConnectorConfigResponse& WithActivationId(const char* value) { SetActivationId(value); return *this;} /** *A unique code associated with the cluster for registration purposes.
*/ inline const Aws::String& GetActivationCode() const{ return m_activationCode; } /** *A unique code associated with the cluster for registration purposes.
*/ inline bool ActivationCodeHasBeenSet() const { return m_activationCodeHasBeenSet; } /** *A unique code associated with the cluster for registration purposes.
*/ inline void SetActivationCode(const Aws::String& value) { m_activationCodeHasBeenSet = true; m_activationCode = value; } /** *A unique code associated with the cluster for registration purposes.
*/ inline void SetActivationCode(Aws::String&& value) { m_activationCodeHasBeenSet = true; m_activationCode = std::move(value); } /** *A unique code associated with the cluster for registration purposes.
*/ inline void SetActivationCode(const char* value) { m_activationCodeHasBeenSet = true; m_activationCode.assign(value); } /** *A unique code associated with the cluster for registration purposes.
*/ inline ConnectorConfigResponse& WithActivationCode(const Aws::String& value) { SetActivationCode(value); return *this;} /** *A unique code associated with the cluster for registration purposes.
*/ inline ConnectorConfigResponse& WithActivationCode(Aws::String&& value) { SetActivationCode(std::move(value)); return *this;} /** *A unique code associated with the cluster for registration purposes.
*/ inline ConnectorConfigResponse& WithActivationCode(const char* value) { SetActivationCode(value); return *this;} /** *The expiration time of the connected cluster. The cluster's YAML file must be * applied through the native provider.
*/ inline const Aws::Utils::DateTime& GetActivationExpiry() const{ return m_activationExpiry; } /** *The expiration time of the connected cluster. The cluster's YAML file must be * applied through the native provider.
*/ inline bool ActivationExpiryHasBeenSet() const { return m_activationExpiryHasBeenSet; } /** *The expiration time of the connected cluster. The cluster's YAML file must be * applied through the native provider.
*/ inline void SetActivationExpiry(const Aws::Utils::DateTime& value) { m_activationExpiryHasBeenSet = true; m_activationExpiry = value; } /** *The expiration time of the connected cluster. The cluster's YAML file must be * applied through the native provider.
*/ inline void SetActivationExpiry(Aws::Utils::DateTime&& value) { m_activationExpiryHasBeenSet = true; m_activationExpiry = std::move(value); } /** *The expiration time of the connected cluster. The cluster's YAML file must be * applied through the native provider.
*/ inline ConnectorConfigResponse& WithActivationExpiry(const Aws::Utils::DateTime& value) { SetActivationExpiry(value); return *this;} /** *The expiration time of the connected cluster. The cluster's YAML file must be * applied through the native provider.
*/ inline ConnectorConfigResponse& WithActivationExpiry(Aws::Utils::DateTime&& value) { SetActivationExpiry(std::move(value)); return *this;} /** *The cluster's cloud service provider.
*/ inline const Aws::String& GetProvider() const{ return m_provider; } /** *The cluster's cloud service provider.
*/ inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; } /** *The cluster's cloud service provider.
*/ inline void SetProvider(const Aws::String& value) { m_providerHasBeenSet = true; m_provider = value; } /** *The cluster's cloud service provider.
*/ inline void SetProvider(Aws::String&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); } /** *The cluster's cloud service provider.
*/ inline void SetProvider(const char* value) { m_providerHasBeenSet = true; m_provider.assign(value); } /** *The cluster's cloud service provider.
*/ inline ConnectorConfigResponse& WithProvider(const Aws::String& value) { SetProvider(value); return *this;} /** *The cluster's cloud service provider.
*/ inline ConnectorConfigResponse& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;} /** *The cluster's cloud service provider.
*/ inline ConnectorConfigResponse& WithProvider(const char* value) { SetProvider(value); return *this;} /** *The Amazon Resource Name (ARN) of the role to communicate with services from * the connected Kubernetes cluster.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The Amazon Resource Name (ARN) of the role to communicate with services from * the connected Kubernetes cluster.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the role to communicate with services from * the connected Kubernetes cluster.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The Amazon Resource Name (ARN) of the role to communicate with services from * the connected Kubernetes cluster.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the role to communicate with services from * the connected Kubernetes cluster.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the role to communicate with services from * the connected Kubernetes cluster.
*/ inline ConnectorConfigResponse& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the role to communicate with services from * the connected Kubernetes cluster.
*/ inline ConnectorConfigResponse& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the role to communicate with services from * the connected Kubernetes cluster.
*/ inline ConnectorConfigResponse& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_activationId; bool m_activationIdHasBeenSet = false; Aws::String m_activationCode; bool m_activationCodeHasBeenSet = false; Aws::Utils::DateTime m_activationExpiry; bool m_activationExpiryHasBeenSet = false; Aws::String m_provider; bool m_providerHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws