AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContactSearchSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ContactInitiationMethod.h>
10#include <aws/connect/model/Channel.h>
11#include <aws/connect/model/ContactSearchSummaryQueueInfo.h>
12#include <aws/connect/model/ContactSearchSummaryAgentInfo.h>
13#include <aws/core/utils/DateTime.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Connect
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_CONNECT_API ContactSearchSummary();
42 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline ContactSearchSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline ContactSearchSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline ContactSearchSummary& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::String& GetId() const{ return m_id; }
64 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
65 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
66 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
67 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
68 inline ContactSearchSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
69 inline ContactSearchSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
70 inline ContactSearchSummary& WithId(const char* value) { SetId(value); return *this;}
72
74
78 inline const Aws::String& GetInitialContactId() const{ return m_initialContactId; }
79 inline bool InitialContactIdHasBeenSet() const { return m_initialContactIdHasBeenSet; }
80 inline void SetInitialContactId(const Aws::String& value) { m_initialContactIdHasBeenSet = true; m_initialContactId = value; }
81 inline void SetInitialContactId(Aws::String&& value) { m_initialContactIdHasBeenSet = true; m_initialContactId = std::move(value); }
82 inline void SetInitialContactId(const char* value) { m_initialContactIdHasBeenSet = true; m_initialContactId.assign(value); }
83 inline ContactSearchSummary& WithInitialContactId(const Aws::String& value) { SetInitialContactId(value); return *this;}
84 inline ContactSearchSummary& WithInitialContactId(Aws::String&& value) { SetInitialContactId(std::move(value)); return *this;}
85 inline ContactSearchSummary& WithInitialContactId(const char* value) { SetInitialContactId(value); return *this;}
87
89
93 inline const Aws::String& GetPreviousContactId() const{ return m_previousContactId; }
94 inline bool PreviousContactIdHasBeenSet() const { return m_previousContactIdHasBeenSet; }
95 inline void SetPreviousContactId(const Aws::String& value) { m_previousContactIdHasBeenSet = true; m_previousContactId = value; }
96 inline void SetPreviousContactId(Aws::String&& value) { m_previousContactIdHasBeenSet = true; m_previousContactId = std::move(value); }
97 inline void SetPreviousContactId(const char* value) { m_previousContactIdHasBeenSet = true; m_previousContactId.assign(value); }
98 inline ContactSearchSummary& WithPreviousContactId(const Aws::String& value) { SetPreviousContactId(value); return *this;}
99 inline ContactSearchSummary& WithPreviousContactId(Aws::String&& value) { SetPreviousContactId(std::move(value)); return *this;}
100 inline ContactSearchSummary& WithPreviousContactId(const char* value) { SetPreviousContactId(value); return *this;}
102
104
107 inline const ContactInitiationMethod& GetInitiationMethod() const{ return m_initiationMethod; }
108 inline bool InitiationMethodHasBeenSet() const { return m_initiationMethodHasBeenSet; }
109 inline void SetInitiationMethod(const ContactInitiationMethod& value) { m_initiationMethodHasBeenSet = true; m_initiationMethod = value; }
110 inline void SetInitiationMethod(ContactInitiationMethod&& value) { m_initiationMethodHasBeenSet = true; m_initiationMethod = std::move(value); }
114
116
119 inline const Channel& GetChannel() const{ return m_channel; }
120 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
121 inline void SetChannel(const Channel& value) { m_channelHasBeenSet = true; m_channel = value; }
122 inline void SetChannel(Channel&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); }
123 inline ContactSearchSummary& WithChannel(const Channel& value) { SetChannel(value); return *this;}
124 inline ContactSearchSummary& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;}
126
128
131 inline const ContactSearchSummaryQueueInfo& GetQueueInfo() const{ return m_queueInfo; }
132 inline bool QueueInfoHasBeenSet() const { return m_queueInfoHasBeenSet; }
133 inline void SetQueueInfo(const ContactSearchSummaryQueueInfo& value) { m_queueInfoHasBeenSet = true; m_queueInfo = value; }
134 inline void SetQueueInfo(ContactSearchSummaryQueueInfo&& value) { m_queueInfoHasBeenSet = true; m_queueInfo = std::move(value); }
136 inline ContactSearchSummary& WithQueueInfo(ContactSearchSummaryQueueInfo&& value) { SetQueueInfo(std::move(value)); return *this;}
138
140
143 inline const ContactSearchSummaryAgentInfo& GetAgentInfo() const{ return m_agentInfo; }
144 inline bool AgentInfoHasBeenSet() const { return m_agentInfoHasBeenSet; }
145 inline void SetAgentInfo(const ContactSearchSummaryAgentInfo& value) { m_agentInfoHasBeenSet = true; m_agentInfo = value; }
146 inline void SetAgentInfo(ContactSearchSummaryAgentInfo&& value) { m_agentInfoHasBeenSet = true; m_agentInfo = std::move(value); }
148 inline ContactSearchSummary& WithAgentInfo(ContactSearchSummaryAgentInfo&& value) { SetAgentInfo(std::move(value)); return *this;}
150
152
163 inline const Aws::Utils::DateTime& GetInitiationTimestamp() const{ return m_initiationTimestamp; }
164 inline bool InitiationTimestampHasBeenSet() const { return m_initiationTimestampHasBeenSet; }
165 inline void SetInitiationTimestamp(const Aws::Utils::DateTime& value) { m_initiationTimestampHasBeenSet = true; m_initiationTimestamp = value; }
166 inline void SetInitiationTimestamp(Aws::Utils::DateTime&& value) { m_initiationTimestampHasBeenSet = true; m_initiationTimestamp = std::move(value); }
170
172
176 inline const Aws::Utils::DateTime& GetDisconnectTimestamp() const{ return m_disconnectTimestamp; }
177 inline bool DisconnectTimestampHasBeenSet() const { return m_disconnectTimestampHasBeenSet; }
178 inline void SetDisconnectTimestamp(const Aws::Utils::DateTime& value) { m_disconnectTimestampHasBeenSet = true; m_disconnectTimestamp = value; }
179 inline void SetDisconnectTimestamp(Aws::Utils::DateTime&& value) { m_disconnectTimestampHasBeenSet = true; m_disconnectTimestamp = std::move(value); }
183
185
189 inline const Aws::Utils::DateTime& GetScheduledTimestamp() const{ return m_scheduledTimestamp; }
190 inline bool ScheduledTimestampHasBeenSet() const { return m_scheduledTimestampHasBeenSet; }
191 inline void SetScheduledTimestamp(const Aws::Utils::DateTime& value) { m_scheduledTimestampHasBeenSet = true; m_scheduledTimestamp = value; }
192 inline void SetScheduledTimestamp(Aws::Utils::DateTime&& value) { m_scheduledTimestampHasBeenSet = true; m_scheduledTimestamp = std::move(value); }
196 private:
197
198 Aws::String m_arn;
199 bool m_arnHasBeenSet = false;
200
201 Aws::String m_id;
202 bool m_idHasBeenSet = false;
203
204 Aws::String m_initialContactId;
205 bool m_initialContactIdHasBeenSet = false;
206
207 Aws::String m_previousContactId;
208 bool m_previousContactIdHasBeenSet = false;
209
210 ContactInitiationMethod m_initiationMethod;
211 bool m_initiationMethodHasBeenSet = false;
212
213 Channel m_channel;
214 bool m_channelHasBeenSet = false;
215
217 bool m_queueInfoHasBeenSet = false;
218
220 bool m_agentInfoHasBeenSet = false;
221
222 Aws::Utils::DateTime m_initiationTimestamp;
223 bool m_initiationTimestampHasBeenSet = false;
224
225 Aws::Utils::DateTime m_disconnectTimestamp;
226 bool m_disconnectTimestampHasBeenSet = false;
227
228 Aws::Utils::DateTime m_scheduledTimestamp;
229 bool m_scheduledTimestampHasBeenSet = false;
230 };
231
232} // namespace Model
233} // namespace Connect
234} // namespace Aws
void SetAgentInfo(ContactSearchSummaryAgentInfo &&value)
ContactSearchSummary & WithQueueInfo(ContactSearchSummaryQueueInfo &&value)
const Aws::Utils::DateTime & GetDisconnectTimestamp() const
ContactSearchSummary & WithDisconnectTimestamp(const Aws::Utils::DateTime &value)
void SetInitiationMethod(ContactInitiationMethod &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDisconnectTimestamp(Aws::Utils::DateTime &&value)
ContactSearchSummary & WithInitiationMethod(ContactInitiationMethod &&value)
void SetQueueInfo(ContactSearchSummaryQueueInfo &&value)
ContactSearchSummary & WithInitiationTimestamp(const Aws::Utils::DateTime &value)
ContactSearchSummary & WithQueueInfo(const ContactSearchSummaryQueueInfo &value)
ContactSearchSummary & WithDisconnectTimestamp(Aws::Utils::DateTime &&value)
const ContactSearchSummaryAgentInfo & GetAgentInfo() const
AWS_CONNECT_API ContactSearchSummary(Aws::Utils::Json::JsonView jsonValue)
ContactSearchSummary & WithPreviousContactId(const Aws::String &value)
ContactSearchSummary & WithPreviousContactId(Aws::String &&value)
ContactSearchSummary & WithScheduledTimestamp(Aws::Utils::DateTime &&value)
void SetQueueInfo(const ContactSearchSummaryQueueInfo &value)
void SetScheduledTimestamp(const Aws::Utils::DateTime &value)
ContactSearchSummary & WithArn(const Aws::String &value)
void SetDisconnectTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetInitiationTimestamp() const
const Aws::String & GetInitialContactId() const
ContactSearchSummary & WithInitialContactId(const char *value)
void SetInitiationMethod(const ContactInitiationMethod &value)
ContactSearchSummary & WithInitiationMethod(const ContactInitiationMethod &value)
ContactSearchSummary & WithArn(const char *value)
ContactSearchSummary & WithId(Aws::String &&value)
const Aws::String & GetPreviousContactId() const
ContactSearchSummary & WithId(const Aws::String &value)
ContactSearchSummary & WithScheduledTimestamp(const Aws::Utils::DateTime &value)
ContactSearchSummary & WithArn(Aws::String &&value)
ContactSearchSummary & WithId(const char *value)
const ContactSearchSummaryQueueInfo & GetQueueInfo() const
void SetPreviousContactId(const Aws::String &value)
const Aws::Utils::DateTime & GetScheduledTimestamp() const
void SetInitialContactId(const Aws::String &value)
void SetAgentInfo(const ContactSearchSummaryAgentInfo &value)
const ContactInitiationMethod & GetInitiationMethod() const
ContactSearchSummary & WithChannel(const Channel &value)
ContactSearchSummary & WithInitiationTimestamp(Aws::Utils::DateTime &&value)
void SetInitiationTimestamp(const Aws::Utils::DateTime &value)
ContactSearchSummary & WithInitialContactId(const Aws::String &value)
void SetScheduledTimestamp(Aws::Utils::DateTime &&value)
ContactSearchSummary & WithInitialContactId(Aws::String &&value)
AWS_CONNECT_API ContactSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactSearchSummary & WithAgentInfo(const ContactSearchSummaryAgentInfo &value)
void SetInitiationTimestamp(Aws::Utils::DateTime &&value)
ContactSearchSummary & WithPreviousContactId(const char *value)
ContactSearchSummary & WithChannel(Channel &&value)
ContactSearchSummary & WithAgentInfo(ContactSearchSummaryAgentInfo &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue