/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines a logical resource identifier.See Also:
AWS
* API Reference
The name of the Amazon Elastic Kubernetes Service cluster and namespace this * resource belongs to.
This parameter accepts values in * "eks-cluster/namespace" format.
*/ inline const Aws::String& GetEksSourceName() const{ return m_eksSourceName; } /** *The name of the Amazon Elastic Kubernetes Service cluster and namespace this * resource belongs to.
This parameter accepts values in * "eks-cluster/namespace" format.
*/ inline bool EksSourceNameHasBeenSet() const { return m_eksSourceNameHasBeenSet; } /** *The name of the Amazon Elastic Kubernetes Service cluster and namespace this * resource belongs to.
This parameter accepts values in * "eks-cluster/namespace" format.
*/ inline void SetEksSourceName(const Aws::String& value) { m_eksSourceNameHasBeenSet = true; m_eksSourceName = value; } /** *The name of the Amazon Elastic Kubernetes Service cluster and namespace this * resource belongs to.
This parameter accepts values in * "eks-cluster/namespace" format.
*/ inline void SetEksSourceName(Aws::String&& value) { m_eksSourceNameHasBeenSet = true; m_eksSourceName = std::move(value); } /** *The name of the Amazon Elastic Kubernetes Service cluster and namespace this * resource belongs to.
This parameter accepts values in * "eks-cluster/namespace" format.
*/ inline void SetEksSourceName(const char* value) { m_eksSourceNameHasBeenSet = true; m_eksSourceName.assign(value); } /** *The name of the Amazon Elastic Kubernetes Service cluster and namespace this * resource belongs to.
This parameter accepts values in * "eks-cluster/namespace" format.
*/ inline LogicalResourceId& WithEksSourceName(const Aws::String& value) { SetEksSourceName(value); return *this;} /** *The name of the Amazon Elastic Kubernetes Service cluster and namespace this * resource belongs to.
This parameter accepts values in * "eks-cluster/namespace" format.
*/ inline LogicalResourceId& WithEksSourceName(Aws::String&& value) { SetEksSourceName(std::move(value)); return *this;} /** *The name of the Amazon Elastic Kubernetes Service cluster and namespace this * resource belongs to.
This parameter accepts values in * "eks-cluster/namespace" format.
*/ inline LogicalResourceId& WithEksSourceName(const char* value) { SetEksSourceName(value); return *this;} /** *The identifier of the resource.
*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } /** *The identifier of the resource.
*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** *The identifier of the resource.
*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** *The identifier of the resource.
*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** *The identifier of the resource.
*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** *The identifier of the resource.
*/ inline LogicalResourceId& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** *The identifier of the resource.
*/ inline LogicalResourceId& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** *The identifier of the resource.
*/ inline LogicalResourceId& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} /** *The name of the CloudFormation stack this resource belongs to.
*/ inline const Aws::String& GetLogicalStackName() const{ return m_logicalStackName; } /** *The name of the CloudFormation stack this resource belongs to.
*/ inline bool LogicalStackNameHasBeenSet() const { return m_logicalStackNameHasBeenSet; } /** *The name of the CloudFormation stack this resource belongs to.
*/ inline void SetLogicalStackName(const Aws::String& value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName = value; } /** *The name of the CloudFormation stack this resource belongs to.
*/ inline void SetLogicalStackName(Aws::String&& value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName = std::move(value); } /** *The name of the CloudFormation stack this resource belongs to.
*/ inline void SetLogicalStackName(const char* value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName.assign(value); } /** *The name of the CloudFormation stack this resource belongs to.
*/ inline LogicalResourceId& WithLogicalStackName(const Aws::String& value) { SetLogicalStackName(value); return *this;} /** *The name of the CloudFormation stack this resource belongs to.
*/ inline LogicalResourceId& WithLogicalStackName(Aws::String&& value) { SetLogicalStackName(std::move(value)); return *this;} /** *The name of the CloudFormation stack this resource belongs to.
*/ inline LogicalResourceId& WithLogicalStackName(const char* value) { SetLogicalStackName(value); return *this;} /** *The name of the resource group that this resource belongs to.
*/ inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; } /** *The name of the resource group that this resource belongs to.
*/ inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; } /** *The name of the resource group that this resource belongs to.
*/ inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; } /** *The name of the resource group that this resource belongs to.
*/ inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); } /** *The name of the resource group that this resource belongs to.
*/ inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); } /** *The name of the resource group that this resource belongs to.
*/ inline LogicalResourceId& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;} /** *The name of the resource group that this resource belongs to.
*/ inline LogicalResourceId& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;} /** *The name of the resource group that this resource belongs to.
*/ inline LogicalResourceId& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;} /** *The name of the Terraform S3 state file this resource belongs to.
*/ inline const Aws::String& GetTerraformSourceName() const{ return m_terraformSourceName; } /** *The name of the Terraform S3 state file this resource belongs to.
*/ inline bool TerraformSourceNameHasBeenSet() const { return m_terraformSourceNameHasBeenSet; } /** *The name of the Terraform S3 state file this resource belongs to.
*/ inline void SetTerraformSourceName(const Aws::String& value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName = value; } /** *The name of the Terraform S3 state file this resource belongs to.
*/ inline void SetTerraformSourceName(Aws::String&& value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName = std::move(value); } /** *The name of the Terraform S3 state file this resource belongs to.
*/ inline void SetTerraformSourceName(const char* value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName.assign(value); } /** *The name of the Terraform S3 state file this resource belongs to.
*/ inline LogicalResourceId& WithTerraformSourceName(const Aws::String& value) { SetTerraformSourceName(value); return *this;} /** *The name of the Terraform S3 state file this resource belongs to.
*/ inline LogicalResourceId& WithTerraformSourceName(Aws::String&& value) { SetTerraformSourceName(std::move(value)); return *this;} /** *The name of the Terraform S3 state file this resource belongs to.
*/ inline LogicalResourceId& WithTerraformSourceName(const char* value) { SetTerraformSourceName(value); return *this;} private: Aws::String m_eksSourceName; bool m_eksSourceNameHasBeenSet = false; Aws::String m_identifier; bool m_identifierHasBeenSet = false; Aws::String m_logicalStackName; bool m_logicalStackNameHasBeenSet = false; Aws::String m_resourceGroupName; bool m_resourceGroupNameHasBeenSet = false; Aws::String m_terraformSourceName; bool m_terraformSourceNameHasBeenSet = false; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws