7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/DeviceInfo.h>
9#include <aws/connect/model/HierarchyGroups.h>
10#include <aws/connect/model/ParticipantCapabilities.h>
11#include <aws/connect/model/StateTransition.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename IdT = Aws::String>
49 m_idHasBeenSet =
true;
50 m_id = std::forward<IdT>(value);
52 template <
typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
65 template <
typename AcceptedByAgentTimestampT = Aws::Utils::DateTime>
67 m_acceptedByAgentTimestampHasBeenSet =
true;
68 m_acceptedByAgentTimestamp = std::forward<AcceptedByAgentTimestampT>(value);
70 template <
typename AcceptedByAgentTimestampT = Aws::Utils::DateTime>
83 template <
typename PreviewEndTimestampT = Aws::Utils::DateTime>
85 m_previewEndTimestampHasBeenSet =
true;
86 m_previewEndTimestamp = std::forward<PreviewEndTimestampT>(value);
88 template <
typename PreviewEndTimestampT = Aws::Utils::DateTime>
101 template <
typename ConnectedToAgentTimestampT = Aws::Utils::DateTime>
103 m_connectedToAgentTimestampHasBeenSet =
true;
104 m_connectedToAgentTimestamp = std::forward<ConnectedToAgentTimestampT>(value);
106 template <
typename ConnectedToAgentTimestampT = Aws::Utils::DateTime>
120 m_agentPauseDurationInSecondsHasBeenSet =
true;
121 m_agentPauseDurationInSeconds = value;
135 template <
typename HierarchyGroupsT = HierarchyGroups>
137 m_hierarchyGroupsHasBeenSet =
true;
138 m_hierarchyGroups = std::forward<HierarchyGroupsT>(value);
140 template <
typename HierarchyGroupsT = HierarchyGroups>
153 template <
typename DeviceInfoT = DeviceInfo>
155 m_deviceInfoHasBeenSet =
true;
156 m_deviceInfo = std::forward<DeviceInfoT>(value);
158 template <
typename DeviceInfoT = DeviceInfo>
169 template <
typename CapabilitiesT = ParticipantCapabilities>
171 m_capabilitiesHasBeenSet =
true;
172 m_capabilities = std::forward<CapabilitiesT>(value);
174 template <
typename CapabilitiesT = ParticipantCapabilities>
190 m_afterContactWorkDurationHasBeenSet =
true;
191 m_afterContactWorkDuration = value;
206 template <
typename AfterContactWorkStartTimestampT = Aws::Utils::DateTime>
208 m_afterContactWorkStartTimestampHasBeenSet =
true;
209 m_afterContactWorkStartTimestamp = std::forward<AfterContactWorkStartTimestampT>(value);
211 template <
typename AfterContactWorkStartTimestampT = Aws::Utils::DateTime>
228 template <
typename AfterContactWorkEndTimestampT = Aws::Utils::DateTime>
230 m_afterContactWorkEndTimestampHasBeenSet =
true;
231 m_afterContactWorkEndTimestamp = std::forward<AfterContactWorkEndTimestampT>(value);
233 template <
typename AfterContactWorkEndTimestampT = Aws::Utils::DateTime>
247 m_agentInitiatedHoldDurationHasBeenSet =
true;
248 m_agentInitiatedHoldDuration = value;
262 template <
typename StateTransitionsT = Aws::Vector<StateTransition>>
264 m_stateTransitionsHasBeenSet =
true;
265 m_stateTransitions = std::forward<StateTransitionsT>(value);
267 template <
typename StateTransitionsT = Aws::Vector<StateTransition>>
272 template <
typename StateTransitionsT = StateTransition>
274 m_stateTransitionsHasBeenSet =
true;
275 m_stateTransitions.emplace_back(std::forward<StateTransitionsT>(value));
288 int m_agentPauseDurationInSeconds{0};
290 HierarchyGroups m_hierarchyGroups;
292 DeviceInfo m_deviceInfo;
294 ParticipantCapabilities m_capabilities;
296 int m_afterContactWorkDuration{0};
302 int m_agentInitiatedHoldDuration{0};
305 bool m_idHasBeenSet =
false;
306 bool m_acceptedByAgentTimestampHasBeenSet =
false;
307 bool m_previewEndTimestampHasBeenSet =
false;
308 bool m_connectedToAgentTimestampHasBeenSet =
false;
309 bool m_agentPauseDurationInSecondsHasBeenSet =
false;
310 bool m_hierarchyGroupsHasBeenSet =
false;
311 bool m_deviceInfoHasBeenSet =
false;
312 bool m_capabilitiesHasBeenSet =
false;
313 bool m_afterContactWorkDurationHasBeenSet =
false;
314 bool m_afterContactWorkStartTimestampHasBeenSet =
false;
315 bool m_afterContactWorkEndTimestampHasBeenSet =
false;
316 bool m_agentInitiatedHoldDurationHasBeenSet =
false;
317 bool m_stateTransitionsHasBeenSet =
false;
bool AfterContactWorkDurationHasBeenSet() const
void SetAfterContactWorkDuration(int value)
bool AcceptedByAgentTimestampHasBeenSet() const
AgentInfo & WithAfterContactWorkDuration(int value)
AgentInfo & WithStateTransitions(StateTransitionsT &&value)
AgentInfo & WithHierarchyGroups(HierarchyGroupsT &&value)
const Aws::Utils::DateTime & GetConnectedToAgentTimestamp() const
void SetHierarchyGroups(HierarchyGroupsT &&value)
AgentInfo & WithCapabilities(CapabilitiesT &&value)
bool ConnectedToAgentTimestampHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool AfterContactWorkStartTimestampHasBeenSet() const
AgentInfo & WithConnectedToAgentTimestamp(ConnectedToAgentTimestampT &&value)
bool DeviceInfoHasBeenSet() const
const Aws::Utils::DateTime & GetAfterContactWorkEndTimestamp() const
const ParticipantCapabilities & GetCapabilities() const
const Aws::Utils::DateTime & GetPreviewEndTimestamp() const
bool AfterContactWorkEndTimestampHasBeenSet() const
const Aws::Utils::DateTime & GetAcceptedByAgentTimestamp() const
const DeviceInfo & GetDeviceInfo() const
int GetAgentInitiatedHoldDuration() const
AWS_CONNECT_API AgentInfo(Aws::Utils::Json::JsonView jsonValue)
int GetAgentPauseDurationInSeconds() const
AgentInfo & WithPreviewEndTimestamp(PreviewEndTimestampT &&value)
AWS_CONNECT_API AgentInfo()=default
AgentInfo & WithAfterContactWorkStartTimestamp(AfterContactWorkStartTimestampT &&value)
void SetCapabilities(CapabilitiesT &&value)
bool PreviewEndTimestampHasBeenSet() const
void SetDeviceInfo(DeviceInfoT &&value)
void SetAgentInitiatedHoldDuration(int value)
AgentInfo & WithAfterContactWorkEndTimestamp(AfterContactWorkEndTimestampT &&value)
AWS_CONNECT_API AgentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentInfo & WithAgentPauseDurationInSeconds(int value)
void SetStateTransitions(StateTransitionsT &&value)
bool AgentInitiatedHoldDurationHasBeenSet() const
bool CapabilitiesHasBeenSet() const
void SetAcceptedByAgentTimestamp(AcceptedByAgentTimestampT &&value)
int GetAfterContactWorkDuration() const
const Aws::String & GetId() const
bool StateTransitionsHasBeenSet() const
AgentInfo & AddStateTransitions(StateTransitionsT &&value)
AgentInfo & WithDeviceInfo(DeviceInfoT &&value)
void SetAfterContactWorkStartTimestamp(AfterContactWorkStartTimestampT &&value)
AgentInfo & WithId(IdT &&value)
bool IdHasBeenSet() const
const Aws::Utils::DateTime & GetAfterContactWorkStartTimestamp() const
const HierarchyGroups & GetHierarchyGroups() const
void SetConnectedToAgentTimestamp(ConnectedToAgentTimestampT &&value)
const Aws::Vector< StateTransition > & GetStateTransitions() const
AgentInfo & WithAgentInitiatedHoldDuration(int value)
bool HierarchyGroupsHasBeenSet() const
void SetPreviewEndTimestamp(PreviewEndTimestampT &&value)
void SetAfterContactWorkEndTimestamp(AfterContactWorkEndTimestampT &&value)
bool AgentPauseDurationInSecondsHasBeenSet() const
void SetAgentPauseDurationInSeconds(int value)
AgentInfo & WithAcceptedByAgentTimestamp(AcceptedByAgentTimestampT &&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