7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/AgentContactReference.h>
9#include <aws/connect/model/AgentStatusReference.h>
10#include <aws/connect/model/Channel.h>
11#include <aws/connect/model/HierarchyPathReference.h>
12#include <aws/connect/model/RoutingProfileReference.h>
13#include <aws/connect/model/UserReference.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
49 template <
typename UserT = UserReference>
51 m_userHasBeenSet =
true;
52 m_user = std::forward<UserT>(value);
54 template <
typename UserT = UserReference>
56 SetUser(std::forward<UserT>(value));
67 template <
typename RoutingProfileT = RoutingProfileReference>
69 m_routingProfileHasBeenSet =
true;
70 m_routingProfile = std::forward<RoutingProfileT>(value);
72 template <
typename RoutingProfileT = RoutingProfileReference>
86 template <
typename HierarchyPathT = HierarchyPathReference>
88 m_hierarchyPathHasBeenSet =
true;
89 m_hierarchyPath = std::forward<HierarchyPathT>(value);
91 template <
typename HierarchyPathT = HierarchyPathReference>
106 template <
typename StatusT = AgentStatusReference>
108 m_statusHasBeenSet =
true;
109 m_status = std::forward<StatusT>(value);
111 template <
typename StatusT = AgentStatusReference>
125 template <
typename AvailableSlotsByChannelT = Aws::Map<Channel,
int>>
127 m_availableSlotsByChannelHasBeenSet =
true;
128 m_availableSlotsByChannel = std::forward<AvailableSlotsByChannelT>(value);
130 template <
typename AvailableSlotsByChannelT = Aws::Map<Channel,
int>>
136 m_availableSlotsByChannelHasBeenSet =
true;
137 m_availableSlotsByChannel.emplace(key, value);
151 template <
typename MaxSlotsByChannelT = Aws::Map<Channel,
int>>
153 m_maxSlotsByChannelHasBeenSet =
true;
154 m_maxSlotsByChannel = std::forward<MaxSlotsByChannelT>(value);
156 template <
typename MaxSlotsByChannelT = Aws::Map<Channel,
int>>
162 m_maxSlotsByChannelHasBeenSet =
true;
163 m_maxSlotsByChannel.emplace(key, value);
175 template <
typename ActiveSlotsByChannelT = Aws::Map<Channel,
int>>
177 m_activeSlotsByChannelHasBeenSet =
true;
178 m_activeSlotsByChannel = std::forward<ActiveSlotsByChannelT>(value);
180 template <
typename ActiveSlotsByChannelT = Aws::Map<Channel,
int>>
186 m_activeSlotsByChannelHasBeenSet =
true;
187 m_activeSlotsByChannel.emplace(key, value);
198 template <
typename ContactsT = Aws::Vector<AgentContactReference>>
200 m_contactsHasBeenSet =
true;
201 m_contacts = std::forward<ContactsT>(value);
203 template <
typename ContactsT = Aws::Vector<AgentContactReference>>
208 template <
typename ContactsT = AgentContactReference>
210 m_contactsHasBeenSet =
true;
211 m_contacts.emplace_back(std::forward<ContactsT>(value));
222 template <
typename NextStatusT = Aws::String>
224 m_nextStatusHasBeenSet =
true;
225 m_nextStatus = std::forward<NextStatusT>(value);
227 template <
typename NextStatusT = Aws::String>
251 bool m_userHasBeenSet =
false;
252 bool m_routingProfileHasBeenSet =
false;
253 bool m_hierarchyPathHasBeenSet =
false;
254 bool m_statusHasBeenSet =
false;
255 bool m_availableSlotsByChannelHasBeenSet =
false;
256 bool m_maxSlotsByChannelHasBeenSet =
false;
257 bool m_activeSlotsByChannelHasBeenSet =
false;
258 bool m_contactsHasBeenSet =
false;
259 bool m_nextStatusHasBeenSet =
false;
UserData & WithMaxSlotsByChannel(MaxSlotsByChannelT &&value)
AWS_CONNECT_API UserData(Aws::Utils::Json::JsonView jsonValue)
void SetAvailableSlotsByChannel(AvailableSlotsByChannelT &&value)
const RoutingProfileReference & GetRoutingProfile() const
void SetNextStatus(NextStatusT &&value)
UserData & AddAvailableSlotsByChannel(Channel key, int value)
void SetRoutingProfile(RoutingProfileT &&value)
UserData & WithContacts(ContactsT &&value)
bool StatusHasBeenSet() const
void SetActiveSlotsByChannel(ActiveSlotsByChannelT &&value)
const AgentStatusReference & GetStatus() const
bool HierarchyPathHasBeenSet() const
UserData & WithStatus(StatusT &&value)
UserData & WithUser(UserT &&value)
const Aws::Map< Channel, int > & GetAvailableSlotsByChannel() const
void SetMaxSlotsByChannel(MaxSlotsByChannelT &&value)
UserData & WithRoutingProfile(RoutingProfileT &&value)
UserData & AddContacts(ContactsT &&value)
const HierarchyPathReference & GetHierarchyPath() const
const Aws::Map< Channel, int > & GetActiveSlotsByChannel() const
void SetContacts(ContactsT &&value)
UserData & WithHierarchyPath(HierarchyPathT &&value)
bool UserHasBeenSet() const
const Aws::Map< Channel, int > & GetMaxSlotsByChannel() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool NextStatusHasBeenSet() const
void SetUser(UserT &&value)
UserData & WithAvailableSlotsByChannel(AvailableSlotsByChannelT &&value)
bool RoutingProfileHasBeenSet() const
UserData & AddActiveSlotsByChannel(Channel key, int value)
const Aws::Vector< AgentContactReference > & GetContacts() const
UserData & WithNextStatus(NextStatusT &&value)
bool AvailableSlotsByChannelHasBeenSet() const
bool ActiveSlotsByChannelHasBeenSet() const
const Aws::String & GetNextStatus() const
AWS_CONNECT_API UserData()=default
UserData & WithActiveSlotsByChannel(ActiveSlotsByChannelT &&value)
const UserReference & GetUser() const
bool ContactsHasBeenSet() const
UserData & AddMaxSlotsByChannel(Channel key, int value)
void SetHierarchyPath(HierarchyPathT &&value)
void SetStatus(StatusT &&value)
AWS_CONNECT_API UserData & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MaxSlotsByChannelHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue