AWS SDK for C++  1.9.156
AWS SDK for C++
DisassociateRoutingProfileQueuesRequest.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 "DisassociateRoutingProfileQueues"; }
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 DisassociateRoutingProfileQueuesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
72 
77  inline DisassociateRoutingProfileQueuesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
78 
83  inline DisassociateRoutingProfileQueuesRequest& 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 DisassociateRoutingProfileQueuesRequest& WithRoutingProfileId(const Aws::String& value) { SetRoutingProfileId(value); return *this;}
115 
119  inline DisassociateRoutingProfileQueuesRequest& WithRoutingProfileId(Aws::String&& value) { SetRoutingProfileId(std::move(value)); return *this;}
120 
124  inline DisassociateRoutingProfileQueuesRequest& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
125 
126 
130  inline const Aws::Vector<RoutingProfileQueueReference>& GetQueueReferences() const{ return m_queueReferences; }
131 
135  inline bool QueueReferencesHasBeenSet() const { return m_queueReferencesHasBeenSet; }
136 
140  inline void SetQueueReferences(const Aws::Vector<RoutingProfileQueueReference>& value) { m_queueReferencesHasBeenSet = true; m_queueReferences = value; }
141 
145  inline void SetQueueReferences(Aws::Vector<RoutingProfileQueueReference>&& value) { m_queueReferencesHasBeenSet = true; m_queueReferences = std::move(value); }
146 
150  inline DisassociateRoutingProfileQueuesRequest& WithQueueReferences(const Aws::Vector<RoutingProfileQueueReference>& value) { SetQueueReferences(value); return *this;}
151 
155  inline DisassociateRoutingProfileQueuesRequest& WithQueueReferences(Aws::Vector<RoutingProfileQueueReference>&& value) { SetQueueReferences(std::move(value)); return *this;}
156 
160  inline DisassociateRoutingProfileQueuesRequest& AddQueueReferences(const RoutingProfileQueueReference& value) { m_queueReferencesHasBeenSet = true; m_queueReferences.push_back(value); return *this; }
161 
165  inline DisassociateRoutingProfileQueuesRequest& AddQueueReferences(RoutingProfileQueueReference&& value) { m_queueReferencesHasBeenSet = true; m_queueReferences.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_queueReferencesHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace Connect
181 } // namespace Aws
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::SetRoutingProfileId
void SetRoutingProfileId(const Aws::String &value)
Definition: DisassociateRoutingProfileQueuesRequest.h:99
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: DisassociateRoutingProfileQueuesRequest.h:65
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest
Definition: DisassociateRoutingProfileQueuesRequest.h:24
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: DisassociateRoutingProfileQueuesRequest.h:59
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateRoutingProfileQueuesRequest.h:32
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::GetRoutingProfileId
const Aws::String & GetRoutingProfileId() const
Definition: DisassociateRoutingProfileQueuesRequest.h:89
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::WithInstanceId
DisassociateRoutingProfileQueuesRequest & WithInstanceId(Aws::String &&value)
Definition: DisassociateRoutingProfileQueuesRequest.h:77
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::AddQueueReferences
DisassociateRoutingProfileQueuesRequest & AddQueueReferences(const RoutingProfileQueueReference &value)
Definition: DisassociateRoutingProfileQueuesRequest.h:160
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::WithInstanceId
DisassociateRoutingProfileQueuesRequest & WithInstanceId(const Aws::String &value)
Definition: DisassociateRoutingProfileQueuesRequest.h:71
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::RoutingProfileIdHasBeenSet
bool RoutingProfileIdHasBeenSet() const
Definition: DisassociateRoutingProfileQueuesRequest.h:94
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: DisassociateRoutingProfileQueuesRequest.h:53
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
RoutingProfileQueueReference.h
AWSVector.h
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::WithRoutingProfileId
DisassociateRoutingProfileQueuesRequest & WithRoutingProfileId(const char *value)
Definition: DisassociateRoutingProfileQueuesRequest.h:124
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::QueueReferencesHasBeenSet
bool QueueReferencesHasBeenSet() const
Definition: DisassociateRoutingProfileQueuesRequest.h:135
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::AddQueueReferences
DisassociateRoutingProfileQueuesRequest & AddQueueReferences(RoutingProfileQueueReference &&value)
Definition: DisassociateRoutingProfileQueuesRequest.h:165
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::WithQueueReferences
DisassociateRoutingProfileQueuesRequest & WithQueueReferences(const Aws::Vector< RoutingProfileQueueReference > &value)
Definition: DisassociateRoutingProfileQueuesRequest.h:150
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::DisassociateRoutingProfileQueuesRequest
DisassociateRoutingProfileQueuesRequest()
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::GetQueueReferences
const Aws::Vector< RoutingProfileQueueReference > & GetQueueReferences() const
Definition: DisassociateRoutingProfileQueuesRequest.h:130
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::WithQueueReferences
DisassociateRoutingProfileQueuesRequest & WithQueueReferences(Aws::Vector< RoutingProfileQueueReference > &&value)
Definition: DisassociateRoutingProfileQueuesRequest.h:155
AWSString.h
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::WithInstanceId
DisassociateRoutingProfileQueuesRequest & WithInstanceId(const char *value)
Definition: DisassociateRoutingProfileQueuesRequest.h:83
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::SetQueueReferences
void SetQueueReferences(Aws::Vector< RoutingProfileQueueReference > &&value)
Definition: DisassociateRoutingProfileQueuesRequest.h:145
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::WithRoutingProfileId
DisassociateRoutingProfileQueuesRequest & WithRoutingProfileId(Aws::String &&value)
Definition: DisassociateRoutingProfileQueuesRequest.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::SetRoutingProfileId
void SetRoutingProfileId(Aws::String &&value)
Definition: DisassociateRoutingProfileQueuesRequest.h:104
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: DisassociateRoutingProfileQueuesRequest.h:41
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::WithRoutingProfileId
DisassociateRoutingProfileQueuesRequest & WithRoutingProfileId(const Aws::String &value)
Definition: DisassociateRoutingProfileQueuesRequest.h:114
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: DisassociateRoutingProfileQueuesRequest.h:47
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::SetRoutingProfileId
void SetRoutingProfileId(const char *value)
Definition: DisassociateRoutingProfileQueuesRequest.h:109
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::SetQueueReferences
void SetQueueReferences(const Aws::Vector< RoutingProfileQueueReference > &value)
Definition: DisassociateRoutingProfileQueuesRequest.h:140
Connect_EXPORTS.h
Aws::Connect::Model::DisassociateRoutingProfileQueuesRequest::SerializePayload
Aws::String SerializePayload() const override
ConnectRequest.h
Aws::Connect::Model::RoutingProfileQueueReference
Definition: RoutingProfileQueueReference.h:34