AWS SDK for C++  1.9.159
AWS SDK for C++
RoutingProfile.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Connect
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
47  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
48 
53  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
54 
59  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
60 
65  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
66 
71  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
72 
77  inline RoutingProfile& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
78 
83  inline RoutingProfile& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
84 
89  inline RoutingProfile& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
90 
91 
95  inline const Aws::String& GetName() const{ return m_name; }
96 
100  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
101 
105  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
106 
110  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
111 
115  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
116 
120  inline RoutingProfile& WithName(const Aws::String& value) { SetName(value); return *this;}
121 
125  inline RoutingProfile& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
126 
130  inline RoutingProfile& WithName(const char* value) { SetName(value); return *this;}
131 
132 
136  inline const Aws::String& GetRoutingProfileArn() const{ return m_routingProfileArn; }
137 
141  inline bool RoutingProfileArnHasBeenSet() const { return m_routingProfileArnHasBeenSet; }
142 
146  inline void SetRoutingProfileArn(const Aws::String& value) { m_routingProfileArnHasBeenSet = true; m_routingProfileArn = value; }
147 
151  inline void SetRoutingProfileArn(Aws::String&& value) { m_routingProfileArnHasBeenSet = true; m_routingProfileArn = std::move(value); }
152 
156  inline void SetRoutingProfileArn(const char* value) { m_routingProfileArnHasBeenSet = true; m_routingProfileArn.assign(value); }
157 
161  inline RoutingProfile& WithRoutingProfileArn(const Aws::String& value) { SetRoutingProfileArn(value); return *this;}
162 
166  inline RoutingProfile& WithRoutingProfileArn(Aws::String&& value) { SetRoutingProfileArn(std::move(value)); return *this;}
167 
171  inline RoutingProfile& WithRoutingProfileArn(const char* value) { SetRoutingProfileArn(value); return *this;}
172 
173 
177  inline const Aws::String& GetRoutingProfileId() const{ return m_routingProfileId; }
178 
182  inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
183 
187  inline void SetRoutingProfileId(const Aws::String& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = value; }
188 
192  inline void SetRoutingProfileId(Aws::String&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::move(value); }
193 
197  inline void SetRoutingProfileId(const char* value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId.assign(value); }
198 
202  inline RoutingProfile& WithRoutingProfileId(const Aws::String& value) { SetRoutingProfileId(value); return *this;}
203 
207  inline RoutingProfile& WithRoutingProfileId(Aws::String&& value) { SetRoutingProfileId(std::move(value)); return *this;}
208 
212  inline RoutingProfile& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
213 
214 
218  inline const Aws::String& GetDescription() const{ return m_description; }
219 
223  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
224 
228  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
229 
233  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
234 
238  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
239 
243  inline RoutingProfile& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
244 
248  inline RoutingProfile& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
249 
253  inline RoutingProfile& WithDescription(const char* value) { SetDescription(value); return *this;}
254 
255 
260  inline const Aws::Vector<MediaConcurrency>& GetMediaConcurrencies() const{ return m_mediaConcurrencies; }
261 
266  inline bool MediaConcurrenciesHasBeenSet() const { return m_mediaConcurrenciesHasBeenSet; }
267 
272  inline void SetMediaConcurrencies(const Aws::Vector<MediaConcurrency>& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies = value; }
273 
278  inline void SetMediaConcurrencies(Aws::Vector<MediaConcurrency>&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies = std::move(value); }
279 
284  inline RoutingProfile& WithMediaConcurrencies(const Aws::Vector<MediaConcurrency>& value) { SetMediaConcurrencies(value); return *this;}
285 
290  inline RoutingProfile& WithMediaConcurrencies(Aws::Vector<MediaConcurrency>&& value) { SetMediaConcurrencies(std::move(value)); return *this;}
291 
296  inline RoutingProfile& AddMediaConcurrencies(const MediaConcurrency& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies.push_back(value); return *this; }
297 
302  inline RoutingProfile& AddMediaConcurrencies(MediaConcurrency&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies.push_back(std::move(value)); return *this; }
303 
304 
308  inline const Aws::String& GetDefaultOutboundQueueId() const{ return m_defaultOutboundQueueId; }
309 
313  inline bool DefaultOutboundQueueIdHasBeenSet() const { return m_defaultOutboundQueueIdHasBeenSet; }
314 
318  inline void SetDefaultOutboundQueueId(const Aws::String& value) { m_defaultOutboundQueueIdHasBeenSet = true; m_defaultOutboundQueueId = value; }
319 
323  inline void SetDefaultOutboundQueueId(Aws::String&& value) { m_defaultOutboundQueueIdHasBeenSet = true; m_defaultOutboundQueueId = std::move(value); }
324 
328  inline void SetDefaultOutboundQueueId(const char* value) { m_defaultOutboundQueueIdHasBeenSet = true; m_defaultOutboundQueueId.assign(value); }
329 
333  inline RoutingProfile& WithDefaultOutboundQueueId(const Aws::String& value) { SetDefaultOutboundQueueId(value); return *this;}
334 
338  inline RoutingProfile& WithDefaultOutboundQueueId(Aws::String&& value) { SetDefaultOutboundQueueId(std::move(value)); return *this;}
339 
343  inline RoutingProfile& WithDefaultOutboundQueueId(const char* value) { SetDefaultOutboundQueueId(value); return *this;}
344 
345 
349  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
350 
354  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
355 
359  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
360 
364  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
365 
369  inline RoutingProfile& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
370 
374  inline RoutingProfile& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
375 
379  inline RoutingProfile& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
380 
384  inline RoutingProfile& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
385 
389  inline RoutingProfile& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
390 
394  inline RoutingProfile& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
395 
399  inline RoutingProfile& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
400 
404  inline RoutingProfile& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
405 
409  inline RoutingProfile& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
410 
411  private:
412 
413  Aws::String m_instanceId;
414  bool m_instanceIdHasBeenSet;
415 
416  Aws::String m_name;
417  bool m_nameHasBeenSet;
418 
419  Aws::String m_routingProfileArn;
420  bool m_routingProfileArnHasBeenSet;
421 
422  Aws::String m_routingProfileId;
423  bool m_routingProfileIdHasBeenSet;
424 
425  Aws::String m_description;
426  bool m_descriptionHasBeenSet;
427 
428  Aws::Vector<MediaConcurrency> m_mediaConcurrencies;
429  bool m_mediaConcurrenciesHasBeenSet;
430 
431  Aws::String m_defaultOutboundQueueId;
432  bool m_defaultOutboundQueueIdHasBeenSet;
433 
435  bool m_tagsHasBeenSet;
436  };
437 
438 } // namespace Model
439 } // namespace Connect
440 } // namespace Aws
Aws::Connect::Model::RoutingProfile::GetRoutingProfileId
const Aws::String & GetRoutingProfileId() const
Definition: RoutingProfile.h:177
Aws::Connect::Model::RoutingProfile::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: RoutingProfile.h:53
Aws::Connect::Model::RoutingProfile::SetName
void SetName(const Aws::String &value)
Definition: RoutingProfile.h:105
Aws::Connect::Model::RoutingProfile::SetDescription
void SetDescription(const char *value)
Definition: RoutingProfile.h:238
Aws::Connect::Model::RoutingProfile::SetName
void SetName(const char *value)
Definition: RoutingProfile.h:115
Aws::Connect::Model::MediaConcurrency
Definition: MediaConcurrency.h:34
Aws::Connect::Model::RoutingProfile::SetDefaultOutboundQueueId
void SetDefaultOutboundQueueId(const char *value)
Definition: RoutingProfile.h:328
Aws::Connect::Model::RoutingProfile::WithName
RoutingProfile & WithName(Aws::String &&value)
Definition: RoutingProfile.h:125
Aws::Connect::Model::RoutingProfile::SetDefaultOutboundQueueId
void SetDefaultOutboundQueueId(Aws::String &&value)
Definition: RoutingProfile.h:323
Aws::Connect::Model::RoutingProfile::RoutingProfile
RoutingProfile()
Aws::Connect::Model::RoutingProfile::AddTags
RoutingProfile & AddTags(const Aws::String &key, Aws::String &&value)
Definition: RoutingProfile.h:389
Aws::Connect::Model::RoutingProfile::WithName
RoutingProfile & WithName(const char *value)
Definition: RoutingProfile.h:130
Aws::Connect::Model::RoutingProfile::WithTags
RoutingProfile & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: RoutingProfile.h:374
Aws::Connect::Model::RoutingProfile::SetInstanceId
void SetInstanceId(const char *value)
Definition: RoutingProfile.h:71
Aws::Connect::Model::RoutingProfile::AddMediaConcurrencies
RoutingProfile & AddMediaConcurrencies(const MediaConcurrency &value)
Definition: RoutingProfile.h:296
Aws::Connect::Model::RoutingProfile::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::RoutingProfile::WithDescription
RoutingProfile & WithDescription(Aws::String &&value)
Definition: RoutingProfile.h:248
Aws::Connect::Model::RoutingProfile::WithRoutingProfileId
RoutingProfile & WithRoutingProfileId(const char *value)
Definition: RoutingProfile.h:212
Aws::Connect::Model::RoutingProfile::SetRoutingProfileId
void SetRoutingProfileId(Aws::String &&value)
Definition: RoutingProfile.h:192
Aws::Connect::Model::RoutingProfile::RoutingProfile
RoutingProfile(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::RoutingProfile::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: RoutingProfile.h:223
Aws::Connect::Model::RoutingProfile::AddTags
RoutingProfile & AddTags(const char *key, Aws::String &&value)
Definition: RoutingProfile.h:399
MediaConcurrency.h
Aws::Connect::Model::RoutingProfile::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: RoutingProfile.h:359
Aws::Connect::Model::RoutingProfile::WithDescription
RoutingProfile & WithDescription(const char *value)
Definition: RoutingProfile.h:253
Aws::Connect::Model::RoutingProfile::AddTags
RoutingProfile & AddTags(const Aws::String &key, const Aws::String &value)
Definition: RoutingProfile.h:379
Aws::Connect::Model::RoutingProfile::WithDescription
RoutingProfile & WithDescription(const Aws::String &value)
Definition: RoutingProfile.h:243
Aws::Connect::Model::RoutingProfile::SetMediaConcurrencies
void SetMediaConcurrencies(Aws::Vector< MediaConcurrency > &&value)
Definition: RoutingProfile.h:278
Aws::Connect::Model::RoutingProfile::GetDescription
const Aws::String & GetDescription() const
Definition: RoutingProfile.h:218
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::RoutingProfile::SetMediaConcurrencies
void SetMediaConcurrencies(const Aws::Vector< MediaConcurrency > &value)
Definition: RoutingProfile.h:272
AWSVector.h
Aws::Connect::Model::RoutingProfile::SetRoutingProfileArn
void SetRoutingProfileArn(Aws::String &&value)
Definition: RoutingProfile.h:151
Aws::Connect::Model::RoutingProfile::operator=
RoutingProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::RoutingProfile::WithDefaultOutboundQueueId
RoutingProfile & WithDefaultOutboundQueueId(Aws::String &&value)
Definition: RoutingProfile.h:338
Aws::Connect::Model::RoutingProfile::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: RoutingProfile.h:354
Aws::Connect::Model::RoutingProfile::RoutingProfileArnHasBeenSet
bool RoutingProfileArnHasBeenSet() const
Definition: RoutingProfile.h:141
Aws::Connect::Model::RoutingProfile::WithInstanceId
RoutingProfile & WithInstanceId(const char *value)
Definition: RoutingProfile.h:89
Aws::Connect::Model::RoutingProfile::WithTags
RoutingProfile & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: RoutingProfile.h:369
Aws::Connect::Model::RoutingProfile::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: RoutingProfile.h:65
Aws::Connect::Model::RoutingProfile::GetDefaultOutboundQueueId
const Aws::String & GetDefaultOutboundQueueId() const
Definition: RoutingProfile.h:308
Aws::Connect::Model::RoutingProfile::MediaConcurrenciesHasBeenSet
bool MediaConcurrenciesHasBeenSet() const
Definition: RoutingProfile.h:266
Aws::Connect::Model::RoutingProfile::SetDescription
void SetDescription(const Aws::String &value)
Definition: RoutingProfile.h:228
Aws::Connect::Model::RoutingProfile::AddTags
RoutingProfile & AddTags(Aws::String &&key, const char *value)
Definition: RoutingProfile.h:404
Aws::Connect::Model::RoutingProfile::AddTags
RoutingProfile & AddTags(Aws::String &&key, const Aws::String &value)
Definition: RoutingProfile.h:384
Aws::Connect::Model::RoutingProfile::WithMediaConcurrencies
RoutingProfile & WithMediaConcurrencies(const Aws::Vector< MediaConcurrency > &value)
Definition: RoutingProfile.h:284
Aws::Connect::Model::RoutingProfile::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: RoutingProfile.h:47
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Connect::Model::RoutingProfile::SetRoutingProfileArn
void SetRoutingProfileArn(const Aws::String &value)
Definition: RoutingProfile.h:146
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::RoutingProfile::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: RoutingProfile.h:364
Aws::Connect::Model::RoutingProfile::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: RoutingProfile.h:349
Aws::Connect::Model::RoutingProfile::AddMediaConcurrencies
RoutingProfile & AddMediaConcurrencies(MediaConcurrency &&value)
Definition: RoutingProfile.h:302
Aws::Connect::Model::RoutingProfile::WithDefaultOutboundQueueId
RoutingProfile & WithDefaultOutboundQueueId(const char *value)
Definition: RoutingProfile.h:343
Aws::Connect::Model::RoutingProfile::SetDescription
void SetDescription(Aws::String &&value)
Definition: RoutingProfile.h:233
Aws::Connect::Model::RoutingProfile::RoutingProfileIdHasBeenSet
bool RoutingProfileIdHasBeenSet() const
Definition: RoutingProfile.h:182
Aws::Connect::Model::RoutingProfile::DefaultOutboundQueueIdHasBeenSet
bool DefaultOutboundQueueIdHasBeenSet() const
Definition: RoutingProfile.h:313
Aws::Connect::Model::RoutingProfile::SetRoutingProfileId
void SetRoutingProfileId(const Aws::String &value)
Definition: RoutingProfile.h:187
Aws::Connect::Model::RoutingProfile::NameHasBeenSet
bool NameHasBeenSet() const
Definition: RoutingProfile.h:100
Aws::Connect::Model::RoutingProfile::SetRoutingProfileId
void SetRoutingProfileId(const char *value)
Definition: RoutingProfile.h:197
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::RoutingProfile::SetRoutingProfileArn
void SetRoutingProfileArn(const char *value)
Definition: RoutingProfile.h:156
Aws::Connect::Model::RoutingProfile::WithName
RoutingProfile & WithName(const Aws::String &value)
Definition: RoutingProfile.h:120
Aws::Connect::Model::RoutingProfile::WithRoutingProfileId
RoutingProfile & WithRoutingProfileId(const Aws::String &value)
Definition: RoutingProfile.h:202
Aws::Connect::Model::RoutingProfile::WithRoutingProfileId
RoutingProfile & WithRoutingProfileId(Aws::String &&value)
Definition: RoutingProfile.h:207
Aws::Connect::Model::RoutingProfile::WithInstanceId
RoutingProfile & WithInstanceId(Aws::String &&value)
Definition: RoutingProfile.h:83
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::RoutingProfile
Definition: RoutingProfile.h:35
Aws::Connect::Model::RoutingProfile::GetName
const Aws::String & GetName() const
Definition: RoutingProfile.h:95
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::RoutingProfile::GetMediaConcurrencies
const Aws::Vector< MediaConcurrency > & GetMediaConcurrencies() const
Definition: RoutingProfile.h:260
Aws::Connect::Model::RoutingProfile::AddTags
RoutingProfile & AddTags(Aws::String &&key, Aws::String &&value)
Definition: RoutingProfile.h:394
Aws::Connect::Model::RoutingProfile::SetName
void SetName(Aws::String &&value)
Definition: RoutingProfile.h:110
Aws::Connect::Model::RoutingProfile::AddTags
RoutingProfile & AddTags(const char *key, const char *value)
Definition: RoutingProfile.h:409
Aws::Connect::Model::RoutingProfile::WithRoutingProfileArn
RoutingProfile & WithRoutingProfileArn(const Aws::String &value)
Definition: RoutingProfile.h:161
Connect_EXPORTS.h
Aws::Connect::Model::RoutingProfile::WithRoutingProfileArn
RoutingProfile & WithRoutingProfileArn(Aws::String &&value)
Definition: RoutingProfile.h:166
AWSMap.h
Aws::Connect::Model::RoutingProfile::GetRoutingProfileArn
const Aws::String & GetRoutingProfileArn() const
Definition: RoutingProfile.h:136
Aws::Connect::Model::RoutingProfile::WithInstanceId
RoutingProfile & WithInstanceId(const Aws::String &value)
Definition: RoutingProfile.h:77
Aws::Connect::Model::RoutingProfile::WithMediaConcurrencies
RoutingProfile & WithMediaConcurrencies(Aws::Vector< MediaConcurrency > &&value)
Definition: RoutingProfile.h:290
Aws::Connect::Model::RoutingProfile::WithRoutingProfileArn
RoutingProfile & WithRoutingProfileArn(const char *value)
Definition: RoutingProfile.h:171
Aws::Connect::Model::RoutingProfile::WithDefaultOutboundQueueId
RoutingProfile & WithDefaultOutboundQueueId(const Aws::String &value)
Definition: RoutingProfile.h:333
Aws::Connect::Model::RoutingProfile::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: RoutingProfile.h:59
Aws::Connect::Model::RoutingProfile::SetDefaultOutboundQueueId
void SetDefaultOutboundQueueId(const Aws::String &value)
Definition: RoutingProfile.h:318
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19