AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateQueueRequest.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/connect/model/OutboundCallerConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Connect
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CONNECT_API CreateQueueRequest();
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_CONNECT_API Aws::String SerializePayload() const override;
36
37
39
44 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
45 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
47 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
48 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
49 inline CreateQueueRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
50 inline CreateQueueRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
51 inline CreateQueueRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline CreateQueueRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline CreateQueueRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline CreateQueueRequest& WithName(const char* value) { SetName(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline CreateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline CreateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline CreateQueueRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline const OutboundCallerConfig& GetOutboundCallerConfig() const{ return m_outboundCallerConfig; }
87 inline bool OutboundCallerConfigHasBeenSet() const { return m_outboundCallerConfigHasBeenSet; }
88 inline void SetOutboundCallerConfig(const OutboundCallerConfig& value) { m_outboundCallerConfigHasBeenSet = true; m_outboundCallerConfig = value; }
89 inline void SetOutboundCallerConfig(OutboundCallerConfig&& value) { m_outboundCallerConfigHasBeenSet = true; m_outboundCallerConfig = std::move(value); }
93
95
98 inline const Aws::String& GetHoursOfOperationId() const{ return m_hoursOfOperationId; }
99 inline bool HoursOfOperationIdHasBeenSet() const { return m_hoursOfOperationIdHasBeenSet; }
100 inline void SetHoursOfOperationId(const Aws::String& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = value; }
101 inline void SetHoursOfOperationId(Aws::String&& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = std::move(value); }
102 inline void SetHoursOfOperationId(const char* value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId.assign(value); }
103 inline CreateQueueRequest& WithHoursOfOperationId(const Aws::String& value) { SetHoursOfOperationId(value); return *this;}
104 inline CreateQueueRequest& WithHoursOfOperationId(Aws::String&& value) { SetHoursOfOperationId(std::move(value)); return *this;}
105 inline CreateQueueRequest& WithHoursOfOperationId(const char* value) { SetHoursOfOperationId(value); return *this;}
107
109
113 inline int GetMaxContacts() const{ return m_maxContacts; }
114 inline bool MaxContactsHasBeenSet() const { return m_maxContactsHasBeenSet; }
115 inline void SetMaxContacts(int value) { m_maxContactsHasBeenSet = true; m_maxContacts = value; }
116 inline CreateQueueRequest& WithMaxContacts(int value) { SetMaxContacts(value); return *this;}
118
120
123 inline const Aws::Vector<Aws::String>& GetQuickConnectIds() const{ return m_quickConnectIds; }
124 inline bool QuickConnectIdsHasBeenSet() const { return m_quickConnectIdsHasBeenSet; }
125 inline void SetQuickConnectIds(const Aws::Vector<Aws::String>& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds = value; }
126 inline void SetQuickConnectIds(Aws::Vector<Aws::String>&& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds = std::move(value); }
128 inline CreateQueueRequest& WithQuickConnectIds(Aws::Vector<Aws::String>&& value) { SetQuickConnectIds(std::move(value)); return *this;}
129 inline CreateQueueRequest& AddQuickConnectIds(const Aws::String& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(value); return *this; }
130 inline CreateQueueRequest& AddQuickConnectIds(Aws::String&& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(std::move(value)); return *this; }
131 inline CreateQueueRequest& AddQuickConnectIds(const char* value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(value); return *this; }
133
135
139 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
140 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
141 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
142 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
143 inline CreateQueueRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
144 inline CreateQueueRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
145 inline CreateQueueRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
146 inline CreateQueueRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
147 inline CreateQueueRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
148 inline CreateQueueRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
149 inline CreateQueueRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
150 inline CreateQueueRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
151 inline CreateQueueRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
153 private:
154
155 Aws::String m_instanceId;
156 bool m_instanceIdHasBeenSet = false;
157
158 Aws::String m_name;
159 bool m_nameHasBeenSet = false;
160
161 Aws::String m_description;
162 bool m_descriptionHasBeenSet = false;
163
164 OutboundCallerConfig m_outboundCallerConfig;
165 bool m_outboundCallerConfigHasBeenSet = false;
166
167 Aws::String m_hoursOfOperationId;
168 bool m_hoursOfOperationIdHasBeenSet = false;
169
170 int m_maxContacts;
171 bool m_maxContactsHasBeenSet = false;
172
173 Aws::Vector<Aws::String> m_quickConnectIds;
174 bool m_quickConnectIdsHasBeenSet = false;
175
177 bool m_tagsHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace Connect
182} // namespace Aws
void SetQuickConnectIds(Aws::Vector< Aws::String > &&value)
CreateQueueRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Vector< Aws::String > & GetQuickConnectIds() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateQueueRequest & WithHoursOfOperationId(const char *value)
const Aws::String & GetHoursOfOperationId() const
void SetOutboundCallerConfig(const OutboundCallerConfig &value)
void SetQuickConnectIds(const Aws::Vector< Aws::String > &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetOutboundCallerConfig(OutboundCallerConfig &&value)
void SetInstanceId(const Aws::String &value)
CreateQueueRequest & AddQuickConnectIds(Aws::String &&value)
const OutboundCallerConfig & GetOutboundCallerConfig() const
CreateQueueRequest & AddQuickConnectIds(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateQueueRequest & WithInstanceId(const char *value)
CreateQueueRequest & AddQuickConnectIds(const Aws::String &value)
const Aws::String & GetInstanceId() const
CreateQueueRequest & AddTags(const char *key, Aws::String &&value)
void SetDescription(const Aws::String &value)
CreateQueueRequest & WithMaxContacts(int value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateQueueRequest & WithHoursOfOperationId(const Aws::String &value)
CreateQueueRequest & WithOutboundCallerConfig(OutboundCallerConfig &&value)
CreateQueueRequest & WithQuickConnectIds(Aws::Vector< Aws::String > &&value)
CreateQueueRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateQueueRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetHoursOfOperationId(Aws::String &&value)
CreateQueueRequest & WithName(Aws::String &&value)
CreateQueueRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateQueueRequest & AddTags(Aws::String &&key, const char *value)
CreateQueueRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetDescription() const
void SetHoursOfOperationId(const Aws::String &value)
CreateQueueRequest & WithQuickConnectIds(const Aws::Vector< Aws::String > &value)
CreateQueueRequest & WithName(const char *value)
CreateQueueRequest & WithInstanceId(const Aws::String &value)
CreateQueueRequest & WithDescription(const char *value)
CreateQueueRequest & WithHoursOfOperationId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateQueueRequest & AddTags(const char *key, const char *value)
CreateQueueRequest & WithInstanceId(Aws::String &&value)
CreateQueueRequest & WithOutboundCallerConfig(const OutboundCallerConfig &value)
CreateQueueRequest & WithDescription(const Aws::String &value)
CreateQueueRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetName(const Aws::String &value)
CreateQueueRequest & WithName(const Aws::String &value)
CreateQueueRequest & WithDescription(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
std::vector< T, Aws::Allocator< T > > Vector