/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines a resource mapping.See Also:
AWS
* API Reference
The name of the application this resource is mapped to.
*/ inline const Aws::String& GetAppRegistryAppName() const{ return m_appRegistryAppName; } /** *The name of the application this resource is mapped to.
*/ inline bool AppRegistryAppNameHasBeenSet() const { return m_appRegistryAppNameHasBeenSet; } /** *The name of the application this resource is mapped to.
*/ inline void SetAppRegistryAppName(const Aws::String& value) { m_appRegistryAppNameHasBeenSet = true; m_appRegistryAppName = value; } /** *The name of the application this resource is mapped to.
*/ inline void SetAppRegistryAppName(Aws::String&& value) { m_appRegistryAppNameHasBeenSet = true; m_appRegistryAppName = std::move(value); } /** *The name of the application this resource is mapped to.
*/ inline void SetAppRegistryAppName(const char* value) { m_appRegistryAppNameHasBeenSet = true; m_appRegistryAppName.assign(value); } /** *The name of the application this resource is mapped to.
*/ inline ResourceMapping& WithAppRegistryAppName(const Aws::String& value) { SetAppRegistryAppName(value); return *this;} /** *The name of the application this resource is mapped to.
*/ inline ResourceMapping& WithAppRegistryAppName(Aws::String&& value) { SetAppRegistryAppName(std::move(value)); return *this;} /** *The name of the application this resource is mapped to.
*/ inline ResourceMapping& WithAppRegistryAppName(const char* value) { SetAppRegistryAppName(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 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 ResourceMapping& 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 ResourceMapping& 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 ResourceMapping& WithEksSourceName(const char* value) { SetEksSourceName(value); return *this;} /** *The name of the CloudFormation stack this resource is mapped to.
*/ inline const Aws::String& GetLogicalStackName() const{ return m_logicalStackName; } /** *The name of the CloudFormation stack this resource is mapped to.
*/ inline bool LogicalStackNameHasBeenSet() const { return m_logicalStackNameHasBeenSet; } /** *The name of the CloudFormation stack this resource is mapped to.
*/ inline void SetLogicalStackName(const Aws::String& value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName = value; } /** *The name of the CloudFormation stack this resource is mapped to.
*/ inline void SetLogicalStackName(Aws::String&& value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName = std::move(value); } /** *The name of the CloudFormation stack this resource is mapped to.
*/ inline void SetLogicalStackName(const char* value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName.assign(value); } /** *The name of the CloudFormation stack this resource is mapped to.
*/ inline ResourceMapping& WithLogicalStackName(const Aws::String& value) { SetLogicalStackName(value); return *this;} /** *The name of the CloudFormation stack this resource is mapped to.
*/ inline ResourceMapping& WithLogicalStackName(Aws::String&& value) { SetLogicalStackName(std::move(value)); return *this;} /** *The name of the CloudFormation stack this resource is mapped to.
*/ inline ResourceMapping& WithLogicalStackName(const char* value) { SetLogicalStackName(value); return *this;} /** *Specifies the type of resource mapping.
The resource is mapped to another application. The name of the application is
* contained in the appRegistryAppName
property.
The resource is mapped to a CloudFormation stack. The
* name of the CloudFormation stack is contained in the
* logicalStackName
property.
The
* resource is mapped to another resource. The name of the resource is contained in
* the resourceName
property.
The resource is mapped to Resource Groups. The name of the resource group is
* contained in the resourceGroupName
property.
Specifies the type of resource mapping.
The resource is mapped to another application. The name of the application is
* contained in the appRegistryAppName
property.
The resource is mapped to a CloudFormation stack. The
* name of the CloudFormation stack is contained in the
* logicalStackName
property.
The
* resource is mapped to another resource. The name of the resource is contained in
* the resourceName
property.
The resource is mapped to Resource Groups. The name of the resource group is
* contained in the resourceGroupName
property.
Specifies the type of resource mapping.
The resource is mapped to another application. The name of the application is
* contained in the appRegistryAppName
property.
The resource is mapped to a CloudFormation stack. The
* name of the CloudFormation stack is contained in the
* logicalStackName
property.
The
* resource is mapped to another resource. The name of the resource is contained in
* the resourceName
property.
The resource is mapped to Resource Groups. The name of the resource group is
* contained in the resourceGroupName
property.
Specifies the type of resource mapping.
The resource is mapped to another application. The name of the application is
* contained in the appRegistryAppName
property.
The resource is mapped to a CloudFormation stack. The
* name of the CloudFormation stack is contained in the
* logicalStackName
property.
The
* resource is mapped to another resource. The name of the resource is contained in
* the resourceName
property.
The resource is mapped to Resource Groups. The name of the resource group is
* contained in the resourceGroupName
property.
Specifies the type of resource mapping.
The resource is mapped to another application. The name of the application is
* contained in the appRegistryAppName
property.
The resource is mapped to a CloudFormation stack. The
* name of the CloudFormation stack is contained in the
* logicalStackName
property.
The
* resource is mapped to another resource. The name of the resource is contained in
* the resourceName
property.
The resource is mapped to Resource Groups. The name of the resource group is
* contained in the resourceGroupName
property.
Specifies the type of resource mapping.
The resource is mapped to another application. The name of the application is
* contained in the appRegistryAppName
property.
The resource is mapped to a CloudFormation stack. The
* name of the CloudFormation stack is contained in the
* logicalStackName
property.
The
* resource is mapped to another resource. The name of the resource is contained in
* the resourceName
property.
The resource is mapped to Resource Groups. The name of the resource group is
* contained in the resourceGroupName
property.
The identifier of this resource.
*/ inline const PhysicalResourceId& GetPhysicalResourceId() const{ return m_physicalResourceId; } /** *The identifier of this resource.
*/ inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; } /** *The identifier of this resource.
*/ inline void SetPhysicalResourceId(const PhysicalResourceId& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; } /** *The identifier of this resource.
*/ inline void SetPhysicalResourceId(PhysicalResourceId&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); } /** *The identifier of this resource.
*/ inline ResourceMapping& WithPhysicalResourceId(const PhysicalResourceId& value) { SetPhysicalResourceId(value); return *this;} /** *The identifier of this resource.
*/ inline ResourceMapping& WithPhysicalResourceId(PhysicalResourceId&& value) { SetPhysicalResourceId(std::move(value)); return *this;} /** *The name of the resource group this resource is mapped to.
*/ inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; } /** *The name of the resource group this resource is mapped to.
*/ inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; } /** *The name of the resource group this resource is mapped to.
*/ inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; } /** *The name of the resource group this resource is mapped to.
*/ inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); } /** *The name of the resource group this resource is mapped to.
*/ inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); } /** *The name of the resource group this resource is mapped to.
*/ inline ResourceMapping& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;} /** *The name of the resource group this resource is mapped to.
*/ inline ResourceMapping& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;} /** *The name of the resource group this resource is mapped to.
*/ inline ResourceMapping& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;} /** *The name of the resource this resource is mapped to.
*/ inline const Aws::String& GetResourceName() const{ return m_resourceName; } /** *The name of the resource this resource is mapped to.
*/ inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } /** *The name of the resource this resource is mapped to.
*/ inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; } /** *The name of the resource this resource is mapped to.
*/ inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); } /** *The name of the resource this resource is mapped to.
*/ inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); } /** *The name of the resource this resource is mapped to.
*/ inline ResourceMapping& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;} /** *The name of the resource this resource is mapped to.
*/ inline ResourceMapping& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;} /** *The name of the resource this resource is mapped to.
*/ inline ResourceMapping& WithResourceName(const char* value) { SetResourceName(value); return *this;} /** *The short name of the Terraform source.
*/ inline const Aws::String& GetTerraformSourceName() const{ return m_terraformSourceName; } /** *The short name of the Terraform source.
*/ inline bool TerraformSourceNameHasBeenSet() const { return m_terraformSourceNameHasBeenSet; } /** *The short name of the Terraform source.
*/ inline void SetTerraformSourceName(const Aws::String& value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName = value; } /** *The short name of the Terraform source.
*/ inline void SetTerraformSourceName(Aws::String&& value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName = std::move(value); } /** *The short name of the Terraform source.
*/ inline void SetTerraformSourceName(const char* value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName.assign(value); } /** *The short name of the Terraform source.
*/ inline ResourceMapping& WithTerraformSourceName(const Aws::String& value) { SetTerraformSourceName(value); return *this;} /** *The short name of the Terraform source.
*/ inline ResourceMapping& WithTerraformSourceName(Aws::String&& value) { SetTerraformSourceName(std::move(value)); return *this;} /** *The short name of the Terraform source.
*/ inline ResourceMapping& WithTerraformSourceName(const char* value) { SetTerraformSourceName(value); return *this;} private: Aws::String m_appRegistryAppName; bool m_appRegistryAppNameHasBeenSet = false; Aws::String m_eksSourceName; bool m_eksSourceNameHasBeenSet = false; Aws::String m_logicalStackName; bool m_logicalStackNameHasBeenSet = false; ResourceMappingType m_mappingType; bool m_mappingTypeHasBeenSet = false; PhysicalResourceId m_physicalResourceId; bool m_physicalResourceIdHasBeenSet = false; Aws::String m_resourceGroupName; bool m_resourceGroupNameHasBeenSet = false; Aws::String m_resourceName; bool m_resourceNameHasBeenSet = false; Aws::String m_terraformSourceName; bool m_terraformSourceNameHasBeenSet = false; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws