AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AgentHierarchyGroups.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_CONNECT_API AgentHierarchyGroups() = default;
42 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<Aws::String>& GetL1Ids() const { return m_l1Ids; }
50 inline bool L1IdsHasBeenSet() const { return m_l1IdsHasBeenSet; }
51 template<typename L1IdsT = Aws::Vector<Aws::String>>
52 void SetL1Ids(L1IdsT&& value) { m_l1IdsHasBeenSet = true; m_l1Ids = std::forward<L1IdsT>(value); }
53 template<typename L1IdsT = Aws::Vector<Aws::String>>
54 AgentHierarchyGroups& WithL1Ids(L1IdsT&& value) { SetL1Ids(std::forward<L1IdsT>(value)); return *this;}
55 template<typename L1IdsT = Aws::String>
56 AgentHierarchyGroups& AddL1Ids(L1IdsT&& value) { m_l1IdsHasBeenSet = true; m_l1Ids.emplace_back(std::forward<L1IdsT>(value)); return *this; }
58
60
63 inline const Aws::Vector<Aws::String>& GetL2Ids() const { return m_l2Ids; }
64 inline bool L2IdsHasBeenSet() const { return m_l2IdsHasBeenSet; }
65 template<typename L2IdsT = Aws::Vector<Aws::String>>
66 void SetL2Ids(L2IdsT&& value) { m_l2IdsHasBeenSet = true; m_l2Ids = std::forward<L2IdsT>(value); }
67 template<typename L2IdsT = Aws::Vector<Aws::String>>
68 AgentHierarchyGroups& WithL2Ids(L2IdsT&& value) { SetL2Ids(std::forward<L2IdsT>(value)); return *this;}
69 template<typename L2IdsT = Aws::String>
70 AgentHierarchyGroups& AddL2Ids(L2IdsT&& value) { m_l2IdsHasBeenSet = true; m_l2Ids.emplace_back(std::forward<L2IdsT>(value)); return *this; }
72
74
77 inline const Aws::Vector<Aws::String>& GetL3Ids() const { return m_l3Ids; }
78 inline bool L3IdsHasBeenSet() const { return m_l3IdsHasBeenSet; }
79 template<typename L3IdsT = Aws::Vector<Aws::String>>
80 void SetL3Ids(L3IdsT&& value) { m_l3IdsHasBeenSet = true; m_l3Ids = std::forward<L3IdsT>(value); }
81 template<typename L3IdsT = Aws::Vector<Aws::String>>
82 AgentHierarchyGroups& WithL3Ids(L3IdsT&& value) { SetL3Ids(std::forward<L3IdsT>(value)); return *this;}
83 template<typename L3IdsT = Aws::String>
84 AgentHierarchyGroups& AddL3Ids(L3IdsT&& value) { m_l3IdsHasBeenSet = true; m_l3Ids.emplace_back(std::forward<L3IdsT>(value)); return *this; }
86
88
91 inline const Aws::Vector<Aws::String>& GetL4Ids() const { return m_l4Ids; }
92 inline bool L4IdsHasBeenSet() const { return m_l4IdsHasBeenSet; }
93 template<typename L4IdsT = Aws::Vector<Aws::String>>
94 void SetL4Ids(L4IdsT&& value) { m_l4IdsHasBeenSet = true; m_l4Ids = std::forward<L4IdsT>(value); }
95 template<typename L4IdsT = Aws::Vector<Aws::String>>
96 AgentHierarchyGroups& WithL4Ids(L4IdsT&& value) { SetL4Ids(std::forward<L4IdsT>(value)); return *this;}
97 template<typename L4IdsT = Aws::String>
98 AgentHierarchyGroups& AddL4Ids(L4IdsT&& value) { m_l4IdsHasBeenSet = true; m_l4Ids.emplace_back(std::forward<L4IdsT>(value)); return *this; }
100
102
105 inline const Aws::Vector<Aws::String>& GetL5Ids() const { return m_l5Ids; }
106 inline bool L5IdsHasBeenSet() const { return m_l5IdsHasBeenSet; }
107 template<typename L5IdsT = Aws::Vector<Aws::String>>
108 void SetL5Ids(L5IdsT&& value) { m_l5IdsHasBeenSet = true; m_l5Ids = std::forward<L5IdsT>(value); }
109 template<typename L5IdsT = Aws::Vector<Aws::String>>
110 AgentHierarchyGroups& WithL5Ids(L5IdsT&& value) { SetL5Ids(std::forward<L5IdsT>(value)); return *this;}
111 template<typename L5IdsT = Aws::String>
112 AgentHierarchyGroups& AddL5Ids(L5IdsT&& value) { m_l5IdsHasBeenSet = true; m_l5Ids.emplace_back(std::forward<L5IdsT>(value)); return *this; }
114 private:
115
117 bool m_l1IdsHasBeenSet = false;
118
120 bool m_l2IdsHasBeenSet = false;
121
123 bool m_l3IdsHasBeenSet = false;
124
126 bool m_l4IdsHasBeenSet = false;
127
129 bool m_l5IdsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace Connect
134} // 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