AWS SDK for C++  1.9.160
AWS SDK for C++
HierarchyStructure.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Connect
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const HierarchyLevel& GetLevelOne() const{ return m_levelOne; }
45 
49  inline bool LevelOneHasBeenSet() const { return m_levelOneHasBeenSet; }
50 
54  inline void SetLevelOne(const HierarchyLevel& value) { m_levelOneHasBeenSet = true; m_levelOne = value; }
55 
59  inline void SetLevelOne(HierarchyLevel&& value) { m_levelOneHasBeenSet = true; m_levelOne = std::move(value); }
60 
64  inline HierarchyStructure& WithLevelOne(const HierarchyLevel& value) { SetLevelOne(value); return *this;}
65 
69  inline HierarchyStructure& WithLevelOne(HierarchyLevel&& value) { SetLevelOne(std::move(value)); return *this;}
70 
71 
75  inline const HierarchyLevel& GetLevelTwo() const{ return m_levelTwo; }
76 
80  inline bool LevelTwoHasBeenSet() const { return m_levelTwoHasBeenSet; }
81 
85  inline void SetLevelTwo(const HierarchyLevel& value) { m_levelTwoHasBeenSet = true; m_levelTwo = value; }
86 
90  inline void SetLevelTwo(HierarchyLevel&& value) { m_levelTwoHasBeenSet = true; m_levelTwo = std::move(value); }
91 
95  inline HierarchyStructure& WithLevelTwo(const HierarchyLevel& value) { SetLevelTwo(value); return *this;}
96 
100  inline HierarchyStructure& WithLevelTwo(HierarchyLevel&& value) { SetLevelTwo(std::move(value)); return *this;}
101 
102 
106  inline const HierarchyLevel& GetLevelThree() const{ return m_levelThree; }
107 
111  inline bool LevelThreeHasBeenSet() const { return m_levelThreeHasBeenSet; }
112 
116  inline void SetLevelThree(const HierarchyLevel& value) { m_levelThreeHasBeenSet = true; m_levelThree = value; }
117 
121  inline void SetLevelThree(HierarchyLevel&& value) { m_levelThreeHasBeenSet = true; m_levelThree = std::move(value); }
122 
126  inline HierarchyStructure& WithLevelThree(const HierarchyLevel& value) { SetLevelThree(value); return *this;}
127 
131  inline HierarchyStructure& WithLevelThree(HierarchyLevel&& value) { SetLevelThree(std::move(value)); return *this;}
132 
133 
137  inline const HierarchyLevel& GetLevelFour() const{ return m_levelFour; }
138 
142  inline bool LevelFourHasBeenSet() const { return m_levelFourHasBeenSet; }
143 
147  inline void SetLevelFour(const HierarchyLevel& value) { m_levelFourHasBeenSet = true; m_levelFour = value; }
148 
152  inline void SetLevelFour(HierarchyLevel&& value) { m_levelFourHasBeenSet = true; m_levelFour = std::move(value); }
153 
157  inline HierarchyStructure& WithLevelFour(const HierarchyLevel& value) { SetLevelFour(value); return *this;}
158 
162  inline HierarchyStructure& WithLevelFour(HierarchyLevel&& value) { SetLevelFour(std::move(value)); return *this;}
163 
164 
168  inline const HierarchyLevel& GetLevelFive() const{ return m_levelFive; }
169 
173  inline bool LevelFiveHasBeenSet() const { return m_levelFiveHasBeenSet; }
174 
178  inline void SetLevelFive(const HierarchyLevel& value) { m_levelFiveHasBeenSet = true; m_levelFive = value; }
179 
183  inline void SetLevelFive(HierarchyLevel&& value) { m_levelFiveHasBeenSet = true; m_levelFive = std::move(value); }
184 
188  inline HierarchyStructure& WithLevelFive(const HierarchyLevel& value) { SetLevelFive(value); return *this;}
189 
193  inline HierarchyStructure& WithLevelFive(HierarchyLevel&& value) { SetLevelFive(std::move(value)); return *this;}
194 
195  private:
196 
197  HierarchyLevel m_levelOne;
198  bool m_levelOneHasBeenSet;
199 
200  HierarchyLevel m_levelTwo;
201  bool m_levelTwoHasBeenSet;
202 
203  HierarchyLevel m_levelThree;
204  bool m_levelThreeHasBeenSet;
205 
206  HierarchyLevel m_levelFour;
207  bool m_levelFourHasBeenSet;
208 
209  HierarchyLevel m_levelFive;
210  bool m_levelFiveHasBeenSet;
211  };
212 
213 } // namespace Model
214 } // namespace Connect
215 } // namespace Aws
HierarchyLevel.h
Aws::Connect::Model::HierarchyStructure::SetLevelFour
void SetLevelFour(HierarchyLevel &&value)
Definition: HierarchyStructure.h:152
Aws::Connect::Model::HierarchyStructure::GetLevelFive
const HierarchyLevel & GetLevelFive() const
Definition: HierarchyStructure.h:168
Aws::Connect::Model::HierarchyStructure::WithLevelOne
HierarchyStructure & WithLevelOne(HierarchyLevel &&value)
Definition: HierarchyStructure.h:69
Aws::Connect::Model::HierarchyStructure::WithLevelFour
HierarchyStructure & WithLevelFour(HierarchyLevel &&value)
Definition: HierarchyStructure.h:162
Aws::Connect::Model::HierarchyStructure::WithLevelFive
HierarchyStructure & WithLevelFive(const HierarchyLevel &value)
Definition: HierarchyStructure.h:188
Aws::Connect::Model::HierarchyStructure::WithLevelThree
HierarchyStructure & WithLevelThree(HierarchyLevel &&value)
Definition: HierarchyStructure.h:131
Aws::Connect::Model::HierarchyStructure
Definition: HierarchyStructure.h:33
Aws::Connect::Model::HierarchyStructure::WithLevelThree
HierarchyStructure & WithLevelThree(const HierarchyLevel &value)
Definition: HierarchyStructure.h:126
Aws::Connect::Model::HierarchyStructure::SetLevelThree
void SetLevelThree(const HierarchyLevel &value)
Definition: HierarchyStructure.h:116
Aws::Connect::Model::HierarchyStructure::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::HierarchyStructure::SetLevelOne
void SetLevelOne(HierarchyLevel &&value)
Definition: HierarchyStructure.h:59
Aws::Connect::Model::HierarchyLevel
Definition: HierarchyLevel.h:32
Aws::Connect::Model::HierarchyStructure::WithLevelTwo
HierarchyStructure & WithLevelTwo(HierarchyLevel &&value)
Definition: HierarchyStructure.h:100
Aws::Connect::Model::HierarchyStructure::GetLevelThree
const HierarchyLevel & GetLevelThree() const
Definition: HierarchyStructure.h:106
Aws::Connect::Model::HierarchyStructure::SetLevelFive
void SetLevelFive(const HierarchyLevel &value)
Definition: HierarchyStructure.h:178
Aws::Connect::Model::HierarchyStructure::LevelFourHasBeenSet
bool LevelFourHasBeenSet() const
Definition: HierarchyStructure.h:142
Aws::Connect::Model::HierarchyStructure::WithLevelFour
HierarchyStructure & WithLevelFour(const HierarchyLevel &value)
Definition: HierarchyStructure.h:157
Aws::Connect::Model::HierarchyStructure::SetLevelThree
void SetLevelThree(HierarchyLevel &&value)
Definition: HierarchyStructure.h:121
Aws::Connect::Model::HierarchyStructure::GetLevelOne
const HierarchyLevel & GetLevelOne() const
Definition: HierarchyStructure.h:44
Aws::Connect::Model::HierarchyStructure::operator=
HierarchyStructure & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::HierarchyStructure::WithLevelFive
HierarchyStructure & WithLevelFive(HierarchyLevel &&value)
Definition: HierarchyStructure.h:193
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Connect::Model::HierarchyStructure::WithLevelOne
HierarchyStructure & WithLevelOne(const HierarchyLevel &value)
Definition: HierarchyStructure.h:64
Aws::Connect::Model::HierarchyStructure::HierarchyStructure
HierarchyStructure(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::HierarchyStructure::LevelThreeHasBeenSet
bool LevelThreeHasBeenSet() const
Definition: HierarchyStructure.h:111
Aws::Connect::Model::HierarchyStructure::LevelFiveHasBeenSet
bool LevelFiveHasBeenSet() const
Definition: HierarchyStructure.h:173
Aws::Connect::Model::HierarchyStructure::LevelOneHasBeenSet
bool LevelOneHasBeenSet() const
Definition: HierarchyStructure.h:49
Aws::Connect::Model::HierarchyStructure::SetLevelFive
void SetLevelFive(HierarchyLevel &&value)
Definition: HierarchyStructure.h:183
Aws::Connect::Model::HierarchyStructure::LevelTwoHasBeenSet
bool LevelTwoHasBeenSet() const
Definition: HierarchyStructure.h:80
Aws::Connect::Model::HierarchyStructure::SetLevelFour
void SetLevelFour(const HierarchyLevel &value)
Definition: HierarchyStructure.h:147
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::HierarchyStructure::GetLevelFour
const HierarchyLevel & GetLevelFour() const
Definition: HierarchyStructure.h:137
Aws::Connect::Model::HierarchyStructure::WithLevelTwo
HierarchyStructure & WithLevelTwo(const HierarchyLevel &value)
Definition: HierarchyStructure.h:95
Aws::Connect::Model::HierarchyStructure::GetLevelTwo
const HierarchyLevel & GetLevelTwo() const
Definition: HierarchyStructure.h:75
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::HierarchyStructure::SetLevelTwo
void SetLevelTwo(HierarchyLevel &&value)
Definition: HierarchyStructure.h:90
Aws::Connect::Model::HierarchyStructure::HierarchyStructure
HierarchyStructure()
Connect_EXPORTS.h
Aws::Connect::Model::HierarchyStructure::SetLevelOne
void SetLevelOne(const HierarchyLevel &value)
Definition: HierarchyStructure.h:54
Aws::Connect::Model::HierarchyStructure::SetLevelTwo
void SetLevelTwo(const HierarchyLevel &value)
Definition: HierarchyStructure.h:85