AWS SDK for C++  1.9.158
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 MediaConvert
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 
48  inline const QueueListBy& GetListBy() const{ return m_listBy; }
49 
55  inline bool ListByHasBeenSet() const { return m_listByHasBeenSet; }
56 
62  inline void SetListBy(const QueueListBy& value) { m_listByHasBeenSet = true; m_listBy = value; }
63 
69  inline void SetListBy(QueueListBy&& value) { m_listByHasBeenSet = true; m_listBy = std::move(value); }
70 
76  inline ListQueuesRequest& WithListBy(const QueueListBy& value) { SetListBy(value); return *this;}
77 
83  inline ListQueuesRequest& WithListBy(QueueListBy&& value) { SetListBy(std::move(value)); return *this;}
84 
85 
89  inline int GetMaxResults() const{ return m_maxResults; }
90 
94  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 
99  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
100 
104  inline ListQueuesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
105 
106 
111  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
112 
117  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
118 
123  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
124 
129  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
130 
135  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
136 
141  inline ListQueuesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
142 
147  inline ListQueuesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
148 
153  inline ListQueuesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
154 
155 
160  inline const Order& GetOrder() const{ return m_order; }
161 
166  inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
167 
172  inline void SetOrder(const Order& value) { m_orderHasBeenSet = true; m_order = value; }
173 
178  inline void SetOrder(Order&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
179 
184  inline ListQueuesRequest& WithOrder(const Order& value) { SetOrder(value); return *this;}
185 
190  inline ListQueuesRequest& WithOrder(Order&& value) { SetOrder(std::move(value)); return *this;}
191 
192  private:
193 
194  QueueListBy m_listBy;
195  bool m_listByHasBeenSet;
196 
197  int m_maxResults;
198  bool m_maxResultsHasBeenSet;
199 
200  Aws::String m_nextToken;
201  bool m_nextTokenHasBeenSet;
202 
203  Order m_order;
204  bool m_orderHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace MediaConvert
209 } // namespace Aws
Aws::MediaConvert::Model::ListQueuesRequest::WithListBy
ListQueuesRequest & WithListBy(const QueueListBy &value)
Definition: ListQueuesRequest.h:76
Aws::MediaConvert::Model::ListQueuesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::URI
Definition: URI.h:32
Aws::MediaConvert::Model::ListQueuesRequest::SetOrder
void SetOrder(Order &&value)
Definition: ListQueuesRequest.h:178
Aws::MediaConvert::Model::ListQueuesRequest::ListQueuesRequest
ListQueuesRequest()
Aws::MediaConvert::Model::ListQueuesRequest::ListByHasBeenSet
bool ListByHasBeenSet() const
Definition: ListQueuesRequest.h:55
MediaConvertRequest.h
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::ListQueuesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::MediaConvert::Model::ListQueuesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListQueuesRequest.h:94
Aws::MediaConvert::Model::ListQueuesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListQueuesRequest.h:36
Aws::MediaConvert::Model::ListQueuesRequest::WithOrder
ListQueuesRequest & WithOrder(const Order &value)
Definition: ListQueuesRequest.h:184
QueueListBy.h
Aws::MediaConvert::Model::ListQueuesRequest::SetOrder
void SetOrder(const Order &value)
Definition: ListQueuesRequest.h:172
Aws::MediaConvert::Model::ListQueuesRequest::GetListBy
const QueueListBy & GetListBy() const
Definition: ListQueuesRequest.h:48
Aws::MediaConvert::MediaConvertRequest
Definition: MediaConvertRequest.h:17
Aws::MediaConvert::Model::ListQueuesRequest::SetListBy
void SetListBy(QueueListBy &&value)
Definition: ListQueuesRequest.h:69
Aws::MediaConvert::Model::ListQueuesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListQueuesRequest.h:129
Aws::MediaConvert::Model::ListQueuesRequest::WithMaxResults
ListQueuesRequest & WithMaxResults(int value)
Definition: ListQueuesRequest.h:104
Aws::MediaConvert::Model::ListQueuesRequest::SetListBy
void SetListBy(const QueueListBy &value)
Definition: ListQueuesRequest.h:62
Aws::MediaConvert::Model::ListQueuesRequest::WithNextToken
ListQueuesRequest & WithNextToken(const Aws::String &value)
Definition: ListQueuesRequest.h:141
Aws::MediaConvert::Model::ListQueuesRequest::WithNextToken
ListQueuesRequest & WithNextToken(Aws::String &&value)
Definition: ListQueuesRequest.h:147
Aws::MediaConvert::Model::ListQueuesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListQueuesRequest.h:117
Aws::MediaConvert::Model::ListQueuesRequest
Definition: ListQueuesRequest.h:28
Aws::MediaConvert::Model::ListQueuesRequest::WithOrder
ListQueuesRequest & WithOrder(Order &&value)
Definition: ListQueuesRequest.h:190
Aws::MediaConvert::Model::Order
Order
Definition: Order.h:17
AWSString.h
Aws::MediaConvert::Model::ListQueuesRequest::WithListBy
ListQueuesRequest & WithListBy(QueueListBy &&value)
Definition: ListQueuesRequest.h:83
Aws::MediaConvert::Model::ListQueuesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListQueuesRequest.h:111
Aws::MediaConvert::Model::QueueListBy
QueueListBy
Definition: QueueListBy.h:17
Aws::MediaConvert::Model::ListQueuesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListQueuesRequest.h:135
Aws::MediaConvert::Model::ListQueuesRequest::OrderHasBeenSet
bool OrderHasBeenSet() const
Definition: ListQueuesRequest.h:166
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::ListQueuesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListQueuesRequest.h:123
Aws::MediaConvert::Model::ListQueuesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListQueuesRequest.h:89
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::ListQueuesRequest::WithNextToken
ListQueuesRequest & WithNextToken(const char *value)
Definition: ListQueuesRequest.h:153
Aws::MediaConvert::Model::ListQueuesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListQueuesRequest.h:99
Order.h
Aws::MediaConvert::Model::ListQueuesRequest::GetOrder
const Order & GetOrder() const
Definition: ListQueuesRequest.h:160