AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HierarchyGroups.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/AgentHierarchyGroup.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 Connect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECT_API HierarchyGroups();
36 AWS_CONNECT_API HierarchyGroups(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const AgentHierarchyGroup& GetLevel1() const{ return m_level1; }
46 inline bool Level1HasBeenSet() const { return m_level1HasBeenSet; }
47 inline void SetLevel1(const AgentHierarchyGroup& value) { m_level1HasBeenSet = true; m_level1 = value; }
48 inline void SetLevel1(AgentHierarchyGroup&& value) { m_level1HasBeenSet = true; m_level1 = std::move(value); }
49 inline HierarchyGroups& WithLevel1(const AgentHierarchyGroup& value) { SetLevel1(value); return *this;}
50 inline HierarchyGroups& WithLevel1(AgentHierarchyGroup&& value) { SetLevel1(std::move(value)); return *this;}
52
54
57 inline const AgentHierarchyGroup& GetLevel2() const{ return m_level2; }
58 inline bool Level2HasBeenSet() const { return m_level2HasBeenSet; }
59 inline void SetLevel2(const AgentHierarchyGroup& value) { m_level2HasBeenSet = true; m_level2 = value; }
60 inline void SetLevel2(AgentHierarchyGroup&& value) { m_level2HasBeenSet = true; m_level2 = std::move(value); }
61 inline HierarchyGroups& WithLevel2(const AgentHierarchyGroup& value) { SetLevel2(value); return *this;}
62 inline HierarchyGroups& WithLevel2(AgentHierarchyGroup&& value) { SetLevel2(std::move(value)); return *this;}
64
66
69 inline const AgentHierarchyGroup& GetLevel3() const{ return m_level3; }
70 inline bool Level3HasBeenSet() const { return m_level3HasBeenSet; }
71 inline void SetLevel3(const AgentHierarchyGroup& value) { m_level3HasBeenSet = true; m_level3 = value; }
72 inline void SetLevel3(AgentHierarchyGroup&& value) { m_level3HasBeenSet = true; m_level3 = std::move(value); }
73 inline HierarchyGroups& WithLevel3(const AgentHierarchyGroup& value) { SetLevel3(value); return *this;}
74 inline HierarchyGroups& WithLevel3(AgentHierarchyGroup&& value) { SetLevel3(std::move(value)); return *this;}
76
78
81 inline const AgentHierarchyGroup& GetLevel4() const{ return m_level4; }
82 inline bool Level4HasBeenSet() const { return m_level4HasBeenSet; }
83 inline void SetLevel4(const AgentHierarchyGroup& value) { m_level4HasBeenSet = true; m_level4 = value; }
84 inline void SetLevel4(AgentHierarchyGroup&& value) { m_level4HasBeenSet = true; m_level4 = std::move(value); }
85 inline HierarchyGroups& WithLevel4(const AgentHierarchyGroup& value) { SetLevel4(value); return *this;}
86 inline HierarchyGroups& WithLevel4(AgentHierarchyGroup&& value) { SetLevel4(std::move(value)); return *this;}
88
90
93 inline const AgentHierarchyGroup& GetLevel5() const{ return m_level5; }
94 inline bool Level5HasBeenSet() const { return m_level5HasBeenSet; }
95 inline void SetLevel5(const AgentHierarchyGroup& value) { m_level5HasBeenSet = true; m_level5 = value; }
96 inline void SetLevel5(AgentHierarchyGroup&& value) { m_level5HasBeenSet = true; m_level5 = std::move(value); }
97 inline HierarchyGroups& WithLevel5(const AgentHierarchyGroup& value) { SetLevel5(value); return *this;}
98 inline HierarchyGroups& WithLevel5(AgentHierarchyGroup&& value) { SetLevel5(std::move(value)); return *this;}
100 private:
101
102 AgentHierarchyGroup m_level1;
103 bool m_level1HasBeenSet = false;
104
105 AgentHierarchyGroup m_level2;
106 bool m_level2HasBeenSet = false;
107
108 AgentHierarchyGroup m_level3;
109 bool m_level3HasBeenSet = false;
110
111 AgentHierarchyGroup m_level4;
112 bool m_level4HasBeenSet = false;
113
114 AgentHierarchyGroup m_level5;
115 bool m_level5HasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Connect
120} // namespace Aws
HierarchyGroups & WithLevel3(const AgentHierarchyGroup &value)
const AgentHierarchyGroup & GetLevel3() const
HierarchyGroups & WithLevel1(const AgentHierarchyGroup &value)
HierarchyGroups & WithLevel1(AgentHierarchyGroup &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
HierarchyGroups & WithLevel2(AgentHierarchyGroup &&value)
const AgentHierarchyGroup & GetLevel1() const
const AgentHierarchyGroup & GetLevel4() const
void SetLevel4(const AgentHierarchyGroup &value)
HierarchyGroups & WithLevel4(const AgentHierarchyGroup &value)
AWS_CONNECT_API HierarchyGroups(Aws::Utils::Json::JsonView jsonValue)
void SetLevel3(const AgentHierarchyGroup &value)
HierarchyGroups & WithLevel5(AgentHierarchyGroup &&value)
void SetLevel1(const AgentHierarchyGroup &value)
HierarchyGroups & WithLevel3(AgentHierarchyGroup &&value)
void SetLevel5(AgentHierarchyGroup &&value)
HierarchyGroups & WithLevel4(AgentHierarchyGroup &&value)
const AgentHierarchyGroup & GetLevel5() const
void SetLevel3(AgentHierarchyGroup &&value)
void SetLevel5(const AgentHierarchyGroup &value)
void SetLevel2(const AgentHierarchyGroup &value)
void SetLevel4(AgentHierarchyGroup &&value)
void SetLevel1(AgentHierarchyGroup &&value)
const AgentHierarchyGroup & GetLevel2() const
HierarchyGroups & WithLevel2(const AgentHierarchyGroup &value)
AWS_CONNECT_API HierarchyGroups & operator=(Aws::Utils::Json::JsonView jsonValue)
HierarchyGroups & WithLevel5(const AgentHierarchyGroup &value)
void SetLevel2(AgentHierarchyGroup &&value)
Aws::Utils::Json::JsonValue JsonValue