AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResourceMapping.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ResilienceHub
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_RESILIENCEHUB_API ResourceMapping() = default;
37 AWS_RESILIENCEHUB_API ResourceMapping(Aws::Utils::Json::JsonView jsonValue);
38 AWS_RESILIENCEHUB_API ResourceMapping& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetAppRegistryAppName() const { return m_appRegistryAppName; }
48 inline bool AppRegistryAppNameHasBeenSet() const { return m_appRegistryAppNameHasBeenSet; }
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>
52 ResourceMapping& WithAppRegistryAppName(AppRegistryAppNameT&& value) { SetAppRegistryAppName(std::forward<AppRegistryAppNameT>(value)); return *this;}
54
56
62 inline const Aws::String& GetEksSourceName() const { return m_eksSourceName; }
63 inline bool EksSourceNameHasBeenSet() const { return m_eksSourceNameHasBeenSet; }
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>
67 ResourceMapping& WithEksSourceName(EksSourceNameT&& value) { SetEksSourceName(std::forward<EksSourceNameT>(value)); return *this;}
69
71
75 inline const Aws::String& GetLogicalStackName() const { return m_logicalStackName; }
76 inline bool LogicalStackNameHasBeenSet() const { return m_logicalStackNameHasBeenSet; }
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>
80 ResourceMapping& WithLogicalStackName(LogicalStackNameT&& value) { SetLogicalStackName(std::forward<LogicalStackNameT>(value)); return *this;}
82
84
87 inline ResourceMappingType GetMappingType() const { return m_mappingType; }
88 inline bool MappingTypeHasBeenSet() const { return m_mappingTypeHasBeenSet; }
89 inline void SetMappingType(ResourceMappingType value) { m_mappingTypeHasBeenSet = true; m_mappingType = value; }
90 inline ResourceMapping& WithMappingType(ResourceMappingType value) { SetMappingType(value); return *this;}
92
94
97 inline const PhysicalResourceId& GetPhysicalResourceId() const { return m_physicalResourceId; }
98 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
99 template<typename PhysicalResourceIdT = PhysicalResourceId>
100 void SetPhysicalResourceId(PhysicalResourceIdT&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::forward<PhysicalResourceIdT>(value); }
101 template<typename PhysicalResourceIdT = PhysicalResourceId>
102 ResourceMapping& WithPhysicalResourceId(PhysicalResourceIdT&& value) { SetPhysicalResourceId(std::forward<PhysicalResourceIdT>(value)); return *this;}
104
106
110 inline const Aws::String& GetResourceGroupName() const { return m_resourceGroupName; }
111 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
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>
115 ResourceMapping& WithResourceGroupName(ResourceGroupNameT&& value) { SetResourceGroupName(std::forward<ResourceGroupNameT>(value)); return *this;}
117
119
123 inline const Aws::String& GetResourceName() const { return m_resourceName; }
124 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
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>
128 ResourceMapping& WithResourceName(ResourceNameT&& value) { SetResourceName(std::forward<ResourceNameT>(value)); return *this;}
130
132
136 inline const Aws::String& GetTerraformSourceName() const { return m_terraformSourceName; }
137 inline bool TerraformSourceNameHasBeenSet() const { return m_terraformSourceNameHasBeenSet; }
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>
141 ResourceMapping& WithTerraformSourceName(TerraformSourceNameT&& value) { SetTerraformSourceName(std::forward<TerraformSourceNameT>(value)); return *this;}
143 private:
144
145 Aws::String m_appRegistryAppName;
146 bool m_appRegistryAppNameHasBeenSet = false;
147
148 Aws::String m_eksSourceName;
149 bool m_eksSourceNameHasBeenSet = false;
150
151 Aws::String m_logicalStackName;
152 bool m_logicalStackNameHasBeenSet = false;
153
155 bool m_mappingTypeHasBeenSet = false;
156
157 PhysicalResourceId m_physicalResourceId;
158 bool m_physicalResourceIdHasBeenSet = false;
159
160 Aws::String m_resourceGroupName;
161 bool m_resourceGroupNameHasBeenSet = false;
162
163 Aws::String m_resourceName;
164 bool m_resourceNameHasBeenSet = false;
165
166 Aws::String m_terraformSourceName;
167 bool m_terraformSourceNameHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace ResilienceHub
172} // namespace Aws
const Aws::String & GetEksSourceName() const
const PhysicalResourceId & GetPhysicalResourceId() const
ResourceMapping & WithPhysicalResourceId(PhysicalResourceIdT &&value)
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)
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)
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
void SetTerraformSourceName(TerraformSourceNameT &&value)
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