7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/model/ResourceMappingType.h>
10#include <aws/resiliencehub/model/PhysicalResourceId.h>
23namespace ResilienceHub
49 template<
typename AppRegistryAppNameT = Aws::String>
50 void SetAppRegistryAppName(AppRegistryAppNameT&& value) { m_appRegistryAppNameHasBeenSet =
true; m_appRegistryAppName = std::forward<AppRegistryAppNameT>(value); }
51 template<
typename AppRegistryAppNameT = Aws::String>
64 template<
typename EksSourceNameT = Aws::String>
65 void SetEksSourceName(EksSourceNameT&& value) { m_eksSourceNameHasBeenSet =
true; m_eksSourceName = std::forward<EksSourceNameT>(value); }
66 template<
typename EksSourceNameT = Aws::String>
77 template<
typename LogicalStackNameT = Aws::String>
78 void SetLogicalStackName(LogicalStackNameT&& value) { m_logicalStackNameHasBeenSet =
true; m_logicalStackName = std::forward<LogicalStackNameT>(value); }
79 template<
typename LogicalStackNameT = Aws::String>
99 template<
typename PhysicalResourceIdT = PhysicalResourceId>
100 void SetPhysicalResourceId(PhysicalResourceIdT&& value) { m_physicalResourceIdHasBeenSet =
true; m_physicalResourceId = std::forward<PhysicalResourceIdT>(value); }
101 template<
typename PhysicalResourceIdT = PhysicalResourceId>
112 template<
typename ResourceGroupNameT = Aws::String>
113 void SetResourceGroupName(ResourceGroupNameT&& value) { m_resourceGroupNameHasBeenSet =
true; m_resourceGroupName = std::forward<ResourceGroupNameT>(value); }
114 template<
typename ResourceGroupNameT = Aws::String>
125 template<
typename ResourceNameT = Aws::String>
126 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
127 template<
typename ResourceNameT = Aws::String>
138 template<
typename TerraformSourceNameT = Aws::String>
139 void SetTerraformSourceName(TerraformSourceNameT&& value) { m_terraformSourceNameHasBeenSet =
true; m_terraformSourceName = std::forward<TerraformSourceNameT>(value); }
140 template<
typename TerraformSourceNameT = Aws::String>
146 bool m_appRegistryAppNameHasBeenSet =
false;
149 bool m_eksSourceNameHasBeenSet =
false;
152 bool m_logicalStackNameHasBeenSet =
false;
155 bool m_mappingTypeHasBeenSet =
false;
157 PhysicalResourceId m_physicalResourceId;
158 bool m_physicalResourceIdHasBeenSet =
false;
161 bool m_resourceGroupNameHasBeenSet =
false;
164 bool m_resourceNameHasBeenSet =
false;
167 bool m_terraformSourceNameHasBeenSet =
false;
bool PhysicalResourceIdHasBeenSet() const
bool EksSourceNameHasBeenSet() const
const Aws::String & GetEksSourceName() const
const PhysicalResourceId & GetPhysicalResourceId() const
ResourceMapping & WithPhysicalResourceId(PhysicalResourceIdT &&value)
bool ResourceGroupNameHasBeenSet() const
const Aws::String & GetLogicalStackName() const
void SetEksSourceName(EksSourceNameT &&value)
void SetLogicalStackName(LogicalStackNameT &&value)
void SetResourceName(ResourceNameT &&value)
ResourceMapping & WithResourceGroupName(ResourceGroupNameT &&value)
ResourceMapping & WithAppRegistryAppName(AppRegistryAppNameT &&value)
bool MappingTypeHasBeenSet() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceMapping & WithMappingType(ResourceMappingType value)
void SetAppRegistryAppName(AppRegistryAppNameT &&value)
AWS_RESILIENCEHUB_API ResourceMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceMapping & WithLogicalStackName(LogicalStackNameT &&value)
bool AppRegistryAppNameHasBeenSet() const
const Aws::String & GetResourceGroupName() const
const Aws::String & GetAppRegistryAppName() const
ResourceMapping & WithTerraformSourceName(TerraformSourceNameT &&value)
const Aws::String & GetTerraformSourceName() const
void SetMappingType(ResourceMappingType value)
ResourceMapping & WithEksSourceName(EksSourceNameT &&value)
const Aws::String & GetResourceName() const
void SetPhysicalResourceId(PhysicalResourceIdT &&value)
ResourceMapping & WithResourceName(ResourceNameT &&value)
AWS_RESILIENCEHUB_API ResourceMapping(Aws::Utils::Json::JsonView jsonValue)
ResourceMappingType GetMappingType() const
bool ResourceNameHasBeenSet() const
bool TerraformSourceNameHasBeenSet() const
void SetTerraformSourceName(TerraformSourceNameT &&value)
bool LogicalStackNameHasBeenSet() const
void SetResourceGroupName(ResourceGroupNameT &&value)
AWS_RESILIENCEHUB_API ResourceMapping()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue