AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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