AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartOutboundVoiceContactRequest.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/connect/model/AnswerMachineDetectionConfig.h>
12#include <aws/connect/model/TrafficType.h>
13#include <aws/connect/model/Reference.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace Connect
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "StartOutboundVoiceContact"; }
36
37 AWS_CONNECT_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline StartOutboundVoiceContactRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline StartOutboundVoiceContactRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline StartOutboundVoiceContactRequest& WithName(const char* value) { SetName(value); return *this;}
54
56
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline StartOutboundVoiceContactRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline StartOutboundVoiceContactRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline StartOutboundVoiceContactRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
78 inline const Aws::Map<Aws::String, Reference>& GetReferences() const{ return m_references; }
79 inline bool ReferencesHasBeenSet() const { return m_referencesHasBeenSet; }
80 inline void SetReferences(const Aws::Map<Aws::String, Reference>& value) { m_referencesHasBeenSet = true; m_references = value; }
81 inline void SetReferences(Aws::Map<Aws::String, Reference>&& value) { m_referencesHasBeenSet = true; m_references = std::move(value); }
84 inline StartOutboundVoiceContactRequest& AddReferences(const Aws::String& key, const Reference& value) { m_referencesHasBeenSet = true; m_references.emplace(key, value); return *this; }
85 inline StartOutboundVoiceContactRequest& AddReferences(Aws::String&& key, const Reference& value) { m_referencesHasBeenSet = true; m_references.emplace(std::move(key), value); return *this; }
86 inline StartOutboundVoiceContactRequest& AddReferences(const Aws::String& key, Reference&& value) { m_referencesHasBeenSet = true; m_references.emplace(key, std::move(value)); return *this; }
87 inline StartOutboundVoiceContactRequest& AddReferences(Aws::String&& key, Reference&& value) { m_referencesHasBeenSet = true; m_references.emplace(std::move(key), std::move(value)); return *this; }
88 inline StartOutboundVoiceContactRequest& AddReferences(const char* key, Reference&& value) { m_referencesHasBeenSet = true; m_references.emplace(key, std::move(value)); return *this; }
89 inline StartOutboundVoiceContactRequest& AddReferences(const char* key, const Reference& value) { m_referencesHasBeenSet = true; m_references.emplace(key, value); return *this; }
91
93
101 inline const Aws::String& GetRelatedContactId() const{ return m_relatedContactId; }
102 inline bool RelatedContactIdHasBeenSet() const { return m_relatedContactIdHasBeenSet; }
103 inline void SetRelatedContactId(const Aws::String& value) { m_relatedContactIdHasBeenSet = true; m_relatedContactId = value; }
104 inline void SetRelatedContactId(Aws::String&& value) { m_relatedContactIdHasBeenSet = true; m_relatedContactId = std::move(value); }
105 inline void SetRelatedContactId(const char* value) { m_relatedContactIdHasBeenSet = true; m_relatedContactId.assign(value); }
108 inline StartOutboundVoiceContactRequest& WithRelatedContactId(const char* value) { SetRelatedContactId(value); return *this;}
110
112
115 inline const Aws::String& GetDestinationPhoneNumber() const{ return m_destinationPhoneNumber; }
116 inline bool DestinationPhoneNumberHasBeenSet() const { return m_destinationPhoneNumberHasBeenSet; }
117 inline void SetDestinationPhoneNumber(const Aws::String& value) { m_destinationPhoneNumberHasBeenSet = true; m_destinationPhoneNumber = value; }
118 inline void SetDestinationPhoneNumber(Aws::String&& value) { m_destinationPhoneNumberHasBeenSet = true; m_destinationPhoneNumber = std::move(value); }
119 inline void SetDestinationPhoneNumber(const char* value) { m_destinationPhoneNumberHasBeenSet = true; m_destinationPhoneNumber.assign(value); }
124
126
135 inline const Aws::String& GetContactFlowId() const{ return m_contactFlowId; }
136 inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; }
137 inline void SetContactFlowId(const Aws::String& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = value; }
138 inline void SetContactFlowId(Aws::String&& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = std::move(value); }
139 inline void SetContactFlowId(const char* value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId.assign(value); }
141 inline StartOutboundVoiceContactRequest& WithContactFlowId(Aws::String&& value) { SetContactFlowId(std::move(value)); return *this;}
142 inline StartOutboundVoiceContactRequest& WithContactFlowId(const char* value) { SetContactFlowId(value); return *this;}
144
146
151 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
152 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
153 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
154 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
155 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
156 inline StartOutboundVoiceContactRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
157 inline StartOutboundVoiceContactRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
158 inline StartOutboundVoiceContactRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
160
162
170 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
171 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
172 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
173 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
174 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
175 inline StartOutboundVoiceContactRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
176 inline StartOutboundVoiceContactRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
177 inline StartOutboundVoiceContactRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
179
181
186 inline const Aws::String& GetSourcePhoneNumber() const{ return m_sourcePhoneNumber; }
187 inline bool SourcePhoneNumberHasBeenSet() const { return m_sourcePhoneNumberHasBeenSet; }
188 inline void SetSourcePhoneNumber(const Aws::String& value) { m_sourcePhoneNumberHasBeenSet = true; m_sourcePhoneNumber = value; }
189 inline void SetSourcePhoneNumber(Aws::String&& value) { m_sourcePhoneNumberHasBeenSet = true; m_sourcePhoneNumber = std::move(value); }
190 inline void SetSourcePhoneNumber(const char* value) { m_sourcePhoneNumberHasBeenSet = true; m_sourcePhoneNumber.assign(value); }
193 inline StartOutboundVoiceContactRequest& WithSourcePhoneNumber(const char* value) { SetSourcePhoneNumber(value); return *this;}
195
197
203 inline const Aws::String& GetQueueId() const{ return m_queueId; }
204 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
205 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
206 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
207 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
208 inline StartOutboundVoiceContactRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
209 inline StartOutboundVoiceContactRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
210 inline StartOutboundVoiceContactRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
212
214
221 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
222 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
223 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
224 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
227 inline StartOutboundVoiceContactRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
228 inline StartOutboundVoiceContactRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
229 inline StartOutboundVoiceContactRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
230 inline StartOutboundVoiceContactRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
231 inline StartOutboundVoiceContactRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
232 inline StartOutboundVoiceContactRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
233 inline StartOutboundVoiceContactRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
235
237
240 inline const AnswerMachineDetectionConfig& GetAnswerMachineDetectionConfig() const{ return m_answerMachineDetectionConfig; }
241 inline bool AnswerMachineDetectionConfigHasBeenSet() const { return m_answerMachineDetectionConfigHasBeenSet; }
242 inline void SetAnswerMachineDetectionConfig(const AnswerMachineDetectionConfig& value) { m_answerMachineDetectionConfigHasBeenSet = true; m_answerMachineDetectionConfig = value; }
243 inline void SetAnswerMachineDetectionConfig(AnswerMachineDetectionConfig&& value) { m_answerMachineDetectionConfigHasBeenSet = true; m_answerMachineDetectionConfig = std::move(value); }
247
249
252 inline const Aws::String& GetCampaignId() const{ return m_campaignId; }
253 inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; }
254 inline void SetCampaignId(const Aws::String& value) { m_campaignIdHasBeenSet = true; m_campaignId = value; }
255 inline void SetCampaignId(Aws::String&& value) { m_campaignIdHasBeenSet = true; m_campaignId = std::move(value); }
256 inline void SetCampaignId(const char* value) { m_campaignIdHasBeenSet = true; m_campaignId.assign(value); }
257 inline StartOutboundVoiceContactRequest& WithCampaignId(const Aws::String& value) { SetCampaignId(value); return *this;}
258 inline StartOutboundVoiceContactRequest& WithCampaignId(Aws::String&& value) { SetCampaignId(std::move(value)); return *this;}
259 inline StartOutboundVoiceContactRequest& WithCampaignId(const char* value) { SetCampaignId(value); return *this;}
261
263
269 inline const TrafficType& GetTrafficType() const{ return m_trafficType; }
270 inline bool TrafficTypeHasBeenSet() const { return m_trafficTypeHasBeenSet; }
271 inline void SetTrafficType(const TrafficType& value) { m_trafficTypeHasBeenSet = true; m_trafficType = value; }
272 inline void SetTrafficType(TrafficType&& value) { m_trafficTypeHasBeenSet = true; m_trafficType = std::move(value); }
273 inline StartOutboundVoiceContactRequest& WithTrafficType(const TrafficType& value) { SetTrafficType(value); return *this;}
274 inline StartOutboundVoiceContactRequest& WithTrafficType(TrafficType&& value) { SetTrafficType(std::move(value)); return *this;}
276 private:
277
278 Aws::String m_name;
279 bool m_nameHasBeenSet = false;
280
281 Aws::String m_description;
282 bool m_descriptionHasBeenSet = false;
283
285 bool m_referencesHasBeenSet = false;
286
287 Aws::String m_relatedContactId;
288 bool m_relatedContactIdHasBeenSet = false;
289
290 Aws::String m_destinationPhoneNumber;
291 bool m_destinationPhoneNumberHasBeenSet = false;
292
293 Aws::String m_contactFlowId;
294 bool m_contactFlowIdHasBeenSet = false;
295
296 Aws::String m_instanceId;
297 bool m_instanceIdHasBeenSet = false;
298
299 Aws::String m_clientToken;
300 bool m_clientTokenHasBeenSet = false;
301
302 Aws::String m_sourcePhoneNumber;
303 bool m_sourcePhoneNumberHasBeenSet = false;
304
305 Aws::String m_queueId;
306 bool m_queueIdHasBeenSet = false;
307
309 bool m_attributesHasBeenSet = false;
310
311 AnswerMachineDetectionConfig m_answerMachineDetectionConfig;
312 bool m_answerMachineDetectionConfigHasBeenSet = false;
313
314 Aws::String m_campaignId;
315 bool m_campaignIdHasBeenSet = false;
316
317 TrafficType m_trafficType;
318 bool m_trafficTypeHasBeenSet = false;
319 };
320
321} // namespace Model
322} // namespace Connect
323} // namespace Aws
StartOutboundVoiceContactRequest & AddReferences(const Aws::String &key, const Reference &value)
StartOutboundVoiceContactRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetAnswerMachineDetectionConfig(AnswerMachineDetectionConfig &&value)
StartOutboundVoiceContactRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
StartOutboundVoiceContactRequest & WithDestinationPhoneNumber(const char *value)
StartOutboundVoiceContactRequest & AddReferences(Aws::String &&key, const Reference &value)
StartOutboundVoiceContactRequest & WithName(const char *value)
StartOutboundVoiceContactRequest & WithSourcePhoneNumber(const char *value)
StartOutboundVoiceContactRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
StartOutboundVoiceContactRequest & AddAttributes(Aws::String &&key, const char *value)
StartOutboundVoiceContactRequest & WithReferences(const Aws::Map< Aws::String, Reference > &value)
const AnswerMachineDetectionConfig & GetAnswerMachineDetectionConfig() const
StartOutboundVoiceContactRequest & WithRelatedContactId(const Aws::String &value)
StartOutboundVoiceContactRequest & WithRelatedContactId(const char *value)
StartOutboundVoiceContactRequest & WithContactFlowId(const Aws::String &value)
StartOutboundVoiceContactRequest & WithName(const Aws::String &value)
StartOutboundVoiceContactRequest & WithRelatedContactId(Aws::String &&value)
StartOutboundVoiceContactRequest & WithAnswerMachineDetectionConfig(AnswerMachineDetectionConfig &&value)
StartOutboundVoiceContactRequest & WithClientToken(const Aws::String &value)
void SetAnswerMachineDetectionConfig(const AnswerMachineDetectionConfig &value)
StartOutboundVoiceContactRequest & AddReferences(const char *key, const Reference &value)
StartOutboundVoiceContactRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetReferences(const Aws::Map< Aws::String, Reference > &value)
StartOutboundVoiceContactRequest & WithQueueId(Aws::String &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
StartOutboundVoiceContactRequest & WithTrafficType(TrafficType &&value)
StartOutboundVoiceContactRequest & WithAnswerMachineDetectionConfig(const AnswerMachineDetectionConfig &value)
StartOutboundVoiceContactRequest & AddReferences(const char *key, Reference &&value)
StartOutboundVoiceContactRequest & WithSourcePhoneNumber(Aws::String &&value)
StartOutboundVoiceContactRequest & WithDescription(Aws::String &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
StartOutboundVoiceContactRequest & WithDestinationPhoneNumber(const Aws::String &value)
StartOutboundVoiceContactRequest & WithQueueId(const char *value)
StartOutboundVoiceContactRequest & WithName(Aws::String &&value)
StartOutboundVoiceContactRequest & AddAttributes(const char *key, const char *value)
StartOutboundVoiceContactRequest & WithDescription(const char *value)
StartOutboundVoiceContactRequest & AddReferences(const Aws::String &key, Reference &&value)
StartOutboundVoiceContactRequest & WithInstanceId(const char *value)
StartOutboundVoiceContactRequest & WithCampaignId(const Aws::String &value)
StartOutboundVoiceContactRequest & WithDestinationPhoneNumber(Aws::String &&value)
StartOutboundVoiceContactRequest & WithCampaignId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
StartOutboundVoiceContactRequest & WithClientToken(Aws::String &&value)
StartOutboundVoiceContactRequest & WithQueueId(const Aws::String &value)
StartOutboundVoiceContactRequest & WithTrafficType(const TrafficType &value)
StartOutboundVoiceContactRequest & WithDescription(const Aws::String &value)
StartOutboundVoiceContactRequest & WithInstanceId(Aws::String &&value)
StartOutboundVoiceContactRequest & WithInstanceId(const Aws::String &value)
StartOutboundVoiceContactRequest & AddReferences(Aws::String &&key, Reference &&value)
StartOutboundVoiceContactRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
StartOutboundVoiceContactRequest & WithReferences(Aws::Map< Aws::String, Reference > &&value)
StartOutboundVoiceContactRequest & WithContactFlowId(Aws::String &&value)
StartOutboundVoiceContactRequest & WithCampaignId(Aws::String &&value)
StartOutboundVoiceContactRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
void SetReferences(Aws::Map< Aws::String, Reference > &&value)
StartOutboundVoiceContactRequest & WithSourcePhoneNumber(const Aws::String &value)
StartOutboundVoiceContactRequest & WithClientToken(const char *value)
StartOutboundVoiceContactRequest & AddAttributes(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Reference > & GetReferences() const
StartOutboundVoiceContactRequest & WithContactFlowId(const char *value)
void SetAttributes(Aws::Map< Aws::String, 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