AWS SDK for C++

AWS SDK for C++ Version 1.11.930

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/CaseEntry.h>
13#include <aws/connect/model/Channel.h>
14#include <aws/connect/model/ChatMetrics.h>
15#include <aws/connect/model/ContactDetails.h>
16#include <aws/connect/model/ContactEvaluation.h>
17#include <aws/connect/model/ContactInitiationMethod.h>
18#include <aws/connect/model/ContactLens.h>
19#include <aws/connect/model/Customer.h>
20#include <aws/connect/model/CustomerVoiceActivity.h>
21#include <aws/connect/model/DisconnectDetails.h>
22#include <aws/connect/model/EndpointInfo.h>
23#include <aws/connect/model/GlobalResiliencyMetadata.h>
24#include <aws/connect/model/NextContactEntry.h>
25#include <aws/connect/model/OutboundStrategy.h>
26#include <aws/connect/model/QualityMetrics.h>
27#include <aws/connect/model/QueueInfo.h>
28#include <aws/connect/model/RecordingInfo.h>
29#include <aws/connect/model/RoutingCriteria.h>
30#include <aws/connect/model/SegmentAttributeValue.h>
31#include <aws/connect/model/TaskTemplateInfoV2.h>
32#include <aws/connect/model/WisdomInfo.h>
33#include <aws/core/utils/DateTime.h>
34#include <aws/core/utils/memory/stl/AWSMap.h>
35#include <aws/core/utils/memory/stl/AWSString.h>
36#include <aws/core/utils/memory/stl/AWSVector.h>
37
38#include <utility>
39
40namespace Aws {
41namespace Utils {
42namespace Json {
43class JsonValue;
44class JsonView;
45} // namespace Json
46} // namespace Utils
47namespace Connect {
48namespace Model {
49
55class Contact {
56 public:
57 AWS_CONNECT_API Contact() = default;
58 AWS_CONNECT_API Contact(Aws::Utils::Json::JsonView jsonValue);
59 AWS_CONNECT_API Contact& operator=(Aws::Utils::Json::JsonView jsonValue);
60 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
61
63
66 inline const Aws::String& GetArn() const { return m_arn; }
67 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
68 template <typename ArnT = Aws::String>
69 void SetArn(ArnT&& value) {
70 m_arnHasBeenSet = true;
71 m_arn = std::forward<ArnT>(value);
72 }
73 template <typename ArnT = Aws::String>
74 Contact& WithArn(ArnT&& value) {
75 SetArn(std::forward<ArnT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetId() const { return m_id; }
85 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
86 template <typename IdT = Aws::String>
87 void SetId(IdT&& value) {
88 m_idHasBeenSet = true;
89 m_id = std::forward<IdT>(value);
90 }
91 template <typename IdT = Aws::String>
92 Contact& WithId(IdT&& value) {
93 SetId(std::forward<IdT>(value));
94 return *this;
95 }
97
99
103 inline const Aws::String& GetInitialContactId() const { return m_initialContactId; }
104 inline bool InitialContactIdHasBeenSet() const { return m_initialContactIdHasBeenSet; }
105 template <typename InitialContactIdT = Aws::String>
106 void SetInitialContactId(InitialContactIdT&& value) {
107 m_initialContactIdHasBeenSet = true;
108 m_initialContactId = std::forward<InitialContactIdT>(value);
109 }
110 template <typename InitialContactIdT = Aws::String>
111 Contact& WithInitialContactId(InitialContactIdT&& value) {
112 SetInitialContactId(std::forward<InitialContactIdT>(value));
113 return *this;
114 }
116
118
122 inline const Aws::String& GetPreviousContactId() const { return m_previousContactId; }
123 inline bool PreviousContactIdHasBeenSet() const { return m_previousContactIdHasBeenSet; }
124 template <typename PreviousContactIdT = Aws::String>
125 void SetPreviousContactId(PreviousContactIdT&& value) {
126 m_previousContactIdHasBeenSet = true;
127 m_previousContactId = std::forward<PreviousContactIdT>(value);
128 }
129 template <typename PreviousContactIdT = Aws::String>
130 Contact& WithPreviousContactId(PreviousContactIdT&& value) {
131 SetPreviousContactId(std::forward<PreviousContactIdT>(value));
132 return *this;
133 }
135
137
141 inline const Aws::String& GetContactAssociationId() const { return m_contactAssociationId; }
142 inline bool ContactAssociationIdHasBeenSet() const { return m_contactAssociationIdHasBeenSet; }
143 template <typename ContactAssociationIdT = Aws::String>
144 void SetContactAssociationId(ContactAssociationIdT&& value) {
145 m_contactAssociationIdHasBeenSet = true;
146 m_contactAssociationId = std::forward<ContactAssociationIdT>(value);
147 }
148 template <typename ContactAssociationIdT = Aws::String>
149 Contact& WithContactAssociationId(ContactAssociationIdT&& value) {
150 SetContactAssociationId(std::forward<ContactAssociationIdT>(value));
151 return *this;
152 }
154
156
159 inline ContactInitiationMethod GetInitiationMethod() const { return m_initiationMethod; }
160 inline bool InitiationMethodHasBeenSet() const { return m_initiationMethodHasBeenSet; }
162 m_initiationMethodHasBeenSet = true;
163 m_initiationMethod = value;
164 }
166 SetInitiationMethod(value);
167 return *this;
168 }
170
172
175 inline const Aws::String& GetName() const { return m_name; }
176 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
177 template <typename NameT = Aws::String>
178 void SetName(NameT&& value) {
179 m_nameHasBeenSet = true;
180 m_name = std::forward<NameT>(value);
181 }
182 template <typename NameT = Aws::String>
183 Contact& WithName(NameT&& value) {
184 SetName(std::forward<NameT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::String& GetDescription() const { return m_description; }
194 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
195 template <typename DescriptionT = Aws::String>
196 void SetDescription(DescriptionT&& value) {
197 m_descriptionHasBeenSet = true;
198 m_description = std::forward<DescriptionT>(value);
199 }
200 template <typename DescriptionT = Aws::String>
201 Contact& WithDescription(DescriptionT&& value) {
202 SetDescription(std::forward<DescriptionT>(value));
203 return *this;
204 }
206
208
211 inline Channel GetChannel() const { return m_channel; }
212 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
213 inline void SetChannel(Channel value) {
214 m_channelHasBeenSet = true;
215 m_channel = value;
216 }
217 inline Contact& WithChannel(Channel value) {
218 SetChannel(value);
219 return *this;
220 }
222
224
227 inline const QueueInfo& GetQueueInfo() const { return m_queueInfo; }
228 inline bool QueueInfoHasBeenSet() const { return m_queueInfoHasBeenSet; }
229 template <typename QueueInfoT = QueueInfo>
230 void SetQueueInfo(QueueInfoT&& value) {
231 m_queueInfoHasBeenSet = true;
232 m_queueInfo = std::forward<QueueInfoT>(value);
233 }
234 template <typename QueueInfoT = QueueInfo>
235 Contact& WithQueueInfo(QueueInfoT&& value) {
236 SetQueueInfo(std::forward<QueueInfoT>(value));
237 return *this;
238 }
240
242
245 inline const AgentInfo& GetAgentInfo() const { return m_agentInfo; }
246 inline bool AgentInfoHasBeenSet() const { return m_agentInfoHasBeenSet; }
247 template <typename AgentInfoT = AgentInfo>
248 void SetAgentInfo(AgentInfoT&& value) {
249 m_agentInfoHasBeenSet = true;
250 m_agentInfo = std::forward<AgentInfoT>(value);
251 }
252 template <typename AgentInfoT = AgentInfo>
253 Contact& WithAgentInfo(AgentInfoT&& value) {
254 SetAgentInfo(std::forward<AgentInfoT>(value));
255 return *this;
256 }
258
260
271 inline const Aws::Utils::DateTime& GetInitiationTimestamp() const { return m_initiationTimestamp; }
272 inline bool InitiationTimestampHasBeenSet() const { return m_initiationTimestampHasBeenSet; }
273 template <typename InitiationTimestampT = Aws::Utils::DateTime>
274 void SetInitiationTimestamp(InitiationTimestampT&& value) {
275 m_initiationTimestampHasBeenSet = true;
276 m_initiationTimestamp = std::forward<InitiationTimestampT>(value);
277 }
278 template <typename InitiationTimestampT = Aws::Utils::DateTime>
279 Contact& WithInitiationTimestamp(InitiationTimestampT&& value) {
280 SetInitiationTimestamp(std::forward<InitiationTimestampT>(value));
281 return *this;
282 }
284
286
291 inline const Aws::Utils::DateTime& GetDisconnectTimestamp() const { return m_disconnectTimestamp; }
292 inline bool DisconnectTimestampHasBeenSet() const { return m_disconnectTimestampHasBeenSet; }
293 template <typename DisconnectTimestampT = Aws::Utils::DateTime>
294 void SetDisconnectTimestamp(DisconnectTimestampT&& value) {
295 m_disconnectTimestampHasBeenSet = true;
296 m_disconnectTimestamp = std::forward<DisconnectTimestampT>(value);
297 }
298 template <typename DisconnectTimestampT = Aws::Utils::DateTime>
299 Contact& WithDisconnectTimestamp(DisconnectTimestampT&& value) {
300 SetDisconnectTimestamp(std::forward<DisconnectTimestampT>(value));
301 return *this;
302 }
304
306
309 inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const { return m_lastUpdateTimestamp; }
310 inline bool LastUpdateTimestampHasBeenSet() const { return m_lastUpdateTimestampHasBeenSet; }
311 template <typename LastUpdateTimestampT = Aws::Utils::DateTime>
312 void SetLastUpdateTimestamp(LastUpdateTimestampT&& value) {
313 m_lastUpdateTimestampHasBeenSet = true;
314 m_lastUpdateTimestamp = std::forward<LastUpdateTimestampT>(value);
315 }
316 template <typename LastUpdateTimestampT = Aws::Utils::DateTime>
317 Contact& WithLastUpdateTimestamp(LastUpdateTimestampT&& value) {
318 SetLastUpdateTimestamp(std::forward<LastUpdateTimestampT>(value));
319 return *this;
320 }
322
324
327 inline const Aws::Utils::DateTime& GetLastPausedTimestamp() const { return m_lastPausedTimestamp; }
328 inline bool LastPausedTimestampHasBeenSet() const { return m_lastPausedTimestampHasBeenSet; }
329 template <typename LastPausedTimestampT = Aws::Utils::DateTime>
330 void SetLastPausedTimestamp(LastPausedTimestampT&& value) {
331 m_lastPausedTimestampHasBeenSet = true;
332 m_lastPausedTimestamp = std::forward<LastPausedTimestampT>(value);
333 }
334 template <typename LastPausedTimestampT = Aws::Utils::DateTime>
335 Contact& WithLastPausedTimestamp(LastPausedTimestampT&& value) {
336 SetLastPausedTimestamp(std::forward<LastPausedTimestampT>(value));
337 return *this;
338 }
340
342
345 inline const Aws::Utils::DateTime& GetLastResumedTimestamp() const { return m_lastResumedTimestamp; }
346 inline bool LastResumedTimestampHasBeenSet() const { return m_lastResumedTimestampHasBeenSet; }
347 template <typename LastResumedTimestampT = Aws::Utils::DateTime>
348 void SetLastResumedTimestamp(LastResumedTimestampT&& value) {
349 m_lastResumedTimestampHasBeenSet = true;
350 m_lastResumedTimestamp = std::forward<LastResumedTimestampT>(value);
351 }
352 template <typename LastResumedTimestampT = Aws::Utils::DateTime>
353 Contact& WithLastResumedTimestamp(LastResumedTimestampT&& value) {
354 SetLastResumedTimestamp(std::forward<LastResumedTimestampT>(value));
355 return *this;
356 }
358
360
363 inline const Aws::Utils::DateTime& GetRingStartTimestamp() const { return m_ringStartTimestamp; }
364 inline bool RingStartTimestampHasBeenSet() const { return m_ringStartTimestampHasBeenSet; }
365 template <typename RingStartTimestampT = Aws::Utils::DateTime>
366 void SetRingStartTimestamp(RingStartTimestampT&& value) {
367 m_ringStartTimestampHasBeenSet = true;
368 m_ringStartTimestamp = std::forward<RingStartTimestampT>(value);
369 }
370 template <typename RingStartTimestampT = Aws::Utils::DateTime>
371 Contact& WithRingStartTimestamp(RingStartTimestampT&& value) {
372 SetRingStartTimestamp(std::forward<RingStartTimestampT>(value));
373 return *this;
374 }
376
378
381 inline int GetTotalPauseCount() const { return m_totalPauseCount; }
382 inline bool TotalPauseCountHasBeenSet() const { return m_totalPauseCountHasBeenSet; }
383 inline void SetTotalPauseCount(int value) {
384 m_totalPauseCountHasBeenSet = true;
385 m_totalPauseCount = value;
386 }
387 inline Contact& WithTotalPauseCount(int value) {
388 SetTotalPauseCount(value);
389 return *this;
390 }
392
394
397 inline int GetTotalPauseDurationInSeconds() const { return m_totalPauseDurationInSeconds; }
398 inline bool TotalPauseDurationInSecondsHasBeenSet() const { return m_totalPauseDurationInSecondsHasBeenSet; }
399 inline void SetTotalPauseDurationInSeconds(int value) {
400 m_totalPauseDurationInSecondsHasBeenSet = true;
401 m_totalPauseDurationInSeconds = value;
402 }
405 return *this;
406 }
408
410
414 inline const Aws::Utils::DateTime& GetScheduledTimestamp() const { return m_scheduledTimestamp; }
415 inline bool ScheduledTimestampHasBeenSet() const { return m_scheduledTimestampHasBeenSet; }
416 template <typename ScheduledTimestampT = Aws::Utils::DateTime>
417 void SetScheduledTimestamp(ScheduledTimestampT&& value) {
418 m_scheduledTimestampHasBeenSet = true;
419 m_scheduledTimestamp = std::forward<ScheduledTimestampT>(value);
420 }
421 template <typename ScheduledTimestampT = Aws::Utils::DateTime>
422 Contact& WithScheduledTimestamp(ScheduledTimestampT&& value) {
423 SetScheduledTimestamp(std::forward<ScheduledTimestampT>(value));
424 return *this;
425 }
427
429
434 inline const Aws::String& GetRelatedContactId() const { return m_relatedContactId; }
435 inline bool RelatedContactIdHasBeenSet() const { return m_relatedContactIdHasBeenSet; }
436 template <typename RelatedContactIdT = Aws::String>
437 void SetRelatedContactId(RelatedContactIdT&& value) {
438 m_relatedContactIdHasBeenSet = true;
439 m_relatedContactId = std::forward<RelatedContactIdT>(value);
440 }
441 template <typename RelatedContactIdT = Aws::String>
442 Contact& WithRelatedContactId(RelatedContactIdT&& value) {
443 SetRelatedContactId(std::forward<RelatedContactIdT>(value));
444 return *this;
445 }
447
449
452 inline const WisdomInfo& GetWisdomInfo() const { return m_wisdomInfo; }
453 inline bool WisdomInfoHasBeenSet() const { return m_wisdomInfoHasBeenSet; }
454 template <typename WisdomInfoT = WisdomInfo>
455 void SetWisdomInfo(WisdomInfoT&& value) {
456 m_wisdomInfoHasBeenSet = true;
457 m_wisdomInfo = std::forward<WisdomInfoT>(value);
458 }
459 template <typename WisdomInfoT = WisdomInfo>
460 Contact& WithWisdomInfo(WisdomInfoT&& value) {
461 SetWisdomInfo(std::forward<WisdomInfoT>(value));
462 return *this;
463 }
465
467
474 inline const Aws::String& GetCustomerId() const { return m_customerId; }
475 inline bool CustomerIdHasBeenSet() const { return m_customerIdHasBeenSet; }
476 template <typename CustomerIdT = Aws::String>
477 void SetCustomerId(CustomerIdT&& value) {
478 m_customerIdHasBeenSet = true;
479 m_customerId = std::forward<CustomerIdT>(value);
480 }
481 template <typename CustomerIdT = Aws::String>
482 Contact& WithCustomerId(CustomerIdT&& value) {
483 SetCustomerId(std::forward<CustomerIdT>(value));
484 return *this;
485 }
487
489
492 inline const EndpointInfo& GetCustomerEndpoint() const { return m_customerEndpoint; }
493 inline bool CustomerEndpointHasBeenSet() const { return m_customerEndpointHasBeenSet; }
494 template <typename CustomerEndpointT = EndpointInfo>
495 void SetCustomerEndpoint(CustomerEndpointT&& value) {
496 m_customerEndpointHasBeenSet = true;
497 m_customerEndpoint = std::forward<CustomerEndpointT>(value);
498 }
499 template <typename CustomerEndpointT = EndpointInfo>
500 Contact& WithCustomerEndpoint(CustomerEndpointT&& value) {
501 SetCustomerEndpoint(std::forward<CustomerEndpointT>(value));
502 return *this;
503 }
505
507
514 inline const EndpointInfo& GetSystemEndpoint() const { return m_systemEndpoint; }
515 inline bool SystemEndpointHasBeenSet() const { return m_systemEndpointHasBeenSet; }
516 template <typename SystemEndpointT = EndpointInfo>
517 void SetSystemEndpoint(SystemEndpointT&& value) {
518 m_systemEndpointHasBeenSet = true;
519 m_systemEndpoint = std::forward<SystemEndpointT>(value);
520 }
521 template <typename SystemEndpointT = EndpointInfo>
522 Contact& WithSystemEndpoint(SystemEndpointT&& value) {
523 SetSystemEndpoint(std::forward<SystemEndpointT>(value));
524 return *this;
525 }
527
529
535 inline int GetQueueTimeAdjustmentSeconds() const { return m_queueTimeAdjustmentSeconds; }
536 inline bool QueueTimeAdjustmentSecondsHasBeenSet() const { return m_queueTimeAdjustmentSecondsHasBeenSet; }
537 inline void SetQueueTimeAdjustmentSeconds(int value) {
538 m_queueTimeAdjustmentSecondsHasBeenSet = true;
539 m_queueTimeAdjustmentSeconds = value;
540 }
543 return *this;
544 }
546
548
554 inline long long GetQueuePriority() const { return m_queuePriority; }
555 inline bool QueuePriorityHasBeenSet() const { return m_queuePriorityHasBeenSet; }
556 inline void SetQueuePriority(long long value) {
557 m_queuePriorityHasBeenSet = true;
558 m_queuePriority = value;
559 }
560 inline Contact& WithQueuePriority(long long value) {
561 SetQueuePriority(value);
562 return *this;
563 }
565
567
571 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
572 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
573 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
574 void SetTags(TagsT&& value) {
575 m_tagsHasBeenSet = true;
576 m_tags = std::forward<TagsT>(value);
577 }
578 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
579 Contact& WithTags(TagsT&& value) {
580 SetTags(std::forward<TagsT>(value));
581 return *this;
582 }
583 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
584 Contact& AddTags(TagsKeyT&& key, TagsValueT&& value) {
585 m_tagsHasBeenSet = true;
586 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
587 return *this;
588 }
590
592
595 inline const Aws::Utils::DateTime& GetConnectedToSystemTimestamp() const { return m_connectedToSystemTimestamp; }
596 inline bool ConnectedToSystemTimestampHasBeenSet() const { return m_connectedToSystemTimestampHasBeenSet; }
597 template <typename ConnectedToSystemTimestampT = Aws::Utils::DateTime>
598 void SetConnectedToSystemTimestamp(ConnectedToSystemTimestampT&& value) {
599 m_connectedToSystemTimestampHasBeenSet = true;
600 m_connectedToSystemTimestamp = std::forward<ConnectedToSystemTimestampT>(value);
601 }
602 template <typename ConnectedToSystemTimestampT = Aws::Utils::DateTime>
603 Contact& WithConnectedToSystemTimestamp(ConnectedToSystemTimestampT&& value) {
604 SetConnectedToSystemTimestamp(std::forward<ConnectedToSystemTimestampT>(value));
605 return *this;
606 }
608
610
613 inline const RoutingCriteria& GetRoutingCriteria() const { return m_routingCriteria; }
614 inline bool RoutingCriteriaHasBeenSet() const { return m_routingCriteriaHasBeenSet; }
615 template <typename RoutingCriteriaT = RoutingCriteria>
616 void SetRoutingCriteria(RoutingCriteriaT&& value) {
617 m_routingCriteriaHasBeenSet = true;
618 m_routingCriteria = std::forward<RoutingCriteriaT>(value);
619 }
620 template <typename RoutingCriteriaT = RoutingCriteria>
621 Contact& WithRoutingCriteria(RoutingCriteriaT&& value) {
622 SetRoutingCriteria(std::forward<RoutingCriteriaT>(value));
623 return *this;
624 }
626
628
631 inline const Customer& GetCustomer() const { return m_customer; }
632 inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; }
633 template <typename CustomerT = Customer>
634 void SetCustomer(CustomerT&& value) {
635 m_customerHasBeenSet = true;
636 m_customer = std::forward<CustomerT>(value);
637 }
638 template <typename CustomerT = Customer>
639 Contact& WithCustomer(CustomerT&& value) {
640 SetCustomer(std::forward<CustomerT>(value));
641 return *this;
642 }
644
646
647 inline const Campaign& GetCampaign() const { return m_campaign; }
648 inline bool CampaignHasBeenSet() const { return m_campaignHasBeenSet; }
649 template <typename CampaignT = Campaign>
650 void SetCampaign(CampaignT&& value) {
651 m_campaignHasBeenSet = true;
652 m_campaign = std::forward<CampaignT>(value);
653 }
654 template <typename CampaignT = Campaign>
655 Contact& WithCampaign(CampaignT&& value) {
656 SetCampaign(std::forward<CampaignT>(value));
657 return *this;
658 }
660
662
668 inline AnsweringMachineDetectionStatus GetAnsweringMachineDetectionStatus() const { return m_answeringMachineDetectionStatus; }
669 inline bool AnsweringMachineDetectionStatusHasBeenSet() const { return m_answeringMachineDetectionStatusHasBeenSet; }
671 m_answeringMachineDetectionStatusHasBeenSet = true;
672 m_answeringMachineDetectionStatus = value;
673 }
679
681
684 inline const CustomerVoiceActivity& GetCustomerVoiceActivity() const { return m_customerVoiceActivity; }
685 inline bool CustomerVoiceActivityHasBeenSet() const { return m_customerVoiceActivityHasBeenSet; }
686 template <typename CustomerVoiceActivityT = CustomerVoiceActivity>
687 void SetCustomerVoiceActivity(CustomerVoiceActivityT&& value) {
688 m_customerVoiceActivityHasBeenSet = true;
689 m_customerVoiceActivity = std::forward<CustomerVoiceActivityT>(value);
690 }
691 template <typename CustomerVoiceActivityT = CustomerVoiceActivity>
692 Contact& WithCustomerVoiceActivity(CustomerVoiceActivityT&& value) {
693 SetCustomerVoiceActivity(std::forward<CustomerVoiceActivityT>(value));
694 return *this;
695 }
697
699
702 inline const QualityMetrics& GetQualityMetrics() const { return m_qualityMetrics; }
703 inline bool QualityMetricsHasBeenSet() const { return m_qualityMetricsHasBeenSet; }
704 template <typename QualityMetricsT = QualityMetrics>
705 void SetQualityMetrics(QualityMetricsT&& value) {
706 m_qualityMetricsHasBeenSet = true;
707 m_qualityMetrics = std::forward<QualityMetricsT>(value);
708 }
709 template <typename QualityMetricsT = QualityMetrics>
710 Contact& WithQualityMetrics(QualityMetricsT&& value) {
711 SetQualityMetrics(std::forward<QualityMetricsT>(value));
712 return *this;
713 }
715
717
721 inline const ChatMetrics& GetChatMetrics() const { return m_chatMetrics; }
722 inline bool ChatMetricsHasBeenSet() const { return m_chatMetricsHasBeenSet; }
723 template <typename ChatMetricsT = ChatMetrics>
724 void SetChatMetrics(ChatMetricsT&& value) {
725 m_chatMetricsHasBeenSet = true;
726 m_chatMetrics = std::forward<ChatMetricsT>(value);
727 }
728 template <typename ChatMetricsT = ChatMetrics>
729 Contact& WithChatMetrics(ChatMetricsT&& value) {
730 SetChatMetrics(std::forward<ChatMetricsT>(value));
731 return *this;
732 }
734
736
739 inline const DisconnectDetails& GetDisconnectDetails() const { return m_disconnectDetails; }
740 inline bool DisconnectDetailsHasBeenSet() const { return m_disconnectDetailsHasBeenSet; }
741 template <typename DisconnectDetailsT = DisconnectDetails>
742 void SetDisconnectDetails(DisconnectDetailsT&& value) {
743 m_disconnectDetailsHasBeenSet = true;
744 m_disconnectDetails = std::forward<DisconnectDetailsT>(value);
745 }
746 template <typename DisconnectDetailsT = DisconnectDetails>
747 Contact& WithDisconnectDetails(DisconnectDetailsT&& value) {
748 SetDisconnectDetails(std::forward<DisconnectDetailsT>(value));
749 return *this;
750 }
752
754
757 inline const AdditionalEmailRecipients& GetAdditionalEmailRecipients() const { return m_additionalEmailRecipients; }
758 inline bool AdditionalEmailRecipientsHasBeenSet() const { return m_additionalEmailRecipientsHasBeenSet; }
759 template <typename AdditionalEmailRecipientsT = AdditionalEmailRecipients>
760 void SetAdditionalEmailRecipients(AdditionalEmailRecipientsT&& value) {
761 m_additionalEmailRecipientsHasBeenSet = true;
762 m_additionalEmailRecipients = std::forward<AdditionalEmailRecipientsT>(value);
763 }
764 template <typename AdditionalEmailRecipientsT = AdditionalEmailRecipients>
765 Contact& WithAdditionalEmailRecipients(AdditionalEmailRecipientsT&& value) {
766 SetAdditionalEmailRecipients(std::forward<AdditionalEmailRecipientsT>(value));
767 return *this;
768 }
770
772
779 inline const Aws::Map<Aws::String, SegmentAttributeValue>& GetSegmentAttributes() const { return m_segmentAttributes; }
780 inline bool SegmentAttributesHasBeenSet() const { return m_segmentAttributesHasBeenSet; }
781 template <typename SegmentAttributesT = Aws::Map<Aws::String, SegmentAttributeValue>>
782 void SetSegmentAttributes(SegmentAttributesT&& value) {
783 m_segmentAttributesHasBeenSet = true;
784 m_segmentAttributes = std::forward<SegmentAttributesT>(value);
785 }
786 template <typename SegmentAttributesT = Aws::Map<Aws::String, SegmentAttributeValue>>
787 Contact& WithSegmentAttributes(SegmentAttributesT&& value) {
788 SetSegmentAttributes(std::forward<SegmentAttributesT>(value));
789 return *this;
790 }
791 template <typename SegmentAttributesKeyT = Aws::String, typename SegmentAttributesValueT = SegmentAttributeValue>
792 Contact& AddSegmentAttributes(SegmentAttributesKeyT&& key, SegmentAttributesValueT&& value) {
793 m_segmentAttributesHasBeenSet = true;
794 m_segmentAttributes.emplace(std::forward<SegmentAttributesKeyT>(key), std::forward<SegmentAttributesValueT>(value));
795 return *this;
796 }
798
800
803 inline const Aws::Vector<RecordingInfo>& GetRecordings() const { return m_recordings; }
804 inline bool RecordingsHasBeenSet() const { return m_recordingsHasBeenSet; }
805 template <typename RecordingsT = Aws::Vector<RecordingInfo>>
806 void SetRecordings(RecordingsT&& value) {
807 m_recordingsHasBeenSet = true;
808 m_recordings = std::forward<RecordingsT>(value);
809 }
810 template <typename RecordingsT = Aws::Vector<RecordingInfo>>
811 Contact& WithRecordings(RecordingsT&& value) {
812 SetRecordings(std::forward<RecordingsT>(value));
813 return *this;
814 }
815 template <typename RecordingsT = RecordingInfo>
816 Contact& AddRecordings(RecordingsT&& value) {
817 m_recordingsHasBeenSet = true;
818 m_recordings.emplace_back(std::forward<RecordingsT>(value));
819 return *this;
820 }
822
824
830 inline const Aws::String& GetDisconnectReason() const { return m_disconnectReason; }
831 inline bool DisconnectReasonHasBeenSet() const { return m_disconnectReasonHasBeenSet; }
832 template <typename DisconnectReasonT = Aws::String>
833 void SetDisconnectReason(DisconnectReasonT&& value) {
834 m_disconnectReasonHasBeenSet = true;
835 m_disconnectReason = std::forward<DisconnectReasonT>(value);
836 }
837 template <typename DisconnectReasonT = Aws::String>
838 Contact& WithDisconnectReason(DisconnectReasonT&& value) {
839 SetDisconnectReason(std::forward<DisconnectReasonT>(value));
840 return *this;
841 }
843
845
849 inline const Aws::Map<Aws::String, ContactEvaluation>& GetContactEvaluations() const { return m_contactEvaluations; }
850 inline bool ContactEvaluationsHasBeenSet() const { return m_contactEvaluationsHasBeenSet; }
851 template <typename ContactEvaluationsT = Aws::Map<Aws::String, ContactEvaluation>>
852 void SetContactEvaluations(ContactEvaluationsT&& value) {
853 m_contactEvaluationsHasBeenSet = true;
854 m_contactEvaluations = std::forward<ContactEvaluationsT>(value);
855 }
856 template <typename ContactEvaluationsT = Aws::Map<Aws::String, ContactEvaluation>>
857 Contact& WithContactEvaluations(ContactEvaluationsT&& value) {
858 SetContactEvaluations(std::forward<ContactEvaluationsT>(value));
859 return *this;
860 }
861 template <typename ContactEvaluationsKeyT = Aws::String, typename ContactEvaluationsValueT = ContactEvaluation>
862 Contact& AddContactEvaluations(ContactEvaluationsKeyT&& key, ContactEvaluationsValueT&& value) {
863 m_contactEvaluationsHasBeenSet = true;
864 m_contactEvaluations.emplace(std::forward<ContactEvaluationsKeyT>(key), std::forward<ContactEvaluationsValueT>(value));
865 return *this;
866 }
868
870
874 inline const TaskTemplateInfoV2& GetTaskTemplateInfo() const { return m_taskTemplateInfo; }
875 inline bool TaskTemplateInfoHasBeenSet() const { return m_taskTemplateInfoHasBeenSet; }
876 template <typename TaskTemplateInfoT = TaskTemplateInfoV2>
877 void SetTaskTemplateInfo(TaskTemplateInfoT&& value) {
878 m_taskTemplateInfoHasBeenSet = true;
879 m_taskTemplateInfo = std::forward<TaskTemplateInfoT>(value);
880 }
881 template <typename TaskTemplateInfoT = TaskTemplateInfoV2>
882 Contact& WithTaskTemplateInfo(TaskTemplateInfoT&& value) {
883 SetTaskTemplateInfo(std::forward<TaskTemplateInfoT>(value));
884 return *this;
885 }
887
889
893 inline const Aws::Vector<CaseEntry>& GetCases() const { return m_cases; }
894 inline bool CasesHasBeenSet() const { return m_casesHasBeenSet; }
895 template <typename CasesT = Aws::Vector<CaseEntry>>
896 void SetCases(CasesT&& value) {
897 m_casesHasBeenSet = true;
898 m_cases = std::forward<CasesT>(value);
899 }
900 template <typename CasesT = Aws::Vector<CaseEntry>>
901 Contact& WithCases(CasesT&& value) {
902 SetCases(std::forward<CasesT>(value));
903 return *this;
904 }
905 template <typename CasesT = CaseEntry>
906 Contact& AddCases(CasesT&& value) {
907 m_casesHasBeenSet = true;
908 m_cases.emplace_back(std::forward<CasesT>(value));
909 return *this;
910 }
912
914
919 inline const ContactDetails& GetContactDetails() const { return m_contactDetails; }
920 inline bool ContactDetailsHasBeenSet() const { return m_contactDetailsHasBeenSet; }
921 template <typename ContactDetailsT = ContactDetails>
922 void SetContactDetails(ContactDetailsT&& value) {
923 m_contactDetailsHasBeenSet = true;
924 m_contactDetails = std::forward<ContactDetailsT>(value);
925 }
926 template <typename ContactDetailsT = ContactDetails>
927 Contact& WithContactDetails(ContactDetailsT&& value) {
928 SetContactDetails(std::forward<ContactDetailsT>(value));
929 return *this;
930 }
932
934
937 inline const OutboundStrategy& GetOutboundStrategy() const { return m_outboundStrategy; }
938 inline bool OutboundStrategyHasBeenSet() const { return m_outboundStrategyHasBeenSet; }
939 template <typename OutboundStrategyT = OutboundStrategy>
940 void SetOutboundStrategy(OutboundStrategyT&& value) {
941 m_outboundStrategyHasBeenSet = true;
942 m_outboundStrategy = std::forward<OutboundStrategyT>(value);
943 }
944 template <typename OutboundStrategyT = OutboundStrategy>
945 Contact& WithOutboundStrategy(OutboundStrategyT&& value) {
946 SetOutboundStrategy(std::forward<OutboundStrategyT>(value));
947 return *this;
948 }
950
952
955 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
956 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
957 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
958 void SetAttributes(AttributesT&& value) {
959 m_attributesHasBeenSet = true;
960 m_attributes = std::forward<AttributesT>(value);
961 }
962 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
963 Contact& WithAttributes(AttributesT&& value) {
964 SetAttributes(std::forward<AttributesT>(value));
965 return *this;
966 }
967 template <typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
968 Contact& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
969 m_attributesHasBeenSet = true;
970 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
971 return *this;
972 }
974
976
979 inline const Aws::Vector<NextContactEntry>& GetNextContacts() const { return m_nextContacts; }
980 inline bool NextContactsHasBeenSet() const { return m_nextContactsHasBeenSet; }
981 template <typename NextContactsT = Aws::Vector<NextContactEntry>>
982 void SetNextContacts(NextContactsT&& value) {
983 m_nextContactsHasBeenSet = true;
984 m_nextContacts = std::forward<NextContactsT>(value);
985 }
986 template <typename NextContactsT = Aws::Vector<NextContactEntry>>
987 Contact& WithNextContacts(NextContactsT&& value) {
988 SetNextContacts(std::forward<NextContactsT>(value));
989 return *this;
990 }
991 template <typename NextContactsT = NextContactEntry>
992 Contact& AddNextContacts(NextContactsT&& value) {
993 m_nextContactsHasBeenSet = true;
994 m_nextContacts.emplace_back(std::forward<NextContactsT>(value));
995 return *this;
996 }
998
1000
1004 inline const GlobalResiliencyMetadata& GetGlobalResiliencyMetadata() const { return m_globalResiliencyMetadata; }
1005 inline bool GlobalResiliencyMetadataHasBeenSet() const { return m_globalResiliencyMetadataHasBeenSet; }
1006 template <typename GlobalResiliencyMetadataT = GlobalResiliencyMetadata>
1007 void SetGlobalResiliencyMetadata(GlobalResiliencyMetadataT&& value) {
1008 m_globalResiliencyMetadataHasBeenSet = true;
1009 m_globalResiliencyMetadata = std::forward<GlobalResiliencyMetadataT>(value);
1010 }
1011 template <typename GlobalResiliencyMetadataT = GlobalResiliencyMetadata>
1012 Contact& WithGlobalResiliencyMetadata(GlobalResiliencyMetadataT&& value) {
1013 SetGlobalResiliencyMetadata(std::forward<GlobalResiliencyMetadataT>(value));
1014 return *this;
1015 }
1017
1019
1024 inline const ContactLens& GetContactLens() const { return m_contactLens; }
1025 inline bool ContactLensHasBeenSet() const { return m_contactLensHasBeenSet; }
1026 template <typename ContactLensT = ContactLens>
1027 void SetContactLens(ContactLensT&& value) {
1028 m_contactLensHasBeenSet = true;
1029 m_contactLens = std::forward<ContactLensT>(value);
1030 }
1031 template <typename ContactLensT = ContactLens>
1032 Contact& WithContactLens(ContactLensT&& value) {
1033 SetContactLens(std::forward<ContactLensT>(value));
1034 return *this;
1035 }
1037 private:
1038 Aws::String m_arn;
1039
1040 Aws::String m_id;
1041
1042 Aws::String m_initialContactId;
1043
1044 Aws::String m_previousContactId;
1045
1046 Aws::String m_contactAssociationId;
1047
1049
1050 Aws::String m_name;
1051
1052 Aws::String m_description;
1053
1054 Channel m_channel{Channel::NOT_SET};
1055
1056 QueueInfo m_queueInfo;
1057
1058 AgentInfo m_agentInfo;
1059
1060 Aws::Utils::DateTime m_initiationTimestamp{};
1061
1062 Aws::Utils::DateTime m_disconnectTimestamp{};
1063
1064 Aws::Utils::DateTime m_lastUpdateTimestamp{};
1065
1066 Aws::Utils::DateTime m_lastPausedTimestamp{};
1067
1068 Aws::Utils::DateTime m_lastResumedTimestamp{};
1069
1070 Aws::Utils::DateTime m_ringStartTimestamp{};
1071
1072 int m_totalPauseCount{0};
1073
1074 int m_totalPauseDurationInSeconds{0};
1075
1076 Aws::Utils::DateTime m_scheduledTimestamp{};
1077
1078 Aws::String m_relatedContactId;
1079
1080 WisdomInfo m_wisdomInfo;
1081
1082 Aws::String m_customerId;
1083
1084 EndpointInfo m_customerEndpoint;
1085
1086 EndpointInfo m_systemEndpoint;
1087
1088 int m_queueTimeAdjustmentSeconds{0};
1089
1090 long long m_queuePriority{0};
1091
1093
1094 Aws::Utils::DateTime m_connectedToSystemTimestamp{};
1095
1096 RoutingCriteria m_routingCriteria;
1097
1098 Customer m_customer;
1099
1100 Campaign m_campaign;
1101
1103
1104 CustomerVoiceActivity m_customerVoiceActivity;
1105
1106 QualityMetrics m_qualityMetrics;
1107
1108 ChatMetrics m_chatMetrics;
1109
1110 DisconnectDetails m_disconnectDetails;
1111
1112 AdditionalEmailRecipients m_additionalEmailRecipients;
1113
1115
1116 Aws::Vector<RecordingInfo> m_recordings;
1117
1118 Aws::String m_disconnectReason;
1119
1120 Aws::Map<Aws::String, ContactEvaluation> m_contactEvaluations;
1121
1122 TaskTemplateInfoV2 m_taskTemplateInfo;
1123
1124 Aws::Vector<CaseEntry> m_cases;
1125
1126 ContactDetails m_contactDetails;
1127
1128 OutboundStrategy m_outboundStrategy;
1129
1131
1132 Aws::Vector<NextContactEntry> m_nextContacts;
1133
1134 GlobalResiliencyMetadata m_globalResiliencyMetadata;
1135
1136 ContactLens m_contactLens;
1137 bool m_arnHasBeenSet = false;
1138 bool m_idHasBeenSet = false;
1139 bool m_initialContactIdHasBeenSet = false;
1140 bool m_previousContactIdHasBeenSet = false;
1141 bool m_contactAssociationIdHasBeenSet = false;
1142 bool m_initiationMethodHasBeenSet = false;
1143 bool m_nameHasBeenSet = false;
1144 bool m_descriptionHasBeenSet = false;
1145 bool m_channelHasBeenSet = false;
1146 bool m_queueInfoHasBeenSet = false;
1147 bool m_agentInfoHasBeenSet = false;
1148 bool m_initiationTimestampHasBeenSet = false;
1149 bool m_disconnectTimestampHasBeenSet = false;
1150 bool m_lastUpdateTimestampHasBeenSet = false;
1151 bool m_lastPausedTimestampHasBeenSet = false;
1152 bool m_lastResumedTimestampHasBeenSet = false;
1153 bool m_ringStartTimestampHasBeenSet = false;
1154 bool m_totalPauseCountHasBeenSet = false;
1155 bool m_totalPauseDurationInSecondsHasBeenSet = false;
1156 bool m_scheduledTimestampHasBeenSet = false;
1157 bool m_relatedContactIdHasBeenSet = false;
1158 bool m_wisdomInfoHasBeenSet = false;
1159 bool m_customerIdHasBeenSet = false;
1160 bool m_customerEndpointHasBeenSet = false;
1161 bool m_systemEndpointHasBeenSet = false;
1162 bool m_queueTimeAdjustmentSecondsHasBeenSet = false;
1163 bool m_queuePriorityHasBeenSet = false;
1164 bool m_tagsHasBeenSet = false;
1165 bool m_connectedToSystemTimestampHasBeenSet = false;
1166 bool m_routingCriteriaHasBeenSet = false;
1167 bool m_customerHasBeenSet = false;
1168 bool m_campaignHasBeenSet = false;
1169 bool m_answeringMachineDetectionStatusHasBeenSet = false;
1170 bool m_customerVoiceActivityHasBeenSet = false;
1171 bool m_qualityMetricsHasBeenSet = false;
1172 bool m_chatMetricsHasBeenSet = false;
1173 bool m_disconnectDetailsHasBeenSet = false;
1174 bool m_additionalEmailRecipientsHasBeenSet = false;
1175 bool m_segmentAttributesHasBeenSet = false;
1176 bool m_recordingsHasBeenSet = false;
1177 bool m_disconnectReasonHasBeenSet = false;
1178 bool m_contactEvaluationsHasBeenSet = false;
1179 bool m_taskTemplateInfoHasBeenSet = false;
1180 bool m_casesHasBeenSet = false;
1181 bool m_contactDetailsHasBeenSet = false;
1182 bool m_outboundStrategyHasBeenSet = false;
1183 bool m_attributesHasBeenSet = false;
1184 bool m_nextContactsHasBeenSet = false;
1185 bool m_globalResiliencyMetadataHasBeenSet = false;
1186 bool m_contactLensHasBeenSet = false;
1187};
1188
1189} // namespace Model
1190} // namespace Connect
1191} // namespace Aws
bool AnsweringMachineDetectionStatusHasBeenSet() const
Definition Contact.h:669
Channel GetChannel() const
Definition Contact.h:211
void SetContactAssociationId(ContactAssociationIdT &&value)
Definition Contact.h:144
void SetCases(CasesT &&value)
Definition Contact.h:896
Contact & WithRecordings(RecordingsT &&value)
Definition Contact.h:811
int GetTotalPauseDurationInSeconds() const
Definition Contact.h:397
const Aws::Utils::DateTime & GetLastResumedTimestamp() const
Definition Contact.h:345
const EndpointInfo & GetSystemEndpoint() const
Definition Contact.h:514
const Aws::String & GetId() const
Definition Contact.h:84
void SetOutboundStrategy(OutboundStrategyT &&value)
Definition Contact.h:940
bool SegmentAttributesHasBeenSet() const
Definition Contact.h:780
Contact & WithCustomer(CustomerT &&value)
Definition Contact.h:639
const ChatMetrics & GetChatMetrics() const
Definition Contact.h:721
const EndpointInfo & GetCustomerEndpoint() const
Definition Contact.h:492
AWS_CONNECT_API Contact(Aws::Utils::Json::JsonView jsonValue)
void SetChatMetrics(ChatMetricsT &&value)
Definition Contact.h:724
Contact & WithLastUpdateTimestamp(LastUpdateTimestampT &&value)
Definition Contact.h:317
Contact & WithName(NameT &&value)
Definition Contact.h:183
const Aws::Utils::DateTime & GetLastPausedTimestamp() const
Definition Contact.h:327
void SetAdditionalEmailRecipients(AdditionalEmailRecipientsT &&value)
Definition Contact.h:760
Contact & WithInitiationMethod(ContactInitiationMethod value)
Definition Contact.h:165
bool LastUpdateTimestampHasBeenSet() const
Definition Contact.h:310
bool DescriptionHasBeenSet() const
Definition Contact.h:194
const Aws::String & GetRelatedContactId() const
Definition Contact.h:434
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool AgentInfoHasBeenSet() const
Definition Contact.h:246
const Aws::Map< Aws::String, SegmentAttributeValue > & GetSegmentAttributes() const
Definition Contact.h:779
Contact & AddNextContacts(NextContactsT &&value)
Definition Contact.h:992
void SetGlobalResiliencyMetadata(GlobalResiliencyMetadataT &&value)
Definition Contact.h:1007
void SetRecordings(RecordingsT &&value)
Definition Contact.h:806
bool ChatMetricsHasBeenSet() const
Definition Contact.h:722
bool ContactLensHasBeenSet() const
Definition Contact.h:1025
Contact & WithConnectedToSystemTimestamp(ConnectedToSystemTimestampT &&value)
Definition Contact.h:603
void SetTags(TagsT &&value)
Definition Contact.h:574
bool ConnectedToSystemTimestampHasBeenSet() const
Definition Contact.h:596
Contact & WithInitiationTimestamp(InitiationTimestampT &&value)
Definition Contact.h:279
int GetQueueTimeAdjustmentSeconds() const
Definition Contact.h:535
void SetId(IdT &&value)
Definition Contact.h:87
void SetDisconnectTimestamp(DisconnectTimestampT &&value)
Definition Contact.h:294
void SetDisconnectReason(DisconnectReasonT &&value)
Definition Contact.h:833
Contact & WithQueueInfo(QueueInfoT &&value)
Definition Contact.h:235
Contact & WithInitialContactId(InitialContactIdT &&value)
Definition Contact.h:111
void SetLastPausedTimestamp(LastPausedTimestampT &&value)
Definition Contact.h:330
const CustomerVoiceActivity & GetCustomerVoiceActivity() const
Definition Contact.h:684
Contact & WithContactEvaluations(ContactEvaluationsT &&value)
Definition Contact.h:857
bool AttributesHasBeenSet() const
Definition Contact.h:956
const OutboundStrategy & GetOutboundStrategy() const
Definition Contact.h:937
const GlobalResiliencyMetadata & GetGlobalResiliencyMetadata() const
Definition Contact.h:1004
Contact & WithDisconnectTimestamp(DisconnectTimestampT &&value)
Definition Contact.h:299
Contact & WithQualityMetrics(QualityMetricsT &&value)
Definition Contact.h:710
const DisconnectDetails & GetDisconnectDetails() const
Definition Contact.h:739
AWS_CONNECT_API Contact & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastResumedTimestampHasBeenSet() const
Definition Contact.h:346
void SetCustomerId(CustomerIdT &&value)
Definition Contact.h:477
Contact & WithDisconnectDetails(DisconnectDetailsT &&value)
Definition Contact.h:747
void SetNextContacts(NextContactsT &&value)
Definition Contact.h:982
Contact & AddSegmentAttributes(SegmentAttributesKeyT &&key, SegmentAttributesValueT &&value)
Definition Contact.h:792
const Aws::String & GetArn() const
Definition Contact.h:66
Contact & WithDisconnectReason(DisconnectReasonT &&value)
Definition Contact.h:838
bool RingStartTimestampHasBeenSet() const
Definition Contact.h:364
Contact & WithLastPausedTimestamp(LastPausedTimestampT &&value)
Definition Contact.h:335
void SetRelatedContactId(RelatedContactIdT &&value)
Definition Contact.h:437
Contact & WithContactDetails(ContactDetailsT &&value)
Definition Contact.h:927
void SetDisconnectDetails(DisconnectDetailsT &&value)
Definition Contact.h:742
void SetName(NameT &&value)
Definition Contact.h:178
Contact & WithNextContacts(NextContactsT &&value)
Definition Contact.h:987
Contact & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
Definition Contact.h:968
bool RoutingCriteriaHasBeenSet() const
Definition Contact.h:614
bool QueueTimeAdjustmentSecondsHasBeenSet() const
Definition Contact.h:536
Contact & WithCampaign(CampaignT &&value)
Definition Contact.h:655
bool CustomerEndpointHasBeenSet() const
Definition Contact.h:493
bool PreviousContactIdHasBeenSet() const
Definition Contact.h:123
const Aws::Map< Aws::String, ContactEvaluation > & GetContactEvaluations() const
Definition Contact.h:849
long long GetQueuePriority() const
Definition Contact.h:554
Contact & WithContactLens(ContactLensT &&value)
Definition Contact.h:1032
void SetTaskTemplateInfo(TaskTemplateInfoT &&value)
Definition Contact.h:877
void SetAgentInfo(AgentInfoT &&value)
Definition Contact.h:248
void SetChannel(Channel value)
Definition Contact.h:213
ContactInitiationMethod GetInitiationMethod() const
Definition Contact.h:159
bool InitiationMethodHasBeenSet() const
Definition Contact.h:160
void SetTotalPauseDurationInSeconds(int value)
Definition Contact.h:399
void SetPreviousContactId(PreviousContactIdT &&value)
Definition Contact.h:125
bool LastPausedTimestampHasBeenSet() const
Definition Contact.h:328
Contact & WithRelatedContactId(RelatedContactIdT &&value)
Definition Contact.h:442
Contact & WithTotalPauseDurationInSeconds(int value)
Definition Contact.h:403
const Aws::String & GetCustomerId() const
Definition Contact.h:474
Contact & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Contact.h:584
bool CampaignHasBeenSet() const
Definition Contact.h:648
void SetCustomerVoiceActivity(CustomerVoiceActivityT &&value)
Definition Contact.h:687
void SetCustomer(CustomerT &&value)
Definition Contact.h:634
bool CustomerVoiceActivityHasBeenSet() const
Definition Contact.h:685
Contact & WithLastResumedTimestamp(LastResumedTimestampT &&value)
Definition Contact.h:353
const Aws::String & GetInitialContactId() const
Definition Contact.h:103
Contact & WithRingStartTimestamp(RingStartTimestampT &&value)
Definition Contact.h:371
Contact & WithChannel(Channel value)
Definition Contact.h:217
bool QueueInfoHasBeenSet() const
Definition Contact.h:228
Contact & WithPreviousContactId(PreviousContactIdT &&value)
Definition Contact.h:130
bool TaskTemplateInfoHasBeenSet() const
Definition Contact.h:875
bool TagsHasBeenSet() const
Definition Contact.h:572
void SetContactLens(ContactLensT &&value)
Definition Contact.h:1027
const AgentInfo & GetAgentInfo() const
Definition Contact.h:245
Contact & WithOutboundStrategy(OutboundStrategyT &&value)
Definition Contact.h:945
Contact & WithCustomerVoiceActivity(CustomerVoiceActivityT &&value)
Definition Contact.h:692
void SetLastUpdateTimestamp(LastUpdateTimestampT &&value)
Definition Contact.h:312
const QueueInfo & GetQueueInfo() const
Definition Contact.h:227
bool CustomerHasBeenSet() const
Definition Contact.h:632
bool TotalPauseDurationInSecondsHasBeenSet() const
Definition Contact.h:398
const TaskTemplateInfoV2 & GetTaskTemplateInfo() const
Definition Contact.h:874
void SetAttributes(AttributesT &&value)
Definition Contact.h:958
void SetInitiationMethod(ContactInitiationMethod value)
Definition Contact.h:161
const Aws::String & GetName() const
Definition Contact.h:175
bool ArnHasBeenSet() const
Definition Contact.h:67
void SetConnectedToSystemTimestamp(ConnectedToSystemTimestampT &&value)
Definition Contact.h:598
const Aws::Vector< CaseEntry > & GetCases() const
Definition Contact.h:893
const ContactDetails & GetContactDetails() const
Definition Contact.h:919
Contact & WithAgentInfo(AgentInfoT &&value)
Definition Contact.h:253
Contact & WithSystemEndpoint(SystemEndpointT &&value)
Definition Contact.h:522
bool NextContactsHasBeenSet() const
Definition Contact.h:980
Contact & AddContactEvaluations(ContactEvaluationsKeyT &&key, ContactEvaluationsValueT &&value)
Definition Contact.h:862
Contact & WithArn(ArnT &&value)
Definition Contact.h:74
Contact & WithQueueTimeAdjustmentSeconds(int value)
Definition Contact.h:541
const Customer & GetCustomer() const
Definition Contact.h:631
bool OutboundStrategyHasBeenSet() const
Definition Contact.h:938
const Aws::Utils::DateTime & GetDisconnectTimestamp() const
Definition Contact.h:291
void SetRingStartTimestamp(RingStartTimestampT &&value)
Definition Contact.h:366
void SetQueuePriority(long long value)
Definition Contact.h:556
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Definition Contact.h:955
bool ContactAssociationIdHasBeenSet() const
Definition Contact.h:142
void SetScheduledTimestamp(ScheduledTimestampT &&value)
Definition Contact.h:417
bool InitialContactIdHasBeenSet() const
Definition Contact.h:104
void SetArn(ArnT &&value)
Definition Contact.h:69
Contact & WithCustomerEndpoint(CustomerEndpointT &&value)
Definition Contact.h:500
bool WisdomInfoHasBeenSet() const
Definition Contact.h:453
Contact & WithRoutingCriteria(RoutingCriteriaT &&value)
Definition Contact.h:621
Contact & WithAdditionalEmailRecipients(AdditionalEmailRecipientsT &&value)
Definition Contact.h:765
bool DisconnectDetailsHasBeenSet() const
Definition Contact.h:740
void SetContactDetails(ContactDetailsT &&value)
Definition Contact.h:922
Contact & WithChatMetrics(ChatMetricsT &&value)
Definition Contact.h:729
bool CustomerIdHasBeenSet() const
Definition Contact.h:475
const Aws::String & GetContactAssociationId() const
Definition Contact.h:141
bool SystemEndpointHasBeenSet() const
Definition Contact.h:515
const Aws::String & GetDisconnectReason() const
Definition Contact.h:830
const WisdomInfo & GetWisdomInfo() const
Definition Contact.h:452
Contact & AddRecordings(RecordingsT &&value)
Definition Contact.h:816
bool RelatedContactIdHasBeenSet() const
Definition Contact.h:435
void SetQueueInfo(QueueInfoT &&value)
Definition Contact.h:230
bool QueuePriorityHasBeenSet() const
Definition Contact.h:555
const Aws::Utils::DateTime & GetRingStartTimestamp() const
Definition Contact.h:363
void SetDescription(DescriptionT &&value)
Definition Contact.h:196
const AdditionalEmailRecipients & GetAdditionalEmailRecipients() const
Definition Contact.h:757
Contact & AddCases(CasesT &&value)
Definition Contact.h:906
bool ContactEvaluationsHasBeenSet() const
Definition Contact.h:850
void SetQualityMetrics(QualityMetricsT &&value)
Definition Contact.h:705
const Aws::Vector< RecordingInfo > & GetRecordings() const
Definition Contact.h:803
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Contact.h:571
void SetInitiationTimestamp(InitiationTimestampT &&value)
Definition Contact.h:274
const Campaign & GetCampaign() const
Definition Contact.h:647
Contact & WithWisdomInfo(WisdomInfoT &&value)
Definition Contact.h:460
Contact & WithAnsweringMachineDetectionStatus(AnsweringMachineDetectionStatus value)
Definition Contact.h:674
void SetCampaign(CampaignT &&value)
Definition Contact.h:650
const Aws::Vector< NextContactEntry > & GetNextContacts() const
Definition Contact.h:979
void SetWisdomInfo(WisdomInfoT &&value)
Definition Contact.h:455
bool IdHasBeenSet() const
Definition Contact.h:85
const Aws::String & GetDescription() const
Definition Contact.h:193
const ContactLens & GetContactLens() const
Definition Contact.h:1024
bool CasesHasBeenSet() const
Definition Contact.h:894
Contact & WithDescription(DescriptionT &&value)
Definition Contact.h:201
void SetSegmentAttributes(SegmentAttributesT &&value)
Definition Contact.h:782
Contact & WithGlobalResiliencyMetadata(GlobalResiliencyMetadataT &&value)
Definition Contact.h:1012
void SetRoutingCriteria(RoutingCriteriaT &&value)
Definition Contact.h:616
const Aws::Utils::DateTime & GetInitiationTimestamp() const
Definition Contact.h:271
void SetCustomerEndpoint(CustomerEndpointT &&value)
Definition Contact.h:495
Contact & WithAttributes(AttributesT &&value)
Definition Contact.h:963
Contact & WithTotalPauseCount(int value)
Definition Contact.h:387
Contact & WithSegmentAttributes(SegmentAttributesT &&value)
Definition Contact.h:787
Contact & WithContactAssociationId(ContactAssociationIdT &&value)
Definition Contact.h:149
Contact & WithCustomerId(CustomerIdT &&value)
Definition Contact.h:482
const Aws::Utils::DateTime & GetConnectedToSystemTimestamp() const
Definition Contact.h:595
Contact & WithTags(TagsT &&value)
Definition Contact.h:579
void SetInitialContactId(InitialContactIdT &&value)
Definition Contact.h:106
bool ContactDetailsHasBeenSet() const
Definition Contact.h:920
void SetQueueTimeAdjustmentSeconds(int value)
Definition Contact.h:537
bool QualityMetricsHasBeenSet() const
Definition Contact.h:703
const Aws::String & GetPreviousContactId() const
Definition Contact.h:122
bool ScheduledTimestampHasBeenSet() const
Definition Contact.h:415
bool InitiationTimestampHasBeenSet() const
Definition Contact.h:272
bool ChannelHasBeenSet() const
Definition Contact.h:212
void SetContactEvaluations(ContactEvaluationsT &&value)
Definition Contact.h:852
bool TotalPauseCountHasBeenSet() const
Definition Contact.h:382
bool GlobalResiliencyMetadataHasBeenSet() const
Definition Contact.h:1005
AnsweringMachineDetectionStatus GetAnsweringMachineDetectionStatus() const
Definition Contact.h:668
Contact & WithTaskTemplateInfo(TaskTemplateInfoT &&value)
Definition Contact.h:882
bool DisconnectTimestampHasBeenSet() const
Definition Contact.h:292
void SetAnsweringMachineDetectionStatus(AnsweringMachineDetectionStatus value)
Definition Contact.h:670
Contact & WithId(IdT &&value)
Definition Contact.h:92
const Aws::Utils::DateTime & GetScheduledTimestamp() const
Definition Contact.h:414
int GetTotalPauseCount() const
Definition Contact.h:381
const QualityMetrics & GetQualityMetrics() const
Definition Contact.h:702
void SetLastResumedTimestamp(LastResumedTimestampT &&value)
Definition Contact.h:348
void SetSystemEndpoint(SystemEndpointT &&value)
Definition Contact.h:517
const Aws::Utils::DateTime & GetLastUpdateTimestamp() const
Definition Contact.h:309
Contact & WithQueuePriority(long long value)
Definition Contact.h:560
bool AdditionalEmailRecipientsHasBeenSet() const
Definition Contact.h:758
bool RecordingsHasBeenSet() const
Definition Contact.h:804
Contact & WithCases(CasesT &&value)
Definition Contact.h:901
bool DisconnectReasonHasBeenSet() const
Definition Contact.h:831
Contact & WithScheduledTimestamp(ScheduledTimestampT &&value)
Definition Contact.h:422
AWS_CONNECT_API Contact()=default
const RoutingCriteria & GetRoutingCriteria() const
Definition Contact.h:613
void SetTotalPauseCount(int value)
Definition Contact.h:383
bool NameHasBeenSet() const
Definition Contact.h:176
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