AWS SDK for C++

AWS SDK for C++ Version 1.11.746

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
29 public:
30 AWS_CONNECT_API HierarchyStructureUpdate() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const HierarchyLevelUpdate& GetLevelOne() const { return m_levelOne; }
40 inline bool LevelOneHasBeenSet() const { return m_levelOneHasBeenSet; }
41 template <typename LevelOneT = HierarchyLevelUpdate>
42 void SetLevelOne(LevelOneT&& value) {
43 m_levelOneHasBeenSet = true;
44 m_levelOne = std::forward<LevelOneT>(value);
45 }
46 template <typename LevelOneT = HierarchyLevelUpdate>
48 SetLevelOne(std::forward<LevelOneT>(value));
49 return *this;
50 }
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) {
61 m_levelTwoHasBeenSet = true;
62 m_levelTwo = std::forward<LevelTwoT>(value);
63 }
64 template <typename LevelTwoT = HierarchyLevelUpdate>
66 SetLevelTwo(std::forward<LevelTwoT>(value));
67 return *this;
68 }
70
72
75 inline const HierarchyLevelUpdate& GetLevelThree() const { return m_levelThree; }
76 inline bool LevelThreeHasBeenSet() const { return m_levelThreeHasBeenSet; }
77 template <typename LevelThreeT = HierarchyLevelUpdate>
78 void SetLevelThree(LevelThreeT&& value) {
79 m_levelThreeHasBeenSet = true;
80 m_levelThree = std::forward<LevelThreeT>(value);
81 }
82 template <typename LevelThreeT = HierarchyLevelUpdate>
84 SetLevelThree(std::forward<LevelThreeT>(value));
85 return *this;
86 }
88
90
93 inline const HierarchyLevelUpdate& GetLevelFour() const { return m_levelFour; }
94 inline bool LevelFourHasBeenSet() const { return m_levelFourHasBeenSet; }
95 template <typename LevelFourT = HierarchyLevelUpdate>
96 void SetLevelFour(LevelFourT&& value) {
97 m_levelFourHasBeenSet = true;
98 m_levelFour = std::forward<LevelFourT>(value);
99 }
100 template <typename LevelFourT = HierarchyLevelUpdate>
102 SetLevelFour(std::forward<LevelFourT>(value));
103 return *this;
104 }
106
108
111 inline const HierarchyLevelUpdate& GetLevelFive() const { return m_levelFive; }
112 inline bool LevelFiveHasBeenSet() const { return m_levelFiveHasBeenSet; }
113 template <typename LevelFiveT = HierarchyLevelUpdate>
114 void SetLevelFive(LevelFiveT&& value) {
115 m_levelFiveHasBeenSet = true;
116 m_levelFive = std::forward<LevelFiveT>(value);
117 }
118 template <typename LevelFiveT = HierarchyLevelUpdate>
120 SetLevelFive(std::forward<LevelFiveT>(value));
121 return *this;
122 }
124 private:
125 HierarchyLevelUpdate m_levelOne;
126
127 HierarchyLevelUpdate m_levelTwo;
128
129 HierarchyLevelUpdate m_levelThree;
130
131 HierarchyLevelUpdate m_levelFour;
132
133 HierarchyLevelUpdate m_levelFive;
134 bool m_levelOneHasBeenSet = false;
135 bool m_levelTwoHasBeenSet = false;
136 bool m_levelThreeHasBeenSet = false;
137 bool m_levelFourHasBeenSet = false;
138 bool m_levelFiveHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace Connect
143} // 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