7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/UserReference.h>
9#include <aws/connect/model/RoutingProfileReference.h>
10#include <aws/connect/model/HierarchyPathReference.h>
11#include <aws/connect/model/AgentStatusReference.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/connect/model/Channel.h>
16#include <aws/connect/model/AgentContactReference.h>
55 template<
typename UserT = UserReference>
56 void SetUser(UserT&& value) { m_userHasBeenSet =
true; m_user = std::forward<UserT>(value); }
57 template<
typename UserT = UserReference>
67 template<
typename RoutingProfileT = RoutingProfileReference>
68 void SetRoutingProfile(RoutingProfileT&& value) { m_routingProfileHasBeenSet =
true; m_routingProfile = std::forward<RoutingProfileT>(value); }
69 template<
typename RoutingProfileT = RoutingProfileReference>
80 template<
typename HierarchyPathT = HierarchyPathReference>
81 void SetHierarchyPath(HierarchyPathT&& value) { m_hierarchyPathHasBeenSet =
true; m_hierarchyPath = std::forward<HierarchyPathT>(value); }
82 template<
typename HierarchyPathT = HierarchyPathReference>
94 template<
typename StatusT = AgentStatusReference>
95 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
96 template<
typename StatusT = AgentStatusReference>
107 template<
typename AvailableSlotsByChannelT = Aws::Map<Channel,
int>>
108 void SetAvailableSlotsByChannel(AvailableSlotsByChannelT&& value) { m_availableSlotsByChannelHasBeenSet =
true; m_availableSlotsByChannel = std::forward<AvailableSlotsByChannelT>(value); }
109 template<
typename AvailableSlotsByChannelT = Aws::Map<Channel,
int>>
112 m_availableSlotsByChannelHasBeenSet =
true; m_availableSlotsByChannel.emplace(key, value);
return *
this;
125 template<
typename MaxSlotsByChannelT = Aws::Map<Channel,
int>>
126 void SetMaxSlotsByChannel(MaxSlotsByChannelT&& value) { m_maxSlotsByChannelHasBeenSet =
true; m_maxSlotsByChannel = std::forward<MaxSlotsByChannelT>(value); }
127 template<
typename MaxSlotsByChannelT = Aws::Map<Channel,
int>>
130 m_maxSlotsByChannelHasBeenSet =
true; m_maxSlotsByChannel.emplace(key, value);
return *
this;
141 template<
typename ActiveSlotsByChannelT = Aws::Map<Channel,
int>>
142 void SetActiveSlotsByChannel(ActiveSlotsByChannelT&& value) { m_activeSlotsByChannelHasBeenSet =
true; m_activeSlotsByChannel = std::forward<ActiveSlotsByChannelT>(value); }
143 template<
typename ActiveSlotsByChannelT = Aws::Map<Channel,
int>>
146 m_activeSlotsByChannelHasBeenSet =
true; m_activeSlotsByChannel.emplace(key, value);
return *
this;
156 template<
typename ContactsT = Aws::Vector<AgentContactReference>>
157 void SetContacts(ContactsT&& value) { m_contactsHasBeenSet =
true; m_contacts = std::forward<ContactsT>(value); }
158 template<
typename ContactsT = Aws::Vector<AgentContactReference>>
160 template<
typename ContactsT = AgentContactReference>
161 UserData&
AddContacts(ContactsT&& value) { m_contactsHasBeenSet =
true; m_contacts.emplace_back(std::forward<ContactsT>(value));
return *
this; }
170 template<
typename NextStatusT = Aws::String>
171 void SetNextStatus(NextStatusT&& value) { m_nextStatusHasBeenSet =
true; m_nextStatus = std::forward<NextStatusT>(value); }
172 template<
typename NextStatusT = Aws::String>
178 bool m_userHasBeenSet =
false;
181 bool m_routingProfileHasBeenSet =
false;
184 bool m_hierarchyPathHasBeenSet =
false;
187 bool m_statusHasBeenSet =
false;
190 bool m_availableSlotsByChannelHasBeenSet =
false;
193 bool m_maxSlotsByChannelHasBeenSet =
false;
196 bool m_activeSlotsByChannelHasBeenSet =
false;
199 bool m_contactsHasBeenSet =
false;
202 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