AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRoutingProfileRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/connect/model/AgentAvailabilityTimer.h>
13#include <aws/connect/model/RoutingProfileQueueConfig.h>
14#include <aws/connect/model/MediaConcurrency.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Connect
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CONNECT_API CreateRoutingProfileRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateRoutingProfile"; }
36
37 AWS_CONNECT_API Aws::String SerializePayload() const override;
38
39
41
46 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
47 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
48 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
49 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
50 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
51 inline CreateRoutingProfileRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
52 inline CreateRoutingProfileRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
53 inline CreateRoutingProfileRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline CreateRoutingProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline CreateRoutingProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline CreateRoutingProfileRequest& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline CreateRoutingProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline CreateRoutingProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline CreateRoutingProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const Aws::String& GetDefaultOutboundQueueId() const{ return m_defaultOutboundQueueId; }
89 inline bool DefaultOutboundQueueIdHasBeenSet() const { return m_defaultOutboundQueueIdHasBeenSet; }
90 inline void SetDefaultOutboundQueueId(const Aws::String& value) { m_defaultOutboundQueueIdHasBeenSet = true; m_defaultOutboundQueueId = value; }
91 inline void SetDefaultOutboundQueueId(Aws::String&& value) { m_defaultOutboundQueueIdHasBeenSet = true; m_defaultOutboundQueueId = std::move(value); }
92 inline void SetDefaultOutboundQueueId(const char* value) { m_defaultOutboundQueueIdHasBeenSet = true; m_defaultOutboundQueueId.assign(value); }
95 inline CreateRoutingProfileRequest& WithDefaultOutboundQueueId(const char* value) { SetDefaultOutboundQueueId(value); return *this;}
97
99
109 inline const Aws::Vector<RoutingProfileQueueConfig>& GetQueueConfigs() const{ return m_queueConfigs; }
110 inline bool QueueConfigsHasBeenSet() const { return m_queueConfigsHasBeenSet; }
111 inline void SetQueueConfigs(const Aws::Vector<RoutingProfileQueueConfig>& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = value; }
112 inline void SetQueueConfigs(Aws::Vector<RoutingProfileQueueConfig>&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = std::move(value); }
115 inline CreateRoutingProfileRequest& AddQueueConfigs(const RoutingProfileQueueConfig& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(value); return *this; }
116 inline CreateRoutingProfileRequest& AddQueueConfigs(RoutingProfileQueueConfig&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(std::move(value)); return *this; }
118
120
124 inline const Aws::Vector<MediaConcurrency>& GetMediaConcurrencies() const{ return m_mediaConcurrencies; }
125 inline bool MediaConcurrenciesHasBeenSet() const { return m_mediaConcurrenciesHasBeenSet; }
126 inline void SetMediaConcurrencies(const Aws::Vector<MediaConcurrency>& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies = value; }
127 inline void SetMediaConcurrencies(Aws::Vector<MediaConcurrency>&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies = std::move(value); }
130 inline CreateRoutingProfileRequest& AddMediaConcurrencies(const MediaConcurrency& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies.push_back(value); return *this; }
131 inline CreateRoutingProfileRequest& AddMediaConcurrencies(MediaConcurrency&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies.push_back(std::move(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); }
144 inline CreateRoutingProfileRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
145 inline CreateRoutingProfileRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
146 inline CreateRoutingProfileRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
147 inline CreateRoutingProfileRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
148 inline CreateRoutingProfileRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
149 inline CreateRoutingProfileRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
150 inline CreateRoutingProfileRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
151 inline CreateRoutingProfileRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
153
155
160 inline const AgentAvailabilityTimer& GetAgentAvailabilityTimer() const{ return m_agentAvailabilityTimer; }
161 inline bool AgentAvailabilityTimerHasBeenSet() const { return m_agentAvailabilityTimerHasBeenSet; }
162 inline void SetAgentAvailabilityTimer(const AgentAvailabilityTimer& value) { m_agentAvailabilityTimerHasBeenSet = true; m_agentAvailabilityTimer = value; }
163 inline void SetAgentAvailabilityTimer(AgentAvailabilityTimer&& value) { m_agentAvailabilityTimerHasBeenSet = true; m_agentAvailabilityTimer = std::move(value); }
167 private:
168
169 Aws::String m_instanceId;
170 bool m_instanceIdHasBeenSet = false;
171
172 Aws::String m_name;
173 bool m_nameHasBeenSet = false;
174
175 Aws::String m_description;
176 bool m_descriptionHasBeenSet = false;
177
178 Aws::String m_defaultOutboundQueueId;
179 bool m_defaultOutboundQueueIdHasBeenSet = false;
180
182 bool m_queueConfigsHasBeenSet = false;
183
184 Aws::Vector<MediaConcurrency> m_mediaConcurrencies;
185 bool m_mediaConcurrenciesHasBeenSet = false;
186
188 bool m_tagsHasBeenSet = false;
189
190 AgentAvailabilityTimer m_agentAvailabilityTimer;
191 bool m_agentAvailabilityTimerHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace Connect
196} // namespace Aws
CreateRoutingProfileRequest & AddQueueConfigs(const RoutingProfileQueueConfig &value)
CreateRoutingProfileRequest & WithAgentAvailabilityTimer(AgentAvailabilityTimer &&value)
CreateRoutingProfileRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateRoutingProfileRequest & WithDescription(const Aws::String &value)
CreateRoutingProfileRequest & WithName(const char *value)
void SetQueueConfigs(Aws::Vector< RoutingProfileQueueConfig > &&value)
CreateRoutingProfileRequest & AddTags(const char *key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRoutingProfileRequest & AddMediaConcurrencies(const MediaConcurrency &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRoutingProfileRequest & WithInstanceId(const char *value)
CreateRoutingProfileRequest & WithQueueConfigs(const Aws::Vector< RoutingProfileQueueConfig > &value)
CreateRoutingProfileRequest & AddTags(Aws::String &&key, const char *value)
const AgentAvailabilityTimer & GetAgentAvailabilityTimer() const
CreateRoutingProfileRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRoutingProfileRequest & WithMediaConcurrencies(const Aws::Vector< MediaConcurrency > &value)
void SetMediaConcurrencies(Aws::Vector< MediaConcurrency > &&value)
CreateRoutingProfileRequest & WithAgentAvailabilityTimer(const AgentAvailabilityTimer &value)
CreateRoutingProfileRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateRoutingProfileRequest & AddQueueConfigs(RoutingProfileQueueConfig &&value)
CreateRoutingProfileRequest & WithDefaultOutboundQueueId(const char *value)
virtual const char * GetServiceRequestName() const override
CreateRoutingProfileRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRoutingProfileRequest & WithInstanceId(const Aws::String &value)
CreateRoutingProfileRequest & WithQueueConfigs(Aws::Vector< RoutingProfileQueueConfig > &&value)
void SetMediaConcurrencies(const Aws::Vector< MediaConcurrency > &value)
CreateRoutingProfileRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRoutingProfileRequest & WithDescription(Aws::String &&value)
CreateRoutingProfileRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateRoutingProfileRequest & AddMediaConcurrencies(MediaConcurrency &&value)
const Aws::Vector< RoutingProfileQueueConfig > & GetQueueConfigs() const
void SetQueueConfigs(const Aws::Vector< RoutingProfileQueueConfig > &value)
void SetAgentAvailabilityTimer(AgentAvailabilityTimer &&value)
CreateRoutingProfileRequest & WithMediaConcurrencies(Aws::Vector< MediaConcurrency > &&value)
CreateRoutingProfileRequest & WithInstanceId(Aws::String &&value)
CreateRoutingProfileRequest & WithName(Aws::String &&value)
CreateRoutingProfileRequest & WithDefaultOutboundQueueId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetAgentAvailabilityTimer(const AgentAvailabilityTimer &value)
const Aws::Vector< MediaConcurrency > & GetMediaConcurrencies() const
CreateRoutingProfileRequest & WithName(const Aws::String &value)
CreateRoutingProfileRequest & AddTags(const char *key, Aws::String &&value)
CreateRoutingProfileRequest & WithDefaultOutboundQueueId(Aws::String &&value)
CreateRoutingProfileRequest & WithDescription(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