AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
HierarchyPathReference.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/HierarchyGroupSummaryReference.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 HierarchyPathReference() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const HierarchyGroupSummaryReference& GetLevelOne() const { return m_levelOne; }
40 inline bool LevelOneHasBeenSet() const { return m_levelOneHasBeenSet; }
41 template <typename LevelOneT = HierarchyGroupSummaryReference>
42 void SetLevelOne(LevelOneT&& value) {
43 m_levelOneHasBeenSet = true;
44 m_levelOne = std::forward<LevelOneT>(value);
45 }
46 template <typename LevelOneT = HierarchyGroupSummaryReference>
48 SetLevelOne(std::forward<LevelOneT>(value));
49 return *this;
50 }
52
54
57 inline const HierarchyGroupSummaryReference& GetLevelTwo() const { return m_levelTwo; }
58 inline bool LevelTwoHasBeenSet() const { return m_levelTwoHasBeenSet; }
59 template <typename LevelTwoT = HierarchyGroupSummaryReference>
60 void SetLevelTwo(LevelTwoT&& value) {
61 m_levelTwoHasBeenSet = true;
62 m_levelTwo = std::forward<LevelTwoT>(value);
63 }
64 template <typename LevelTwoT = HierarchyGroupSummaryReference>
66 SetLevelTwo(std::forward<LevelTwoT>(value));
67 return *this;
68 }
70
72
75 inline const HierarchyGroupSummaryReference& GetLevelThree() const { return m_levelThree; }
76 inline bool LevelThreeHasBeenSet() const { return m_levelThreeHasBeenSet; }
77 template <typename LevelThreeT = HierarchyGroupSummaryReference>
78 void SetLevelThree(LevelThreeT&& value) {
79 m_levelThreeHasBeenSet = true;
80 m_levelThree = std::forward<LevelThreeT>(value);
81 }
82 template <typename LevelThreeT = HierarchyGroupSummaryReference>
83 HierarchyPathReference& WithLevelThree(LevelThreeT&& value) {
84 SetLevelThree(std::forward<LevelThreeT>(value));
85 return *this;
86 }
88
90
93 inline const HierarchyGroupSummaryReference& GetLevelFour() const { return m_levelFour; }
94 inline bool LevelFourHasBeenSet() const { return m_levelFourHasBeenSet; }
95 template <typename LevelFourT = HierarchyGroupSummaryReference>
96 void SetLevelFour(LevelFourT&& value) {
97 m_levelFourHasBeenSet = true;
98 m_levelFour = std::forward<LevelFourT>(value);
99 }
100 template <typename LevelFourT = HierarchyGroupSummaryReference>
102 SetLevelFour(std::forward<LevelFourT>(value));
103 return *this;
104 }
106
108
111 inline const HierarchyGroupSummaryReference& GetLevelFive() const { return m_levelFive; }
112 inline bool LevelFiveHasBeenSet() const { return m_levelFiveHasBeenSet; }
113 template <typename LevelFiveT = HierarchyGroupSummaryReference>
114 void SetLevelFive(LevelFiveT&& value) {
115 m_levelFiveHasBeenSet = true;
116 m_levelFive = std::forward<LevelFiveT>(value);
117 }
118 template <typename LevelFiveT = HierarchyGroupSummaryReference>
120 SetLevelFive(std::forward<LevelFiveT>(value));
121 return *this;
122 }
124 private:
126
128
130
132
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
const HierarchyGroupSummaryReference & GetLevelFive() const
AWS_CONNECT_API HierarchyPathReference & operator=(Aws::Utils::Json::JsonView jsonValue)
HierarchyPathReference & WithLevelOne(LevelOneT &&value)
const HierarchyGroupSummaryReference & GetLevelTwo() const
HierarchyPathReference & WithLevelFour(LevelFourT &&value)
HierarchyPathReference & WithLevelThree(LevelThreeT &&value)
const HierarchyGroupSummaryReference & GetLevelFour() const
HierarchyPathReference & WithLevelTwo(LevelTwoT &&value)
AWS_CONNECT_API HierarchyPathReference()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
HierarchyPathReference & WithLevelFive(LevelFiveT &&value)
const HierarchyGroupSummaryReference & GetLevelOne() const
const HierarchyGroupSummaryReference & GetLevelThree() const
AWS_CONNECT_API HierarchyPathReference(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue