AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAppRegistryAppName(const Aws::String& value) { m_appRegistryAppNameHasBeenSet = true; m_appRegistryAppName = value; }
50 inline void SetAppRegistryAppName(Aws::String&& value) { m_appRegistryAppNameHasBeenSet = true; m_appRegistryAppName = std::move(value); }
51 inline void SetAppRegistryAppName(const char* value) { m_appRegistryAppNameHasBeenSet = true; m_appRegistryAppName.assign(value); }
52 inline ResourceMapping& WithAppRegistryAppName(const Aws::String& value) { SetAppRegistryAppName(value); return *this;}
53 inline ResourceMapping& WithAppRegistryAppName(Aws::String&& value) { SetAppRegistryAppName(std::move(value)); return *this;}
54 inline ResourceMapping& WithAppRegistryAppName(const char* value) { SetAppRegistryAppName(value); return *this;}
56
58
64 inline const Aws::String& GetEksSourceName() const{ return m_eksSourceName; }
65 inline bool EksSourceNameHasBeenSet() const { return m_eksSourceNameHasBeenSet; }
66 inline void SetEksSourceName(const Aws::String& value) { m_eksSourceNameHasBeenSet = true; m_eksSourceName = value; }
67 inline void SetEksSourceName(Aws::String&& value) { m_eksSourceNameHasBeenSet = true; m_eksSourceName = std::move(value); }
68 inline void SetEksSourceName(const char* value) { m_eksSourceNameHasBeenSet = true; m_eksSourceName.assign(value); }
69 inline ResourceMapping& WithEksSourceName(const Aws::String& value) { SetEksSourceName(value); return *this;}
70 inline ResourceMapping& WithEksSourceName(Aws::String&& value) { SetEksSourceName(std::move(value)); return *this;}
71 inline ResourceMapping& WithEksSourceName(const char* value) { SetEksSourceName(value); return *this;}
73
75
79 inline const Aws::String& GetLogicalStackName() const{ return m_logicalStackName; }
80 inline bool LogicalStackNameHasBeenSet() const { return m_logicalStackNameHasBeenSet; }
81 inline void SetLogicalStackName(const Aws::String& value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName = value; }
82 inline void SetLogicalStackName(Aws::String&& value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName = std::move(value); }
83 inline void SetLogicalStackName(const char* value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName.assign(value); }
84 inline ResourceMapping& WithLogicalStackName(const Aws::String& value) { SetLogicalStackName(value); return *this;}
85 inline ResourceMapping& WithLogicalStackName(Aws::String&& value) { SetLogicalStackName(std::move(value)); return *this;}
86 inline ResourceMapping& WithLogicalStackName(const char* value) { SetLogicalStackName(value); return *this;}
88
90
93 inline const ResourceMappingType& GetMappingType() const{ return m_mappingType; }
94 inline bool MappingTypeHasBeenSet() const { return m_mappingTypeHasBeenSet; }
95 inline void SetMappingType(const ResourceMappingType& value) { m_mappingTypeHasBeenSet = true; m_mappingType = value; }
96 inline void SetMappingType(ResourceMappingType&& value) { m_mappingTypeHasBeenSet = true; m_mappingType = std::move(value); }
97 inline ResourceMapping& WithMappingType(const ResourceMappingType& value) { SetMappingType(value); return *this;}
98 inline ResourceMapping& WithMappingType(ResourceMappingType&& value) { SetMappingType(std::move(value)); return *this;}
100
102
105 inline const PhysicalResourceId& GetPhysicalResourceId() const{ return m_physicalResourceId; }
106 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
107 inline void SetPhysicalResourceId(const PhysicalResourceId& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; }
108 inline void SetPhysicalResourceId(PhysicalResourceId&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); }
110 inline ResourceMapping& WithPhysicalResourceId(PhysicalResourceId&& value) { SetPhysicalResourceId(std::move(value)); return *this;}
112
114
118 inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
119 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
120 inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
121 inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
122 inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
123 inline ResourceMapping& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
124 inline ResourceMapping& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
125 inline ResourceMapping& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
127
129
133 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
134 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
135 inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
136 inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
137 inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
138 inline ResourceMapping& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
139 inline ResourceMapping& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
140 inline ResourceMapping& WithResourceName(const char* value) { SetResourceName(value); return *this;}
142
144
148 inline const Aws::String& GetTerraformSourceName() const{ return m_terraformSourceName; }
149 inline bool TerraformSourceNameHasBeenSet() const { return m_terraformSourceNameHasBeenSet; }
150 inline void SetTerraformSourceName(const Aws::String& value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName = value; }
151 inline void SetTerraformSourceName(Aws::String&& value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName = std::move(value); }
152 inline void SetTerraformSourceName(const char* value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName.assign(value); }
153 inline ResourceMapping& WithTerraformSourceName(const Aws::String& value) { SetTerraformSourceName(value); return *this;}
154 inline ResourceMapping& WithTerraformSourceName(Aws::String&& value) { SetTerraformSourceName(std::move(value)); return *this;}
155 inline ResourceMapping& WithTerraformSourceName(const char* value) { SetTerraformSourceName(value); return *this;}
157 private:
158
159 Aws::String m_appRegistryAppName;
160 bool m_appRegistryAppNameHasBeenSet = false;
161
162 Aws::String m_eksSourceName;
163 bool m_eksSourceNameHasBeenSet = false;
164
165 Aws::String m_logicalStackName;
166 bool m_logicalStackNameHasBeenSet = false;
167
168 ResourceMappingType m_mappingType;
169 bool m_mappingTypeHasBeenSet = false;
170
171 PhysicalResourceId m_physicalResourceId;
172 bool m_physicalResourceIdHasBeenSet = false;
173
174 Aws::String m_resourceGroupName;
175 bool m_resourceGroupNameHasBeenSet = false;
176
177 Aws::String m_resourceName;
178 bool m_resourceNameHasBeenSet = false;
179
180 Aws::String m_terraformSourceName;
181 bool m_terraformSourceNameHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace ResilienceHub
186} // namespace Aws
ResourceMapping & WithMappingType(const ResourceMappingType &value)
void SetResourceGroupName(const Aws::String &value)
ResourceMapping & WithResourceName(const Aws::String &value)
ResourceMapping & WithEksSourceName(const Aws::String &value)
const Aws::String & GetEksSourceName() const
const PhysicalResourceId & GetPhysicalResourceId() const
ResourceMapping & WithAppRegistryAppName(const char *value)
const Aws::String & GetLogicalStackName() const
ResourceMapping & WithLogicalStackName(const Aws::String &value)
ResourceMapping & WithResourceName(Aws::String &&value)
void SetTerraformSourceName(const Aws::String &value)
ResourceMapping & WithResourceGroupName(const char *value)
ResourceMapping & WithEksSourceName(Aws::String &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMappingType(ResourceMappingType &&value)
AWS_RESILIENCEHUB_API ResourceMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceMapping & WithEksSourceName(const char *value)
ResourceMapping & WithPhysicalResourceId(PhysicalResourceId &&value)
void SetAppRegistryAppName(const Aws::String &value)
ResourceMapping & WithTerraformSourceName(const Aws::String &value)
void SetPhysicalResourceId(PhysicalResourceId &&value)
const Aws::String & GetResourceGroupName() const
void SetMappingType(const ResourceMappingType &value)
const Aws::String & GetAppRegistryAppName() const
const Aws::String & GetTerraformSourceName() const
void SetResourceGroupName(Aws::String &&value)
const Aws::String & GetResourceName() const
void SetEksSourceName(const Aws::String &value)
AWS_RESILIENCEHUB_API ResourceMapping(Aws::Utils::Json::JsonView jsonValue)
ResourceMapping & WithResourceName(const char *value)
void SetAppRegistryAppName(Aws::String &&value)
void SetPhysicalResourceId(const PhysicalResourceId &value)
ResourceMapping & WithAppRegistryAppName(Aws::String &&value)
ResourceMapping & WithMappingType(ResourceMappingType &&value)
void SetLogicalStackName(Aws::String &&value)
void SetResourceName(const Aws::String &value)
ResourceMapping & WithTerraformSourceName(Aws::String &&value)
ResourceMapping & WithAppRegistryAppName(const Aws::String &value)
ResourceMapping & WithLogicalStackName(Aws::String &&value)
ResourceMapping & WithResourceGroupName(Aws::String &&value)
ResourceMapping & WithLogicalStackName(const char *value)
ResourceMapping & WithPhysicalResourceId(const PhysicalResourceId &value)
const ResourceMappingType & GetMappingType() const
void SetLogicalStackName(const Aws::String &value)
void SetTerraformSourceName(Aws::String &&value)
ResourceMapping & WithResourceGroupName(const Aws::String &value)
ResourceMapping & WithTerraformSourceName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue