AWS SDK for C++  1.9.153
AWS SDK for C++
ListQueuesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace Connect
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "ListQueues"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
47  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
48 
53  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
54 
59  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
60 
65  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
66 
71  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
72 
77  inline ListQueuesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
78 
83  inline ListQueuesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
84 
89  inline ListQueuesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
90 
91 
95  inline const Aws::Vector<QueueType>& GetQueueTypes() const{ return m_queueTypes; }
96 
100  inline bool QueueTypesHasBeenSet() const { return m_queueTypesHasBeenSet; }
101 
105  inline void SetQueueTypes(const Aws::Vector<QueueType>& value) { m_queueTypesHasBeenSet = true; m_queueTypes = value; }
106 
110  inline void SetQueueTypes(Aws::Vector<QueueType>&& value) { m_queueTypesHasBeenSet = true; m_queueTypes = std::move(value); }
111 
115  inline ListQueuesRequest& WithQueueTypes(const Aws::Vector<QueueType>& value) { SetQueueTypes(value); return *this;}
116 
120  inline ListQueuesRequest& WithQueueTypes(Aws::Vector<QueueType>&& value) { SetQueueTypes(std::move(value)); return *this;}
121 
125  inline ListQueuesRequest& AddQueueTypes(const QueueType& value) { m_queueTypesHasBeenSet = true; m_queueTypes.push_back(value); return *this; }
126 
130  inline ListQueuesRequest& AddQueueTypes(QueueType&& value) { m_queueTypesHasBeenSet = true; m_queueTypes.push_back(std::move(value)); return *this; }
131 
132 
137  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
138 
143  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
144 
149  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
150 
155  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
156 
161  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
162 
167  inline ListQueuesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
168 
173  inline ListQueuesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
174 
179  inline ListQueuesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
180 
181 
185  inline int GetMaxResults() const{ return m_maxResults; }
186 
190  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
191 
195  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
196 
200  inline ListQueuesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
201 
202  private:
203 
204  Aws::String m_instanceId;
205  bool m_instanceIdHasBeenSet;
206 
207  Aws::Vector<QueueType> m_queueTypes;
208  bool m_queueTypesHasBeenSet;
209 
210  Aws::String m_nextToken;
211  bool m_nextTokenHasBeenSet;
212 
213  int m_maxResults;
214  bool m_maxResultsHasBeenSet;
215  };
216 
217 } // namespace Model
218 } // namespace Connect
219 } // namespace Aws
Aws::Connect::Model::ListQueuesRequest::ListQueuesRequest
ListQueuesRequest()
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::ListQueuesRequest::WithNextToken
ListQueuesRequest & WithNextToken(Aws::String &&value)
Definition: ListQueuesRequest.h:173
Aws::Connect::Model::ListQueuesRequest::WithNextToken
ListQueuesRequest & WithNextToken(const char *value)
Definition: ListQueuesRequest.h:179
Aws::Connect::Model::ListQueuesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Connect::Model::ListQueuesRequest::AddQueueTypes
ListQueuesRequest & AddQueueTypes(const QueueType &value)
Definition: ListQueuesRequest.h:125
Aws::Connect::Model::ListQueuesRequest
Definition: ListQueuesRequest.h:28
Aws::Connect::Model::ListQueuesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListQueuesRequest.h:190
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::ListQueuesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListQueuesRequest.h:149
Aws::Connect::Model::ListQueuesRequest::WithInstanceId
ListQueuesRequest & WithInstanceId(const char *value)
Definition: ListQueuesRequest.h:89
Aws::Connect::Model::ListQueuesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListQueuesRequest.h:137
AWSVector.h
Aws::Connect::Model::ListQueuesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListQueuesRequest.h:155
QueueType.h
Aws::Connect::Model::ListQueuesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListQueuesRequest.h:161
Aws::Connect::Model::ListQueuesRequest::WithMaxResults
ListQueuesRequest & WithMaxResults(int value)
Definition: ListQueuesRequest.h:200
Aws::Connect::Model::ListQueuesRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: ListQueuesRequest.h:71
Aws::Connect::Model::ListQueuesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListQueuesRequest.h:143
Aws::Connect::Model::ListQueuesRequest::WithInstanceId
ListQueuesRequest & WithInstanceId(const Aws::String &value)
Definition: ListQueuesRequest.h:77
Aws::Connect::Model::ListQueuesRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: ListQueuesRequest.h:53
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::ListQueuesRequest::SetQueueTypes
void SetQueueTypes(const Aws::Vector< QueueType > &value)
Definition: ListQueuesRequest.h:105
Aws::Connect::Model::ListQueuesRequest::QueueTypesHasBeenSet
bool QueueTypesHasBeenSet() const
Definition: ListQueuesRequest.h:100
Aws::Connect::Model::ListQueuesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListQueuesRequest.h:36
AWSString.h
Aws::Connect::Model::QueueType
QueueType
Definition: QueueType.h:17
Aws::Connect::Model::ListQueuesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::ListQueuesRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: ListQueuesRequest.h:59
Aws::Connect::Model::ListQueuesRequest::WithNextToken
ListQueuesRequest & WithNextToken(const Aws::String &value)
Definition: ListQueuesRequest.h:167
Aws::Connect::Model::ListQueuesRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: ListQueuesRequest.h:47
Aws::Connect::Model::ListQueuesRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: ListQueuesRequest.h:65
Aws::Connect::Model::ListQueuesRequest::WithQueueTypes
ListQueuesRequest & WithQueueTypes(Aws::Vector< QueueType > &&value)
Definition: ListQueuesRequest.h:120
Aws::Connect::Model::ListQueuesRequest::WithQueueTypes
ListQueuesRequest & WithQueueTypes(const Aws::Vector< QueueType > &value)
Definition: ListQueuesRequest.h:115
Aws::Connect::Model::ListQueuesRequest::GetQueueTypes
const Aws::Vector< QueueType > & GetQueueTypes() const
Definition: ListQueuesRequest.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::ListQueuesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListQueuesRequest.h:195
Aws::Connect::Model::ListQueuesRequest::WithInstanceId
ListQueuesRequest & WithInstanceId(Aws::String &&value)
Definition: ListQueuesRequest.h:83
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::ListQueuesRequest::SetQueueTypes
void SetQueueTypes(Aws::Vector< QueueType > &&value)
Definition: ListQueuesRequest.h:110
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::ListQueuesRequest::AddQueueTypes
ListQueuesRequest & AddQueueTypes(QueueType &&value)
Definition: ListQueuesRequest.h:130
Connect_EXPORTS.h
Aws::Connect::Model::ListQueuesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListQueuesRequest.h:185
ConnectRequest.h