AWS SDK for C++  1.9.154
AWS SDK for C++
AssociateQueueQuickConnectsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Connect
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "AssociateQueueQuickConnects"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
40  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
41 
46  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
47 
52  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
53 
58  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
59 
64  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
65 
70  inline AssociateQueueQuickConnectsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
71 
76  inline AssociateQueueQuickConnectsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
77 
82  inline AssociateQueueQuickConnectsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
83 
84 
88  inline const Aws::String& GetQueueId() const{ return m_queueId; }
89 
93  inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
94 
98  inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
99 
103  inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
104 
108  inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
109 
113  inline AssociateQueueQuickConnectsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
114 
118  inline AssociateQueueQuickConnectsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
119 
123  inline AssociateQueueQuickConnectsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
124 
125 
129  inline const Aws::Vector<Aws::String>& GetQuickConnectIds() const{ return m_quickConnectIds; }
130 
134  inline bool QuickConnectIdsHasBeenSet() const { return m_quickConnectIdsHasBeenSet; }
135 
139  inline void SetQuickConnectIds(const Aws::Vector<Aws::String>& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds = value; }
140 
144  inline void SetQuickConnectIds(Aws::Vector<Aws::String>&& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds = std::move(value); }
145 
149  inline AssociateQueueQuickConnectsRequest& WithQuickConnectIds(const Aws::Vector<Aws::String>& value) { SetQuickConnectIds(value); return *this;}
150 
154  inline AssociateQueueQuickConnectsRequest& WithQuickConnectIds(Aws::Vector<Aws::String>&& value) { SetQuickConnectIds(std::move(value)); return *this;}
155 
159  inline AssociateQueueQuickConnectsRequest& AddQuickConnectIds(const Aws::String& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(value); return *this; }
160 
164  inline AssociateQueueQuickConnectsRequest& AddQuickConnectIds(Aws::String&& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(std::move(value)); return *this; }
165 
169  inline AssociateQueueQuickConnectsRequest& AddQuickConnectIds(const char* value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(value); return *this; }
170 
171  private:
172 
173  Aws::String m_instanceId;
174  bool m_instanceIdHasBeenSet;
175 
176  Aws::String m_queueId;
177  bool m_queueIdHasBeenSet;
178 
179  Aws::Vector<Aws::String> m_quickConnectIds;
180  bool m_quickConnectIdsHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace Connect
185 } // namespace Aws
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::GetQuickConnectIds
const Aws::Vector< Aws::String > & GetQuickConnectIds() const
Definition: AssociateQueueQuickConnectsRequest.h:129
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::WithInstanceId
AssociateQueueQuickConnectsRequest & WithInstanceId(const char *value)
Definition: AssociateQueueQuickConnectsRequest.h:82
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::SetQuickConnectIds
void SetQuickConnectIds(const Aws::Vector< Aws::String > &value)
Definition: AssociateQueueQuickConnectsRequest.h:139
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: AssociateQueueQuickConnectsRequest.h:58
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::QuickConnectIdsHasBeenSet
bool QuickConnectIdsHasBeenSet() const
Definition: AssociateQueueQuickConnectsRequest.h:134
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::SetQueueId
void SetQueueId(Aws::String &&value)
Definition: AssociateQueueQuickConnectsRequest.h:103
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::WithQueueId
AssociateQueueQuickConnectsRequest & WithQueueId(const char *value)
Definition: AssociateQueueQuickConnectsRequest.h:123
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::WithQuickConnectIds
AssociateQueueQuickConnectsRequest & WithQuickConnectIds(Aws::Vector< Aws::String > &&value)
Definition: AssociateQueueQuickConnectsRequest.h:154
AWSVector.h
Aws::Connect::Model::AssociateQueueQuickConnectsRequest
Definition: AssociateQueueQuickConnectsRequest.h:23
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::AddQuickConnectIds
AssociateQueueQuickConnectsRequest & AddQuickConnectIds(Aws::String &&value)
Definition: AssociateQueueQuickConnectsRequest.h:164
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::SetQuickConnectIds
void SetQuickConnectIds(Aws::Vector< Aws::String > &&value)
Definition: AssociateQueueQuickConnectsRequest.h:144
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: AssociateQueueQuickConnectsRequest.h:52
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::WithInstanceId
AssociateQueueQuickConnectsRequest & WithInstanceId(Aws::String &&value)
Definition: AssociateQueueQuickConnectsRequest.h:76
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::AddQuickConnectIds
AssociateQueueQuickConnectsRequest & AddQuickConnectIds(const Aws::String &value)
Definition: AssociateQueueQuickConnectsRequest.h:159
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::WithQueueId
AssociateQueueQuickConnectsRequest & WithQueueId(const Aws::String &value)
Definition: AssociateQueueQuickConnectsRequest.h:113
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::WithQueueId
AssociateQueueQuickConnectsRequest & WithQueueId(Aws::String &&value)
Definition: AssociateQueueQuickConnectsRequest.h:118
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: AssociateQueueQuickConnectsRequest.h:46
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::SetQueueId
void SetQueueId(const Aws::String &value)
Definition: AssociateQueueQuickConnectsRequest.h:98
AWSString.h
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::SetQueueId
void SetQueueId(const char *value)
Definition: AssociateQueueQuickConnectsRequest.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::WithInstanceId
AssociateQueueQuickConnectsRequest & WithInstanceId(const Aws::String &value)
Definition: AssociateQueueQuickConnectsRequest.h:70
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::AssociateQueueQuickConnectsRequest
AssociateQueueQuickConnectsRequest()
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::WithQuickConnectIds
AssociateQueueQuickConnectsRequest & WithQuickConnectIds(const Aws::Vector< Aws::String > &value)
Definition: AssociateQueueQuickConnectsRequest.h:149
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::AddQuickConnectIds
AssociateQueueQuickConnectsRequest & AddQuickConnectIds(const char *value)
Definition: AssociateQueueQuickConnectsRequest.h:169
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: AssociateQueueQuickConnectsRequest.h:40
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::GetQueueId
const Aws::String & GetQueueId() const
Definition: AssociateQueueQuickConnectsRequest.h:88
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: AssociateQueueQuickConnectsRequest.h:64
Connect_EXPORTS.h
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssociateQueueQuickConnectsRequest.h:31
ConnectRequest.h
Aws::Connect::Model::AssociateQueueQuickConnectsRequest::QueueIdHasBeenSet
bool QueueIdHasBeenSet() const
Definition: AssociateQueueQuickConnectsRequest.h:93