AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
AgentHierarchyGroups.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
33 public:
34 AWS_CONNECT_API AgentHierarchyGroups() = default;
37 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::Vector<Aws::String>& GetL1Ids() const { return m_l1Ids; }
44 inline bool L1IdsHasBeenSet() const { return m_l1IdsHasBeenSet; }
45 template <typename L1IdsT = Aws::Vector<Aws::String>>
46 void SetL1Ids(L1IdsT&& value) {
47 m_l1IdsHasBeenSet = true;
48 m_l1Ids = std::forward<L1IdsT>(value);
49 }
50 template <typename L1IdsT = Aws::Vector<Aws::String>>
52 SetL1Ids(std::forward<L1IdsT>(value));
53 return *this;
54 }
55 template <typename L1IdsT = Aws::String>
56 AgentHierarchyGroups& AddL1Ids(L1IdsT&& value) {
57 m_l1IdsHasBeenSet = true;
58 m_l1Ids.emplace_back(std::forward<L1IdsT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::Vector<Aws::String>& GetL2Ids() const { return m_l2Ids; }
68 inline bool L2IdsHasBeenSet() const { return m_l2IdsHasBeenSet; }
69 template <typename L2IdsT = Aws::Vector<Aws::String>>
70 void SetL2Ids(L2IdsT&& value) {
71 m_l2IdsHasBeenSet = true;
72 m_l2Ids = std::forward<L2IdsT>(value);
73 }
74 template <typename L2IdsT = Aws::Vector<Aws::String>>
76 SetL2Ids(std::forward<L2IdsT>(value));
77 return *this;
78 }
79 template <typename L2IdsT = Aws::String>
80 AgentHierarchyGroups& AddL2Ids(L2IdsT&& value) {
81 m_l2IdsHasBeenSet = true;
82 m_l2Ids.emplace_back(std::forward<L2IdsT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::Vector<Aws::String>& GetL3Ids() const { return m_l3Ids; }
92 inline bool L3IdsHasBeenSet() const { return m_l3IdsHasBeenSet; }
93 template <typename L3IdsT = Aws::Vector<Aws::String>>
94 void SetL3Ids(L3IdsT&& value) {
95 m_l3IdsHasBeenSet = true;
96 m_l3Ids = std::forward<L3IdsT>(value);
97 }
98 template <typename L3IdsT = Aws::Vector<Aws::String>>
100 SetL3Ids(std::forward<L3IdsT>(value));
101 return *this;
102 }
103 template <typename L3IdsT = Aws::String>
105 m_l3IdsHasBeenSet = true;
106 m_l3Ids.emplace_back(std::forward<L3IdsT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::Vector<Aws::String>& GetL4Ids() const { return m_l4Ids; }
116 inline bool L4IdsHasBeenSet() const { return m_l4IdsHasBeenSet; }
117 template <typename L4IdsT = Aws::Vector<Aws::String>>
118 void SetL4Ids(L4IdsT&& value) {
119 m_l4IdsHasBeenSet = true;
120 m_l4Ids = std::forward<L4IdsT>(value);
121 }
122 template <typename L4IdsT = Aws::Vector<Aws::String>>
124 SetL4Ids(std::forward<L4IdsT>(value));
125 return *this;
126 }
127 template <typename L4IdsT = Aws::String>
129 m_l4IdsHasBeenSet = true;
130 m_l4Ids.emplace_back(std::forward<L4IdsT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Vector<Aws::String>& GetL5Ids() const { return m_l5Ids; }
140 inline bool L5IdsHasBeenSet() const { return m_l5IdsHasBeenSet; }
141 template <typename L5IdsT = Aws::Vector<Aws::String>>
142 void SetL5Ids(L5IdsT&& value) {
143 m_l5IdsHasBeenSet = true;
144 m_l5Ids = std::forward<L5IdsT>(value);
145 }
146 template <typename L5IdsT = Aws::Vector<Aws::String>>
148 SetL5Ids(std::forward<L5IdsT>(value));
149 return *this;
150 }
151 template <typename L5IdsT = Aws::String>
153 m_l5IdsHasBeenSet = true;
154 m_l5Ids.emplace_back(std::forward<L5IdsT>(value));
155 return *this;
156 }
158 private:
160
162
164
166
168 bool m_l1IdsHasBeenSet = false;
169 bool m_l2IdsHasBeenSet = false;
170 bool m_l3IdsHasBeenSet = false;
171 bool m_l4IdsHasBeenSet = false;
172 bool m_l5IdsHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace Connect
177} // namespace Aws
const Aws::Vector< Aws::String > & GetL5Ids() const
AgentHierarchyGroups & AddL1Ids(L1IdsT &&value)
AgentHierarchyGroups & AddL2Ids(L2IdsT &&value)
AWS_CONNECT_API AgentHierarchyGroups(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetL4Ids() const
const Aws::Vector< Aws::String > & GetL1Ids() const
const Aws::Vector< Aws::String > & GetL2Ids() const
AgentHierarchyGroups & WithL2Ids(L2IdsT &&value)
AgentHierarchyGroups & WithL5Ids(L5IdsT &&value)
AgentHierarchyGroups & AddL4Ids(L4IdsT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AgentHierarchyGroups & WithL4Ids(L4IdsT &&value)
AWS_CONNECT_API AgentHierarchyGroups()=default
AWS_CONNECT_API AgentHierarchyGroups & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentHierarchyGroups & AddL5Ids(L5IdsT &&value)
AgentHierarchyGroups & AddL3Ids(L3IdsT &&value)
const Aws::Vector< Aws::String > & GetL3Ids() const
AgentHierarchyGroups & WithL1Ids(L1IdsT &&value)
AgentHierarchyGroups & WithL3Ids(L3IdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue