AWS SDK for C++  1.9.160
AWS SDK for C++
Queue.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:
37  Queue();
41 
42 
46  inline const Aws::String& GetName() const{ return m_name; }
47 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
56  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 
61  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 
66  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 
71  inline Queue& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
76  inline Queue& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 
81  inline Queue& WithName(const char* value) { SetName(value); return *this;}
82 
83 
87  inline const Aws::String& GetQueueArn() const{ return m_queueArn; }
88 
92  inline bool QueueArnHasBeenSet() const { return m_queueArnHasBeenSet; }
93 
97  inline void SetQueueArn(const Aws::String& value) { m_queueArnHasBeenSet = true; m_queueArn = value; }
98 
102  inline void SetQueueArn(Aws::String&& value) { m_queueArnHasBeenSet = true; m_queueArn = std::move(value); }
103 
107  inline void SetQueueArn(const char* value) { m_queueArnHasBeenSet = true; m_queueArn.assign(value); }
108 
112  inline Queue& WithQueueArn(const Aws::String& value) { SetQueueArn(value); return *this;}
113 
117  inline Queue& WithQueueArn(Aws::String&& value) { SetQueueArn(std::move(value)); return *this;}
118 
122  inline Queue& WithQueueArn(const char* value) { SetQueueArn(value); return *this;}
123 
124 
128  inline const Aws::String& GetQueueId() const{ return m_queueId; }
129 
133  inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
134 
138  inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
139 
143  inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
144 
148  inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
149 
153  inline Queue& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
154 
158  inline Queue& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
159 
163  inline Queue& WithQueueId(const char* value) { SetQueueId(value); return *this;}
164 
165 
169  inline const Aws::String& GetDescription() const{ return m_description; }
170 
174  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
175 
179  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
180 
184  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
185 
189  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
190 
194  inline Queue& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
195 
199  inline Queue& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
200 
204  inline Queue& WithDescription(const char* value) { SetDescription(value); return *this;}
205 
206 
210  inline const OutboundCallerConfig& GetOutboundCallerConfig() const{ return m_outboundCallerConfig; }
211 
215  inline bool OutboundCallerConfigHasBeenSet() const { return m_outboundCallerConfigHasBeenSet; }
216 
220  inline void SetOutboundCallerConfig(const OutboundCallerConfig& value) { m_outboundCallerConfigHasBeenSet = true; m_outboundCallerConfig = value; }
221 
225  inline void SetOutboundCallerConfig(OutboundCallerConfig&& value) { m_outboundCallerConfigHasBeenSet = true; m_outboundCallerConfig = std::move(value); }
226 
230  inline Queue& WithOutboundCallerConfig(const OutboundCallerConfig& value) { SetOutboundCallerConfig(value); return *this;}
231 
235  inline Queue& WithOutboundCallerConfig(OutboundCallerConfig&& value) { SetOutboundCallerConfig(std::move(value)); return *this;}
236 
237 
241  inline const Aws::String& GetHoursOfOperationId() const{ return m_hoursOfOperationId; }
242 
246  inline bool HoursOfOperationIdHasBeenSet() const { return m_hoursOfOperationIdHasBeenSet; }
247 
251  inline void SetHoursOfOperationId(const Aws::String& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = value; }
252 
256  inline void SetHoursOfOperationId(Aws::String&& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = std::move(value); }
257 
261  inline void SetHoursOfOperationId(const char* value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId.assign(value); }
262 
266  inline Queue& WithHoursOfOperationId(const Aws::String& value) { SetHoursOfOperationId(value); return *this;}
267 
271  inline Queue& WithHoursOfOperationId(Aws::String&& value) { SetHoursOfOperationId(std::move(value)); return *this;}
272 
276  inline Queue& WithHoursOfOperationId(const char* value) { SetHoursOfOperationId(value); return *this;}
277 
278 
283  inline int GetMaxContacts() const{ return m_maxContacts; }
284 
289  inline bool MaxContactsHasBeenSet() const { return m_maxContactsHasBeenSet; }
290 
295  inline void SetMaxContacts(int value) { m_maxContactsHasBeenSet = true; m_maxContacts = value; }
296 
301  inline Queue& WithMaxContacts(int value) { SetMaxContacts(value); return *this;}
302 
303 
307  inline const QueueStatus& GetStatus() const{ return m_status; }
308 
312  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
313 
317  inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; }
318 
322  inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
323 
327  inline Queue& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;}
328 
332  inline Queue& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;}
333 
334 
338  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
339 
343  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
344 
348  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
349 
353  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
354 
358  inline Queue& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
359 
363  inline Queue& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
364 
368  inline Queue& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
369 
373  inline Queue& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
374 
378  inline Queue& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
379 
383  inline Queue& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
384 
388  inline Queue& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
389 
393  inline Queue& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
394 
398  inline Queue& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
399 
400  private:
401 
402  Aws::String m_name;
403  bool m_nameHasBeenSet;
404 
405  Aws::String m_queueArn;
406  bool m_queueArnHasBeenSet;
407 
408  Aws::String m_queueId;
409  bool m_queueIdHasBeenSet;
410 
411  Aws::String m_description;
412  bool m_descriptionHasBeenSet;
413 
414  OutboundCallerConfig m_outboundCallerConfig;
415  bool m_outboundCallerConfigHasBeenSet;
416 
417  Aws::String m_hoursOfOperationId;
418  bool m_hoursOfOperationIdHasBeenSet;
419 
420  int m_maxContacts;
421  bool m_maxContactsHasBeenSet;
422 
423  QueueStatus m_status;
424  bool m_statusHasBeenSet;
425 
427  bool m_tagsHasBeenSet;
428  };
429 
430 } // namespace Model
431 } // namespace Connect
432 } // namespace Aws
Aws::Connect::Model::Queue::GetQueueArn
const Aws::String & GetQueueArn() const
Definition: Queue.h:87
Aws::Connect::Model::Queue::WithHoursOfOperationId
Queue & WithHoursOfOperationId(Aws::String &&value)
Definition: Queue.h:271
Aws::Connect::Model::Queue::WithStatus
Queue & WithStatus(QueueStatus &&value)
Definition: Queue.h:332
Aws::Connect::Model::Queue::WithStatus
Queue & WithStatus(const QueueStatus &value)
Definition: Queue.h:327
Aws::Connect::Model::Queue::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Queue.h:312
Aws::Connect::Model::Queue::GetName
const Aws::String & GetName() const
Definition: Queue.h:46
Aws::Connect::Model::Queue::WithDescription
Queue & WithDescription(Aws::String &&value)
Definition: Queue.h:199
Aws::Connect::Model::Queue::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Queue.h:51
Aws::Connect::Model::Queue::QueueIdHasBeenSet
bool QueueIdHasBeenSet() const
Definition: Queue.h:133
Aws::Connect::Model::Queue::SetQueueArn
void SetQueueArn(Aws::String &&value)
Definition: Queue.h:102
QueueStatus.h
Aws::Connect::Model::Queue::WithMaxContacts
Queue & WithMaxContacts(int value)
Definition: Queue.h:301
Aws::Connect::Model::Queue::SetQueueId
void SetQueueId(Aws::String &&value)
Definition: Queue.h:143
Aws::Connect::Model::Queue::SetName
void SetName(Aws::String &&value)
Definition: Queue.h:61
Aws::Connect::Model::Queue::SetDescription
void SetDescription(const Aws::String &value)
Definition: Queue.h:179
Aws::Connect::Model::Queue::WithQueueId
Queue & WithQueueId(const char *value)
Definition: Queue.h:163
Aws::Connect::Model::Queue::WithOutboundCallerConfig
Queue & WithOutboundCallerConfig(OutboundCallerConfig &&value)
Definition: Queue.h:235
Aws::Connect::Model::Queue::WithName
Queue & WithName(const char *value)
Definition: Queue.h:81
Aws::Connect::Model::Queue::GetOutboundCallerConfig
const OutboundCallerConfig & GetOutboundCallerConfig() const
Definition: Queue.h:210
Aws::Connect::Model::Queue::WithTags
Queue & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Queue.h:358
Aws::Connect::Model::Queue::GetMaxContacts
int GetMaxContacts() const
Definition: Queue.h:283
Aws::Connect::Model::Queue::SetDescription
void SetDescription(const char *value)
Definition: Queue.h:189
Aws::Connect::Model::Queue::WithQueueArn
Queue & WithQueueArn(const Aws::String &value)
Definition: Queue.h:112
Aws::Connect::Model::Queue::WithQueueArn
Queue & WithQueueArn(Aws::String &&value)
Definition: Queue.h:117
Aws::Connect::Model::Queue::WithQueueArn
Queue & WithQueueArn(const char *value)
Definition: Queue.h:122
Aws::Connect::Model::Queue::SetQueueArn
void SetQueueArn(const Aws::String &value)
Definition: Queue.h:97
Aws::Connect::Model::Queue::HoursOfOperationIdHasBeenSet
bool HoursOfOperationIdHasBeenSet() const
Definition: Queue.h:246
Aws::Connect::Model::Queue::OutboundCallerConfigHasBeenSet
bool OutboundCallerConfigHasBeenSet() const
Definition: Queue.h:215
Aws::Connect::Model::Queue::WithHoursOfOperationId
Queue & WithHoursOfOperationId(const Aws::String &value)
Definition: Queue.h:266
Aws::Connect::Model::Queue::GetQueueId
const Aws::String & GetQueueId() const
Definition: Queue.h:128
Aws::Connect::Model::Queue::MaxContactsHasBeenSet
bool MaxContactsHasBeenSet() const
Definition: Queue.h:289
Aws::Connect::Model::Queue::WithDescription
Queue & WithDescription(const char *value)
Definition: Queue.h:204
Aws::Connect::Model::Queue::SetName
void SetName(const Aws::String &value)
Definition: Queue.h:56
Aws::Connect::Model::Queue::GetStatus
const QueueStatus & GetStatus() const
Definition: Queue.h:307
Aws::Connect::Model::Queue::SetQueueId
void SetQueueId(const char *value)
Definition: Queue.h:148
Aws::Connect::Model::Queue::operator=
Queue & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::Queue::SetMaxContacts
void SetMaxContacts(int value)
Definition: Queue.h:295
Aws::Connect::Model::Queue::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::Queue::SetHoursOfOperationId
void SetHoursOfOperationId(const char *value)
Definition: Queue.h:261
Aws::Connect::Model::Queue::SetHoursOfOperationId
void SetHoursOfOperationId(Aws::String &&value)
Definition: Queue.h:256
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Connect::Model::Queue::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: Queue.h:338
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::Queue::WithDescription
Queue & WithDescription(const Aws::String &value)
Definition: Queue.h:194
Aws::Connect::Model::OutboundCallerConfig
Definition: OutboundCallerConfig.h:33
Aws::Connect::Model::Queue::SetName
void SetName(const char *value)
Definition: Queue.h:66
Aws::Connect::Model::Queue::AddTags
Queue & AddTags(Aws::String &&key, const Aws::String &value)
Definition: Queue.h:373
Aws::Connect::Model::Queue::AddTags
Queue & AddTags(const char *key, const char *value)
Definition: Queue.h:398
Aws::Connect::Model::Queue::GetHoursOfOperationId
const Aws::String & GetHoursOfOperationId() const
Definition: Queue.h:241
Aws::Connect::Model::Queue::WithQueueId
Queue & WithQueueId(Aws::String &&value)
Definition: Queue.h:158
Aws::Connect::Model::Queue::SetHoursOfOperationId
void SetHoursOfOperationId(const Aws::String &value)
Definition: Queue.h:251
Aws::Connect::Model::Queue::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Queue.h:174
Aws::Connect::Model::QueueStatus
QueueStatus
Definition: QueueStatus.h:17
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::Queue::SetOutboundCallerConfig
void SetOutboundCallerConfig(const OutboundCallerConfig &value)
Definition: Queue.h:220
Aws::Connect::Model::Queue::SetOutboundCallerConfig
void SetOutboundCallerConfig(OutboundCallerConfig &&value)
Definition: Queue.h:225
Aws::Connect::Model::Queue::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Queue.h:348
Aws::Connect::Model::Queue::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Queue.h:343
Aws::Connect::Model::Queue::SetQueueId
void SetQueueId(const Aws::String &value)
Definition: Queue.h:138
Aws::Connect::Model::Queue::AddTags
Queue & AddTags(const Aws::String &key, Aws::String &&value)
Definition: Queue.h:378
Aws::Connect::Model::Queue::SetStatus
void SetStatus(QueueStatus &&value)
Definition: Queue.h:322
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::Queue::WithName
Queue & WithName(const Aws::String &value)
Definition: Queue.h:71
Aws::Connect::Model::Queue::SetStatus
void SetStatus(const QueueStatus &value)
Definition: Queue.h:317
Aws::Connect::Model::Queue::GetDescription
const Aws::String & GetDescription() const
Definition: Queue.h:169
Aws::Connect::Model::Queue::SetQueueArn
void SetQueueArn(const char *value)
Definition: Queue.h:107
Aws::Connect::Model::Queue::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Queue.h:353
Aws::Connect::Model::Queue::Queue
Queue()
Aws::Connect::Model::Queue::WithName
Queue & WithName(Aws::String &&value)
Definition: Queue.h:76
Aws::Connect::Model::Queue::AddTags
Queue & AddTags(const Aws::String &key, const Aws::String &value)
Definition: Queue.h:368
Aws::Connect::Model::Queue::WithQueueId
Queue & WithQueueId(const Aws::String &value)
Definition: Queue.h:153
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::Queue::AddTags
Queue & AddTags(Aws::String &&key, const char *value)
Definition: Queue.h:393
OutboundCallerConfig.h
Aws::Connect::Model::Queue::WithHoursOfOperationId
Queue & WithHoursOfOperationId(const char *value)
Definition: Queue.h:276
Aws::Connect::Model::Queue::AddTags
Queue & AddTags(Aws::String &&key, Aws::String &&value)
Definition: Queue.h:383
Connect_EXPORTS.h
AWSMap.h
Aws::Connect::Model::Queue::WithOutboundCallerConfig
Queue & WithOutboundCallerConfig(const OutboundCallerConfig &value)
Definition: Queue.h:230
Aws::Connect::Model::Queue::QueueArnHasBeenSet
bool QueueArnHasBeenSet() const
Definition: Queue.h:92
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Connect::Model::Queue::SetDescription
void SetDescription(Aws::String &&value)
Definition: Queue.h:184
Aws::Connect::Model::Queue::AddTags
Queue & AddTags(const char *key, Aws::String &&value)
Definition: Queue.h:388
Aws::Connect::Model::Queue::Queue
Queue(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::Queue
Definition: Queue.h:35
Aws::Connect::Model::Queue::WithTags
Queue & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Queue.h:363