AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartTaskContactRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/connect/model/Reference.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace Connect
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_CONNECT_API StartTaskContactRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartTaskContact"; }
35
36 AWS_CONNECT_API Aws::String SerializePayload() const override;
37
38
40
45 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
46 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
47 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
48 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
49 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
50 inline StartTaskContactRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
51 inline StartTaskContactRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
52 inline StartTaskContactRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
54
56
62 inline const Aws::String& GetPreviousContactId() const{ return m_previousContactId; }
63 inline bool PreviousContactIdHasBeenSet() const { return m_previousContactIdHasBeenSet; }
64 inline void SetPreviousContactId(const Aws::String& value) { m_previousContactIdHasBeenSet = true; m_previousContactId = value; }
65 inline void SetPreviousContactId(Aws::String&& value) { m_previousContactIdHasBeenSet = true; m_previousContactId = std::move(value); }
66 inline void SetPreviousContactId(const char* value) { m_previousContactIdHasBeenSet = true; m_previousContactId.assign(value); }
68 inline StartTaskContactRequest& WithPreviousContactId(Aws::String&& value) { SetPreviousContactId(std::move(value)); return *this;}
69 inline StartTaskContactRequest& WithPreviousContactId(const char* value) { SetPreviousContactId(value); return *this;}
71
73
82 inline const Aws::String& GetContactFlowId() const{ return m_contactFlowId; }
83 inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; }
84 inline void SetContactFlowId(const Aws::String& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = value; }
85 inline void SetContactFlowId(Aws::String&& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = std::move(value); }
86 inline void SetContactFlowId(const char* value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId.assign(value); }
87 inline StartTaskContactRequest& WithContactFlowId(const Aws::String& value) { SetContactFlowId(value); return *this;}
88 inline StartTaskContactRequest& WithContactFlowId(Aws::String&& value) { SetContactFlowId(std::move(value)); return *this;}
89 inline StartTaskContactRequest& WithContactFlowId(const char* value) { SetContactFlowId(value); return *this;}
91
93
100 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
101 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
102 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
103 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
106 inline StartTaskContactRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
107 inline StartTaskContactRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
108 inline StartTaskContactRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
109 inline StartTaskContactRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
110 inline StartTaskContactRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
111 inline StartTaskContactRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
112 inline StartTaskContactRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
114
116
120 inline const Aws::String& GetName() const{ return m_name; }
121 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
122 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
123 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
124 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
125 inline StartTaskContactRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
126 inline StartTaskContactRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
127 inline StartTaskContactRequest& WithName(const char* value) { SetName(value); return *this;}
129
131
138 inline const Aws::Map<Aws::String, Reference>& GetReferences() const{ return m_references; }
139 inline bool ReferencesHasBeenSet() const { return m_referencesHasBeenSet; }
140 inline void SetReferences(const Aws::Map<Aws::String, Reference>& value) { m_referencesHasBeenSet = true; m_references = value; }
141 inline void SetReferences(Aws::Map<Aws::String, Reference>&& value) { m_referencesHasBeenSet = true; m_references = std::move(value); }
144 inline StartTaskContactRequest& AddReferences(const Aws::String& key, const Reference& value) { m_referencesHasBeenSet = true; m_references.emplace(key, value); return *this; }
145 inline StartTaskContactRequest& AddReferences(Aws::String&& key, const Reference& value) { m_referencesHasBeenSet = true; m_references.emplace(std::move(key), value); return *this; }
146 inline StartTaskContactRequest& AddReferences(const Aws::String& key, Reference&& value) { m_referencesHasBeenSet = true; m_references.emplace(key, std::move(value)); return *this; }
147 inline StartTaskContactRequest& AddReferences(Aws::String&& key, Reference&& value) { m_referencesHasBeenSet = true; m_references.emplace(std::move(key), std::move(value)); return *this; }
148 inline StartTaskContactRequest& AddReferences(const char* key, Reference&& value) { m_referencesHasBeenSet = true; m_references.emplace(key, std::move(value)); return *this; }
149 inline StartTaskContactRequest& AddReferences(const char* key, const Reference& value) { m_referencesHasBeenSet = true; m_references.emplace(key, value); return *this; }
151
153
157 inline const Aws::String& GetDescription() const{ return m_description; }
158 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
159 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
160 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
161 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
162 inline StartTaskContactRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
163 inline StartTaskContactRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
164 inline StartTaskContactRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
166
168
175 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
176 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
177 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
178 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
179 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
180 inline StartTaskContactRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
181 inline StartTaskContactRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
182 inline StartTaskContactRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
184
186
191 inline const Aws::Utils::DateTime& GetScheduledTime() const{ return m_scheduledTime; }
192 inline bool ScheduledTimeHasBeenSet() const { return m_scheduledTimeHasBeenSet; }
193 inline void SetScheduledTime(const Aws::Utils::DateTime& value) { m_scheduledTimeHasBeenSet = true; m_scheduledTime = value; }
194 inline void SetScheduledTime(Aws::Utils::DateTime&& value) { m_scheduledTimeHasBeenSet = true; m_scheduledTime = std::move(value); }
196 inline StartTaskContactRequest& WithScheduledTime(Aws::Utils::DateTime&& value) { SetScheduledTime(std::move(value)); return *this;}
198
200
206 inline const Aws::String& GetTaskTemplateId() const{ return m_taskTemplateId; }
207 inline bool TaskTemplateIdHasBeenSet() const { return m_taskTemplateIdHasBeenSet; }
208 inline void SetTaskTemplateId(const Aws::String& value) { m_taskTemplateIdHasBeenSet = true; m_taskTemplateId = value; }
209 inline void SetTaskTemplateId(Aws::String&& value) { m_taskTemplateIdHasBeenSet = true; m_taskTemplateId = std::move(value); }
210 inline void SetTaskTemplateId(const char* value) { m_taskTemplateIdHasBeenSet = true; m_taskTemplateId.assign(value); }
211 inline StartTaskContactRequest& WithTaskTemplateId(const Aws::String& value) { SetTaskTemplateId(value); return *this;}
212 inline StartTaskContactRequest& WithTaskTemplateId(Aws::String&& value) { SetTaskTemplateId(std::move(value)); return *this;}
213 inline StartTaskContactRequest& WithTaskTemplateId(const char* value) { SetTaskTemplateId(value); return *this;}
215
217
224 inline const Aws::String& GetQuickConnectId() const{ return m_quickConnectId; }
225 inline bool QuickConnectIdHasBeenSet() const { return m_quickConnectIdHasBeenSet; }
226 inline void SetQuickConnectId(const Aws::String& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = value; }
227 inline void SetQuickConnectId(Aws::String&& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = std::move(value); }
228 inline void SetQuickConnectId(const char* value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId.assign(value); }
229 inline StartTaskContactRequest& WithQuickConnectId(const Aws::String& value) { SetQuickConnectId(value); return *this;}
230 inline StartTaskContactRequest& WithQuickConnectId(Aws::String&& value) { SetQuickConnectId(std::move(value)); return *this;}
231 inline StartTaskContactRequest& WithQuickConnectId(const char* value) { SetQuickConnectId(value); return *this;}
233
235
245 inline const Aws::String& GetRelatedContactId() const{ return m_relatedContactId; }
246 inline bool RelatedContactIdHasBeenSet() const { return m_relatedContactIdHasBeenSet; }
247 inline void SetRelatedContactId(const Aws::String& value) { m_relatedContactIdHasBeenSet = true; m_relatedContactId = value; }
248 inline void SetRelatedContactId(Aws::String&& value) { m_relatedContactIdHasBeenSet = true; m_relatedContactId = std::move(value); }
249 inline void SetRelatedContactId(const char* value) { m_relatedContactIdHasBeenSet = true; m_relatedContactId.assign(value); }
251 inline StartTaskContactRequest& WithRelatedContactId(Aws::String&& value) { SetRelatedContactId(std::move(value)); return *this;}
252 inline StartTaskContactRequest& WithRelatedContactId(const char* value) { SetRelatedContactId(value); return *this;}
254 private:
255
256 Aws::String m_instanceId;
257 bool m_instanceIdHasBeenSet = false;
258
259 Aws::String m_previousContactId;
260 bool m_previousContactIdHasBeenSet = false;
261
262 Aws::String m_contactFlowId;
263 bool m_contactFlowIdHasBeenSet = false;
264
266 bool m_attributesHasBeenSet = false;
267
268 Aws::String m_name;
269 bool m_nameHasBeenSet = false;
270
272 bool m_referencesHasBeenSet = false;
273
274 Aws::String m_description;
275 bool m_descriptionHasBeenSet = false;
276
277 Aws::String m_clientToken;
278 bool m_clientTokenHasBeenSet = false;
279
280 Aws::Utils::DateTime m_scheduledTime;
281 bool m_scheduledTimeHasBeenSet = false;
282
283 Aws::String m_taskTemplateId;
284 bool m_taskTemplateIdHasBeenSet = false;
285
286 Aws::String m_quickConnectId;
287 bool m_quickConnectIdHasBeenSet = false;
288
289 Aws::String m_relatedContactId;
290 bool m_relatedContactIdHasBeenSet = false;
291 };
292
293} // namespace Model
294} // namespace Connect
295} // namespace Aws
StartTaskContactRequest & WithRelatedContactId(const char *value)
StartTaskContactRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
StartTaskContactRequest & AddReferences(const Aws::String &key, Reference &&value)
StartTaskContactRequest & AddAttributes(const char *key, const char *value)
StartTaskContactRequest & WithName(const Aws::String &value)
StartTaskContactRequest & AddReferences(Aws::String &&key, Reference &&value)
StartTaskContactRequest & AddReferences(const char *key, const Reference &value)
StartTaskContactRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
StartTaskContactRequest & WithRelatedContactId(Aws::String &&value)
StartTaskContactRequest & WithContactFlowId(Aws::String &&value)
void SetReferences(Aws::Map< Aws::String, Reference > &&value)
StartTaskContactRequest & WithScheduledTime(const Aws::Utils::DateTime &value)
StartTaskContactRequest & WithInstanceId(const Aws::String &value)
StartTaskContactRequest & WithClientToken(const char *value)
StartTaskContactRequest & WithDescription(const Aws::String &value)
StartTaskContactRequest & WithDescription(Aws::String &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
StartTaskContactRequest & WithInstanceId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
const Aws::Utils::DateTime & GetScheduledTime() const
StartTaskContactRequest & WithPreviousContactId(const Aws::String &value)
const Aws::Map< Aws::String, Reference > & GetReferences() const
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetScheduledTime(Aws::Utils::DateTime &&value)
StartTaskContactRequest & WithQuickConnectId(const char *value)
StartTaskContactRequest & WithPreviousContactId(Aws::String &&value)
void SetReferences(const Aws::Map< Aws::String, Reference > &value)
StartTaskContactRequest & WithTaskTemplateId(const Aws::String &value)
StartTaskContactRequest & AddReferences(const char *key, Reference &&value)
StartTaskContactRequest & AddAttributes(const char *key, Aws::String &&value)
StartTaskContactRequest & AddAttributes(Aws::String &&key, const char *value)
StartTaskContactRequest & WithDescription(const char *value)
StartTaskContactRequest & WithContactFlowId(const Aws::String &value)
StartTaskContactRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
StartTaskContactRequest & WithPreviousContactId(const char *value)
StartTaskContactRequest & AddReferences(const Aws::String &key, const Reference &value)
StartTaskContactRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
StartTaskContactRequest & WithScheduledTime(Aws::Utils::DateTime &&value)
StartTaskContactRequest & WithContactFlowId(const char *value)
StartTaskContactRequest & WithName(Aws::String &&value)
StartTaskContactRequest & WithName(const char *value)
StartTaskContactRequest & WithClientToken(const Aws::String &value)
StartTaskContactRequest & WithTaskTemplateId(Aws::String &&value)
StartTaskContactRequest & WithClientToken(Aws::String &&value)
StartTaskContactRequest & WithReferences(Aws::Map< Aws::String, Reference > &&value)
StartTaskContactRequest & WithQuickConnectId(const Aws::String &value)
StartTaskContactRequest & WithTaskTemplateId(const char *value)
StartTaskContactRequest & WithQuickConnectId(Aws::String &&value)
StartTaskContactRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
StartTaskContactRequest & AddReferences(Aws::String &&key, const Reference &value)
StartTaskContactRequest & WithReferences(const Aws::Map< Aws::String, Reference > &value)
StartTaskContactRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
void SetScheduledTime(const Aws::Utils::DateTime &value)
StartTaskContactRequest & WithInstanceId(Aws::String &&value)
StartTaskContactRequest & WithRelatedContactId(const Aws::String &value)
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