AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoutingProfile.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/connect/model/AgentAvailabilityTimer.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/connect/model/MediaConcurrency.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Connect
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_CONNECT_API RoutingProfile();
40 AWS_CONNECT_API RoutingProfile(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
52 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
53 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
54 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
55 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
56 inline RoutingProfile& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
57 inline RoutingProfile& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
58 inline RoutingProfile& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
60
62
65 inline const Aws::String& GetName() const{ return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 inline RoutingProfile& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline RoutingProfile& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline RoutingProfile& WithName(const char* value) { SetName(value); return *this;}
74
76
79 inline const Aws::String& GetRoutingProfileArn() const{ return m_routingProfileArn; }
80 inline bool RoutingProfileArnHasBeenSet() const { return m_routingProfileArnHasBeenSet; }
81 inline void SetRoutingProfileArn(const Aws::String& value) { m_routingProfileArnHasBeenSet = true; m_routingProfileArn = value; }
82 inline void SetRoutingProfileArn(Aws::String&& value) { m_routingProfileArnHasBeenSet = true; m_routingProfileArn = std::move(value); }
83 inline void SetRoutingProfileArn(const char* value) { m_routingProfileArnHasBeenSet = true; m_routingProfileArn.assign(value); }
84 inline RoutingProfile& WithRoutingProfileArn(const Aws::String& value) { SetRoutingProfileArn(value); return *this;}
85 inline RoutingProfile& WithRoutingProfileArn(Aws::String&& value) { SetRoutingProfileArn(std::move(value)); return *this;}
86 inline RoutingProfile& WithRoutingProfileArn(const char* value) { SetRoutingProfileArn(value); return *this;}
88
90
93 inline const Aws::String& GetRoutingProfileId() const{ return m_routingProfileId; }
94 inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
95 inline void SetRoutingProfileId(const Aws::String& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = value; }
96 inline void SetRoutingProfileId(Aws::String&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::move(value); }
97 inline void SetRoutingProfileId(const char* value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId.assign(value); }
98 inline RoutingProfile& WithRoutingProfileId(const Aws::String& value) { SetRoutingProfileId(value); return *this;}
99 inline RoutingProfile& WithRoutingProfileId(Aws::String&& value) { SetRoutingProfileId(std::move(value)); return *this;}
100 inline RoutingProfile& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
102
104
107 inline const Aws::String& GetDescription() const{ return m_description; }
108 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
109 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
110 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
111 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
112 inline RoutingProfile& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
113 inline RoutingProfile& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
114 inline RoutingProfile& WithDescription(const char* value) { SetDescription(value); return *this;}
116
118
122 inline const Aws::Vector<MediaConcurrency>& GetMediaConcurrencies() const{ return m_mediaConcurrencies; }
123 inline bool MediaConcurrenciesHasBeenSet() const { return m_mediaConcurrenciesHasBeenSet; }
124 inline void SetMediaConcurrencies(const Aws::Vector<MediaConcurrency>& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies = value; }
125 inline void SetMediaConcurrencies(Aws::Vector<MediaConcurrency>&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies = std::move(value); }
128 inline RoutingProfile& AddMediaConcurrencies(const MediaConcurrency& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies.push_back(value); return *this; }
129 inline RoutingProfile& AddMediaConcurrencies(MediaConcurrency&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies.push_back(std::move(value)); return *this; }
131
133
136 inline const Aws::String& GetDefaultOutboundQueueId() const{ return m_defaultOutboundQueueId; }
137 inline bool DefaultOutboundQueueIdHasBeenSet() const { return m_defaultOutboundQueueIdHasBeenSet; }
138 inline void SetDefaultOutboundQueueId(const Aws::String& value) { m_defaultOutboundQueueIdHasBeenSet = true; m_defaultOutboundQueueId = value; }
139 inline void SetDefaultOutboundQueueId(Aws::String&& value) { m_defaultOutboundQueueIdHasBeenSet = true; m_defaultOutboundQueueId = std::move(value); }
140 inline void SetDefaultOutboundQueueId(const char* value) { m_defaultOutboundQueueIdHasBeenSet = true; m_defaultOutboundQueueId.assign(value); }
142 inline RoutingProfile& WithDefaultOutboundQueueId(Aws::String&& value) { SetDefaultOutboundQueueId(std::move(value)); return *this;}
143 inline RoutingProfile& WithDefaultOutboundQueueId(const char* value) { SetDefaultOutboundQueueId(value); return *this;}
145
147
151 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
152 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
153 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
154 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
155 inline RoutingProfile& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
156 inline RoutingProfile& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
157 inline RoutingProfile& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
158 inline RoutingProfile& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
159 inline RoutingProfile& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
160 inline RoutingProfile& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
161 inline RoutingProfile& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
162 inline RoutingProfile& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
163 inline RoutingProfile& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
165
167
170 inline long long GetNumberOfAssociatedQueues() const{ return m_numberOfAssociatedQueues; }
171 inline bool NumberOfAssociatedQueuesHasBeenSet() const { return m_numberOfAssociatedQueuesHasBeenSet; }
172 inline void SetNumberOfAssociatedQueues(long long value) { m_numberOfAssociatedQueuesHasBeenSet = true; m_numberOfAssociatedQueues = value; }
173 inline RoutingProfile& WithNumberOfAssociatedQueues(long long value) { SetNumberOfAssociatedQueues(value); return *this;}
175
177
180 inline long long GetNumberOfAssociatedUsers() const{ return m_numberOfAssociatedUsers; }
181 inline bool NumberOfAssociatedUsersHasBeenSet() const { return m_numberOfAssociatedUsersHasBeenSet; }
182 inline void SetNumberOfAssociatedUsers(long long value) { m_numberOfAssociatedUsersHasBeenSet = true; m_numberOfAssociatedUsers = value; }
183 inline RoutingProfile& WithNumberOfAssociatedUsers(long long value) { SetNumberOfAssociatedUsers(value); return *this;}
185
187
192 inline const AgentAvailabilityTimer& GetAgentAvailabilityTimer() const{ return m_agentAvailabilityTimer; }
193 inline bool AgentAvailabilityTimerHasBeenSet() const { return m_agentAvailabilityTimerHasBeenSet; }
194 inline void SetAgentAvailabilityTimer(const AgentAvailabilityTimer& value) { m_agentAvailabilityTimerHasBeenSet = true; m_agentAvailabilityTimer = value; }
195 inline void SetAgentAvailabilityTimer(AgentAvailabilityTimer&& value) { m_agentAvailabilityTimerHasBeenSet = true; m_agentAvailabilityTimer = std::move(value); }
199
201
204 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
205 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
206 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
207 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
209 inline RoutingProfile& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
211
213
216 inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; }
217 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
218 inline void SetLastModifiedRegion(const Aws::String& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = value; }
219 inline void SetLastModifiedRegion(Aws::String&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::move(value); }
220 inline void SetLastModifiedRegion(const char* value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion.assign(value); }
221 inline RoutingProfile& WithLastModifiedRegion(const Aws::String& value) { SetLastModifiedRegion(value); return *this;}
222 inline RoutingProfile& WithLastModifiedRegion(Aws::String&& value) { SetLastModifiedRegion(std::move(value)); return *this;}
223 inline RoutingProfile& WithLastModifiedRegion(const char* value) { SetLastModifiedRegion(value); return *this;}
225
227
230 inline bool GetIsDefault() const{ return m_isDefault; }
231 inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
232 inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
233 inline RoutingProfile& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
235
237
240 inline const Aws::Vector<Aws::String>& GetAssociatedQueueIds() const{ return m_associatedQueueIds; }
241 inline bool AssociatedQueueIdsHasBeenSet() const { return m_associatedQueueIdsHasBeenSet; }
242 inline void SetAssociatedQueueIds(const Aws::Vector<Aws::String>& value) { m_associatedQueueIdsHasBeenSet = true; m_associatedQueueIds = value; }
243 inline void SetAssociatedQueueIds(Aws::Vector<Aws::String>&& value) { m_associatedQueueIdsHasBeenSet = true; m_associatedQueueIds = std::move(value); }
245 inline RoutingProfile& WithAssociatedQueueIds(Aws::Vector<Aws::String>&& value) { SetAssociatedQueueIds(std::move(value)); return *this;}
246 inline RoutingProfile& AddAssociatedQueueIds(const Aws::String& value) { m_associatedQueueIdsHasBeenSet = true; m_associatedQueueIds.push_back(value); return *this; }
247 inline RoutingProfile& AddAssociatedQueueIds(Aws::String&& value) { m_associatedQueueIdsHasBeenSet = true; m_associatedQueueIds.push_back(std::move(value)); return *this; }
248 inline RoutingProfile& AddAssociatedQueueIds(const char* value) { m_associatedQueueIdsHasBeenSet = true; m_associatedQueueIds.push_back(value); return *this; }
250 private:
251
252 Aws::String m_instanceId;
253 bool m_instanceIdHasBeenSet = false;
254
255 Aws::String m_name;
256 bool m_nameHasBeenSet = false;
257
258 Aws::String m_routingProfileArn;
259 bool m_routingProfileArnHasBeenSet = false;
260
261 Aws::String m_routingProfileId;
262 bool m_routingProfileIdHasBeenSet = false;
263
264 Aws::String m_description;
265 bool m_descriptionHasBeenSet = false;
266
267 Aws::Vector<MediaConcurrency> m_mediaConcurrencies;
268 bool m_mediaConcurrenciesHasBeenSet = false;
269
270 Aws::String m_defaultOutboundQueueId;
271 bool m_defaultOutboundQueueIdHasBeenSet = false;
272
274 bool m_tagsHasBeenSet = false;
275
276 long long m_numberOfAssociatedQueues;
277 bool m_numberOfAssociatedQueuesHasBeenSet = false;
278
279 long long m_numberOfAssociatedUsers;
280 bool m_numberOfAssociatedUsersHasBeenSet = false;
281
282 AgentAvailabilityTimer m_agentAvailabilityTimer;
283 bool m_agentAvailabilityTimerHasBeenSet = false;
284
285 Aws::Utils::DateTime m_lastModifiedTime;
286 bool m_lastModifiedTimeHasBeenSet = false;
287
288 Aws::String m_lastModifiedRegion;
289 bool m_lastModifiedRegionHasBeenSet = false;
290
291 bool m_isDefault;
292 bool m_isDefaultHasBeenSet = false;
293
294 Aws::Vector<Aws::String> m_associatedQueueIds;
295 bool m_associatedQueueIdsHasBeenSet = false;
296 };
297
298} // namespace Model
299} // namespace Connect
300} // namespace Aws
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetName() const
const Aws::String & GetDefaultOutboundQueueId() const
void SetAssociatedQueueIds(Aws::Vector< Aws::String > &&value)
RoutingProfile & WithAgentAvailabilityTimer(AgentAvailabilityTimer &&value)
RoutingProfile & AddMediaConcurrencies(MediaConcurrency &&value)
void SetDescription(Aws::String &&value)
void SetAssociatedQueueIds(const Aws::Vector< Aws::String > &value)
RoutingProfile & AddAssociatedQueueIds(const Aws::String &value)
void SetAgentAvailabilityTimer(AgentAvailabilityTimer &&value)
void SetDescription(const char *value)
void SetInstanceId(Aws::String &&value)
const AgentAvailabilityTimer & GetAgentAvailabilityTimer() const
RoutingProfile & AddTags(Aws::String &&key, Aws::String &&value)
RoutingProfile & WithDescription(const char *value)
RoutingProfile & WithName(const Aws::String &value)
const Aws::String & GetRoutingProfileArn() const
void SetRoutingProfileId(Aws::String &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RoutingProfile & WithAssociatedQueueIds(Aws::Vector< Aws::String > &&value)
RoutingProfile & WithInstanceId(Aws::String &&value)
RoutingProfile & WithRoutingProfileId(const Aws::String &value)
long long GetNumberOfAssociatedQueues() const
RoutingProfile & AddTags(const char *key, const char *value)
RoutingProfile & WithInstanceId(const Aws::String &value)
void SetName(const char *value)
RoutingProfile & AddTags(const Aws::String &key, const Aws::String &value)
void SetRoutingProfileArn(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
const Aws::String & GetDescription() const
void SetLastModifiedRegion(Aws::String &&value)
void SetName(const Aws::String &value)
void SetRoutingProfileArn(const char *value)
RoutingProfile & WithDefaultOutboundQueueId(Aws::String &&value)
RoutingProfile & WithInstanceId(const char *value)
void SetLastModifiedRegion(const char *value)
RoutingProfile & WithLastModifiedRegion(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RoutingProfile & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetDefaultOutboundQueueId(const char *value)
RoutingProfile & WithRoutingProfileId(const char *value)
const Aws::Vector< Aws::String > & GetAssociatedQueueIds() const
RoutingProfile & WithDescription(Aws::String &&value)
RoutingProfile & WithDefaultOutboundQueueId(const Aws::String &value)
RoutingProfile & WithMediaConcurrencies(const Aws::Vector< MediaConcurrency > &value)
RoutingProfile & AddAssociatedQueueIds(const char *value)
RoutingProfile & WithName(Aws::String &&value)
void SetNumberOfAssociatedUsers(long long value)
void SetDescription(const Aws::String &value)
RoutingProfile & WithRoutingProfileId(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
RoutingProfile & WithMediaConcurrencies(Aws::Vector< MediaConcurrency > &&value)
const Aws::String & GetRoutingProfileId() const
RoutingProfile & WithRoutingProfileArn(const Aws::String &value)
void SetInstanceId(const char *value)
AWS_CONNECT_API RoutingProfile(Aws::Utils::Json::JsonView jsonValue)
RoutingProfile & WithAssociatedQueueIds(const Aws::Vector< Aws::String > &value)
void SetAgentAvailabilityTimer(const AgentAvailabilityTimer &value)
RoutingProfile & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Vector< MediaConcurrency > & GetMediaConcurrencies() const
RoutingProfile & WithAgentAvailabilityTimer(const AgentAvailabilityTimer &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetRoutingProfileId(const char *value)
void SetMediaConcurrencies(const Aws::Vector< MediaConcurrency > &value)
void SetLastModifiedRegion(const Aws::String &value)
RoutingProfile & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
RoutingProfile & WithLastModifiedRegion(const char *value)
RoutingProfile & AddAssociatedQueueIds(Aws::String &&value)
RoutingProfile & WithRoutingProfileArn(Aws::String &&value)
void SetDefaultOutboundQueueId(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetRoutingProfileArn(const Aws::String &value)
RoutingProfile & AddTags(const char *key, Aws::String &&value)
RoutingProfile & WithNumberOfAssociatedUsers(long long value)
RoutingProfile & WithIsDefault(bool value)
void SetName(Aws::String &&value)
RoutingProfile & WithLastModifiedRegion(const Aws::String &value)
const Aws::String & GetInstanceId() const
void SetMediaConcurrencies(Aws::Vector< MediaConcurrency > &&value)
const Aws::String & GetLastModifiedRegion() const
RoutingProfile & AddTags(const Aws::String &key, Aws::String &&value)
AWS_CONNECT_API RoutingProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutingProfile & WithNumberOfAssociatedQueues(long long value)
RoutingProfile & WithDefaultOutboundQueueId(const char *value)
RoutingProfile & AddMediaConcurrencies(const MediaConcurrency &value)
RoutingProfile & WithDescription(const Aws::String &value)
void SetRoutingProfileId(const Aws::String &value)
RoutingProfile & WithLastModifiedTime(Aws::Utils::DateTime &&value)
RoutingProfile & WithRoutingProfileArn(const char *value)
void SetNumberOfAssociatedQueues(long long value)
void SetDefaultOutboundQueueId(const Aws::String &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
RoutingProfile & WithName(const char *value)
RoutingProfile & AddTags(Aws::String &&key, const Aws::String &value)
RoutingProfile & AddTags(Aws::String &&key, const char *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
Aws::Utils::Json::JsonValue JsonValue