AWS SDK for C++  1.9.159
AWS SDK for C++
ListQueueQuickConnectsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Connect
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListQueueQuickConnects"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
46 
51  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
52 
57  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
58 
63  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
64 
69  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
70 
75  inline ListQueueQuickConnectsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
76 
81  inline ListQueueQuickConnectsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
82 
87  inline ListQueueQuickConnectsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
88 
89 
93  inline const Aws::String& GetQueueId() const{ return m_queueId; }
94 
98  inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
99 
103  inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
104 
108  inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
109 
113  inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
114 
118  inline ListQueueQuickConnectsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
119 
123  inline ListQueueQuickConnectsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
124 
128  inline ListQueueQuickConnectsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
129 
130 
135  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
136 
141  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
142 
147  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
148 
153  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
154 
159  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
160 
165  inline ListQueueQuickConnectsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
166 
171  inline ListQueueQuickConnectsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
172 
177  inline ListQueueQuickConnectsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
178 
179 
183  inline int GetMaxResults() const{ return m_maxResults; }
184 
188  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
189 
193  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
194 
198  inline ListQueueQuickConnectsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
199 
200  private:
201 
202  Aws::String m_instanceId;
203  bool m_instanceIdHasBeenSet;
204 
205  Aws::String m_queueId;
206  bool m_queueIdHasBeenSet;
207 
208  Aws::String m_nextToken;
209  bool m_nextTokenHasBeenSet;
210 
211  int m_maxResults;
212  bool m_maxResultsHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace Connect
217 } // namespace Aws
Aws::Connect::Model::ListQueueQuickConnectsRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: ListQueueQuickConnectsRequest.h:57
Aws::Connect::Model::ListQueueQuickConnectsRequest::SetQueueId
void SetQueueId(const Aws::String &value)
Definition: ListQueueQuickConnectsRequest.h:103
Aws::Connect::Model::ListQueueQuickConnectsRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: ListQueueQuickConnectsRequest.h:63
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::ListQueueQuickConnectsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListQueueQuickConnectsRequest.h:135
Aws::Connect::Model::ListQueueQuickConnectsRequest::WithQueueId
ListQueueQuickConnectsRequest & WithQueueId(Aws::String &&value)
Definition: ListQueueQuickConnectsRequest.h:123
Aws::Connect::Model::ListQueueQuickConnectsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListQueueQuickConnectsRequest.h:153
Aws::Connect::Model::ListQueueQuickConnectsRequest::WithMaxResults
ListQueueQuickConnectsRequest & WithMaxResults(int value)
Definition: ListQueueQuickConnectsRequest.h:198
Aws::Connect::Model::ListQueueQuickConnectsRequest::SetQueueId
void SetQueueId(const char *value)
Definition: ListQueueQuickConnectsRequest.h:113
Aws::Connect::Model::ListQueueQuickConnectsRequest::QueueIdHasBeenSet
bool QueueIdHasBeenSet() const
Definition: ListQueueQuickConnectsRequest.h:98
Aws::Connect::Model::ListQueueQuickConnectsRequest::WithQueueId
ListQueueQuickConnectsRequest & WithQueueId(const Aws::String &value)
Definition: ListQueueQuickConnectsRequest.h:118
Aws::Connect::Model::ListQueueQuickConnectsRequest::WithNextToken
ListQueueQuickConnectsRequest & WithNextToken(Aws::String &&value)
Definition: ListQueueQuickConnectsRequest.h:171
Aws::Connect::Model::ListQueueQuickConnectsRequest::SetQueueId
void SetQueueId(Aws::String &&value)
Definition: ListQueueQuickConnectsRequest.h:108
Aws::Connect::Model::ListQueueQuickConnectsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListQueueQuickConnectsRequest.h:141
Aws::Connect::Model::ListQueueQuickConnectsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListQueueQuickConnectsRequest.h:193
Aws::Connect::Model::ListQueueQuickConnectsRequest::WithNextToken
ListQueueQuickConnectsRequest & WithNextToken(const char *value)
Definition: ListQueueQuickConnectsRequest.h:177
Aws::Connect::Model::ListQueueQuickConnectsRequest
Definition: ListQueueQuickConnectsRequest.h:26
Aws::Connect::Model::ListQueueQuickConnectsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListQueueQuickConnectsRequest.h:147
Aws::Connect::Model::ListQueueQuickConnectsRequest::GetQueueId
const Aws::String & GetQueueId() const
Definition: ListQueueQuickConnectsRequest.h:93
Aws::Connect::Model::ListQueueQuickConnectsRequest::WithInstanceId
ListQueueQuickConnectsRequest & WithInstanceId(Aws::String &&value)
Definition: ListQueueQuickConnectsRequest.h:81
Aws::Connect::Model::ListQueueQuickConnectsRequest::WithInstanceId
ListQueueQuickConnectsRequest & WithInstanceId(const char *value)
Definition: ListQueueQuickConnectsRequest.h:87
Aws::Connect::Model::ListQueueQuickConnectsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListQueueQuickConnectsRequest.h:159
Aws::Connect::Model::ListQueueQuickConnectsRequest::ListQueueQuickConnectsRequest
ListQueueQuickConnectsRequest()
Aws::Connect::Model::ListQueueQuickConnectsRequest::WithQueueId
ListQueueQuickConnectsRequest & WithQueueId(const char *value)
Definition: ListQueueQuickConnectsRequest.h:128
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::ListQueueQuickConnectsRequest::WithInstanceId
ListQueueQuickConnectsRequest & WithInstanceId(const Aws::String &value)
Definition: ListQueueQuickConnectsRequest.h:75
Aws::Connect::Model::ListQueueQuickConnectsRequest::WithNextToken
ListQueueQuickConnectsRequest & WithNextToken(const Aws::String &value)
Definition: ListQueueQuickConnectsRequest.h:165
Aws::Connect::Model::ListQueueQuickConnectsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListQueueQuickConnectsRequest.h:188
AWSString.h
Aws::Connect::Model::ListQueueQuickConnectsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListQueueQuickConnectsRequest.h:34
Aws::Connect::Model::ListQueueQuickConnectsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListQueueQuickConnectsRequest.h:183
Aws::Connect::Model::ListQueueQuickConnectsRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: ListQueueQuickConnectsRequest.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::ListQueueQuickConnectsRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::ListQueueQuickConnectsRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: ListQueueQuickConnectsRequest.h:45
Aws::Connect::Model::ListQueueQuickConnectsRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: ListQueueQuickConnectsRequest.h:69
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::ListQueueQuickConnectsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override