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

The input source of the namespace that is located on your Amazon Elastic * Kubernetes Service cluster.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service * cluster. The format for this ARN is: * arn:aws:eks:region:account-id:cluster/cluster-name. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline const Aws::String& GetEksClusterArn() const{ return m_eksClusterArn; } /** *

The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service * cluster. The format for this ARN is: * arn:aws:eks:region:account-id:cluster/cluster-name. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline bool EksClusterArnHasBeenSet() const { return m_eksClusterArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service * cluster. The format for this ARN is: * arn:aws:eks:region:account-id:cluster/cluster-name. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetEksClusterArn(const Aws::String& value) { m_eksClusterArnHasBeenSet = true; m_eksClusterArn = value; } /** *

The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service * cluster. The format for this ARN is: * arn:aws:eks:region:account-id:cluster/cluster-name. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetEksClusterArn(Aws::String&& value) { m_eksClusterArnHasBeenSet = true; m_eksClusterArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service * cluster. The format for this ARN is: * arn:aws:eks:region:account-id:cluster/cluster-name. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetEksClusterArn(const char* value) { m_eksClusterArnHasBeenSet = true; m_eksClusterArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service * cluster. The format for this ARN is: * arn:aws:eks:region:account-id:cluster/cluster-name. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline EksSourceClusterNamespace& WithEksClusterArn(const Aws::String& value) { SetEksClusterArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service * cluster. The format for this ARN is: * arn:aws:eks:region:account-id:cluster/cluster-name. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline EksSourceClusterNamespace& WithEksClusterArn(Aws::String&& value) { SetEksClusterArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service * cluster. The format for this ARN is: * arn:aws:eks:region:account-id:cluster/cluster-name. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline EksSourceClusterNamespace& WithEksClusterArn(const char* value) { SetEksClusterArn(value); return *this;} /** *

Name of the namespace that is located on your Amazon Elastic Kubernetes * Service cluster.

*/ inline const Aws::String& GetNamespace() const{ return m_namespace; } /** *

Name of the namespace that is located on your Amazon Elastic Kubernetes * Service cluster.

*/ inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } /** *

Name of the namespace that is located on your Amazon Elastic Kubernetes * Service cluster.

*/ inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } /** *

Name of the namespace that is located on your Amazon Elastic Kubernetes * Service cluster.

*/ inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } /** *

Name of the namespace that is located on your Amazon Elastic Kubernetes * Service cluster.

*/ inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } /** *

Name of the namespace that is located on your Amazon Elastic Kubernetes * Service cluster.

*/ inline EksSourceClusterNamespace& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} /** *

Name of the namespace that is located on your Amazon Elastic Kubernetes * Service cluster.

*/ inline EksSourceClusterNamespace& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} /** *

Name of the namespace that is located on your Amazon Elastic Kubernetes * Service cluster.

*/ inline EksSourceClusterNamespace& WithNamespace(const char* value) { SetNamespace(value); return *this;} private: Aws::String m_eksClusterArn; bool m_eksClusterArnHasBeenSet = false; Aws::String m_namespace; bool m_namespaceHasBeenSet = false; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws