AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HierarchyGroup.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/HierarchyPath.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_CONNECT_API HierarchyGroup();
38 AWS_CONNECT_API HierarchyGroup(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline HierarchyGroup& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline HierarchyGroup& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline HierarchyGroup& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline HierarchyGroup& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline HierarchyGroup& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline HierarchyGroup& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline HierarchyGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline HierarchyGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline HierarchyGroup& WithName(const char* value) { SetName(value); return *this;}
84
86
89 inline const Aws::String& GetLevelId() const{ return m_levelId; }
90 inline bool LevelIdHasBeenSet() const { return m_levelIdHasBeenSet; }
91 inline void SetLevelId(const Aws::String& value) { m_levelIdHasBeenSet = true; m_levelId = value; }
92 inline void SetLevelId(Aws::String&& value) { m_levelIdHasBeenSet = true; m_levelId = std::move(value); }
93 inline void SetLevelId(const char* value) { m_levelIdHasBeenSet = true; m_levelId.assign(value); }
94 inline HierarchyGroup& WithLevelId(const Aws::String& value) { SetLevelId(value); return *this;}
95 inline HierarchyGroup& WithLevelId(Aws::String&& value) { SetLevelId(std::move(value)); return *this;}
96 inline HierarchyGroup& WithLevelId(const char* value) { SetLevelId(value); return *this;}
98
100
103 inline const HierarchyPath& GetHierarchyPath() const{ return m_hierarchyPath; }
104 inline bool HierarchyPathHasBeenSet() const { return m_hierarchyPathHasBeenSet; }
105 inline void SetHierarchyPath(const HierarchyPath& value) { m_hierarchyPathHasBeenSet = true; m_hierarchyPath = value; }
106 inline void SetHierarchyPath(HierarchyPath&& value) { m_hierarchyPathHasBeenSet = true; m_hierarchyPath = std::move(value); }
107 inline HierarchyGroup& WithHierarchyPath(const HierarchyPath& value) { SetHierarchyPath(value); return *this;}
108 inline HierarchyGroup& WithHierarchyPath(HierarchyPath&& value) { SetHierarchyPath(std::move(value)); return *this;}
110
112
116 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
117 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
118 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
119 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
120 inline HierarchyGroup& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
121 inline HierarchyGroup& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
122 inline HierarchyGroup& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
123 inline HierarchyGroup& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
124 inline HierarchyGroup& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
125 inline HierarchyGroup& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
126 inline HierarchyGroup& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
127 inline HierarchyGroup& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
128 inline HierarchyGroup& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
130
132
135 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
136 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
137 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
138 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
140 inline HierarchyGroup& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
142
144
147 inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; }
148 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
149 inline void SetLastModifiedRegion(const Aws::String& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = value; }
150 inline void SetLastModifiedRegion(Aws::String&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::move(value); }
151 inline void SetLastModifiedRegion(const char* value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion.assign(value); }
152 inline HierarchyGroup& WithLastModifiedRegion(const Aws::String& value) { SetLastModifiedRegion(value); return *this;}
153 inline HierarchyGroup& WithLastModifiedRegion(Aws::String&& value) { SetLastModifiedRegion(std::move(value)); return *this;}
154 inline HierarchyGroup& WithLastModifiedRegion(const char* value) { SetLastModifiedRegion(value); return *this;}
156 private:
157
158 Aws::String m_id;
159 bool m_idHasBeenSet = false;
160
161 Aws::String m_arn;
162 bool m_arnHasBeenSet = false;
163
164 Aws::String m_name;
165 bool m_nameHasBeenSet = false;
166
167 Aws::String m_levelId;
168 bool m_levelIdHasBeenSet = false;
169
170 HierarchyPath m_hierarchyPath;
171 bool m_hierarchyPathHasBeenSet = false;
172
174 bool m_tagsHasBeenSet = false;
175
176 Aws::Utils::DateTime m_lastModifiedTime;
177 bool m_lastModifiedTimeHasBeenSet = false;
178
179 Aws::String m_lastModifiedRegion;
180 bool m_lastModifiedRegionHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace Connect
185} // namespace Aws
HierarchyGroup & WithId(Aws::String &&value)
void SetLastModifiedRegion(const char *value)
HierarchyGroup & AddTags(const Aws::String &key, const Aws::String &value)
HierarchyGroup & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
HierarchyGroup & WithLastModifiedRegion(const char *value)
HierarchyGroup & WithId(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
HierarchyGroup & WithName(const char *value)
HierarchyGroup & WithName(const Aws::String &value)
HierarchyGroup & WithHierarchyPath(const HierarchyPath &value)
HierarchyGroup & AddTags(const char *key, Aws::String &&value)
HierarchyGroup & WithArn(const char *value)
void SetId(Aws::String &&value)
HierarchyGroup & WithArn(Aws::String &&value)
HierarchyGroup & WithLastModifiedTime(Aws::Utils::DateTime &&value)
HierarchyGroup & WithId(const Aws::String &value)
HierarchyGroup & AddTags(Aws::String &&key, const Aws::String &value)
void SetName(const Aws::String &value)
HierarchyGroup & AddTags(Aws::String &&key, const char *value)
AWS_CONNECT_API HierarchyGroup(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
void SetArn(Aws::String &&value)
HierarchyGroup & WithLevelId(const Aws::String &value)
const Aws::String & GetLastModifiedRegion() const
void SetLevelId(Aws::String &&value)
HierarchyGroup & WithLevelId(const char *value)
HierarchyGroup & WithName(Aws::String &&value)
AWS_CONNECT_API HierarchyGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLevelId(const Aws::String &value)
void SetLastModifiedRegion(const Aws::String &value)
HierarchyGroup & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetArn() const
void SetName(Aws::String &&value)
void SetLevelId(const char *value)
const HierarchyPath & GetHierarchyPath() const
void SetName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetId(const Aws::String &value)
HierarchyGroup & AddTags(const Aws::String &key, Aws::String &&value)
HierarchyGroup & WithArn(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetLastModifiedRegion(Aws::String &&value)
HierarchyGroup & WithLastModifiedTime(const Aws::Utils::DateTime &value)
HierarchyGroup & AddTags(const char *key, const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
HierarchyGroup & WithHierarchyPath(HierarchyPath &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
HierarchyGroup & AddTags(Aws::String &&key, Aws::String &&value)
void SetHierarchyPath(HierarchyPath &&value)
HierarchyGroup & WithLastModifiedRegion(const Aws::String &value)
HierarchyGroup & WithLastModifiedRegion(Aws::String &&value)
const Aws::String & GetName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetId() const
void SetHierarchyPath(const HierarchyPath &value)
const Aws::String & GetLevelId() const
HierarchyGroup & WithLevelId(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue