AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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