AWS SDK for C++  1.9.159
AWS SDK for C++
CreateQueueRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Connect
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateQueue"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
42  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 
48  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
49 
54  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
55 
60  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
61 
66  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
67 
72  inline CreateQueueRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
73 
78  inline CreateQueueRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
79 
84  inline CreateQueueRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
85 
86 
90  inline const Aws::String& GetName() const{ return m_name; }
91 
95  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 
100  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
101 
105  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
106 
110  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
111 
115  inline CreateQueueRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
116 
120  inline CreateQueueRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
121 
125  inline CreateQueueRequest& WithName(const char* value) { SetName(value); return *this;}
126 
127 
131  inline const Aws::String& GetDescription() const{ return m_description; }
132 
136  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
137 
141  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
142 
146  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
147 
151  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
152 
156  inline CreateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
157 
161  inline CreateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
162 
166  inline CreateQueueRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
167 
168 
172  inline const OutboundCallerConfig& GetOutboundCallerConfig() const{ return m_outboundCallerConfig; }
173 
177  inline bool OutboundCallerConfigHasBeenSet() const { return m_outboundCallerConfigHasBeenSet; }
178 
182  inline void SetOutboundCallerConfig(const OutboundCallerConfig& value) { m_outboundCallerConfigHasBeenSet = true; m_outboundCallerConfig = value; }
183 
187  inline void SetOutboundCallerConfig(OutboundCallerConfig&& value) { m_outboundCallerConfigHasBeenSet = true; m_outboundCallerConfig = std::move(value); }
188 
192  inline CreateQueueRequest& WithOutboundCallerConfig(const OutboundCallerConfig& value) { SetOutboundCallerConfig(value); return *this;}
193 
197  inline CreateQueueRequest& WithOutboundCallerConfig(OutboundCallerConfig&& value) { SetOutboundCallerConfig(std::move(value)); return *this;}
198 
199 
203  inline const Aws::String& GetHoursOfOperationId() const{ return m_hoursOfOperationId; }
204 
208  inline bool HoursOfOperationIdHasBeenSet() const { return m_hoursOfOperationIdHasBeenSet; }
209 
213  inline void SetHoursOfOperationId(const Aws::String& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = value; }
214 
218  inline void SetHoursOfOperationId(Aws::String&& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = std::move(value); }
219 
223  inline void SetHoursOfOperationId(const char* value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId.assign(value); }
224 
228  inline CreateQueueRequest& WithHoursOfOperationId(const Aws::String& value) { SetHoursOfOperationId(value); return *this;}
229 
233  inline CreateQueueRequest& WithHoursOfOperationId(Aws::String&& value) { SetHoursOfOperationId(std::move(value)); return *this;}
234 
238  inline CreateQueueRequest& WithHoursOfOperationId(const char* value) { SetHoursOfOperationId(value); return *this;}
239 
240 
245  inline int GetMaxContacts() const{ return m_maxContacts; }
246 
251  inline bool MaxContactsHasBeenSet() const { return m_maxContactsHasBeenSet; }
252 
257  inline void SetMaxContacts(int value) { m_maxContactsHasBeenSet = true; m_maxContacts = value; }
258 
263  inline CreateQueueRequest& WithMaxContacts(int value) { SetMaxContacts(value); return *this;}
264 
265 
269  inline const Aws::Vector<Aws::String>& GetQuickConnectIds() const{ return m_quickConnectIds; }
270 
274  inline bool QuickConnectIdsHasBeenSet() const { return m_quickConnectIdsHasBeenSet; }
275 
279  inline void SetQuickConnectIds(const Aws::Vector<Aws::String>& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds = value; }
280 
284  inline void SetQuickConnectIds(Aws::Vector<Aws::String>&& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds = std::move(value); }
285 
289  inline CreateQueueRequest& WithQuickConnectIds(const Aws::Vector<Aws::String>& value) { SetQuickConnectIds(value); return *this;}
290 
294  inline CreateQueueRequest& WithQuickConnectIds(Aws::Vector<Aws::String>&& value) { SetQuickConnectIds(std::move(value)); return *this;}
295 
299  inline CreateQueueRequest& AddQuickConnectIds(const Aws::String& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(value); return *this; }
300 
304  inline CreateQueueRequest& AddQuickConnectIds(Aws::String&& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(std::move(value)); return *this; }
305 
309  inline CreateQueueRequest& AddQuickConnectIds(const char* value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(value); return *this; }
310 
311 
315  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
316 
320  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
321 
325  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
326 
330  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
331 
335  inline CreateQueueRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
336 
340  inline CreateQueueRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
341 
345  inline CreateQueueRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
346 
350  inline CreateQueueRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
351 
355  inline CreateQueueRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
356 
360  inline CreateQueueRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
361 
365  inline CreateQueueRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
366 
370  inline CreateQueueRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
371 
375  inline CreateQueueRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
376 
377  private:
378 
379  Aws::String m_instanceId;
380  bool m_instanceIdHasBeenSet;
381 
382  Aws::String m_name;
383  bool m_nameHasBeenSet;
384 
385  Aws::String m_description;
386  bool m_descriptionHasBeenSet;
387 
388  OutboundCallerConfig m_outboundCallerConfig;
389  bool m_outboundCallerConfigHasBeenSet;
390 
391  Aws::String m_hoursOfOperationId;
392  bool m_hoursOfOperationIdHasBeenSet;
393 
394  int m_maxContacts;
395  bool m_maxContactsHasBeenSet;
396 
397  Aws::Vector<Aws::String> m_quickConnectIds;
398  bool m_quickConnectIdsHasBeenSet;
399 
401  bool m_tagsHasBeenSet;
402  };
403 
404 } // namespace Model
405 } // namespace Connect
406 } // namespace Aws
Aws::Connect::Model::CreateQueueRequest::SetHoursOfOperationId
void SetHoursOfOperationId(Aws::String &&value)
Definition: CreateQueueRequest.h:218
Aws::Connect::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateQueueRequest.h:345
Aws::Connect::Model::CreateQueueRequest::WithInstanceId
CreateQueueRequest & WithInstanceId(const Aws::String &value)
Definition: CreateQueueRequest.h:72
Aws::Connect::Model::CreateQueueRequest::WithOutboundCallerConfig
CreateQueueRequest & WithOutboundCallerConfig(const OutboundCallerConfig &value)
Definition: CreateQueueRequest.h:192
Aws::Connect::Model::CreateQueueRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateQueueRequest.h:33
Aws::Connect::Model::CreateQueueRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: CreateQueueRequest.h:42
Aws::Connect::Model::CreateQueueRequest::WithOutboundCallerConfig
CreateQueueRequest & WithOutboundCallerConfig(OutboundCallerConfig &&value)
Definition: CreateQueueRequest.h:197
Aws::Connect::Model::CreateQueueRequest::SetOutboundCallerConfig
void SetOutboundCallerConfig(const OutboundCallerConfig &value)
Definition: CreateQueueRequest.h:182
Aws::Connect::Model::CreateQueueRequest::SetQuickConnectIds
void SetQuickConnectIds(const Aws::Vector< Aws::String > &value)
Definition: CreateQueueRequest.h:279
Aws::Connect::Model::CreateQueueRequest::GetOutboundCallerConfig
const OutboundCallerConfig & GetOutboundCallerConfig() const
Definition: CreateQueueRequest.h:172
Aws::Connect::Model::CreateQueueRequest::WithHoursOfOperationId
CreateQueueRequest & WithHoursOfOperationId(Aws::String &&value)
Definition: CreateQueueRequest.h:233
Aws::Connect::Model::CreateQueueRequest::WithDescription
CreateQueueRequest & WithDescription(const Aws::String &value)
Definition: CreateQueueRequest.h:156
Aws::Connect::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateQueueRequest.h:365
Aws::Connect::Model::CreateQueueRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateQueueRequest.h:105
Aws::Connect::Model::CreateQueueRequest::SetName
void SetName(const char *value)
Definition: CreateQueueRequest.h:110
Aws::Connect::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateQueueRequest.h:370
Aws::Connect::Model::CreateQueueRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateQueueRequest.h:315
Aws::Connect::Model::CreateQueueRequest::WithTags
CreateQueueRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateQueueRequest.h:340
Aws::Connect::Model::CreateQueueRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: CreateQueueRequest.h:66
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateQueueRequest.h:360
AWSVector.h
Aws::Connect::Model::CreateQueueRequest::MaxContactsHasBeenSet
bool MaxContactsHasBeenSet() const
Definition: CreateQueueRequest.h:251
Aws::Connect::Model::CreateQueueRequest::WithTags
CreateQueueRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateQueueRequest.h:335
Aws::Connect::Model::CreateQueueRequest::SetQuickConnectIds
void SetQuickConnectIds(Aws::Vector< Aws::String > &&value)
Definition: CreateQueueRequest.h:284
Aws::Connect::Model::CreateQueueRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateQueueRequest.h:131
Aws::Connect::Model::CreateQueueRequest::WithName
CreateQueueRequest & WithName(const Aws::String &value)
Definition: CreateQueueRequest.h:115
Aws::Connect::Model::CreateQueueRequest::WithInstanceId
CreateQueueRequest & WithInstanceId(const char *value)
Definition: CreateQueueRequest.h:84
Aws::Connect::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(const char *key, const char *value)
Definition: CreateQueueRequest.h:375
Aws::Connect::Model::CreateQueueRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateQueueRequest.h:100
Aws::Connect::Model::CreateQueueRequest::SetHoursOfOperationId
void SetHoursOfOperationId(const Aws::String &value)
Definition: CreateQueueRequest.h:213
Aws::Connect::Model::CreateQueueRequest::CreateQueueRequest
CreateQueueRequest()
Aws::Connect::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateQueueRequest.h:355
Aws::Connect::Model::CreateQueueRequest::GetName
const Aws::String & GetName() const
Definition: CreateQueueRequest.h:90
Aws::Connect::Model::CreateQueueRequest::WithDescription
CreateQueueRequest & WithDescription(const char *value)
Definition: CreateQueueRequest.h:166
Aws::Connect::Model::CreateQueueRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateQueueRequest.h:330
Aws::Connect::Model::CreateQueueRequest::AddQuickConnectIds
CreateQueueRequest & AddQuickConnectIds(const char *value)
Definition: CreateQueueRequest.h:309
Aws::Connect::Model::CreateQueueRequest::HoursOfOperationIdHasBeenSet
bool HoursOfOperationIdHasBeenSet() const
Definition: CreateQueueRequest.h:208
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::CreateQueueRequest::WithName
CreateQueueRequest & WithName(const char *value)
Definition: CreateQueueRequest.h:125
Aws::Connect::Model::CreateQueueRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateQueueRequest.h:320
Aws::Connect::Model::CreateQueueRequest::AddQuickConnectIds
CreateQueueRequest & AddQuickConnectIds(const Aws::String &value)
Definition: CreateQueueRequest.h:299
Aws::Connect::Model::CreateQueueRequest
Definition: CreateQueueRequest.h:25
AWSString.h
Aws::Connect::Model::CreateQueueRequest::WithQuickConnectIds
CreateQueueRequest & WithQuickConnectIds(const Aws::Vector< Aws::String > &value)
Definition: CreateQueueRequest.h:289
Aws::Connect::Model::CreateQueueRequest::SetOutboundCallerConfig
void SetOutboundCallerConfig(OutboundCallerConfig &&value)
Definition: CreateQueueRequest.h:187
Aws::Connect::Model::CreateQueueRequest::GetHoursOfOperationId
const Aws::String & GetHoursOfOperationId() const
Definition: CreateQueueRequest.h:203
Aws::Connect::Model::CreateQueueRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateQueueRequest.h:151
Aws::Connect::Model::OutboundCallerConfig
Definition: OutboundCallerConfig.h:33
Aws::Connect::Model::CreateQueueRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: CreateQueueRequest.h:54
Aws::Connect::Model::CreateQueueRequest::WithQuickConnectIds
CreateQueueRequest & WithQuickConnectIds(Aws::Vector< Aws::String > &&value)
Definition: CreateQueueRequest.h:294
Aws::Connect::Model::CreateQueueRequest::QuickConnectIdsHasBeenSet
bool QuickConnectIdsHasBeenSet() const
Definition: CreateQueueRequest.h:274
Aws::Connect::Model::CreateQueueRequest::WithHoursOfOperationId
CreateQueueRequest & WithHoursOfOperationId(const Aws::String &value)
Definition: CreateQueueRequest.h:228
Aws::Connect::Model::CreateQueueRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: CreateQueueRequest.h:60
Aws::Connect::Model::CreateQueueRequest::OutboundCallerConfigHasBeenSet
bool OutboundCallerConfigHasBeenSet() const
Definition: CreateQueueRequest.h:177
Aws::Connect::Model::CreateQueueRequest::SetHoursOfOperationId
void SetHoursOfOperationId(const char *value)
Definition: CreateQueueRequest.h:223
Aws::Connect::Model::CreateQueueRequest::SetMaxContacts
void SetMaxContacts(int value)
Definition: CreateQueueRequest.h:257
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::CreateQueueRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::CreateQueueRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateQueueRequest.h:95
Aws::Connect::Model::CreateQueueRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateQueueRequest.h:146
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::CreateQueueRequest::WithInstanceId
CreateQueueRequest & WithInstanceId(Aws::String &&value)
Definition: CreateQueueRequest.h:78
Aws::Connect::Model::CreateQueueRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: CreateQueueRequest.h:48
Aws::Connect::Model::CreateQueueRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateQueueRequest.h:325
Aws::Connect::Model::CreateQueueRequest::GetQuickConnectIds
const Aws::Vector< Aws::String > & GetQuickConnectIds() const
Definition: CreateQueueRequest.h:269
Aws::Connect::Model::CreateQueueRequest::WithDescription
CreateQueueRequest & WithDescription(Aws::String &&value)
Definition: CreateQueueRequest.h:161
Aws::Connect::Model::CreateQueueRequest::GetMaxContacts
int GetMaxContacts() const
Definition: CreateQueueRequest.h:245
Aws::Connect::Model::CreateQueueRequest::AddQuickConnectIds
CreateQueueRequest & AddQuickConnectIds(Aws::String &&value)
Definition: CreateQueueRequest.h:304
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
OutboundCallerConfig.h
Aws::Connect::Model::CreateQueueRequest::WithHoursOfOperationId
CreateQueueRequest & WithHoursOfOperationId(const char *value)
Definition: CreateQueueRequest.h:238
Aws::Connect::Model::CreateQueueRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateQueueRequest.h:141
Aws::Connect::Model::CreateQueueRequest::WithName
CreateQueueRequest & WithName(Aws::String &&value)
Definition: CreateQueueRequest.h:120
Aws::Connect::Model::CreateQueueRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateQueueRequest.h:136
Connect_EXPORTS.h
AWSMap.h
Aws::Connect::Model::CreateQueueRequest::AddTags
CreateQueueRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateQueueRequest.h:350
Aws::Connect::Model::CreateQueueRequest::WithMaxContacts
CreateQueueRequest & WithMaxContacts(int value)
Definition: CreateQueueRequest.h:263
ConnectRequest.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19