AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 HierarchyGroup& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template<typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 HierarchyGroup& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 HierarchyGroup& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
83 inline const Aws::String& GetLevelId() const { return m_levelId; }
84 inline bool LevelIdHasBeenSet() const { return m_levelIdHasBeenSet; }
85 template<typename LevelIdT = Aws::String>
86 void SetLevelId(LevelIdT&& value) { m_levelIdHasBeenSet = true; m_levelId = std::forward<LevelIdT>(value); }
87 template<typename LevelIdT = Aws::String>
88 HierarchyGroup& WithLevelId(LevelIdT&& value) { SetLevelId(std::forward<LevelIdT>(value)); return *this;}
90
92
95 inline const HierarchyPath& GetHierarchyPath() const { return m_hierarchyPath; }
96 inline bool HierarchyPathHasBeenSet() const { return m_hierarchyPathHasBeenSet; }
97 template<typename HierarchyPathT = HierarchyPath>
98 void SetHierarchyPath(HierarchyPathT&& value) { m_hierarchyPathHasBeenSet = true; m_hierarchyPath = std::forward<HierarchyPathT>(value); }
99 template<typename HierarchyPathT = HierarchyPath>
100 HierarchyGroup& WithHierarchyPath(HierarchyPathT&& value) { SetHierarchyPath(std::forward<HierarchyPathT>(value)); return *this;}
102
104
108 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
109 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
110 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
112 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
113 HierarchyGroup& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
114 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
115 HierarchyGroup& AddTags(TagsKeyT&& key, TagsValueT&& value) {
116 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
117 }
119
121
124 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
125 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
126 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
127 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
128 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
129 HierarchyGroup& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
131
133
136 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
137 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
138 template<typename LastModifiedRegionT = Aws::String>
139 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
140 template<typename LastModifiedRegionT = Aws::String>
141 HierarchyGroup& WithLastModifiedRegion(LastModifiedRegionT&& value) { SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value)); return *this;}
143 private:
144
145 Aws::String m_id;
146 bool m_idHasBeenSet = false;
147
148 Aws::String m_arn;
149 bool m_arnHasBeenSet = false;
150
151 Aws::String m_name;
152 bool m_nameHasBeenSet = false;
153
154 Aws::String m_levelId;
155 bool m_levelIdHasBeenSet = false;
156
157 HierarchyPath m_hierarchyPath;
158 bool m_hierarchyPathHasBeenSet = false;
159
161 bool m_tagsHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastModifiedTime{};
164 bool m_lastModifiedTimeHasBeenSet = false;
165
166 Aws::String m_lastModifiedRegion;
167 bool m_lastModifiedRegionHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace Connect
172} // namespace Aws
HierarchyGroup & AddTags(TagsKeyT &&key, TagsValueT &&value)
HierarchyGroup & WithTags(TagsT &&value)
AWS_CONNECT_API HierarchyGroup(Aws::Utils::Json::JsonView jsonValue)
HierarchyGroup & WithHierarchyPath(HierarchyPathT &&value)
HierarchyGroup & WithName(NameT &&value)
const Aws::String & GetLastModifiedRegion() const
AWS_CONNECT_API HierarchyGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedRegion(LastModifiedRegionT &&value)
void SetHierarchyPath(HierarchyPathT &&value)
HierarchyGroup & WithLevelId(LevelIdT &&value)
const Aws::String & GetArn() const
const HierarchyPath & GetHierarchyPath() const
HierarchyGroup & WithLastModifiedRegion(LastModifiedRegionT &&value)
HierarchyGroup & WithId(IdT &&value)
HierarchyGroup & WithLastModifiedTime(LastModifiedTimeT &&value)
HierarchyGroup & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLevelId(LevelIdT &&value)
AWS_CONNECT_API HierarchyGroup()=default
const Aws::String & GetName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetId() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetLevelId() const
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