AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LogicalResourceId.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ResilienceHub
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_RESILIENCEHUB_API LogicalResourceId() = default;
35 AWS_RESILIENCEHUB_API LogicalResourceId(Aws::Utils::Json::JsonView jsonValue);
36 AWS_RESILIENCEHUB_API LogicalResourceId& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline const Aws::String& GetEksSourceName() const { return m_eksSourceName; }
47 inline bool EksSourceNameHasBeenSet() const { return m_eksSourceNameHasBeenSet; }
48 template<typename EksSourceNameT = Aws::String>
49 void SetEksSourceName(EksSourceNameT&& value) { m_eksSourceNameHasBeenSet = true; m_eksSourceName = std::forward<EksSourceNameT>(value); }
50 template<typename EksSourceNameT = Aws::String>
51 LogicalResourceId& WithEksSourceName(EksSourceNameT&& value) { SetEksSourceName(std::forward<EksSourceNameT>(value)); return *this;}
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) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
62 template<typename IdentifierT = Aws::String>
63 LogicalResourceId& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
65
67
70 inline const Aws::String& GetLogicalStackName() const { return m_logicalStackName; }
71 inline bool LogicalStackNameHasBeenSet() const { return m_logicalStackNameHasBeenSet; }
72 template<typename LogicalStackNameT = Aws::String>
73 void SetLogicalStackName(LogicalStackNameT&& value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName = std::forward<LogicalStackNameT>(value); }
74 template<typename LogicalStackNameT = Aws::String>
75 LogicalResourceId& WithLogicalStackName(LogicalStackNameT&& value) { SetLogicalStackName(std::forward<LogicalStackNameT>(value)); return *this;}
77
79
82 inline const Aws::String& GetResourceGroupName() const { return m_resourceGroupName; }
83 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
84 template<typename ResourceGroupNameT = Aws::String>
85 void SetResourceGroupName(ResourceGroupNameT&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::forward<ResourceGroupNameT>(value); }
86 template<typename ResourceGroupNameT = Aws::String>
87 LogicalResourceId& WithResourceGroupName(ResourceGroupNameT&& value) { SetResourceGroupName(std::forward<ResourceGroupNameT>(value)); return *this;}
89
91
94 inline const Aws::String& GetTerraformSourceName() const { return m_terraformSourceName; }
95 inline bool TerraformSourceNameHasBeenSet() const { return m_terraformSourceNameHasBeenSet; }
96 template<typename TerraformSourceNameT = Aws::String>
97 void SetTerraformSourceName(TerraformSourceNameT&& value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName = std::forward<TerraformSourceNameT>(value); }
98 template<typename TerraformSourceNameT = Aws::String>
99 LogicalResourceId& WithTerraformSourceName(TerraformSourceNameT&& value) { SetTerraformSourceName(std::forward<TerraformSourceNameT>(value)); return *this;}
101 private:
102
103 Aws::String m_eksSourceName;
104 bool m_eksSourceNameHasBeenSet = false;
105
106 Aws::String m_identifier;
107 bool m_identifierHasBeenSet = false;
108
109 Aws::String m_logicalStackName;
110 bool m_logicalStackNameHasBeenSet = false;
111
112 Aws::String m_resourceGroupName;
113 bool m_resourceGroupNameHasBeenSet = false;
114
115 Aws::String m_terraformSourceName;
116 bool m_terraformSourceNameHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace ResilienceHub
121} // 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