AWS SDK for C++  1.9.154
AWS SDK for C++
HierarchyGroup.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Connect
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline HierarchyGroup& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline HierarchyGroup& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline HierarchyGroup& WithId(const char* value) { SetId(value); return *this;}
80 
81 
85  inline const Aws::String& GetArn() const{ return m_arn; }
86 
90  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
91 
95  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
96 
100  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
101 
105  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
106 
110  inline HierarchyGroup& WithArn(const Aws::String& value) { SetArn(value); return *this;}
111 
115  inline HierarchyGroup& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
116 
120  inline HierarchyGroup& WithArn(const char* value) { SetArn(value); return *this;}
121 
122 
126  inline const Aws::String& GetName() const{ return m_name; }
127 
131  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
132 
136  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
137 
141  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
142 
146  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
147 
151  inline HierarchyGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
152 
156  inline HierarchyGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
157 
161  inline HierarchyGroup& WithName(const char* value) { SetName(value); return *this;}
162 
163 
167  inline const Aws::String& GetLevelId() const{ return m_levelId; }
168 
172  inline bool LevelIdHasBeenSet() const { return m_levelIdHasBeenSet; }
173 
177  inline void SetLevelId(const Aws::String& value) { m_levelIdHasBeenSet = true; m_levelId = value; }
178 
182  inline void SetLevelId(Aws::String&& value) { m_levelIdHasBeenSet = true; m_levelId = std::move(value); }
183 
187  inline void SetLevelId(const char* value) { m_levelIdHasBeenSet = true; m_levelId.assign(value); }
188 
192  inline HierarchyGroup& WithLevelId(const Aws::String& value) { SetLevelId(value); return *this;}
193 
197  inline HierarchyGroup& WithLevelId(Aws::String&& value) { SetLevelId(std::move(value)); return *this;}
198 
202  inline HierarchyGroup& WithLevelId(const char* value) { SetLevelId(value); return *this;}
203 
204 
208  inline const HierarchyPath& GetHierarchyPath() const{ return m_hierarchyPath; }
209 
213  inline bool HierarchyPathHasBeenSet() const { return m_hierarchyPathHasBeenSet; }
214 
218  inline void SetHierarchyPath(const HierarchyPath& value) { m_hierarchyPathHasBeenSet = true; m_hierarchyPath = value; }
219 
223  inline void SetHierarchyPath(HierarchyPath&& value) { m_hierarchyPathHasBeenSet = true; m_hierarchyPath = std::move(value); }
224 
228  inline HierarchyGroup& WithHierarchyPath(const HierarchyPath& value) { SetHierarchyPath(value); return *this;}
229 
233  inline HierarchyGroup& WithHierarchyPath(HierarchyPath&& value) { SetHierarchyPath(std::move(value)); return *this;}
234 
235  private:
236 
237  Aws::String m_id;
238  bool m_idHasBeenSet;
239 
240  Aws::String m_arn;
241  bool m_arnHasBeenSet;
242 
243  Aws::String m_name;
244  bool m_nameHasBeenSet;
245 
246  Aws::String m_levelId;
247  bool m_levelIdHasBeenSet;
248 
249  HierarchyPath m_hierarchyPath;
250  bool m_hierarchyPathHasBeenSet;
251  };
252 
253 } // namespace Model
254 } // namespace Connect
255 } // namespace Aws
Aws::Connect::Model::HierarchyGroup::WithLevelId
HierarchyGroup & WithLevelId(const Aws::String &value)
Definition: HierarchyGroup.h:192
Aws::Connect::Model::HierarchyGroup::GetArn
const Aws::String & GetArn() const
Definition: HierarchyGroup.h:85
Aws::Connect::Model::HierarchyGroup::WithHierarchyPath
HierarchyGroup & WithHierarchyPath(HierarchyPath &&value)
Definition: HierarchyGroup.h:233
Aws::Connect::Model::HierarchyGroup::operator=
HierarchyGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
HierarchyPath.h
Aws::Connect::Model::HierarchyGroup::SetName
void SetName(const char *value)
Definition: HierarchyGroup.h:146
Aws::Connect::Model::HierarchyGroup::SetId
void SetId(Aws::String &&value)
Definition: HierarchyGroup.h:59
Aws::Connect::Model::HierarchyGroup::SetHierarchyPath
void SetHierarchyPath(const HierarchyPath &value)
Definition: HierarchyGroup.h:218
Aws::Connect::Model::HierarchyGroup::SetLevelId
void SetLevelId(const Aws::String &value)
Definition: HierarchyGroup.h:177
Aws::Connect::Model::HierarchyGroup::SetId
void SetId(const Aws::String &value)
Definition: HierarchyGroup.h:54
Aws::Connect::Model::HierarchyGroup::WithArn
HierarchyGroup & WithArn(Aws::String &&value)
Definition: HierarchyGroup.h:115
Aws::Connect::Model::HierarchyGroup::WithArn
HierarchyGroup & WithArn(const Aws::String &value)
Definition: HierarchyGroup.h:110
Aws::Connect::Model::HierarchyGroup::WithId
HierarchyGroup & WithId(const char *value)
Definition: HierarchyGroup.h:79
Aws::Connect::Model::HierarchyGroup
Definition: HierarchyGroup.h:33
Aws::Connect::Model::HierarchyGroup::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: HierarchyGroup.h:90
Aws::Connect::Model::HierarchyGroup::SetLevelId
void SetLevelId(const char *value)
Definition: HierarchyGroup.h:187
Aws::Connect::Model::HierarchyPath
Definition: HierarchyPath.h:33
Aws::Connect::Model::HierarchyGroup::SetLevelId
void SetLevelId(Aws::String &&value)
Definition: HierarchyGroup.h:182
Aws::Connect::Model::HierarchyGroup::WithLevelId
HierarchyGroup & WithLevelId(Aws::String &&value)
Definition: HierarchyGroup.h:197
Aws::Connect::Model::HierarchyGroup::GetName
const Aws::String & GetName() const
Definition: HierarchyGroup.h:126
Aws::Connect::Model::HierarchyGroup::HierarchyGroup
HierarchyGroup(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::HierarchyGroup::HierarchyPathHasBeenSet
bool HierarchyPathHasBeenSet() const
Definition: HierarchyGroup.h:213
Aws::Connect::Model::HierarchyGroup::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::HierarchyGroup::WithId
HierarchyGroup & WithId(Aws::String &&value)
Definition: HierarchyGroup.h:74
Aws::Connect::Model::HierarchyGroup::LevelIdHasBeenSet
bool LevelIdHasBeenSet() const
Definition: HierarchyGroup.h:172
Aws::Connect::Model::HierarchyGroup::WithArn
HierarchyGroup & WithArn(const char *value)
Definition: HierarchyGroup.h:120
Aws::Connect::Model::HierarchyGroup::GetHierarchyPath
const HierarchyPath & GetHierarchyPath() const
Definition: HierarchyGroup.h:208
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::HierarchyGroup::HierarchyGroup
HierarchyGroup()
Aws::Connect::Model::HierarchyGroup::SetHierarchyPath
void SetHierarchyPath(HierarchyPath &&value)
Definition: HierarchyGroup.h:223
Aws::Connect::Model::HierarchyGroup::WithId
HierarchyGroup & WithId(const Aws::String &value)
Definition: HierarchyGroup.h:69
Aws::Connect::Model::HierarchyGroup::WithName
HierarchyGroup & WithName(Aws::String &&value)
Definition: HierarchyGroup.h:156
Aws::Connect::Model::HierarchyGroup::SetName
void SetName(const Aws::String &value)
Definition: HierarchyGroup.h:136
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::HierarchyGroup::SetArn
void SetArn(Aws::String &&value)
Definition: HierarchyGroup.h:100
Aws::Connect::Model::HierarchyGroup::SetArn
void SetArn(const Aws::String &value)
Definition: HierarchyGroup.h:95
Aws::Connect::Model::HierarchyGroup::SetId
void SetId(const char *value)
Definition: HierarchyGroup.h:64
Aws::Connect::Model::HierarchyGroup::GetLevelId
const Aws::String & GetLevelId() const
Definition: HierarchyGroup.h:167
Aws::Connect::Model::HierarchyGroup::IdHasBeenSet
bool IdHasBeenSet() const
Definition: HierarchyGroup.h:49
Aws::Connect::Model::HierarchyGroup::NameHasBeenSet
bool NameHasBeenSet() const
Definition: HierarchyGroup.h:131
Aws::Connect::Model::HierarchyGroup::SetArn
void SetArn(const char *value)
Definition: HierarchyGroup.h:105
Aws::Connect::Model::HierarchyGroup::WithName
HierarchyGroup & WithName(const Aws::String &value)
Definition: HierarchyGroup.h:151
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::HierarchyGroup::WithLevelId
HierarchyGroup & WithLevelId(const char *value)
Definition: HierarchyGroup.h:202
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::HierarchyGroup::WithHierarchyPath
HierarchyGroup & WithHierarchyPath(const HierarchyPath &value)
Definition: HierarchyGroup.h:228
Connect_EXPORTS.h
Aws::Connect::Model::HierarchyGroup::GetId
const Aws::String & GetId() const
Definition: HierarchyGroup.h:44
Aws::Connect::Model::HierarchyGroup::WithName
HierarchyGroup & WithName(const char *value)
Definition: HierarchyGroup.h:161
Aws::Connect::Model::HierarchyGroup::SetName
void SetName(Aws::String &&value)
Definition: HierarchyGroup.h:141