AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
LogicalResourceId.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ResilienceHub {
20namespace Model {
21
28 public:
29 AWS_RESILIENCEHUB_API LogicalResourceId() = default;
30 AWS_RESILIENCEHUB_API LogicalResourceId(Aws::Utils::Json::JsonView jsonValue);
31 AWS_RESILIENCEHUB_API LogicalResourceId& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
40 inline const Aws::String& GetEksSourceName() const { return m_eksSourceName; }
41 inline bool EksSourceNameHasBeenSet() const { return m_eksSourceNameHasBeenSet; }
42 template <typename EksSourceNameT = Aws::String>
43 void SetEksSourceName(EksSourceNameT&& value) {
44 m_eksSourceNameHasBeenSet = true;
45 m_eksSourceName = std::forward<EksSourceNameT>(value);
46 }
47 template <typename EksSourceNameT = Aws::String>
48 LogicalResourceId& WithEksSourceName(EksSourceNameT&& value) {
49 SetEksSourceName(std::forward<EksSourceNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetIdentifier() const { return m_identifier; }
59 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
60 template <typename IdentifierT = Aws::String>
61 void SetIdentifier(IdentifierT&& value) {
62 m_identifierHasBeenSet = true;
63 m_identifier = std::forward<IdentifierT>(value);
64 }
65 template <typename IdentifierT = Aws::String>
66 LogicalResourceId& WithIdentifier(IdentifierT&& value) {
67 SetIdentifier(std::forward<IdentifierT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetLogicalStackName() const { return m_logicalStackName; }
77 inline bool LogicalStackNameHasBeenSet() const { return m_logicalStackNameHasBeenSet; }
78 template <typename LogicalStackNameT = Aws::String>
79 void SetLogicalStackName(LogicalStackNameT&& value) {
80 m_logicalStackNameHasBeenSet = true;
81 m_logicalStackName = std::forward<LogicalStackNameT>(value);
82 }
83 template <typename LogicalStackNameT = Aws::String>
84 LogicalResourceId& WithLogicalStackName(LogicalStackNameT&& value) {
85 SetLogicalStackName(std::forward<LogicalStackNameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetResourceGroupName() const { return m_resourceGroupName; }
95 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
96 template <typename ResourceGroupNameT = Aws::String>
97 void SetResourceGroupName(ResourceGroupNameT&& value) {
98 m_resourceGroupNameHasBeenSet = true;
99 m_resourceGroupName = std::forward<ResourceGroupNameT>(value);
100 }
101 template <typename ResourceGroupNameT = Aws::String>
102 LogicalResourceId& WithResourceGroupName(ResourceGroupNameT&& value) {
103 SetResourceGroupName(std::forward<ResourceGroupNameT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetTerraformSourceName() const { return m_terraformSourceName; }
113 inline bool TerraformSourceNameHasBeenSet() const { return m_terraformSourceNameHasBeenSet; }
114 template <typename TerraformSourceNameT = Aws::String>
115 void SetTerraformSourceName(TerraformSourceNameT&& value) {
116 m_terraformSourceNameHasBeenSet = true;
117 m_terraformSourceName = std::forward<TerraformSourceNameT>(value);
118 }
119 template <typename TerraformSourceNameT = Aws::String>
120 LogicalResourceId& WithTerraformSourceName(TerraformSourceNameT&& value) {
121 SetTerraformSourceName(std::forward<TerraformSourceNameT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_eksSourceName;
127
128 Aws::String m_identifier;
129
130 Aws::String m_logicalStackName;
131
132 Aws::String m_resourceGroupName;
133
134 Aws::String m_terraformSourceName;
135 bool m_eksSourceNameHasBeenSet = false;
136 bool m_identifierHasBeenSet = false;
137 bool m_logicalStackNameHasBeenSet = false;
138 bool m_resourceGroupNameHasBeenSet = false;
139 bool m_terraformSourceNameHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace ResilienceHub
144} // namespace Aws
LogicalResourceId & WithLogicalStackName(LogicalStackNameT &&value)
LogicalResourceId & WithTerraformSourceName(TerraformSourceNameT &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLogicalStackName() const
AWS_RESILIENCEHUB_API LogicalResourceId()=default
void SetTerraformSourceName(TerraformSourceNameT &&value)
LogicalResourceId & WithIdentifier(IdentifierT &&value)
LogicalResourceId & WithResourceGroupName(ResourceGroupNameT &&value)
AWS_RESILIENCEHUB_API LogicalResourceId & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API LogicalResourceId(Aws::Utils::Json::JsonView jsonValue)
void SetEksSourceName(EksSourceNameT &&value)
const Aws::String & GetTerraformSourceName() const
const Aws::String & GetResourceGroupName() const
LogicalResourceId & WithEksSourceName(EksSourceNameT &&value)
void SetLogicalStackName(LogicalStackNameT &&value)
void SetResourceGroupName(ResourceGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue