AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
Contact.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/AdditionalEmailRecipients.h>
9#include <aws/connect/model/AgentInfo.h>
10#include <aws/connect/model/AnsweringMachineDetectionStatus.h>
11#include <aws/connect/model/Campaign.h>
12#include <aws/connect/model/Channel.h>
13#include <aws/connect/model/ChatMetrics.h>
14#include <aws/connect/model/ContactDetails.h>
15#include <aws/connect/model/ContactEvaluation.h>
16#include <aws/connect/model/ContactInitiationMethod.h>
17#include <aws/connect/model/Customer.h>
18#include <aws/connect/model/CustomerVoiceActivity.h>
19#include <aws/connect/model/DisconnectDetails.h>
20#include <aws/connect/model/EndpointInfo.h>
21#include <aws/connect/model/GlobalResiliencyMetadata.h>
22#include <aws/connect/model/NextContactEntry.h>
23#include <aws/connect/model/OutboundStrategy.h>
24#include <aws/connect/model/QualityMetrics.h>
25#include <aws/connect/model/QueueInfo.h>
26#include <aws/connect/model/RecordingInfo.h>
27#include <aws/connect/model/RoutingCriteria.h>
28#include <aws/connect/model/SegmentAttributeValue.h>
29#include <aws/connect/model/TaskTemplateInfoV2.h>
30#include <aws/connect/model/WisdomInfo.h>
31#include <aws/core/utils/DateTime.h>
32#include <aws/core/utils/memory/stl/AWSMap.h>
33#include <aws/core/utils/memory/stl/AWSString.h>
34#include <aws/core/utils/memory/stl/AWSVector.h>
35
36#include <utility>
37
38namespace Aws {
39namespace Utils {
40namespace Json {
41class JsonValue;
42class JsonView;
43} // namespace Json
44} // namespace Utils
45namespace Connect {
46namespace Model {
47
53class Contact {
54 public:
55 AWS_CONNECT_API Contact() = default;
56 AWS_CONNECT_API Contact(Aws::Utils::Json::JsonView jsonValue);
57 AWS_CONNECT_API Contact& operator=(Aws::Utils::Json::JsonView jsonValue);
58 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
59
61
64 inline const Aws::String& GetArn() const { return m_arn; }
65 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
66 template <typename ArnT = Aws::String>
67 void SetArn(ArnT&& value) {
68 m_arnHasBeenSet = true;
69 m_arn = std::forward<ArnT>(value);
70 }
71 template <typename ArnT = Aws::String>
72 Contact& WithArn(ArnT&& value) {
73 SetArn(std::forward<ArnT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetId() const { return m_id; }
83 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
84 template <typename IdT = Aws::String>
85 void SetId(IdT&& value) {
86 m_idHasBeenSet = true;
87 m_id = std::forward<IdT>(value);
88 }
89 template <typename IdT = Aws::String>
90 Contact& WithId(IdT&& value) {
91 SetId(std::forward<IdT>(value));
92 return *this;
93 }
95
97
101 inline const Aws::String& GetInitialContactId() const { return m_initialContactId; }
102 inline bool InitialContactIdHasBeenSet() const { return m_initialContactIdHasBeenSet; }
103 template <typename InitialContactIdT = Aws::String>
104 void SetInitialContactId(InitialContactIdT&& value) {
105 m_initialContactIdHasBeenSet = true;
106 m_initialContactId = std::forward<InitialContactIdT>(value);
107 }
108 template <typename InitialContactIdT = Aws::String>
109 Contact& WithInitialContactId(InitialContactIdT&& value) {
110 SetInitialContactId(std::forward<InitialContactIdT>(value));
111 return *this;
112 }
114
116
120 inline const Aws::String& GetPreviousContactId() const { return m_previousContactId; }
121 inline bool PreviousContactIdHasBeenSet() const { return m_previousContactIdHasBeenSet; }
122 template <typename PreviousContactIdT = Aws::String>
123 void SetPreviousContactId(PreviousContactIdT&& value) {
124 m_previousContactIdHasBeenSet = true;
125 m_previousContactId = std::forward<PreviousContactIdT>(value);
126 }
127 template <typename PreviousContactIdT = Aws::String>
128 Contact& WithPreviousContactId(PreviousContactIdT&& value) {
129 SetPreviousContactId(std::forward<PreviousContactIdT>(value));
130 return *this;
131 }
133
135
139 inline const Aws::String& GetContactAssociationId() const { return m_contactAssociationId; }
140 inline bool ContactAssociationIdHasBeenSet() const { return m_contactAssociationIdHasBeenSet; }
141 template <typename ContactAssociationIdT = Aws::String>
142 void SetContactAssociationId(ContactAssociationIdT&& value) {
143 m_contactAssociationIdHasBeenSet = true;
144 m_contactAssociationId = std::forward<ContactAssociationIdT>(value);
145 }
146 template <typename ContactAssociationIdT = Aws::String>
147 Contact& WithContactAssociationId(ContactAssociationIdT&& value) {
148 SetContactAssociationId(std::forward<ContactAssociationIdT>(value));
149 return *this;
150 }
152
154
157 inline ContactInitiationMethod GetInitiationMethod() const { return m_initiationMethod; }
158 inline bool InitiationMethodHasBeenSet() const { return m_initiationMethodHasBeenSet; }
160 m_initiationMethodHasBeenSet = true;
161 m_initiationMethod = value;
162 }
164 SetInitiationMethod(value);
165 return *this;
166 }
168
170
173 inline const Aws::String& GetName() const { return m_name; }
174 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
175 template <typename NameT = Aws::String>
176 void SetName(NameT&& value) {
177 m_nameHasBeenSet = true;
178 m_name = std::forward<NameT>(value);
179 }
180 template <typename NameT = Aws::String>
181 Contact& WithName(NameT&& value) {
182 SetName(std::forward<NameT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::String& GetDescription() const { return m_description; }
192 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
193 template <typename DescriptionT = Aws::String>
194 void SetDescription(DescriptionT&& value) {
195 m_descriptionHasBeenSet = true;
196 m_description = std::forward<DescriptionT>(value);
197 }
198 template <typename DescriptionT = Aws::String>
199 Contact& WithDescription(DescriptionT&& value) {
200 SetDescription(std::forward<DescriptionT>(value));
201 return *this;
202 }
204
206
209 inline Channel GetChannel() const { return m_channel; }
210 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
211 inline void SetChannel(Channel value) {
212 m_channelHasBeenSet = true;
213 m_channel = value;
214 }
215 inline Contact& WithChannel(Channel value) {
216 SetChannel(value);
217 return *this;
218 }
220
222
225 inline const QueueInfo& GetQueueInfo() const { return m_queueInfo; }
226 inline bool QueueInfoHasBeenSet() const { return m_queueInfoHasBeenSet; }
227 template <typename QueueInfoT = QueueInfo>
228 void SetQueueInfo(QueueInfoT&& value) {
229 m_queueInfoHasBeenSet = true;
230 m_queueInfo = std::forward<QueueInfoT>(value);
231 }
232 template <typename QueueInfoT = QueueInfo>
233 Contact& WithQueueInfo(QueueInfoT&& value) {
234 SetQueueInfo(std::forward<QueueInfoT>(value));
235 return *this;
236 }
238
240
243 inline const AgentInfo& GetAgentInfo() const { return m_agentInfo; }
244 inline bool AgentInfoHasBeenSet() const { return m_agentInfoHasBeenSet; }
245 template <typename AgentInfoT = AgentInfo>
246 void SetAgentInfo(AgentInfoT&& value) {
247 m_agentInfoHasBeenSet = true;
248 m_agentInfo = std::forward<AgentInfoT>(value);
249 }
250 template <typename AgentInfoT = AgentInfo>
251 Contact& WithAgentInfo(AgentInfoT&& value) {
252 SetAgentInfo(std::forward<AgentInfoT>(value));
253 return *this;
254 }
256
258
269 inline const Aws::Utils::DateTime& GetInitiationTimestamp() const { return m_initiationTimestamp; }
270 inline bool InitiationTimestampHasBeenSet() const { return m_initiationTimestampHasBeenSet; }
271 template <typename InitiationTimestampT = Aws::Utils::DateTime>
272 void SetInitiationTimestamp(InitiationTimestampT&& value) {
273 m_initiationTimestampHasBeenSet = true;
274 m_initiationTimestamp = std::forward<InitiationTimestampT>(value);
275 }
276 template <typename InitiationTimestampT = Aws::Utils::DateTime>
277 Contact& WithInitiationTimestamp(InitiationTimestampT&& value) {
278 SetInitiationTimestamp(std::forward<InitiationTimestampT>(value));
279 return *this;
280 }
282
284
289 inline const Aws::Utils::DateTime& GetDisconnectTimestamp() const { return m_disconnectTimestamp; }
290 inline bool DisconnectTimestampHasBeenSet() const { return m_disconnectTimestampHasBeenSet; }
291 template <typename DisconnectTimestampT = Aws::Utils::DateTime>
292 void SetDisconnectTimestamp(DisconnectTimestampT&& value) {
293 m_disconnectTimestampHasBeenSet = true;
294 m_disconnectTimestamp = std::forward<DisconnectTimestampT>(value);
295 }
296 template <typename DisconnectTimestampT = Aws::Utils::DateTime>
297 Contact& WithDisconnectTimestamp(DisconnectTimestampT&& value) {
298 SetDisconnectTimestamp(std::forward<DisconnectTimestampT>(value));
299 return *this;
300 }
302
304
307 inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const { return m_lastUpdateTimestamp; }
308 inline bool LastUpdateTimestampHasBeenSet() const { return m_lastUpdateTimestampHasBeenSet; }
309 template <typename LastUpdateTimestampT = Aws::Utils::DateTime>
310 void SetLastUpdateTimestamp(LastUpdateTimestampT&& value) {
311 m_lastUpdateTimestampHasBeenSet = true;
312 m_lastUpdateTimestamp = std::forward<LastUpdateTimestampT>(value);
313 }
314 template <typename LastUpdateTimestampT = Aws::Utils::DateTime>
315 Contact& WithLastUpdateTimestamp(LastUpdateTimestampT&& value) {
316 SetLastUpdateTimestamp(std::forward<LastUpdateTimestampT>(value));
317 return *this;
318 }
320
322
325 inline const Aws::Utils::DateTime& GetLastPausedTimestamp() const { return m_lastPausedTimestamp; }
326 inline bool LastPausedTimestampHasBeenSet() const { return m_lastPausedTimestampHasBeenSet; }
327 template <typename LastPausedTimestampT = Aws::Utils::DateTime>
328 void SetLastPausedTimestamp(LastPausedTimestampT&& value) {
329 m_lastPausedTimestampHasBeenSet = true;
330 m_lastPausedTimestamp = std::forward<LastPausedTimestampT>(value);
331 }
332 template <typename LastPausedTimestampT = Aws::Utils::DateTime>
333 Contact& WithLastPausedTimestamp(LastPausedTimestampT&& value) {
334 SetLastPausedTimestamp(std::forward<LastPausedTimestampT>(value));
335 return *this;
336 }
338
340
343 inline const Aws::Utils::DateTime& GetLastResumedTimestamp() const { return m_lastResumedTimestamp; }
344 inline bool LastResumedTimestampHasBeenSet() const { return m_lastResumedTimestampHasBeenSet; }
345 template <typename LastResumedTimestampT = Aws::Utils::DateTime>
346 void SetLastResumedTimestamp(LastResumedTimestampT&& value) {
347 m_lastResumedTimestampHasBeenSet = true;
348 m_lastResumedTimestamp = std::forward<LastResumedTimestampT>(value);
349 }
350 template <typename LastResumedTimestampT = Aws::Utils::DateTime>
351 Contact& WithLastResumedTimestamp(LastResumedTimestampT&& value) {
352 SetLastResumedTimestamp(std::forward<LastResumedTimestampT>(value));
353 return *this;
354 }
356
358
361 inline const Aws::Utils::DateTime& GetRingStartTimestamp() const { return m_ringStartTimestamp; }
362 inline bool RingStartTimestampHasBeenSet() const { return m_ringStartTimestampHasBeenSet; }
363 template <typename RingStartTimestampT = Aws::Utils::DateTime>
364 void SetRingStartTimestamp(RingStartTimestampT&& value) {
365 m_ringStartTimestampHasBeenSet = true;
366 m_ringStartTimestamp = std::forward<RingStartTimestampT>(value);
367 }
368 template <typename RingStartTimestampT = Aws::Utils::DateTime>
369 Contact& WithRingStartTimestamp(RingStartTimestampT&& value) {
370 SetRingStartTimestamp(std::forward<RingStartTimestampT>(value));
371 return *this;
372 }
374
376
379 inline int GetTotalPauseCount() const { return m_totalPauseCount; }
380 inline bool TotalPauseCountHasBeenSet() const { return m_totalPauseCountHasBeenSet; }
381 inline void SetTotalPauseCount(int value) {
382 m_totalPauseCountHasBeenSet = true;
383 m_totalPauseCount = value;
384 }
385 inline Contact& WithTotalPauseCount(int value) {
386 SetTotalPauseCount(value);
387 return *this;
388 }
390
392
395 inline int GetTotalPauseDurationInSeconds() const { return m_totalPauseDurationInSeconds; }
396 inline bool TotalPauseDurationInSecondsHasBeenSet() const { return m_totalPauseDurationInSecondsHasBeenSet; }
397 inline void SetTotalPauseDurationInSeconds(int value) {
398 m_totalPauseDurationInSecondsHasBeenSet = true;
399 m_totalPauseDurationInSeconds = value;
400 }
403 return *this;
404 }
406
408
412 inline const Aws::Utils::DateTime& GetScheduledTimestamp() const { return m_scheduledTimestamp; }
413 inline bool ScheduledTimestampHasBeenSet() const { return m_scheduledTimestampHasBeenSet; }
414 template <typename ScheduledTimestampT = Aws::Utils::DateTime>
415 void SetScheduledTimestamp(ScheduledTimestampT&& value) {
416 m_scheduledTimestampHasBeenSet = true;
417 m_scheduledTimestamp = std::forward<ScheduledTimestampT>(value);
418 }
419 template <typename ScheduledTimestampT = Aws::Utils::DateTime>
420 Contact& WithScheduledTimestamp(ScheduledTimestampT&& value) {
421 SetScheduledTimestamp(std::forward<ScheduledTimestampT>(value));
422 return *this;
423 }
425
427
432 inline const Aws::String& GetRelatedContactId() const { return m_relatedContactId; }
433 inline bool RelatedContactIdHasBeenSet() const { return m_relatedContactIdHasBeenSet; }
434 template <typename RelatedContactIdT = Aws::String>
435 void SetRelatedContactId(RelatedContactIdT&& value) {
436 m_relatedContactIdHasBeenSet = true;
437 m_relatedContactId = std::forward<RelatedContactIdT>(value);
438 }
439 template <typename RelatedContactIdT = Aws::String>
440 Contact& WithRelatedContactId(RelatedContactIdT&& value) {
441 SetRelatedContactId(std::forward<RelatedContactIdT>(value));
442 return *this;
443 }
445
447
450 inline const WisdomInfo& GetWisdomInfo() const { return m_wisdomInfo; }
451 inline bool WisdomInfoHasBeenSet() const { return m_wisdomInfoHasBeenSet; }
452 template <typename WisdomInfoT = WisdomInfo>
453 void SetWisdomInfo(WisdomInfoT&& value) {
454 m_wisdomInfoHasBeenSet = true;
455 m_wisdomInfo = std::forward<WisdomInfoT>(value);
456 }
457 template <typename WisdomInfoT = WisdomInfo>
458 Contact& WithWisdomInfo(WisdomInfoT&& value) {
459 SetWisdomInfo(std::forward<WisdomInfoT>(value));
460 return *this;
461 }
463
465
472 inline const Aws::String& GetCustomerId() const { return m_customerId; }
473 inline bool CustomerIdHasBeenSet() const { return m_customerIdHasBeenSet; }
474 template <typename CustomerIdT = Aws::String>
475 void SetCustomerId(CustomerIdT&& value) {
476 m_customerIdHasBeenSet = true;
477 m_customerId = std::forward<CustomerIdT>(value);
478 }
479 template <typename CustomerIdT = Aws::String>
480 Contact& WithCustomerId(CustomerIdT&& value) {
481 SetCustomerId(std::forward<CustomerIdT>(value));
482 return *this;
483 }
485
487
490 inline const EndpointInfo& GetCustomerEndpoint() const { return m_customerEndpoint; }
491 inline bool CustomerEndpointHasBeenSet() const { return m_customerEndpointHasBeenSet; }
492 template <typename CustomerEndpointT = EndpointInfo>
493 void SetCustomerEndpoint(CustomerEndpointT&& value) {
494 m_customerEndpointHasBeenSet = true;
495 m_customerEndpoint = std::forward<CustomerEndpointT>(value);
496 }
497 template <typename CustomerEndpointT = EndpointInfo>
498 Contact& WithCustomerEndpoint(CustomerEndpointT&& value) {
499 SetCustomerEndpoint(std::forward<CustomerEndpointT>(value));
500 return *this;
501 }
503
505
512 inline const EndpointInfo& GetSystemEndpoint() const { return m_systemEndpoint; }
513 inline bool SystemEndpointHasBeenSet() const { return m_systemEndpointHasBeenSet; }
514 template <typename SystemEndpointT = EndpointInfo>
515 void SetSystemEndpoint(SystemEndpointT&& value) {
516 m_systemEndpointHasBeenSet = true;
517 m_systemEndpoint = std::forward<SystemEndpointT>(value);
518 }
519 template <typename SystemEndpointT = EndpointInfo>
520 Contact& WithSystemEndpoint(SystemEndpointT&& value) {
521 SetSystemEndpoint(std::forward<SystemEndpointT>(value));
522 return *this;
523 }
525
527
533 inline int GetQueueTimeAdjustmentSeconds() const { return m_queueTimeAdjustmentSeconds; }
534 inline bool QueueTimeAdjustmentSecondsHasBeenSet() const { return m_queueTimeAdjustmentSecondsHasBeenSet; }
535 inline void SetQueueTimeAdjustmentSeconds(int value) {
536 m_queueTimeAdjustmentSecondsHasBeenSet = true;
537 m_queueTimeAdjustmentSeconds = value;
538 }
541 return *this;
542 }
544
546
552 inline long long GetQueuePriority() const { return m_queuePriority; }
553 inline bool QueuePriorityHasBeenSet() const { return m_queuePriorityHasBeenSet; }
554 inline void SetQueuePriority(long long value) {
555 m_queuePriorityHasBeenSet = true;
556 m_queuePriority = value;
557 }
558 inline Contact& WithQueuePriority(long long value) {
559 SetQueuePriority(value);
560 return *this;
561 }
563
565
569 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
570 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
571 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
572 void SetTags(TagsT&& value) {
573 m_tagsHasBeenSet = true;
574 m_tags = std::forward<TagsT>(value);
575 }
576 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
577 Contact& WithTags(TagsT&& value) {
578 SetTags(std::forward<TagsT>(value));
579 return *this;
580 }
581 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
582 Contact& AddTags(TagsKeyT&& key, TagsValueT&& value) {
583 m_tagsHasBeenSet = true;
584 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
585 return *this;
586 }
588
590
593 inline const Aws::Utils::DateTime& GetConnectedToSystemTimestamp() const { return m_connectedToSystemTimestamp; }
594 inline bool ConnectedToSystemTimestampHasBeenSet() const { return m_connectedToSystemTimestampHasBeenSet; }
595 template <typename ConnectedToSystemTimestampT = Aws::Utils::DateTime>
596 void SetConnectedToSystemTimestamp(ConnectedToSystemTimestampT&& value) {
597 m_connectedToSystemTimestampHasBeenSet = true;
598 m_connectedToSystemTimestamp = std::forward<ConnectedToSystemTimestampT>(value);
599 }
600 template <typename ConnectedToSystemTimestampT = Aws::Utils::DateTime>
601 Contact& WithConnectedToSystemTimestamp(ConnectedToSystemTimestampT&& value) {
602 SetConnectedToSystemTimestamp(std::forward<ConnectedToSystemTimestampT>(value));
603 return *this;
604 }
606
608
611 inline const RoutingCriteria& GetRoutingCriteria() const { return m_routingCriteria; }
612 inline bool RoutingCriteriaHasBeenSet() const { return m_routingCriteriaHasBeenSet; }
613 template <typename RoutingCriteriaT = RoutingCriteria>
614 void SetRoutingCriteria(RoutingCriteriaT&& value) {
615 m_routingCriteriaHasBeenSet = true;
616 m_routingCriteria = std::forward<RoutingCriteriaT>(value);
617 }
618 template <typename RoutingCriteriaT = RoutingCriteria>
619 Contact& WithRoutingCriteria(RoutingCriteriaT&& value) {
620 SetRoutingCriteria(std::forward<RoutingCriteriaT>(value));
621 return *this;
622 }
624
626
629 inline const Customer& GetCustomer() const { return m_customer; }
630 inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; }
631 template <typename CustomerT = Customer>
632 void SetCustomer(CustomerT&& value) {
633 m_customerHasBeenSet = true;
634 m_customer = std::forward<CustomerT>(value);
635 }
636 template <typename CustomerT = Customer>
637 Contact& WithCustomer(CustomerT&& value) {
638 SetCustomer(std::forward<CustomerT>(value));
639 return *this;
640 }
642
644
645 inline const Campaign& GetCampaign() const { return m_campaign; }
646 inline bool CampaignHasBeenSet() const { return m_campaignHasBeenSet; }
647 template <typename CampaignT = Campaign>
648 void SetCampaign(CampaignT&& value) {
649 m_campaignHasBeenSet = true;
650 m_campaign = std::forward<CampaignT>(value);
651 }
652 template <typename CampaignT = Campaign>
653 Contact& WithCampaign(CampaignT&& value) {
654 SetCampaign(std::forward<CampaignT>(value));
655 return *this;
656 }
658
660
666 inline AnsweringMachineDetectionStatus GetAnsweringMachineDetectionStatus() const { return m_answeringMachineDetectionStatus; }
667 inline bool AnsweringMachineDetectionStatusHasBeenSet() const { return m_answeringMachineDetectionStatusHasBeenSet; }
669 m_answeringMachineDetectionStatusHasBeenSet = true;
670 m_answeringMachineDetectionStatus = value;
671 }
674 return *this;
675 }
677
679
682 inline const CustomerVoiceActivity& GetCustomerVoiceActivity() const { return m_customerVoiceActivity; }
683 inline bool CustomerVoiceActivityHasBeenSet() const { return m_customerVoiceActivityHasBeenSet; }
684 template <typename CustomerVoiceActivityT = CustomerVoiceActivity>
685 void SetCustomerVoiceActivity(CustomerVoiceActivityT&& value) {
686 m_customerVoiceActivityHasBeenSet = true;
687 m_customerVoiceActivity = std::forward<CustomerVoiceActivityT>(value);
688 }
689 template <typename CustomerVoiceActivityT = CustomerVoiceActivity>
690 Contact& WithCustomerVoiceActivity(CustomerVoiceActivityT&& value) {
691 SetCustomerVoiceActivity(std::forward<CustomerVoiceActivityT>(value));
692 return *this;
693 }
695
697
700 inline const QualityMetrics& GetQualityMetrics() const { return m_qualityMetrics; }
701 inline bool QualityMetricsHasBeenSet() const { return m_qualityMetricsHasBeenSet; }
702 template <typename QualityMetricsT = QualityMetrics>
703 void SetQualityMetrics(QualityMetricsT&& value) {
704 m_qualityMetricsHasBeenSet = true;
705 m_qualityMetrics = std::forward<QualityMetricsT>(value);
706 }
707 template <typename QualityMetricsT = QualityMetrics>
708 Contact& WithQualityMetrics(QualityMetricsT&& value) {
709 SetQualityMetrics(std::forward<QualityMetricsT>(value));
710 return *this;
711 }
713
715
719 inline const ChatMetrics& GetChatMetrics() const { return m_chatMetrics; }
720 inline bool ChatMetricsHasBeenSet() const { return m_chatMetricsHasBeenSet; }
721 template <typename ChatMetricsT = ChatMetrics>
722 void SetChatMetrics(ChatMetricsT&& value) {
723 m_chatMetricsHasBeenSet = true;
724 m_chatMetrics = std::forward<ChatMetricsT>(value);
725 }
726 template <typename ChatMetricsT = ChatMetrics>
727 Contact& WithChatMetrics(ChatMetricsT&& value) {
728 SetChatMetrics(std::forward<ChatMetricsT>(value));
729 return *this;
730 }
732
734
737 inline const DisconnectDetails& GetDisconnectDetails() const { return m_disconnectDetails; }
738 inline bool DisconnectDetailsHasBeenSet() const { return m_disconnectDetailsHasBeenSet; }
739 template <typename DisconnectDetailsT = DisconnectDetails>
740 void SetDisconnectDetails(DisconnectDetailsT&& value) {
741 m_disconnectDetailsHasBeenSet = true;
742 m_disconnectDetails = std::forward<DisconnectDetailsT>(value);
743 }
744 template <typename DisconnectDetailsT = DisconnectDetails>
745 Contact& WithDisconnectDetails(DisconnectDetailsT&& value) {
746 SetDisconnectDetails(std::forward<DisconnectDetailsT>(value));
747 return *this;
748 }
750
752
755 inline const AdditionalEmailRecipients& GetAdditionalEmailRecipients() const { return m_additionalEmailRecipients; }
756 inline bool AdditionalEmailRecipientsHasBeenSet() const { return m_additionalEmailRecipientsHasBeenSet; }
757 template <typename AdditionalEmailRecipientsT = AdditionalEmailRecipients>
758 void SetAdditionalEmailRecipients(AdditionalEmailRecipientsT&& value) {
759 m_additionalEmailRecipientsHasBeenSet = true;
760 m_additionalEmailRecipients = std::forward<AdditionalEmailRecipientsT>(value);
761 }
762 template <typename AdditionalEmailRecipientsT = AdditionalEmailRecipients>
763 Contact& WithAdditionalEmailRecipients(AdditionalEmailRecipientsT&& value) {
764 SetAdditionalEmailRecipients(std::forward<AdditionalEmailRecipientsT>(value));
765 return *this;
766 }
768
770
777 inline const Aws::Map<Aws::String, SegmentAttributeValue>& GetSegmentAttributes() const { return m_segmentAttributes; }
778 inline bool SegmentAttributesHasBeenSet() const { return m_segmentAttributesHasBeenSet; }
779 template <typename SegmentAttributesT = Aws::Map<Aws::String, SegmentAttributeValue>>
780 void SetSegmentAttributes(SegmentAttributesT&& value) {
781 m_segmentAttributesHasBeenSet = true;
782 m_segmentAttributes = std::forward<SegmentAttributesT>(value);
783 }
784 template <typename SegmentAttributesT = Aws::Map<Aws::String, SegmentAttributeValue>>
785 Contact& WithSegmentAttributes(SegmentAttributesT&& value) {
786 SetSegmentAttributes(std::forward<SegmentAttributesT>(value));
787 return *this;
788 }
789 template <typename SegmentAttributesKeyT = Aws::String, typename SegmentAttributesValueT = SegmentAttributeValue>
790 Contact& AddSegmentAttributes(SegmentAttributesKeyT&& key, SegmentAttributesValueT&& value) {
791 m_segmentAttributesHasBeenSet = true;
792 m_segmentAttributes.emplace(std::forward<SegmentAttributesKeyT>(key), std::forward<SegmentAttributesValueT>(value));
793 return *this;
794 }
796
798
801 inline const Aws::Vector<RecordingInfo>& GetRecordings() const { return m_recordings; }
802 inline bool RecordingsHasBeenSet() const { return m_recordingsHasBeenSet; }
803 template <typename RecordingsT = Aws::Vector<RecordingInfo>>
804 void SetRecordings(RecordingsT&& value) {
805 m_recordingsHasBeenSet = true;
806 m_recordings = std::forward<RecordingsT>(value);
807 }
808 template <typename RecordingsT = Aws::Vector<RecordingInfo>>
809 Contact& WithRecordings(RecordingsT&& value) {
810 SetRecordings(std::forward<RecordingsT>(value));
811 return *this;
812 }
813 template <typename RecordingsT = RecordingInfo>
814 Contact& AddRecordings(RecordingsT&& value) {
815 m_recordingsHasBeenSet = true;
816 m_recordings.emplace_back(std::forward<RecordingsT>(value));
817 return *this;
818 }
820
822
828 inline const Aws::String& GetDisconnectReason() const { return m_disconnectReason; }
829 inline bool DisconnectReasonHasBeenSet() const { return m_disconnectReasonHasBeenSet; }
830 template <typename DisconnectReasonT = Aws::String>
831 void SetDisconnectReason(DisconnectReasonT&& value) {
832 m_disconnectReasonHasBeenSet = true;
833 m_disconnectReason = std::forward<DisconnectReasonT>(value);
834 }
835 template <typename DisconnectReasonT = Aws::String>
836 Contact& WithDisconnectReason(DisconnectReasonT&& value) {
837 SetDisconnectReason(std::forward<DisconnectReasonT>(value));
838 return *this;
839 }
841
843
847 inline const Aws::Map<Aws::String, ContactEvaluation>& GetContactEvaluations() const { return m_contactEvaluations; }
848 inline bool ContactEvaluationsHasBeenSet() const { return m_contactEvaluationsHasBeenSet; }
849 template <typename ContactEvaluationsT = Aws::Map<Aws::String, ContactEvaluation>>
850 void SetContactEvaluations(ContactEvaluationsT&& value) {
851 m_contactEvaluationsHasBeenSet = true;
852 m_contactEvaluations = std::forward<ContactEvaluationsT>(value);
853 }
854 template <typename ContactEvaluationsT = Aws::Map<Aws::String, ContactEvaluation>>
855 Contact& WithContactEvaluations(ContactEvaluationsT&& value) {
856 SetContactEvaluations(std::forward<ContactEvaluationsT>(value));
857 return *this;
858 }
859 template <typename ContactEvaluationsKeyT = Aws::String, typename ContactEvaluationsValueT = ContactEvaluation>
860 Contact& AddContactEvaluations(ContactEvaluationsKeyT&& key, ContactEvaluationsValueT&& value) {
861 m_contactEvaluationsHasBeenSet = true;
862 m_contactEvaluations.emplace(std::forward<ContactEvaluationsKeyT>(key), std::forward<ContactEvaluationsValueT>(value));
863 return *this;
864 }
866
868
872 inline const TaskTemplateInfoV2& GetTaskTemplateInfo() const { return m_taskTemplateInfo; }
873 inline bool TaskTemplateInfoHasBeenSet() const { return m_taskTemplateInfoHasBeenSet; }
874 template <typename TaskTemplateInfoT = TaskTemplateInfoV2>
875 void SetTaskTemplateInfo(TaskTemplateInfoT&& value) {
876 m_taskTemplateInfoHasBeenSet = true;
877 m_taskTemplateInfo = std::forward<TaskTemplateInfoT>(value);
878 }
879 template <typename TaskTemplateInfoT = TaskTemplateInfoV2>
880 Contact& WithTaskTemplateInfo(TaskTemplateInfoT&& value) {
881 SetTaskTemplateInfo(std::forward<TaskTemplateInfoT>(value));
882 return *this;
883 }
885
887
892 inline const ContactDetails& GetContactDetails() const { return m_contactDetails; }
893 inline bool ContactDetailsHasBeenSet() const { return m_contactDetailsHasBeenSet; }
894 template <typename ContactDetailsT = ContactDetails>
895 void SetContactDetails(ContactDetailsT&& value) {
896 m_contactDetailsHasBeenSet = true;
897 m_contactDetails = std::forward<ContactDetailsT>(value);
898 }
899 template <typename ContactDetailsT = ContactDetails>
900 Contact& WithContactDetails(ContactDetailsT&& value) {
901 SetContactDetails(std::forward<ContactDetailsT>(value));
902 return *this;
903 }
905
907
910 inline const OutboundStrategy& GetOutboundStrategy() const { return m_outboundStrategy; }
911 inline bool OutboundStrategyHasBeenSet() const { return m_outboundStrategyHasBeenSet; }
912 template <typename OutboundStrategyT = OutboundStrategy>
913 void SetOutboundStrategy(OutboundStrategyT&& value) {
914 m_outboundStrategyHasBeenSet = true;
915 m_outboundStrategy = std::forward<OutboundStrategyT>(value);
916 }
917 template <typename OutboundStrategyT = OutboundStrategy>
918 Contact& WithOutboundStrategy(OutboundStrategyT&& value) {
919 SetOutboundStrategy(std::forward<OutboundStrategyT>(value));
920 return *this;
921 }
923
925
928 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
929 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
930 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
931 void SetAttributes(AttributesT&& value) {
932 m_attributesHasBeenSet = true;
933 m_attributes = std::forward<AttributesT>(value);
934 }
935 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
936 Contact& WithAttributes(AttributesT&& value) {
937 SetAttributes(std::forward<AttributesT>(value));
938 return *this;
939 }
940 template <typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
941 Contact& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
942 m_attributesHasBeenSet = true;
943 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
944 return *this;
945 }
947
949
952 inline const Aws::Vector<NextContactEntry>& GetNextContacts() const { return m_nextContacts; }
953 inline bool NextContactsHasBeenSet() const { return m_nextContactsHasBeenSet; }
954 template <typename NextContactsT = Aws::Vector<NextContactEntry>>
955 void SetNextContacts(NextContactsT&& value) {
956 m_nextContactsHasBeenSet = true;
957 m_nextContacts = std::forward<NextContactsT>(value);
958 }
959 template <typename NextContactsT = Aws::Vector<NextContactEntry>>
960 Contact& WithNextContacts(NextContactsT&& value) {
961 SetNextContacts(std::forward<NextContactsT>(value));
962 return *this;
963 }
964 template <typename NextContactsT = NextContactEntry>
965 Contact& AddNextContacts(NextContactsT&& value) {
966 m_nextContactsHasBeenSet = true;
967 m_nextContacts.emplace_back(std::forward<NextContactsT>(value));
968 return *this;
969 }
971
973
977 inline const GlobalResiliencyMetadata& GetGlobalResiliencyMetadata() const { return m_globalResiliencyMetadata; }
978 inline bool GlobalResiliencyMetadataHasBeenSet() const { return m_globalResiliencyMetadataHasBeenSet; }
979 template <typename GlobalResiliencyMetadataT = GlobalResiliencyMetadata>
980 void SetGlobalResiliencyMetadata(GlobalResiliencyMetadataT&& value) {
981 m_globalResiliencyMetadataHasBeenSet = true;
982 m_globalResiliencyMetadata = std::forward<GlobalResiliencyMetadataT>(value);
983 }
984 template <typename GlobalResiliencyMetadataT = GlobalResiliencyMetadata>
985 Contact& WithGlobalResiliencyMetadata(GlobalResiliencyMetadataT&& value) {
986 SetGlobalResiliencyMetadata(std::forward<GlobalResiliencyMetadataT>(value));
987 return *this;
988 }
990 private:
991 Aws::String m_arn;
992
993 Aws::String m_id;
994
995 Aws::String m_initialContactId;
996
997 Aws::String m_previousContactId;
998
999 Aws::String m_contactAssociationId;
1000
1002
1003 Aws::String m_name;
1004
1005 Aws::String m_description;
1006
1007 Channel m_channel{Channel::NOT_SET};
1008
1009 QueueInfo m_queueInfo;
1010
1011 AgentInfo m_agentInfo;
1012
1013 Aws::Utils::DateTime m_initiationTimestamp{};
1014
1015 Aws::Utils::DateTime m_disconnectTimestamp{};
1016
1017 Aws::Utils::DateTime m_lastUpdateTimestamp{};
1018
1019 Aws::Utils::DateTime m_lastPausedTimestamp{};
1020
1021 Aws::Utils::DateTime m_lastResumedTimestamp{};
1022
1023 Aws::Utils::DateTime m_ringStartTimestamp{};
1024
1025 int m_totalPauseCount{0};
1026
1027 int m_totalPauseDurationInSeconds{0};
1028
1029 Aws::Utils::DateTime m_scheduledTimestamp{};
1030
1031 Aws::String m_relatedContactId;
1032
1033 WisdomInfo m_wisdomInfo;
1034
1035 Aws::String m_customerId;
1036
1037 EndpointInfo m_customerEndpoint;
1038
1039 EndpointInfo m_systemEndpoint;
1040
1041 int m_queueTimeAdjustmentSeconds{0};
1042
1043 long long m_queuePriority{0};
1044
1046
1047 Aws::Utils::DateTime m_connectedToSystemTimestamp{};
1048
1049 RoutingCriteria m_routingCriteria;
1050
1051 Customer m_customer;
1052
1053 Campaign m_campaign;
1054
1056
1057 CustomerVoiceActivity m_customerVoiceActivity;
1058
1059 QualityMetrics m_qualityMetrics;
1060
1061 ChatMetrics m_chatMetrics;
1062
1063 DisconnectDetails m_disconnectDetails;
1064
1065 AdditionalEmailRecipients m_additionalEmailRecipients;
1066
1068
1069 Aws::Vector<RecordingInfo> m_recordings;
1070
1071 Aws::String m_disconnectReason;
1072
1073 Aws::Map<Aws::String, ContactEvaluation> m_contactEvaluations;
1074
1075 TaskTemplateInfoV2 m_taskTemplateInfo;
1076
1077 ContactDetails m_contactDetails;
1078
1079 OutboundStrategy m_outboundStrategy;
1080
1082
1083 Aws::Vector<NextContactEntry> m_nextContacts;
1084
1085 GlobalResiliencyMetadata m_globalResiliencyMetadata;
1086 bool m_arnHasBeenSet = false;
1087 bool m_idHasBeenSet = false;
1088 bool m_initialContactIdHasBeenSet = false;
1089 bool m_previousContactIdHasBeenSet = false;
1090 bool m_contactAssociationIdHasBeenSet = false;
1091 bool m_initiationMethodHasBeenSet = false;
1092 bool m_nameHasBeenSet = false;
1093 bool m_descriptionHasBeenSet = false;
1094 bool m_channelHasBeenSet = false;
1095 bool m_queueInfoHasBeenSet = false;
1096 bool m_agentInfoHasBeenSet = false;
1097 bool m_initiationTimestampHasBeenSet = false;
1098 bool m_disconnectTimestampHasBeenSet = false;
1099 bool m_lastUpdateTimestampHasBeenSet = false;
1100 bool m_lastPausedTimestampHasBeenSet = false;
1101 bool m_lastResumedTimestampHasBeenSet = false;
1102 bool m_ringStartTimestampHasBeenSet = false;
1103 bool m_totalPauseCountHasBeenSet = false;
1104 bool m_totalPauseDurationInSecondsHasBeenSet = false;
1105 bool m_scheduledTimestampHasBeenSet = false;
1106 bool m_relatedContactIdHasBeenSet = false;
1107 bool m_wisdomInfoHasBeenSet = false;
1108 bool m_customerIdHasBeenSet = false;
1109 bool m_customerEndpointHasBeenSet = false;
1110 bool m_systemEndpointHasBeenSet = false;
1111 bool m_queueTimeAdjustmentSecondsHasBeenSet = false;
1112 bool m_queuePriorityHasBeenSet = false;
1113 bool m_tagsHasBeenSet = false;
1114 bool m_connectedToSystemTimestampHasBeenSet = false;
1115 bool m_routingCriteriaHasBeenSet = false;
1116 bool m_customerHasBeenSet = false;
1117 bool m_campaignHasBeenSet = false;
1118 bool m_answeringMachineDetectionStatusHasBeenSet = false;
1119 bool m_customerVoiceActivityHasBeenSet = false;
1120 bool m_qualityMetricsHasBeenSet = false;
1121 bool m_chatMetricsHasBeenSet = false;
1122 bool m_disconnectDetailsHasBeenSet = false;
1123 bool m_additionalEmailRecipientsHasBeenSet = false;
1124 bool m_segmentAttributesHasBeenSet = false;
1125 bool m_recordingsHasBeenSet = false;
1126 bool m_disconnectReasonHasBeenSet = false;
1127 bool m_contactEvaluationsHasBeenSet = false;
1128 bool m_taskTemplateInfoHasBeenSet = false;
1129 bool m_contactDetailsHasBeenSet = false;
1130 bool m_outboundStrategyHasBeenSet = false;
1131 bool m_attributesHasBeenSet = false;
1132 bool m_nextContactsHasBeenSet = false;
1133 bool m_globalResiliencyMetadataHasBeenSet = false;
1134};
1135
1136} // namespace Model
1137} // namespace Connect
1138} // namespace Aws
bool AnsweringMachineDetectionStatusHasBeenSet() const
Definition Contact.h:667
Channel GetChannel() const
Definition Contact.h:209
void SetContactAssociationId(ContactAssociationIdT &&value)
Definition Contact.h:142
Contact & WithRecordings(RecordingsT &&value)
Definition Contact.h:809
int GetTotalPauseDurationInSeconds() const
Definition Contact.h:395
const Aws::Utils::DateTime & GetLastResumedTimestamp() const
Definition Contact.h:343
const EndpointInfo & GetSystemEndpoint() const
Definition Contact.h:512
const Aws::String & GetId() const
Definition Contact.h:82
void SetOutboundStrategy(OutboundStrategyT &&value)
Definition Contact.h:913
bool SegmentAttributesHasBeenSet() const
Definition Contact.h:778
Contact & WithCustomer(CustomerT &&value)
Definition Contact.h:637
const ChatMetrics & GetChatMetrics() const
Definition Contact.h:719
const EndpointInfo & GetCustomerEndpoint() const
Definition Contact.h:490
AWS_CONNECT_API Contact(Aws::Utils::Json::JsonView jsonValue)
void SetChatMetrics(ChatMetricsT &&value)
Definition Contact.h:722
Contact & WithLastUpdateTimestamp(LastUpdateTimestampT &&value)
Definition Contact.h:315
Contact & WithName(NameT &&value)
Definition Contact.h:181
const Aws::Utils::DateTime & GetLastPausedTimestamp() const
Definition Contact.h:325
void SetAdditionalEmailRecipients(AdditionalEmailRecipientsT &&value)
Definition Contact.h:758
Contact & WithInitiationMethod(ContactInitiationMethod value)
Definition Contact.h:163
bool LastUpdateTimestampHasBeenSet() const
Definition Contact.h:308
bool DescriptionHasBeenSet() const
Definition Contact.h:192
const Aws::String & GetRelatedContactId() const
Definition Contact.h:432
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool AgentInfoHasBeenSet() const
Definition Contact.h:244
const Aws::Map< Aws::String, SegmentAttributeValue > & GetSegmentAttributes() const
Definition Contact.h:777
Contact & AddNextContacts(NextContactsT &&value)
Definition Contact.h:965
void SetGlobalResiliencyMetadata(GlobalResiliencyMetadataT &&value)
Definition Contact.h:980
void SetRecordings(RecordingsT &&value)
Definition Contact.h:804
bool ChatMetricsHasBeenSet() const
Definition Contact.h:720
Contact & WithConnectedToSystemTimestamp(ConnectedToSystemTimestampT &&value)
Definition Contact.h:601
void SetTags(TagsT &&value)
Definition Contact.h:572
bool ConnectedToSystemTimestampHasBeenSet() const
Definition Contact.h:594
Contact & WithInitiationTimestamp(InitiationTimestampT &&value)
Definition Contact.h:277
int GetQueueTimeAdjustmentSeconds() const
Definition Contact.h:533
void SetId(IdT &&value)
Definition Contact.h:85
void SetDisconnectTimestamp(DisconnectTimestampT &&value)
Definition Contact.h:292
void SetDisconnectReason(DisconnectReasonT &&value)
Definition Contact.h:831
Contact & WithQueueInfo(QueueInfoT &&value)
Definition Contact.h:233
Contact & WithInitialContactId(InitialContactIdT &&value)
Definition Contact.h:109
void SetLastPausedTimestamp(LastPausedTimestampT &&value)
Definition Contact.h:328
const CustomerVoiceActivity & GetCustomerVoiceActivity() const
Definition Contact.h:682
Contact & WithContactEvaluations(ContactEvaluationsT &&value)
Definition Contact.h:855
bool AttributesHasBeenSet() const
Definition Contact.h:929
const OutboundStrategy & GetOutboundStrategy() const
Definition Contact.h:910
const GlobalResiliencyMetadata & GetGlobalResiliencyMetadata() const
Definition Contact.h:977
Contact & WithDisconnectTimestamp(DisconnectTimestampT &&value)
Definition Contact.h:297
Contact & WithQualityMetrics(QualityMetricsT &&value)
Definition Contact.h:708
const DisconnectDetails & GetDisconnectDetails() const
Definition Contact.h:737
AWS_CONNECT_API Contact & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastResumedTimestampHasBeenSet() const
Definition Contact.h:344
void SetCustomerId(CustomerIdT &&value)
Definition Contact.h:475
Contact & WithDisconnectDetails(DisconnectDetailsT &&value)
Definition Contact.h:745
void SetNextContacts(NextContactsT &&value)
Definition Contact.h:955
Contact & AddSegmentAttributes(SegmentAttributesKeyT &&key, SegmentAttributesValueT &&value)
Definition Contact.h:790
const Aws::String & GetArn() const
Definition Contact.h:64
Contact & WithDisconnectReason(DisconnectReasonT &&value)
Definition Contact.h:836
bool RingStartTimestampHasBeenSet() const
Definition Contact.h:362
Contact & WithLastPausedTimestamp(LastPausedTimestampT &&value)
Definition Contact.h:333
void SetRelatedContactId(RelatedContactIdT &&value)
Definition Contact.h:435
Contact & WithContactDetails(ContactDetailsT &&value)
Definition Contact.h:900
void SetDisconnectDetails(DisconnectDetailsT &&value)
Definition Contact.h:740
void SetName(NameT &&value)
Definition Contact.h:176
Contact & WithNextContacts(NextContactsT &&value)
Definition Contact.h:960
Contact & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
Definition Contact.h:941
bool RoutingCriteriaHasBeenSet() const
Definition Contact.h:612
bool QueueTimeAdjustmentSecondsHasBeenSet() const
Definition Contact.h:534
Contact & WithCampaign(CampaignT &&value)
Definition Contact.h:653
bool CustomerEndpointHasBeenSet() const
Definition Contact.h:491
bool PreviousContactIdHasBeenSet() const
Definition Contact.h:121
const Aws::Map< Aws::String, ContactEvaluation > & GetContactEvaluations() const
Definition Contact.h:847
long long GetQueuePriority() const
Definition Contact.h:552
void SetTaskTemplateInfo(TaskTemplateInfoT &&value)
Definition Contact.h:875
void SetAgentInfo(AgentInfoT &&value)
Definition Contact.h:246
void SetChannel(Channel value)
Definition Contact.h:211
ContactInitiationMethod GetInitiationMethod() const
Definition Contact.h:157
bool InitiationMethodHasBeenSet() const
Definition Contact.h:158
void SetTotalPauseDurationInSeconds(int value)
Definition Contact.h:397
void SetPreviousContactId(PreviousContactIdT &&value)
Definition Contact.h:123
bool LastPausedTimestampHasBeenSet() const
Definition Contact.h:326
Contact & WithRelatedContactId(RelatedContactIdT &&value)
Definition Contact.h:440
Contact & WithTotalPauseDurationInSeconds(int value)
Definition Contact.h:401
const Aws::String & GetCustomerId() const
Definition Contact.h:472
Contact & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Contact.h:582
bool CampaignHasBeenSet() const
Definition Contact.h:646
void SetCustomerVoiceActivity(CustomerVoiceActivityT &&value)
Definition Contact.h:685
void SetCustomer(CustomerT &&value)
Definition Contact.h:632
bool CustomerVoiceActivityHasBeenSet() const
Definition Contact.h:683
Contact & WithLastResumedTimestamp(LastResumedTimestampT &&value)
Definition Contact.h:351
const Aws::String & GetInitialContactId() const
Definition Contact.h:101
Contact & WithRingStartTimestamp(RingStartTimestampT &&value)
Definition Contact.h:369
Contact & WithChannel(Channel value)
Definition Contact.h:215
bool QueueInfoHasBeenSet() const
Definition Contact.h:226
Contact & WithPreviousContactId(PreviousContactIdT &&value)
Definition Contact.h:128
bool TaskTemplateInfoHasBeenSet() const
Definition Contact.h:873
bool TagsHasBeenSet() const
Definition Contact.h:570
const AgentInfo & GetAgentInfo() const
Definition Contact.h:243
Contact & WithOutboundStrategy(OutboundStrategyT &&value)
Definition Contact.h:918
Contact & WithCustomerVoiceActivity(CustomerVoiceActivityT &&value)
Definition Contact.h:690
void SetLastUpdateTimestamp(LastUpdateTimestampT &&value)
Definition Contact.h:310
const QueueInfo & GetQueueInfo() const
Definition Contact.h:225
bool CustomerHasBeenSet() const
Definition Contact.h:630
bool TotalPauseDurationInSecondsHasBeenSet() const
Definition Contact.h:396
const TaskTemplateInfoV2 & GetTaskTemplateInfo() const
Definition Contact.h:872
void SetAttributes(AttributesT &&value)
Definition Contact.h:931
void SetInitiationMethod(ContactInitiationMethod value)
Definition Contact.h:159
const Aws::String & GetName() const
Definition Contact.h:173
bool ArnHasBeenSet() const
Definition Contact.h:65
void SetConnectedToSystemTimestamp(ConnectedToSystemTimestampT &&value)
Definition Contact.h:596
const ContactDetails & GetContactDetails() const
Definition Contact.h:892
Contact & WithAgentInfo(AgentInfoT &&value)
Definition Contact.h:251
Contact & WithSystemEndpoint(SystemEndpointT &&value)
Definition Contact.h:520
bool NextContactsHasBeenSet() const
Definition Contact.h:953
Contact & AddContactEvaluations(ContactEvaluationsKeyT &&key, ContactEvaluationsValueT &&value)
Definition Contact.h:860
Contact & WithArn(ArnT &&value)
Definition Contact.h:72
Contact & WithQueueTimeAdjustmentSeconds(int value)
Definition Contact.h:539
const Customer & GetCustomer() const
Definition Contact.h:629
bool OutboundStrategyHasBeenSet() const
Definition Contact.h:911
const Aws::Utils::DateTime & GetDisconnectTimestamp() const
Definition Contact.h:289
void SetRingStartTimestamp(RingStartTimestampT &&value)
Definition Contact.h:364
void SetQueuePriority(long long value)
Definition Contact.h:554
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Definition Contact.h:928
bool ContactAssociationIdHasBeenSet() const
Definition Contact.h:140
void SetScheduledTimestamp(ScheduledTimestampT &&value)
Definition Contact.h:415
bool InitialContactIdHasBeenSet() const
Definition Contact.h:102
void SetArn(ArnT &&value)
Definition Contact.h:67
Contact & WithCustomerEndpoint(CustomerEndpointT &&value)
Definition Contact.h:498
bool WisdomInfoHasBeenSet() const
Definition Contact.h:451
Contact & WithRoutingCriteria(RoutingCriteriaT &&value)
Definition Contact.h:619
Contact & WithAdditionalEmailRecipients(AdditionalEmailRecipientsT &&value)
Definition Contact.h:763
bool DisconnectDetailsHasBeenSet() const
Definition Contact.h:738
void SetContactDetails(ContactDetailsT &&value)
Definition Contact.h:895
Contact & WithChatMetrics(ChatMetricsT &&value)
Definition Contact.h:727
bool CustomerIdHasBeenSet() const
Definition Contact.h:473
const Aws::String & GetContactAssociationId() const
Definition Contact.h:139
bool SystemEndpointHasBeenSet() const
Definition Contact.h:513
const Aws::String & GetDisconnectReason() const
Definition Contact.h:828
const WisdomInfo & GetWisdomInfo() const
Definition Contact.h:450
Contact & AddRecordings(RecordingsT &&value)
Definition Contact.h:814
bool RelatedContactIdHasBeenSet() const
Definition Contact.h:433
void SetQueueInfo(QueueInfoT &&value)
Definition Contact.h:228
bool QueuePriorityHasBeenSet() const
Definition Contact.h:553
const Aws::Utils::DateTime & GetRingStartTimestamp() const
Definition Contact.h:361
void SetDescription(DescriptionT &&value)
Definition Contact.h:194
const AdditionalEmailRecipients & GetAdditionalEmailRecipients() const
Definition Contact.h:755
bool ContactEvaluationsHasBeenSet() const
Definition Contact.h:848
void SetQualityMetrics(QualityMetricsT &&value)
Definition Contact.h:703
const Aws::Vector< RecordingInfo > & GetRecordings() const
Definition Contact.h:801
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Contact.h:569
void SetInitiationTimestamp(InitiationTimestampT &&value)
Definition Contact.h:272
const Campaign & GetCampaign() const
Definition Contact.h:645
Contact & WithWisdomInfo(WisdomInfoT &&value)
Definition Contact.h:458
Contact & WithAnsweringMachineDetectionStatus(AnsweringMachineDetectionStatus value)
Definition Contact.h:672
void SetCampaign(CampaignT &&value)
Definition Contact.h:648
const Aws::Vector< NextContactEntry > & GetNextContacts() const
Definition Contact.h:952
void SetWisdomInfo(WisdomInfoT &&value)
Definition Contact.h:453
bool IdHasBeenSet() const
Definition Contact.h:83
const Aws::String & GetDescription() const
Definition Contact.h:191
Contact & WithDescription(DescriptionT &&value)
Definition Contact.h:199
void SetSegmentAttributes(SegmentAttributesT &&value)
Definition Contact.h:780
Contact & WithGlobalResiliencyMetadata(GlobalResiliencyMetadataT &&value)
Definition Contact.h:985
void SetRoutingCriteria(RoutingCriteriaT &&value)
Definition Contact.h:614
const Aws::Utils::DateTime & GetInitiationTimestamp() const
Definition Contact.h:269
void SetCustomerEndpoint(CustomerEndpointT &&value)
Definition Contact.h:493
Contact & WithAttributes(AttributesT &&value)
Definition Contact.h:936
Contact & WithTotalPauseCount(int value)
Definition Contact.h:385
Contact & WithSegmentAttributes(SegmentAttributesT &&value)
Definition Contact.h:785
Contact & WithContactAssociationId(ContactAssociationIdT &&value)
Definition Contact.h:147
Contact & WithCustomerId(CustomerIdT &&value)
Definition Contact.h:480
const Aws::Utils::DateTime & GetConnectedToSystemTimestamp() const
Definition Contact.h:593
Contact & WithTags(TagsT &&value)
Definition Contact.h:577
void SetInitialContactId(InitialContactIdT &&value)
Definition Contact.h:104
bool ContactDetailsHasBeenSet() const
Definition Contact.h:893
void SetQueueTimeAdjustmentSeconds(int value)
Definition Contact.h:535
bool QualityMetricsHasBeenSet() const
Definition Contact.h:701
const Aws::String & GetPreviousContactId() const
Definition Contact.h:120
bool ScheduledTimestampHasBeenSet() const
Definition Contact.h:413
bool InitiationTimestampHasBeenSet() const
Definition Contact.h:270
bool ChannelHasBeenSet() const
Definition Contact.h:210
void SetContactEvaluations(ContactEvaluationsT &&value)
Definition Contact.h:850
bool TotalPauseCountHasBeenSet() const
Definition Contact.h:380
bool GlobalResiliencyMetadataHasBeenSet() const
Definition Contact.h:978
AnsweringMachineDetectionStatus GetAnsweringMachineDetectionStatus() const
Definition Contact.h:666
Contact & WithTaskTemplateInfo(TaskTemplateInfoT &&value)
Definition Contact.h:880
bool DisconnectTimestampHasBeenSet() const
Definition Contact.h:290
void SetAnsweringMachineDetectionStatus(AnsweringMachineDetectionStatus value)
Definition Contact.h:668
Contact & WithId(IdT &&value)
Definition Contact.h:90
const Aws::Utils::DateTime & GetScheduledTimestamp() const
Definition Contact.h:412
int GetTotalPauseCount() const
Definition Contact.h:379
const QualityMetrics & GetQualityMetrics() const
Definition Contact.h:700
void SetLastResumedTimestamp(LastResumedTimestampT &&value)
Definition Contact.h:346
void SetSystemEndpoint(SystemEndpointT &&value)
Definition Contact.h:515
const Aws::Utils::DateTime & GetLastUpdateTimestamp() const
Definition Contact.h:307
Contact & WithQueuePriority(long long value)
Definition Contact.h:558
bool AdditionalEmailRecipientsHasBeenSet() const
Definition Contact.h:756
bool RecordingsHasBeenSet() const
Definition Contact.h:802
bool DisconnectReasonHasBeenSet() const
Definition Contact.h:829
Contact & WithScheduledTimestamp(ScheduledTimestampT &&value)
Definition Contact.h:420
AWS_CONNECT_API Contact()=default
const RoutingCriteria & GetRoutingCriteria() const
Definition Contact.h:611
void SetTotalPauseCount(int value)
Definition Contact.h:381
bool NameHasBeenSet() const
Definition Contact.h:174
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