AWS SDK for C++  1.9.153
AWS SDK for C++
AssociateRoutingProfileQueuesRequest.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 "AssociateRoutingProfileQueues"; }
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 AssociateRoutingProfileQueuesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
72 
77  inline AssociateRoutingProfileQueuesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
78 
83  inline AssociateRoutingProfileQueuesRequest& 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 AssociateRoutingProfileQueuesRequest& WithRoutingProfileId(const Aws::String& value) { SetRoutingProfileId(value); return *this;}
115 
119  inline AssociateRoutingProfileQueuesRequest& WithRoutingProfileId(Aws::String&& value) { SetRoutingProfileId(std::move(value)); return *this;}
120 
124  inline AssociateRoutingProfileQueuesRequest& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
125 
126 
130  inline const Aws::Vector<RoutingProfileQueueConfig>& GetQueueConfigs() const{ return m_queueConfigs; }
131 
135  inline bool QueueConfigsHasBeenSet() const { return m_queueConfigsHasBeenSet; }
136 
140  inline void SetQueueConfigs(const Aws::Vector<RoutingProfileQueueConfig>& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = value; }
141 
145  inline void SetQueueConfigs(Aws::Vector<RoutingProfileQueueConfig>&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = std::move(value); }
146 
150  inline AssociateRoutingProfileQueuesRequest& WithQueueConfigs(const Aws::Vector<RoutingProfileQueueConfig>& value) { SetQueueConfigs(value); return *this;}
151 
155  inline AssociateRoutingProfileQueuesRequest& WithQueueConfigs(Aws::Vector<RoutingProfileQueueConfig>&& value) { SetQueueConfigs(std::move(value)); return *this;}
156 
160  inline AssociateRoutingProfileQueuesRequest& AddQueueConfigs(const RoutingProfileQueueConfig& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(value); return *this; }
161 
165  inline AssociateRoutingProfileQueuesRequest& AddQueueConfigs(RoutingProfileQueueConfig&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(std::move(value)); return *this; }
166 
167  private:
168 
169  Aws::String m_instanceId;
170  bool m_instanceIdHasBeenSet;
171 
172  Aws::String m_routingProfileId;
173  bool m_routingProfileIdHasBeenSet;
174 
176  bool m_queueConfigsHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace Connect
181 } // namespace Aws
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::WithRoutingProfileId
AssociateRoutingProfileQueuesRequest & WithRoutingProfileId(const char *value)
Definition: AssociateRoutingProfileQueuesRequest.h:124
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: AssociateRoutingProfileQueuesRequest.h:41
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::GetRoutingProfileId
const Aws::String & GetRoutingProfileId() const
Definition: AssociateRoutingProfileQueuesRequest.h:89
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::AddQueueConfigs
AssociateRoutingProfileQueuesRequest & AddQueueConfigs(const RoutingProfileQueueConfig &value)
Definition: AssociateRoutingProfileQueuesRequest.h:160
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: AssociateRoutingProfileQueuesRequest.h:47
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::QueueConfigsHasBeenSet
bool QueueConfigsHasBeenSet() const
Definition: AssociateRoutingProfileQueuesRequest.h:135
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::SetRoutingProfileId
void SetRoutingProfileId(const char *value)
Definition: AssociateRoutingProfileQueuesRequest.h:109
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: AssociateRoutingProfileQueuesRequest.h:65
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: AssociateRoutingProfileQueuesRequest.h:53
AWSVector.h
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::WithQueueConfigs
AssociateRoutingProfileQueuesRequest & WithQueueConfigs(Aws::Vector< RoutingProfileQueueConfig > &&value)
Definition: AssociateRoutingProfileQueuesRequest.h:155
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::RoutingProfileIdHasBeenSet
bool RoutingProfileIdHasBeenSet() const
Definition: AssociateRoutingProfileQueuesRequest.h:94
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::WithQueueConfigs
AssociateRoutingProfileQueuesRequest & WithQueueConfigs(const Aws::Vector< RoutingProfileQueueConfig > &value)
Definition: AssociateRoutingProfileQueuesRequest.h:150
Aws::Connect::Model::RoutingProfileQueueConfig
Definition: RoutingProfileQueueConfig.h:33
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::WithRoutingProfileId
AssociateRoutingProfileQueuesRequest & WithRoutingProfileId(const Aws::String &value)
Definition: AssociateRoutingProfileQueuesRequest.h:114
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::SetRoutingProfileId
void SetRoutingProfileId(Aws::String &&value)
Definition: AssociateRoutingProfileQueuesRequest.h:104
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest
Definition: AssociateRoutingProfileQueuesRequest.h:24
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::SetRoutingProfileId
void SetRoutingProfileId(const Aws::String &value)
Definition: AssociateRoutingProfileQueuesRequest.h:99
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::GetQueueConfigs
const Aws::Vector< RoutingProfileQueueConfig > & GetQueueConfigs() const
Definition: AssociateRoutingProfileQueuesRequest.h:130
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::AddQueueConfigs
AssociateRoutingProfileQueuesRequest & AddQueueConfigs(RoutingProfileQueueConfig &&value)
Definition: AssociateRoutingProfileQueuesRequest.h:165
AWSString.h
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::SetQueueConfigs
void SetQueueConfigs(Aws::Vector< RoutingProfileQueueConfig > &&value)
Definition: AssociateRoutingProfileQueuesRequest.h:145
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::SetQueueConfigs
void SetQueueConfigs(const Aws::Vector< RoutingProfileQueueConfig > &value)
Definition: AssociateRoutingProfileQueuesRequest.h:140
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: AssociateRoutingProfileQueuesRequest.h:59
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::SerializePayload
Aws::String SerializePayload() const override
RoutingProfileQueueConfig.h
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::WithRoutingProfileId
AssociateRoutingProfileQueuesRequest & WithRoutingProfileId(Aws::String &&value)
Definition: AssociateRoutingProfileQueuesRequest.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::WithInstanceId
AssociateRoutingProfileQueuesRequest & WithInstanceId(Aws::String &&value)
Definition: AssociateRoutingProfileQueuesRequest.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::WithInstanceId
AssociateRoutingProfileQueuesRequest & WithInstanceId(const char *value)
Definition: AssociateRoutingProfileQueuesRequest.h:83
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::WithInstanceId
AssociateRoutingProfileQueuesRequest & WithInstanceId(const Aws::String &value)
Definition: AssociateRoutingProfileQueuesRequest.h:71
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::AssociateRoutingProfileQueuesRequest
AssociateRoutingProfileQueuesRequest()
ConnectRequest.h
Aws::Connect::Model::AssociateRoutingProfileQueuesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssociateRoutingProfileQueuesRequest.h:32