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/connect/model/VoiceEnhancementMode.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
48 template <
typename IdT = Aws::String>
50 m_idHasBeenSet =
true;
51 m_id = std::forward<IdT>(value);
53 template <
typename IdT = Aws::String>
55 SetId(std::forward<IdT>(value));
66 template <
typename AcceptedByAgentTimestampT = Aws::Utils::DateTime>
68 m_acceptedByAgentTimestampHasBeenSet =
true;
69 m_acceptedByAgentTimestamp = std::forward<AcceptedByAgentTimestampT>(value);
71 template <
typename AcceptedByAgentTimestampT = Aws::Utils::DateTime>
84 template <
typename PreviewEndTimestampT = Aws::Utils::DateTime>
86 m_previewEndTimestampHasBeenSet =
true;
87 m_previewEndTimestamp = std::forward<PreviewEndTimestampT>(value);
89 template <
typename PreviewEndTimestampT = Aws::Utils::DateTime>
102 template <
typename ConnectedToAgentTimestampT = Aws::Utils::DateTime>
104 m_connectedToAgentTimestampHasBeenSet =
true;
105 m_connectedToAgentTimestamp = std::forward<ConnectedToAgentTimestampT>(value);
107 template <
typename ConnectedToAgentTimestampT = Aws::Utils::DateTime>
121 m_agentPauseDurationInSecondsHasBeenSet =
true;
122 m_agentPauseDurationInSeconds = value;
136 template <
typename HierarchyGroupsT = HierarchyGroups>
138 m_hierarchyGroupsHasBeenSet =
true;
139 m_hierarchyGroups = std::forward<HierarchyGroupsT>(value);
141 template <
typename HierarchyGroupsT = HierarchyGroups>
154 template <
typename DeviceInfoT = DeviceInfo>
156 m_deviceInfoHasBeenSet =
true;
157 m_deviceInfo = std::forward<DeviceInfoT>(value);
159 template <
typename DeviceInfoT = DeviceInfo>
170 template <
typename CapabilitiesT = ParticipantCapabilities>
172 m_capabilitiesHasBeenSet =
true;
173 m_capabilities = std::forward<CapabilitiesT>(value);
175 template <
typename CapabilitiesT = ParticipantCapabilities>
191 m_afterContactWorkDurationHasBeenSet =
true;
192 m_afterContactWorkDuration = value;
207 template <
typename AfterContactWorkStartTimestampT = Aws::Utils::DateTime>
209 m_afterContactWorkStartTimestampHasBeenSet =
true;
210 m_afterContactWorkStartTimestamp = std::forward<AfterContactWorkStartTimestampT>(value);
212 template <
typename AfterContactWorkStartTimestampT = Aws::Utils::DateTime>
229 template <
typename AfterContactWorkEndTimestampT = Aws::Utils::DateTime>
231 m_afterContactWorkEndTimestampHasBeenSet =
true;
232 m_afterContactWorkEndTimestamp = std::forward<AfterContactWorkEndTimestampT>(value);
234 template <
typename AfterContactWorkEndTimestampT = Aws::Utils::DateTime>
248 m_agentInitiatedHoldDurationHasBeenSet =
true;
249 m_agentInitiatedHoldDuration = value;
263 template <
typename StateTransitionsT = Aws::Vector<StateTransition>>
265 m_stateTransitionsHasBeenSet =
true;
266 m_stateTransitions = std::forward<StateTransitionsT>(value);
268 template <
typename StateTransitionsT = Aws::Vector<StateTransition>>
273 template <
typename StateTransitionsT = StateTransition>
275 m_stateTransitionsHasBeenSet =
true;
276 m_stateTransitions.emplace_back(std::forward<StateTransitionsT>(value));
290 m_voiceEnhancementModeHasBeenSet =
true;
291 m_voiceEnhancementMode = value;
307 int m_agentPauseDurationInSeconds{0};
309 HierarchyGroups m_hierarchyGroups;
311 DeviceInfo m_deviceInfo;
313 ParticipantCapabilities m_capabilities;
315 int m_afterContactWorkDuration{0};
321 int m_agentInitiatedHoldDuration{0};
326 bool m_idHasBeenSet =
false;
327 bool m_acceptedByAgentTimestampHasBeenSet =
false;
328 bool m_previewEndTimestampHasBeenSet =
false;
329 bool m_connectedToAgentTimestampHasBeenSet =
false;
330 bool m_agentPauseDurationInSecondsHasBeenSet =
false;
331 bool m_hierarchyGroupsHasBeenSet =
false;
332 bool m_deviceInfoHasBeenSet =
false;
333 bool m_capabilitiesHasBeenSet =
false;
334 bool m_afterContactWorkDurationHasBeenSet =
false;
335 bool m_afterContactWorkStartTimestampHasBeenSet =
false;
336 bool m_afterContactWorkEndTimestampHasBeenSet =
false;
337 bool m_agentInitiatedHoldDurationHasBeenSet =
false;
338 bool m_stateTransitionsHasBeenSet =
false;
339 bool m_voiceEnhancementModeHasBeenSet =
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 & WithVoiceEnhancementMode(VoiceEnhancementMode 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
bool VoiceEnhancementModeHasBeenSet() 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)
VoiceEnhancementMode GetVoiceEnhancementMode() const
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 SetVoiceEnhancementMode(VoiceEnhancementMode value)
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