AWS SDK for C++  1.9.156
AWS SDK for C++
UpdateRoutingProfileQueuesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Connect
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateRoutingProfileQueues"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
41  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
42 
47  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
48 
53  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
54 
59  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
60 
65  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
66 
71  inline UpdateRoutingProfileQueuesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
72 
77  inline UpdateRoutingProfileQueuesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
78 
83  inline UpdateRoutingProfileQueuesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
84 
85 
89  inline const Aws::String& GetRoutingProfileId() const{ return m_routingProfileId; }
90 
94  inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
95 
99  inline void SetRoutingProfileId(const Aws::String& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = value; }
100 
104  inline void SetRoutingProfileId(Aws::String&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::move(value); }
105 
109  inline void SetRoutingProfileId(const char* value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId.assign(value); }
110 
114  inline UpdateRoutingProfileQueuesRequest& WithRoutingProfileId(const Aws::String& value) { SetRoutingProfileId(value); return *this;}
115 
119  inline UpdateRoutingProfileQueuesRequest& WithRoutingProfileId(Aws::String&& value) { SetRoutingProfileId(std::move(value)); return *this;}
120 
124  inline UpdateRoutingProfileQueuesRequest& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
125 
126 
132  inline const Aws::Vector<RoutingProfileQueueConfig>& GetQueueConfigs() const{ return m_queueConfigs; }
133 
139  inline bool QueueConfigsHasBeenSet() const { return m_queueConfigsHasBeenSet; }
140 
146  inline void SetQueueConfigs(const Aws::Vector<RoutingProfileQueueConfig>& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = value; }
147 
153  inline void SetQueueConfigs(Aws::Vector<RoutingProfileQueueConfig>&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = std::move(value); }
154 
160  inline UpdateRoutingProfileQueuesRequest& WithQueueConfigs(const Aws::Vector<RoutingProfileQueueConfig>& value) { SetQueueConfigs(value); return *this;}
161 
167  inline UpdateRoutingProfileQueuesRequest& WithQueueConfigs(Aws::Vector<RoutingProfileQueueConfig>&& value) { SetQueueConfigs(std::move(value)); return *this;}
168 
174  inline UpdateRoutingProfileQueuesRequest& AddQueueConfigs(const RoutingProfileQueueConfig& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(value); return *this; }
175 
181  inline UpdateRoutingProfileQueuesRequest& AddQueueConfigs(RoutingProfileQueueConfig&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(std::move(value)); return *this; }
182 
183  private:
184 
185  Aws::String m_instanceId;
186  bool m_instanceIdHasBeenSet;
187 
188  Aws::String m_routingProfileId;
189  bool m_routingProfileIdHasBeenSet;
190 
192  bool m_queueConfigsHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace Connect
197 } // namespace Aws
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::WithQueueConfigs
UpdateRoutingProfileQueuesRequest & WithQueueConfigs(Aws::Vector< RoutingProfileQueueConfig > &&value)
Definition: UpdateRoutingProfileQueuesRequest.h:167
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::SetRoutingProfileId
void SetRoutingProfileId(const Aws::String &value)
Definition: UpdateRoutingProfileQueuesRequest.h:99
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::UpdateRoutingProfileQueuesRequest
UpdateRoutingProfileQueuesRequest()
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::AddQueueConfigs
UpdateRoutingProfileQueuesRequest & AddQueueConfigs(RoutingProfileQueueConfig &&value)
Definition: UpdateRoutingProfileQueuesRequest.h:181
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateRoutingProfileQueuesRequest.h:47
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::AddQueueConfigs
UpdateRoutingProfileQueuesRequest & AddQueueConfigs(const RoutingProfileQueueConfig &value)
Definition: UpdateRoutingProfileQueuesRequest.h:174
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateRoutingProfileQueuesRequest.h:41
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateRoutingProfileQueuesRequest.h:32
AWSVector.h
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::GetRoutingProfileId
const Aws::String & GetRoutingProfileId() const
Definition: UpdateRoutingProfileQueuesRequest.h:89
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::QueueConfigsHasBeenSet
bool QueueConfigsHasBeenSet() const
Definition: UpdateRoutingProfileQueuesRequest.h:139
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::RoutingProfileIdHasBeenSet
bool RoutingProfileIdHasBeenSet() const
Definition: UpdateRoutingProfileQueuesRequest.h:94
Aws::Connect::Model::RoutingProfileQueueConfig
Definition: RoutingProfileQueueConfig.h:33
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::WithRoutingProfileId
UpdateRoutingProfileQueuesRequest & WithRoutingProfileId(const Aws::String &value)
Definition: UpdateRoutingProfileQueuesRequest.h:114
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateRoutingProfileQueuesRequest.h:59
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::SetQueueConfigs
void SetQueueConfigs(Aws::Vector< RoutingProfileQueueConfig > &&value)
Definition: UpdateRoutingProfileQueuesRequest.h:153
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::WithInstanceId
UpdateRoutingProfileQueuesRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateRoutingProfileQueuesRequest.h:71
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::WithQueueConfigs
UpdateRoutingProfileQueuesRequest & WithQueueConfigs(const Aws::Vector< RoutingProfileQueueConfig > &value)
Definition: UpdateRoutingProfileQueuesRequest.h:160
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::SetRoutingProfileId
void SetRoutingProfileId(Aws::String &&value)
Definition: UpdateRoutingProfileQueuesRequest.h:104
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::GetQueueConfigs
const Aws::Vector< RoutingProfileQueueConfig > & GetQueueConfigs() const
Definition: UpdateRoutingProfileQueuesRequest.h:132
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::SetRoutingProfileId
void SetRoutingProfileId(const char *value)
Definition: UpdateRoutingProfileQueuesRequest.h:109
AWSString.h
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateRoutingProfileQueuesRequest.h:65
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::WithInstanceId
UpdateRoutingProfileQueuesRequest & WithInstanceId(const char *value)
Definition: UpdateRoutingProfileQueuesRequest.h:83
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::WithRoutingProfileId
UpdateRoutingProfileQueuesRequest & WithRoutingProfileId(Aws::String &&value)
Definition: UpdateRoutingProfileQueuesRequest.h:119
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateRoutingProfileQueuesRequest.h:53
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest
Definition: UpdateRoutingProfileQueuesRequest.h:24
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::SetQueueConfigs
void SetQueueConfigs(const Aws::Vector< RoutingProfileQueueConfig > &value)
Definition: UpdateRoutingProfileQueuesRequest.h:146
RoutingProfileQueueConfig.h
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::WithInstanceId
UpdateRoutingProfileQueuesRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateRoutingProfileQueuesRequest.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::UpdateRoutingProfileQueuesRequest::WithRoutingProfileId
UpdateRoutingProfileQueuesRequest & WithRoutingProfileId(const char *value)
Definition: UpdateRoutingProfileQueuesRequest.h:124