AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HierarchyPath.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/HierarchyGroupSummary.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 HierarchyPath();
36 AWS_CONNECT_API HierarchyPath(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const HierarchyGroupSummary& GetLevelOne() const{ return m_levelOne; }
46 inline bool LevelOneHasBeenSet() const { return m_levelOneHasBeenSet; }
47 inline void SetLevelOne(const HierarchyGroupSummary& value) { m_levelOneHasBeenSet = true; m_levelOne = value; }
48 inline void SetLevelOne(HierarchyGroupSummary&& value) { m_levelOneHasBeenSet = true; m_levelOne = std::move(value); }
49 inline HierarchyPath& WithLevelOne(const HierarchyGroupSummary& value) { SetLevelOne(value); return *this;}
50 inline HierarchyPath& WithLevelOne(HierarchyGroupSummary&& value) { SetLevelOne(std::move(value)); return *this;}
52
54
57 inline const HierarchyGroupSummary& GetLevelTwo() const{ return m_levelTwo; }
58 inline bool LevelTwoHasBeenSet() const { return m_levelTwoHasBeenSet; }
59 inline void SetLevelTwo(const HierarchyGroupSummary& value) { m_levelTwoHasBeenSet = true; m_levelTwo = value; }
60 inline void SetLevelTwo(HierarchyGroupSummary&& value) { m_levelTwoHasBeenSet = true; m_levelTwo = std::move(value); }
61 inline HierarchyPath& WithLevelTwo(const HierarchyGroupSummary& value) { SetLevelTwo(value); return *this;}
62 inline HierarchyPath& WithLevelTwo(HierarchyGroupSummary&& value) { SetLevelTwo(std::move(value)); return *this;}
64
66
69 inline const HierarchyGroupSummary& GetLevelThree() const{ return m_levelThree; }
70 inline bool LevelThreeHasBeenSet() const { return m_levelThreeHasBeenSet; }
71 inline void SetLevelThree(const HierarchyGroupSummary& value) { m_levelThreeHasBeenSet = true; m_levelThree = value; }
72 inline void SetLevelThree(HierarchyGroupSummary&& value) { m_levelThreeHasBeenSet = true; m_levelThree = std::move(value); }
73 inline HierarchyPath& WithLevelThree(const HierarchyGroupSummary& value) { SetLevelThree(value); return *this;}
74 inline HierarchyPath& WithLevelThree(HierarchyGroupSummary&& value) { SetLevelThree(std::move(value)); return *this;}
76
78
81 inline const HierarchyGroupSummary& GetLevelFour() const{ return m_levelFour; }
82 inline bool LevelFourHasBeenSet() const { return m_levelFourHasBeenSet; }
83 inline void SetLevelFour(const HierarchyGroupSummary& value) { m_levelFourHasBeenSet = true; m_levelFour = value; }
84 inline void SetLevelFour(HierarchyGroupSummary&& value) { m_levelFourHasBeenSet = true; m_levelFour = std::move(value); }
85 inline HierarchyPath& WithLevelFour(const HierarchyGroupSummary& value) { SetLevelFour(value); return *this;}
86 inline HierarchyPath& WithLevelFour(HierarchyGroupSummary&& value) { SetLevelFour(std::move(value)); return *this;}
88
90
93 inline const HierarchyGroupSummary& GetLevelFive() const{ return m_levelFive; }
94 inline bool LevelFiveHasBeenSet() const { return m_levelFiveHasBeenSet; }
95 inline void SetLevelFive(const HierarchyGroupSummary& value) { m_levelFiveHasBeenSet = true; m_levelFive = value; }
96 inline void SetLevelFive(HierarchyGroupSummary&& value) { m_levelFiveHasBeenSet = true; m_levelFive = std::move(value); }
97 inline HierarchyPath& WithLevelFive(const HierarchyGroupSummary& value) { SetLevelFive(value); return *this;}
98 inline HierarchyPath& WithLevelFive(HierarchyGroupSummary&& value) { SetLevelFive(std::move(value)); return *this;}
100 private:
101
102 HierarchyGroupSummary m_levelOne;
103 bool m_levelOneHasBeenSet = false;
104
105 HierarchyGroupSummary m_levelTwo;
106 bool m_levelTwoHasBeenSet = false;
107
108 HierarchyGroupSummary m_levelThree;
109 bool m_levelThreeHasBeenSet = false;
110
111 HierarchyGroupSummary m_levelFour;
112 bool m_levelFourHasBeenSet = false;
113
114 HierarchyGroupSummary m_levelFive;
115 bool m_levelFiveHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Connect
120} // namespace Aws
AWS_CONNECT_API HierarchyPath & operator=(Aws::Utils::Json::JsonView jsonValue)
HierarchyPath & WithLevelTwo(const HierarchyGroupSummary &value)
HierarchyPath & WithLevelFour(const HierarchyGroupSummary &value)
void SetLevelFive(const HierarchyGroupSummary &value)
void SetLevelFive(HierarchyGroupSummary &&value)
HierarchyPath & WithLevelOne(HierarchyGroupSummary &&value)
void SetLevelTwo(HierarchyGroupSummary &&value)
void SetLevelOne(const HierarchyGroupSummary &value)
HierarchyPath & WithLevelFour(HierarchyGroupSummary &&value)
void SetLevelThree(HierarchyGroupSummary &&value)
const HierarchyGroupSummary & GetLevelOne() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLevelFour(const HierarchyGroupSummary &value)
void SetLevelTwo(const HierarchyGroupSummary &value)
const HierarchyGroupSummary & GetLevelThree() const
void SetLevelThree(const HierarchyGroupSummary &value)
HierarchyPath & WithLevelThree(const HierarchyGroupSummary &value)
const HierarchyGroupSummary & GetLevelFive() const
HierarchyPath & WithLevelOne(const HierarchyGroupSummary &value)
const HierarchyGroupSummary & GetLevelTwo() const
HierarchyPath & WithLevelFive(HierarchyGroupSummary &&value)
AWS_CONNECT_API HierarchyPath(Aws::Utils::Json::JsonView jsonValue)
void SetLevelOne(HierarchyGroupSummary &&value)
HierarchyPath & WithLevelTwo(HierarchyGroupSummary &&value)
HierarchyPath & WithLevelFive(const HierarchyGroupSummary &value)
void SetLevelFour(HierarchyGroupSummary &&value)
const HierarchyGroupSummary & GetLevelFour() const
HierarchyPath & WithLevelThree(HierarchyGroupSummary &&value)
Aws::Utils::Json::JsonValue JsonValue