AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetL1Ids(const Aws::Vector<Aws::String>& value) { m_l1IdsHasBeenSet = true; m_l1Ids = value; }
52 inline void SetL1Ids(Aws::Vector<Aws::String>&& value) { m_l1IdsHasBeenSet = true; m_l1Ids = std::move(value); }
53 inline AgentHierarchyGroups& WithL1Ids(const Aws::Vector<Aws::String>& value) { SetL1Ids(value); return *this;}
54 inline AgentHierarchyGroups& WithL1Ids(Aws::Vector<Aws::String>&& value) { SetL1Ids(std::move(value)); return *this;}
55 inline AgentHierarchyGroups& AddL1Ids(const Aws::String& value) { m_l1IdsHasBeenSet = true; m_l1Ids.push_back(value); return *this; }
56 inline AgentHierarchyGroups& AddL1Ids(Aws::String&& value) { m_l1IdsHasBeenSet = true; m_l1Ids.push_back(std::move(value)); return *this; }
57 inline AgentHierarchyGroups& AddL1Ids(const char* value) { m_l1IdsHasBeenSet = true; m_l1Ids.push_back(value); return *this; }
59
61
64 inline const Aws::Vector<Aws::String>& GetL2Ids() const{ return m_l2Ids; }
65 inline bool L2IdsHasBeenSet() const { return m_l2IdsHasBeenSet; }
66 inline void SetL2Ids(const Aws::Vector<Aws::String>& value) { m_l2IdsHasBeenSet = true; m_l2Ids = value; }
67 inline void SetL2Ids(Aws::Vector<Aws::String>&& value) { m_l2IdsHasBeenSet = true; m_l2Ids = std::move(value); }
68 inline AgentHierarchyGroups& WithL2Ids(const Aws::Vector<Aws::String>& value) { SetL2Ids(value); return *this;}
69 inline AgentHierarchyGroups& WithL2Ids(Aws::Vector<Aws::String>&& value) { SetL2Ids(std::move(value)); return *this;}
70 inline AgentHierarchyGroups& AddL2Ids(const Aws::String& value) { m_l2IdsHasBeenSet = true; m_l2Ids.push_back(value); return *this; }
71 inline AgentHierarchyGroups& AddL2Ids(Aws::String&& value) { m_l2IdsHasBeenSet = true; m_l2Ids.push_back(std::move(value)); return *this; }
72 inline AgentHierarchyGroups& AddL2Ids(const char* value) { m_l2IdsHasBeenSet = true; m_l2Ids.push_back(value); return *this; }
74
76
79 inline const Aws::Vector<Aws::String>& GetL3Ids() const{ return m_l3Ids; }
80 inline bool L3IdsHasBeenSet() const { return m_l3IdsHasBeenSet; }
81 inline void SetL3Ids(const Aws::Vector<Aws::String>& value) { m_l3IdsHasBeenSet = true; m_l3Ids = value; }
82 inline void SetL3Ids(Aws::Vector<Aws::String>&& value) { m_l3IdsHasBeenSet = true; m_l3Ids = std::move(value); }
83 inline AgentHierarchyGroups& WithL3Ids(const Aws::Vector<Aws::String>& value) { SetL3Ids(value); return *this;}
84 inline AgentHierarchyGroups& WithL3Ids(Aws::Vector<Aws::String>&& value) { SetL3Ids(std::move(value)); return *this;}
85 inline AgentHierarchyGroups& AddL3Ids(const Aws::String& value) { m_l3IdsHasBeenSet = true; m_l3Ids.push_back(value); return *this; }
86 inline AgentHierarchyGroups& AddL3Ids(Aws::String&& value) { m_l3IdsHasBeenSet = true; m_l3Ids.push_back(std::move(value)); return *this; }
87 inline AgentHierarchyGroups& AddL3Ids(const char* value) { m_l3IdsHasBeenSet = true; m_l3Ids.push_back(value); return *this; }
89
91
94 inline const Aws::Vector<Aws::String>& GetL4Ids() const{ return m_l4Ids; }
95 inline bool L4IdsHasBeenSet() const { return m_l4IdsHasBeenSet; }
96 inline void SetL4Ids(const Aws::Vector<Aws::String>& value) { m_l4IdsHasBeenSet = true; m_l4Ids = value; }
97 inline void SetL4Ids(Aws::Vector<Aws::String>&& value) { m_l4IdsHasBeenSet = true; m_l4Ids = std::move(value); }
98 inline AgentHierarchyGroups& WithL4Ids(const Aws::Vector<Aws::String>& value) { SetL4Ids(value); return *this;}
99 inline AgentHierarchyGroups& WithL4Ids(Aws::Vector<Aws::String>&& value) { SetL4Ids(std::move(value)); return *this;}
100 inline AgentHierarchyGroups& AddL4Ids(const Aws::String& value) { m_l4IdsHasBeenSet = true; m_l4Ids.push_back(value); return *this; }
101 inline AgentHierarchyGroups& AddL4Ids(Aws::String&& value) { m_l4IdsHasBeenSet = true; m_l4Ids.push_back(std::move(value)); return *this; }
102 inline AgentHierarchyGroups& AddL4Ids(const char* value) { m_l4IdsHasBeenSet = true; m_l4Ids.push_back(value); return *this; }
104
106
109 inline const Aws::Vector<Aws::String>& GetL5Ids() const{ return m_l5Ids; }
110 inline bool L5IdsHasBeenSet() const { return m_l5IdsHasBeenSet; }
111 inline void SetL5Ids(const Aws::Vector<Aws::String>& value) { m_l5IdsHasBeenSet = true; m_l5Ids = value; }
112 inline void SetL5Ids(Aws::Vector<Aws::String>&& value) { m_l5IdsHasBeenSet = true; m_l5Ids = std::move(value); }
113 inline AgentHierarchyGroups& WithL5Ids(const Aws::Vector<Aws::String>& value) { SetL5Ids(value); return *this;}
114 inline AgentHierarchyGroups& WithL5Ids(Aws::Vector<Aws::String>&& value) { SetL5Ids(std::move(value)); return *this;}
115 inline AgentHierarchyGroups& AddL5Ids(const Aws::String& value) { m_l5IdsHasBeenSet = true; m_l5Ids.push_back(value); return *this; }
116 inline AgentHierarchyGroups& AddL5Ids(Aws::String&& value) { m_l5IdsHasBeenSet = true; m_l5Ids.push_back(std::move(value)); return *this; }
117 inline AgentHierarchyGroups& AddL5Ids(const char* value) { m_l5IdsHasBeenSet = true; m_l5Ids.push_back(value); return *this; }
119 private:
120
122 bool m_l1IdsHasBeenSet = false;
123
125 bool m_l2IdsHasBeenSet = false;
126
128 bool m_l3IdsHasBeenSet = false;
129
131 bool m_l4IdsHasBeenSet = false;
132
134 bool m_l5IdsHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace Connect
139} // namespace Aws
const Aws::Vector< Aws::String > & GetL5Ids() const
AgentHierarchyGroups & AddL3Ids(const char *value)
AgentHierarchyGroups & WithL5Ids(const Aws::Vector< Aws::String > &value)
void SetL4Ids(Aws::Vector< Aws::String > &&value)
AgentHierarchyGroups & AddL1Ids(const char *value)
void SetL2Ids(const Aws::Vector< Aws::String > &value)
AgentHierarchyGroups & WithL1Ids(Aws::Vector< Aws::String > &&value)
AWS_CONNECT_API AgentHierarchyGroups(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetL4Ids() const
AgentHierarchyGroups & WithL2Ids(Aws::Vector< Aws::String > &&value)
AgentHierarchyGroups & AddL3Ids(const Aws::String &value)
const Aws::Vector< Aws::String > & GetL1Ids() const
void SetL5Ids(Aws::Vector< Aws::String > &&value)
AgentHierarchyGroups & AddL4Ids(const char *value)
const Aws::Vector< Aws::String > & GetL2Ids() const
void SetL5Ids(const Aws::Vector< Aws::String > &value)
AgentHierarchyGroups & AddL2Ids(const char *value)
AgentHierarchyGroups & WithL2Ids(const Aws::Vector< Aws::String > &value)
void SetL3Ids(const Aws::Vector< Aws::String > &value)
AgentHierarchyGroups & AddL5Ids(const Aws::String &value)
AgentHierarchyGroups & AddL1Ids(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AgentHierarchyGroups & AddL2Ids(Aws::String &&value)
AgentHierarchyGroups & AddL5Ids(Aws::String &&value)
AgentHierarchyGroups & WithL1Ids(const Aws::Vector< Aws::String > &value)
AWS_CONNECT_API AgentHierarchyGroups & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentHierarchyGroups & WithL4Ids(Aws::Vector< Aws::String > &&value)
void SetL4Ids(const Aws::Vector< Aws::String > &value)
void SetL3Ids(Aws::Vector< Aws::String > &&value)
AgentHierarchyGroups & WithL3Ids(const Aws::Vector< Aws::String > &value)
AgentHierarchyGroups & WithL4Ids(const Aws::Vector< Aws::String > &value)
AgentHierarchyGroups & WithL3Ids(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetL3Ids() const
void SetL2Ids(Aws::Vector< Aws::String > &&value)
AgentHierarchyGroups & AddL4Ids(Aws::String &&value)
AgentHierarchyGroups & WithL5Ids(Aws::Vector< Aws::String > &&value)
AgentHierarchyGroups & AddL2Ids(const Aws::String &value)
AgentHierarchyGroups & AddL5Ids(const char *value)
void SetL1Ids(Aws::Vector< Aws::String > &&value)
void SetL1Ids(const Aws::Vector< Aws::String > &value)
AgentHierarchyGroups & AddL1Ids(Aws::String &&value)
AgentHierarchyGroups & AddL4Ids(const Aws::String &value)
AgentHierarchyGroups & AddL3Ids(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue