AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEksSourceName(const Aws::String& value) { m_eksSourceNameHasBeenSet = true; m_eksSourceName = value; }
49 inline void SetEksSourceName(Aws::String&& value) { m_eksSourceNameHasBeenSet = true; m_eksSourceName = std::move(value); }
50 inline void SetEksSourceName(const char* value) { m_eksSourceNameHasBeenSet = true; m_eksSourceName.assign(value); }
51 inline LogicalResourceId& WithEksSourceName(const Aws::String& value) { SetEksSourceName(value); return *this;}
52 inline LogicalResourceId& WithEksSourceName(Aws::String&& value) { SetEksSourceName(std::move(value)); return *this;}
53 inline LogicalResourceId& WithEksSourceName(const char* value) { SetEksSourceName(value); return *this;}
55
57
60 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
61 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
62 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
63 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
64 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
65 inline LogicalResourceId& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
66 inline LogicalResourceId& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
67 inline LogicalResourceId& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
69
71
74 inline const Aws::String& GetLogicalStackName() const{ return m_logicalStackName; }
75 inline bool LogicalStackNameHasBeenSet() const { return m_logicalStackNameHasBeenSet; }
76 inline void SetLogicalStackName(const Aws::String& value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName = value; }
77 inline void SetLogicalStackName(Aws::String&& value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName = std::move(value); }
78 inline void SetLogicalStackName(const char* value) { m_logicalStackNameHasBeenSet = true; m_logicalStackName.assign(value); }
79 inline LogicalResourceId& WithLogicalStackName(const Aws::String& value) { SetLogicalStackName(value); return *this;}
80 inline LogicalResourceId& WithLogicalStackName(Aws::String&& value) { SetLogicalStackName(std::move(value)); return *this;}
81 inline LogicalResourceId& WithLogicalStackName(const char* value) { SetLogicalStackName(value); return *this;}
83
85
88 inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
89 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
90 inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
91 inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
92 inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
93 inline LogicalResourceId& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
94 inline LogicalResourceId& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
95 inline LogicalResourceId& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
97
99
102 inline const Aws::String& GetTerraformSourceName() const{ return m_terraformSourceName; }
103 inline bool TerraformSourceNameHasBeenSet() const { return m_terraformSourceNameHasBeenSet; }
104 inline void SetTerraformSourceName(const Aws::String& value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName = value; }
105 inline void SetTerraformSourceName(Aws::String&& value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName = std::move(value); }
106 inline void SetTerraformSourceName(const char* value) { m_terraformSourceNameHasBeenSet = true; m_terraformSourceName.assign(value); }
108 inline LogicalResourceId& WithTerraformSourceName(Aws::String&& value) { SetTerraformSourceName(std::move(value)); return *this;}
109 inline LogicalResourceId& WithTerraformSourceName(const char* value) { SetTerraformSourceName(value); return *this;}
111 private:
112
113 Aws::String m_eksSourceName;
114 bool m_eksSourceNameHasBeenSet = false;
115
116 Aws::String m_identifier;
117 bool m_identifierHasBeenSet = false;
118
119 Aws::String m_logicalStackName;
120 bool m_logicalStackNameHasBeenSet = false;
121
122 Aws::String m_resourceGroupName;
123 bool m_resourceGroupNameHasBeenSet = false;
124
125 Aws::String m_terraformSourceName;
126 bool m_terraformSourceNameHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace ResilienceHub
131} // namespace Aws
LogicalResourceId & WithLogicalStackName(const Aws::String &value)
void SetIdentifier(const Aws::String &value)
LogicalResourceId & WithEksSourceName(Aws::String &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLogicalStackName() const
void SetResourceGroupName(const Aws::String &value)
LogicalResourceId & WithResourceGroupName(const Aws::String &value)
AWS_RESILIENCEHUB_API LogicalResourceId & operator=(Aws::Utils::Json::JsonView jsonValue)
LogicalResourceId & WithEksSourceName(const char *value)
LogicalResourceId & WithResourceGroupName(const char *value)
LogicalResourceId & WithResourceGroupName(Aws::String &&value)
LogicalResourceId & WithLogicalStackName(Aws::String &&value)
void SetEksSourceName(const Aws::String &value)
LogicalResourceId & WithIdentifier(Aws::String &&value)
AWS_RESILIENCEHUB_API LogicalResourceId(Aws::Utils::Json::JsonView jsonValue)
LogicalResourceId & WithIdentifier(const char *value)
void SetTerraformSourceName(const Aws::String &value)
LogicalResourceId & WithTerraformSourceName(const char *value)
LogicalResourceId & WithTerraformSourceName(const Aws::String &value)
LogicalResourceId & WithTerraformSourceName(Aws::String &&value)
void SetLogicalStackName(const Aws::String &value)
const Aws::String & GetTerraformSourceName() const
LogicalResourceId & WithLogicalStackName(const char *value)
const Aws::String & GetResourceGroupName() const
LogicalResourceId & WithEksSourceName(const Aws::String &value)
LogicalResourceId & WithIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue