/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Data for a user.See Also:
AWS
* API Reference
Information about the user for the data that is returned. It contains the
* resourceId
and ARN of the user.
Information about the user for the data that is returned. It contains the
* resourceId
and ARN of the user.
Information about the user for the data that is returned. It contains the
* resourceId
and ARN of the user.
Information about the user for the data that is returned. It contains the
* resourceId
and ARN of the user.
Information about the user for the data that is returned. It contains the
* resourceId
and ARN of the user.
Information about the user for the data that is returned. It contains the
* resourceId
and ARN of the user.
Information about the routing profile that is assigned to the user.
*/ inline const RoutingProfileReference& GetRoutingProfile() const{ return m_routingProfile; } /** *Information about the routing profile that is assigned to the user.
*/ inline bool RoutingProfileHasBeenSet() const { return m_routingProfileHasBeenSet; } /** *Information about the routing profile that is assigned to the user.
*/ inline void SetRoutingProfile(const RoutingProfileReference& value) { m_routingProfileHasBeenSet = true; m_routingProfile = value; } /** *Information about the routing profile that is assigned to the user.
*/ inline void SetRoutingProfile(RoutingProfileReference&& value) { m_routingProfileHasBeenSet = true; m_routingProfile = std::move(value); } /** *Information about the routing profile that is assigned to the user.
*/ inline UserData& WithRoutingProfile(const RoutingProfileReference& value) { SetRoutingProfile(value); return *this;} /** *Information about the routing profile that is assigned to the user.
*/ inline UserData& WithRoutingProfile(RoutingProfileReference&& value) { SetRoutingProfile(std::move(value)); return *this;} /** *Contains information about the levels of a hierarchy group assigned to a * user.
*/ inline const HierarchyPathReference& GetHierarchyPath() const{ return m_hierarchyPath; } /** *Contains information about the levels of a hierarchy group assigned to a * user.
*/ inline bool HierarchyPathHasBeenSet() const { return m_hierarchyPathHasBeenSet; } /** *Contains information about the levels of a hierarchy group assigned to a * user.
*/ inline void SetHierarchyPath(const HierarchyPathReference& value) { m_hierarchyPathHasBeenSet = true; m_hierarchyPath = value; } /** *Contains information about the levels of a hierarchy group assigned to a * user.
*/ inline void SetHierarchyPath(HierarchyPathReference&& value) { m_hierarchyPathHasBeenSet = true; m_hierarchyPath = std::move(value); } /** *Contains information about the levels of a hierarchy group assigned to a * user.
*/ inline UserData& WithHierarchyPath(const HierarchyPathReference& value) { SetHierarchyPath(value); return *this;} /** *Contains information about the levels of a hierarchy group assigned to a * user.
*/ inline UserData& WithHierarchyPath(HierarchyPathReference&& value) { SetHierarchyPath(std::move(value)); return *this;} /** *The status of the agent that they manually set in their Contact Control Panel * (CCP), or that the supervisor manually changes in the real-time metrics * report.
*/ inline const AgentStatusReference& GetStatus() const{ return m_status; } /** *The status of the agent that they manually set in their Contact Control Panel * (CCP), or that the supervisor manually changes in the real-time metrics * report.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the agent that they manually set in their Contact Control Panel * (CCP), or that the supervisor manually changes in the real-time metrics * report.
*/ inline void SetStatus(const AgentStatusReference& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the agent that they manually set in their Contact Control Panel * (CCP), or that the supervisor manually changes in the real-time metrics * report.
*/ inline void SetStatus(AgentStatusReference&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the agent that they manually set in their Contact Control Panel * (CCP), or that the supervisor manually changes in the real-time metrics * report.
*/ inline UserData& WithStatus(const AgentStatusReference& value) { SetStatus(value); return *this;} /** *The status of the agent that they manually set in their Contact Control Panel * (CCP), or that the supervisor manually changes in the real-time metrics * report.
*/ inline UserData& WithStatus(AgentStatusReference&& value) { SetStatus(std::move(value)); return *this;} /** *A map of available slots by channel. The key is a channel name. The value is * an integer: the available number of slots.
*/ inline const Aws::MapA map of available slots by channel. The key is a channel name. The value is * an integer: the available number of slots.
*/ inline bool AvailableSlotsByChannelHasBeenSet() const { return m_availableSlotsByChannelHasBeenSet; } /** *A map of available slots by channel. The key is a channel name. The value is * an integer: the available number of slots.
*/ inline void SetAvailableSlotsByChannel(const Aws::MapA map of available slots by channel. The key is a channel name. The value is * an integer: the available number of slots.
*/ inline void SetAvailableSlotsByChannel(Aws::MapA map of available slots by channel. The key is a channel name. The value is * an integer: the available number of slots.
*/ inline UserData& WithAvailableSlotsByChannel(const Aws::MapA map of available slots by channel. The key is a channel name. The value is * an integer: the available number of slots.
*/ inline UserData& WithAvailableSlotsByChannel(Aws::MapA map of available slots by channel. The key is a channel name. The value is * an integer: the available number of slots.
*/ inline UserData& AddAvailableSlotsByChannel(const Channel& key, int value) { m_availableSlotsByChannelHasBeenSet = true; m_availableSlotsByChannel.emplace(key, value); return *this; } /** *A map of available slots by channel. The key is a channel name. The value is * an integer: the available number of slots.
*/ inline UserData& AddAvailableSlotsByChannel(Channel&& key, int value) { m_availableSlotsByChannelHasBeenSet = true; m_availableSlotsByChannel.emplace(std::move(key), value); return *this; } /** *A map of maximum slots by channel. The key is a channel name. The value is an
* integer: the maximum number of slots. This is calculated from MediaConcurrency
* of the RoutingProfile
assigned to the agent.
A map of maximum slots by channel. The key is a channel name. The value is an
* integer: the maximum number of slots. This is calculated from MediaConcurrency
* of the RoutingProfile
assigned to the agent.
A map of maximum slots by channel. The key is a channel name. The value is an
* integer: the maximum number of slots. This is calculated from MediaConcurrency
* of the RoutingProfile
assigned to the agent.
A map of maximum slots by channel. The key is a channel name. The value is an
* integer: the maximum number of slots. This is calculated from MediaConcurrency
* of the RoutingProfile
assigned to the agent.
A map of maximum slots by channel. The key is a channel name. The value is an
* integer: the maximum number of slots. This is calculated from MediaConcurrency
* of the RoutingProfile
assigned to the agent.
A map of maximum slots by channel. The key is a channel name. The value is an
* integer: the maximum number of slots. This is calculated from MediaConcurrency
* of the RoutingProfile
assigned to the agent.
A map of maximum slots by channel. The key is a channel name. The value is an
* integer: the maximum number of slots. This is calculated from MediaConcurrency
* of the RoutingProfile
assigned to the agent.
A map of maximum slots by channel. The key is a channel name. The value is an
* integer: the maximum number of slots. This is calculated from MediaConcurrency
* of the RoutingProfile
assigned to the agent.
A map of active slots by channel. The key is a channel name. The value is an * integer: the number of active slots.
*/ inline const Aws::MapA map of active slots by channel. The key is a channel name. The value is an * integer: the number of active slots.
*/ inline bool ActiveSlotsByChannelHasBeenSet() const { return m_activeSlotsByChannelHasBeenSet; } /** *A map of active slots by channel. The key is a channel name. The value is an * integer: the number of active slots.
*/ inline void SetActiveSlotsByChannel(const Aws::MapA map of active slots by channel. The key is a channel name. The value is an * integer: the number of active slots.
*/ inline void SetActiveSlotsByChannel(Aws::MapA map of active slots by channel. The key is a channel name. The value is an * integer: the number of active slots.
*/ inline UserData& WithActiveSlotsByChannel(const Aws::MapA map of active slots by channel. The key is a channel name. The value is an * integer: the number of active slots.
*/ inline UserData& WithActiveSlotsByChannel(Aws::MapA map of active slots by channel. The key is a channel name. The value is an * integer: the number of active slots.
*/ inline UserData& AddActiveSlotsByChannel(const Channel& key, int value) { m_activeSlotsByChannelHasBeenSet = true; m_activeSlotsByChannel.emplace(key, value); return *this; } /** *A map of active slots by channel. The key is a channel name. The value is an * integer: the number of active slots.
*/ inline UserData& AddActiveSlotsByChannel(Channel&& key, int value) { m_activeSlotsByChannelHasBeenSet = true; m_activeSlotsByChannel.emplace(std::move(key), value); return *this; } /** *A list of contact reference information.
*/ inline const Aws::VectorA list of contact reference information.
*/ inline bool ContactsHasBeenSet() const { return m_contactsHasBeenSet; } /** *A list of contact reference information.
*/ inline void SetContacts(const Aws::VectorA list of contact reference information.
*/ inline void SetContacts(Aws::VectorA list of contact reference information.
*/ inline UserData& WithContacts(const Aws::VectorA list of contact reference information.
*/ inline UserData& WithContacts(Aws::VectorA list of contact reference information.
*/ inline UserData& AddContacts(const AgentContactReference& value) { m_contactsHasBeenSet = true; m_contacts.push_back(value); return *this; } /** *A list of contact reference information.
*/ inline UserData& AddContacts(AgentContactReference&& value) { m_contactsHasBeenSet = true; m_contacts.push_back(std::move(value)); return *this; } /** *The Next status of the agent.
*/ inline const Aws::String& GetNextStatus() const{ return m_nextStatus; } /** *The Next status of the agent.
*/ inline bool NextStatusHasBeenSet() const { return m_nextStatusHasBeenSet; } /** *The Next status of the agent.
*/ inline void SetNextStatus(const Aws::String& value) { m_nextStatusHasBeenSet = true; m_nextStatus = value; } /** *The Next status of the agent.
*/ inline void SetNextStatus(Aws::String&& value) { m_nextStatusHasBeenSet = true; m_nextStatus = std::move(value); } /** *The Next status of the agent.
*/ inline void SetNextStatus(const char* value) { m_nextStatusHasBeenSet = true; m_nextStatus.assign(value); } /** *The Next status of the agent.
*/ inline UserData& WithNextStatus(const Aws::String& value) { SetNextStatus(value); return *this;} /** *The Next status of the agent.
*/ inline UserData& WithNextStatus(Aws::String&& value) { SetNextStatus(std::move(value)); return *this;} /** *The Next status of the agent.
*/ inline UserData& WithNextStatus(const char* value) { SetNextStatus(value); return *this;} private: UserReference m_user; bool m_userHasBeenSet = false; RoutingProfileReference m_routingProfile; bool m_routingProfileHasBeenSet = false; HierarchyPathReference m_hierarchyPath; bool m_hierarchyPathHasBeenSet = false; AgentStatusReference m_status; bool m_statusHasBeenSet = false; Aws::Map