AWS SDK for C++  1.9.156
AWS SDK for C++
CreateRoutingProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Connect
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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 "CreateRoutingProfile"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
43  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
44 
49  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
50 
55  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
56 
61  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
62 
67  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
68 
73  inline CreateRoutingProfileRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
74 
79  inline CreateRoutingProfileRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
80 
85  inline CreateRoutingProfileRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
86 
87 
91  inline const Aws::String& GetName() const{ return m_name; }
92 
96  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
97 
101  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
102 
106  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
107 
111  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
112 
116  inline CreateRoutingProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
117 
121  inline CreateRoutingProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
122 
126  inline CreateRoutingProfileRequest& WithName(const char* value) { SetName(value); return *this;}
127 
128 
132  inline const Aws::String& GetDescription() const{ return m_description; }
133 
137  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
138 
142  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
143 
147  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
148 
152  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
153 
157  inline CreateRoutingProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
158 
162  inline CreateRoutingProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
163 
167  inline CreateRoutingProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
168 
169 
173  inline const Aws::String& GetDefaultOutboundQueueId() const{ return m_defaultOutboundQueueId; }
174 
178  inline bool DefaultOutboundQueueIdHasBeenSet() const { return m_defaultOutboundQueueIdHasBeenSet; }
179 
183  inline void SetDefaultOutboundQueueId(const Aws::String& value) { m_defaultOutboundQueueIdHasBeenSet = true; m_defaultOutboundQueueId = value; }
184 
188  inline void SetDefaultOutboundQueueId(Aws::String&& value) { m_defaultOutboundQueueIdHasBeenSet = true; m_defaultOutboundQueueId = std::move(value); }
189 
193  inline void SetDefaultOutboundQueueId(const char* value) { m_defaultOutboundQueueIdHasBeenSet = true; m_defaultOutboundQueueId.assign(value); }
194 
198  inline CreateRoutingProfileRequest& WithDefaultOutboundQueueId(const Aws::String& value) { SetDefaultOutboundQueueId(value); return *this;}
199 
203  inline CreateRoutingProfileRequest& WithDefaultOutboundQueueId(Aws::String&& value) { SetDefaultOutboundQueueId(std::move(value)); return *this;}
204 
208  inline CreateRoutingProfileRequest& WithDefaultOutboundQueueId(const char* value) { SetDefaultOutboundQueueId(value); return *this;}
209 
210 
215  inline const Aws::Vector<RoutingProfileQueueConfig>& GetQueueConfigs() const{ return m_queueConfigs; }
216 
221  inline bool QueueConfigsHasBeenSet() const { return m_queueConfigsHasBeenSet; }
222 
227  inline void SetQueueConfigs(const Aws::Vector<RoutingProfileQueueConfig>& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = value; }
228 
233  inline void SetQueueConfigs(Aws::Vector<RoutingProfileQueueConfig>&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = std::move(value); }
234 
239  inline CreateRoutingProfileRequest& WithQueueConfigs(const Aws::Vector<RoutingProfileQueueConfig>& value) { SetQueueConfigs(value); return *this;}
240 
245  inline CreateRoutingProfileRequest& WithQueueConfigs(Aws::Vector<RoutingProfileQueueConfig>&& value) { SetQueueConfigs(std::move(value)); return *this;}
246 
251  inline CreateRoutingProfileRequest& AddQueueConfigs(const RoutingProfileQueueConfig& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(value); return *this; }
252 
257  inline CreateRoutingProfileRequest& AddQueueConfigs(RoutingProfileQueueConfig&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(std::move(value)); return *this; }
258 
259 
264  inline const Aws::Vector<MediaConcurrency>& GetMediaConcurrencies() const{ return m_mediaConcurrencies; }
265 
270  inline bool MediaConcurrenciesHasBeenSet() const { return m_mediaConcurrenciesHasBeenSet; }
271 
276  inline void SetMediaConcurrencies(const Aws::Vector<MediaConcurrency>& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies = value; }
277 
282  inline void SetMediaConcurrencies(Aws::Vector<MediaConcurrency>&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies = std::move(value); }
283 
288  inline CreateRoutingProfileRequest& WithMediaConcurrencies(const Aws::Vector<MediaConcurrency>& value) { SetMediaConcurrencies(value); return *this;}
289 
294  inline CreateRoutingProfileRequest& WithMediaConcurrencies(Aws::Vector<MediaConcurrency>&& value) { SetMediaConcurrencies(std::move(value)); return *this;}
295 
300  inline CreateRoutingProfileRequest& AddMediaConcurrencies(const MediaConcurrency& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies.push_back(value); return *this; }
301 
306  inline CreateRoutingProfileRequest& AddMediaConcurrencies(MediaConcurrency&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies.push_back(std::move(value)); return *this; }
307 
308 
312  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
313 
317  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
318 
322  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
323 
327  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
328 
332  inline CreateRoutingProfileRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
333 
337  inline CreateRoutingProfileRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
338 
342  inline CreateRoutingProfileRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
343 
347  inline CreateRoutingProfileRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
348 
352  inline CreateRoutingProfileRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
353 
357  inline CreateRoutingProfileRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
358 
362  inline CreateRoutingProfileRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
363 
367  inline CreateRoutingProfileRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
368 
372  inline CreateRoutingProfileRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
373 
374  private:
375 
376  Aws::String m_instanceId;
377  bool m_instanceIdHasBeenSet;
378 
379  Aws::String m_name;
380  bool m_nameHasBeenSet;
381 
382  Aws::String m_description;
383  bool m_descriptionHasBeenSet;
384 
385  Aws::String m_defaultOutboundQueueId;
386  bool m_defaultOutboundQueueIdHasBeenSet;
387 
389  bool m_queueConfigsHasBeenSet;
390 
391  Aws::Vector<MediaConcurrency> m_mediaConcurrencies;
392  bool m_mediaConcurrenciesHasBeenSet;
393 
395  bool m_tagsHasBeenSet;
396  };
397 
398 } // namespace Model
399 } // namespace Connect
400 } // namespace Aws
Aws::Connect::Model::CreateRoutingProfileRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateRoutingProfileRequest.h:142
Aws::Connect::Model::CreateRoutingProfileRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateRoutingProfileRequest.h:106
Aws::Connect::Model::CreateRoutingProfileRequest::AddTags
CreateRoutingProfileRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateRoutingProfileRequest.h:367
Aws::Connect::Model::MediaConcurrency
Definition: MediaConcurrency.h:34
Aws::Connect::Model::CreateRoutingProfileRequest::AddQueueConfigs
CreateRoutingProfileRequest & AddQueueConfigs(const RoutingProfileQueueConfig &value)
Definition: CreateRoutingProfileRequest.h:251
Aws::Connect::Model::CreateRoutingProfileRequest::WithQueueConfigs
CreateRoutingProfileRequest & WithQueueConfigs(const Aws::Vector< RoutingProfileQueueConfig > &value)
Definition: CreateRoutingProfileRequest.h:239
Aws::Connect::Model::CreateRoutingProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateRoutingProfileRequest.h:34
Aws::Connect::Model::CreateRoutingProfileRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: CreateRoutingProfileRequest.h:43
Aws::Connect::Model::CreateRoutingProfileRequest::WithTags
CreateRoutingProfileRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateRoutingProfileRequest.h:332
Aws::Connect::Model::CreateRoutingProfileRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateRoutingProfileRequest.h:322
Aws::Connect::Model::CreateRoutingProfileRequest::WithQueueConfigs
CreateRoutingProfileRequest & WithQueueConfigs(Aws::Vector< RoutingProfileQueueConfig > &&value)
Definition: CreateRoutingProfileRequest.h:245
Aws::Connect::Model::CreateRoutingProfileRequest::WithName
CreateRoutingProfileRequest & WithName(Aws::String &&value)
Definition: CreateRoutingProfileRequest.h:121
Aws::Connect::Model::CreateRoutingProfileRequest::WithDescription
CreateRoutingProfileRequest & WithDescription(const char *value)
Definition: CreateRoutingProfileRequest.h:167
Aws::Connect::Model::CreateRoutingProfileRequest::GetQueueConfigs
const Aws::Vector< RoutingProfileQueueConfig > & GetQueueConfigs() const
Definition: CreateRoutingProfileRequest.h:215
Aws::Connect::Model::CreateRoutingProfileRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateRoutingProfileRequest.h:132
Aws::Connect::Model::CreateRoutingProfileRequest::SetQueueConfigs
void SetQueueConfigs(Aws::Vector< RoutingProfileQueueConfig > &&value)
Definition: CreateRoutingProfileRequest.h:233
Aws::Connect::Model::CreateRoutingProfileRequest::QueueConfigsHasBeenSet
bool QueueConfigsHasBeenSet() const
Definition: CreateRoutingProfileRequest.h:221
Aws::Connect::Model::CreateRoutingProfileRequest::SetMediaConcurrencies
void SetMediaConcurrencies(Aws::Vector< MediaConcurrency > &&value)
Definition: CreateRoutingProfileRequest.h:282
Aws::Connect::Model::CreateRoutingProfileRequest::SetMediaConcurrencies
void SetMediaConcurrencies(const Aws::Vector< MediaConcurrency > &value)
Definition: CreateRoutingProfileRequest.h:276
MediaConcurrency.h
Aws::Connect::Model::CreateRoutingProfileRequest::WithTags
CreateRoutingProfileRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateRoutingProfileRequest.h:337
Aws::Connect::Model::CreateRoutingProfileRequest::SetName
void SetName(const char *value)
Definition: CreateRoutingProfileRequest.h:111
Aws::Connect::Model::CreateRoutingProfileRequest::AddTags
CreateRoutingProfileRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateRoutingProfileRequest.h:362
Aws::Connect::Model::CreateRoutingProfileRequest::AddQueueConfigs
CreateRoutingProfileRequest & AddQueueConfigs(RoutingProfileQueueConfig &&value)
Definition: CreateRoutingProfileRequest.h:257
Aws::Connect::Model::CreateRoutingProfileRequest::SetQueueConfigs
void SetQueueConfigs(const Aws::Vector< RoutingProfileQueueConfig > &value)
Definition: CreateRoutingProfileRequest.h:227
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::CreateRoutingProfileRequest::WithInstanceId
CreateRoutingProfileRequest & WithInstanceId(const char *value)
Definition: CreateRoutingProfileRequest.h:85
Aws::Connect::Model::CreateRoutingProfileRequest::WithDescription
CreateRoutingProfileRequest & WithDescription(Aws::String &&value)
Definition: CreateRoutingProfileRequest.h:162
Aws::Connect::Model::CreateRoutingProfileRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: CreateRoutingProfileRequest.h:67
Aws::Connect::Model::CreateRoutingProfileRequest::WithMediaConcurrencies
CreateRoutingProfileRequest & WithMediaConcurrencies(const Aws::Vector< MediaConcurrency > &value)
Definition: CreateRoutingProfileRequest.h:288
AWSVector.h
Aws::Connect::Model::CreateRoutingProfileRequest::AddMediaConcurrencies
CreateRoutingProfileRequest & AddMediaConcurrencies(MediaConcurrency &&value)
Definition: CreateRoutingProfileRequest.h:306
Aws::Connect::Model::CreateRoutingProfileRequest::AddTags
CreateRoutingProfileRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateRoutingProfileRequest.h:342
Aws::Connect::Model::CreateRoutingProfileRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: CreateRoutingProfileRequest.h:55
Aws::Connect::Model::CreateRoutingProfileRequest::MediaConcurrenciesHasBeenSet
bool MediaConcurrenciesHasBeenSet() const
Definition: CreateRoutingProfileRequest.h:270
Aws::Connect::Model::CreateRoutingProfileRequest::WithDefaultOutboundQueueId
CreateRoutingProfileRequest & WithDefaultOutboundQueueId(Aws::String &&value)
Definition: CreateRoutingProfileRequest.h:203
Aws::Connect::Model::CreateRoutingProfileRequest::WithDescription
CreateRoutingProfileRequest & WithDescription(const Aws::String &value)
Definition: CreateRoutingProfileRequest.h:157
Aws::Connect::Model::CreateRoutingProfileRequest::WithInstanceId
CreateRoutingProfileRequest & WithInstanceId(Aws::String &&value)
Definition: CreateRoutingProfileRequest.h:79
Aws::Connect::Model::CreateRoutingProfileRequest::SetDefaultOutboundQueueId
void SetDefaultOutboundQueueId(const char *value)
Definition: CreateRoutingProfileRequest.h:193
Aws::Connect::Model::CreateRoutingProfileRequest::WithMediaConcurrencies
CreateRoutingProfileRequest & WithMediaConcurrencies(Aws::Vector< MediaConcurrency > &&value)
Definition: CreateRoutingProfileRequest.h:294
Aws::Connect::Model::RoutingProfileQueueConfig
Definition: RoutingProfileQueueConfig.h:33
Aws::Connect::Model::CreateRoutingProfileRequest::GetMediaConcurrencies
const Aws::Vector< MediaConcurrency > & GetMediaConcurrencies() const
Definition: CreateRoutingProfileRequest.h:264
Aws::Connect::Model::CreateRoutingProfileRequest::GetDefaultOutboundQueueId
const Aws::String & GetDefaultOutboundQueueId() const
Definition: CreateRoutingProfileRequest.h:173
Aws::Connect::Model::CreateRoutingProfileRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateRoutingProfileRequest.h:96
Aws::Connect::Model::CreateRoutingProfileRequest::WithInstanceId
CreateRoutingProfileRequest & WithInstanceId(const Aws::String &value)
Definition: CreateRoutingProfileRequest.h:73
Aws::Connect::Model::CreateRoutingProfileRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateRoutingProfileRequest.h:312
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::CreateRoutingProfileRequest::WithName
CreateRoutingProfileRequest & WithName(const Aws::String &value)
Definition: CreateRoutingProfileRequest.h:116
Aws::Connect::Model::CreateRoutingProfileRequest::AddTags
CreateRoutingProfileRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateRoutingProfileRequest.h:352
Aws::Connect::Model::CreateRoutingProfileRequest::WithDefaultOutboundQueueId
CreateRoutingProfileRequest & WithDefaultOutboundQueueId(const Aws::String &value)
Definition: CreateRoutingProfileRequest.h:198
Aws::Connect::Model::CreateRoutingProfileRequest::SetDefaultOutboundQueueId
void SetDefaultOutboundQueueId(Aws::String &&value)
Definition: CreateRoutingProfileRequest.h:188
Aws::Connect::Model::CreateRoutingProfileRequest::WithName
CreateRoutingProfileRequest & WithName(const char *value)
Definition: CreateRoutingProfileRequest.h:126
Aws::Connect::Model::CreateRoutingProfileRequest::GetName
const Aws::String & GetName() const
Definition: CreateRoutingProfileRequest.h:91
AWSString.h
Aws::Connect::Model::CreateRoutingProfileRequest
Definition: CreateRoutingProfileRequest.h:26
Aws::Connect::Model::CreateRoutingProfileRequest::CreateRoutingProfileRequest
CreateRoutingProfileRequest()
Aws::Connect::Model::CreateRoutingProfileRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: CreateRoutingProfileRequest.h:61
Aws::Connect::Model::CreateRoutingProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::CreateRoutingProfileRequest::DefaultOutboundQueueIdHasBeenSet
bool DefaultOutboundQueueIdHasBeenSet() const
Definition: CreateRoutingProfileRequest.h:178
RoutingProfileQueueConfig.h
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::CreateRoutingProfileRequest::AddTags
CreateRoutingProfileRequest & AddTags(const char *key, const char *value)
Definition: CreateRoutingProfileRequest.h:372
Aws::Connect::Model::CreateRoutingProfileRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateRoutingProfileRequest.h:101
Aws::Connect::Model::CreateRoutingProfileRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateRoutingProfileRequest.h:317
Aws::Connect::Model::CreateRoutingProfileRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateRoutingProfileRequest.h:327
Aws::Connect::Model::CreateRoutingProfileRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateRoutingProfileRequest.h:147
Aws::Connect::Model::CreateRoutingProfileRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: CreateRoutingProfileRequest.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::CreateRoutingProfileRequest::WithDefaultOutboundQueueId
CreateRoutingProfileRequest & WithDefaultOutboundQueueId(const char *value)
Definition: CreateRoutingProfileRequest.h:208
Aws::Connect::Model::CreateRoutingProfileRequest::AddTags
CreateRoutingProfileRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateRoutingProfileRequest.h:347
Aws::Connect::Model::CreateRoutingProfileRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateRoutingProfileRequest.h:152
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::CreateRoutingProfileRequest::AddMediaConcurrencies
CreateRoutingProfileRequest & AddMediaConcurrencies(const MediaConcurrency &value)
Definition: CreateRoutingProfileRequest.h:300
Aws::Connect::Model::CreateRoutingProfileRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateRoutingProfileRequest.h:137
Connect_EXPORTS.h
AWSMap.h
ConnectRequest.h
Aws::Connect::Model::CreateRoutingProfileRequest::AddTags
CreateRoutingProfileRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateRoutingProfileRequest.h:357
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Connect::Model::CreateRoutingProfileRequest::SetDefaultOutboundQueueId
void SetDefaultOutboundQueueId(const Aws::String &value)
Definition: CreateRoutingProfileRequest.h:183