AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ListQueuesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconvert/MediaConvertRequest.h>
9#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
10#include <aws/mediaconvert/model/Order.h>
11#include <aws/mediaconvert/model/QueueListBy.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace MediaConvert {
20namespace Model {
21
25 public:
26 AWS_MEDIACONVERT_API ListQueuesRequest() = default;
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 "ListQueues"; }
33
34 AWS_MEDIACONVERT_API Aws::String SerializePayload() const override;
35
36 AWS_MEDIACONVERT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
44 inline QueueListBy GetListBy() const { return m_listBy; }
45 inline bool ListByHasBeenSet() const { return m_listByHasBeenSet; }
46 inline void SetListBy(QueueListBy value) {
47 m_listByHasBeenSet = true;
48 m_listBy = value;
49 }
51 SetListBy(value);
52 return *this;
53 }
55
57
60 inline int GetMaxResults() const { return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) {
63 m_maxResultsHasBeenSet = true;
64 m_maxResults = value;
65 }
66 inline ListQueuesRequest& WithMaxResults(int value) {
67 SetMaxResults(value);
68 return *this;
69 }
71
73
77 inline const Aws::String& GetNextToken() const { return m_nextToken; }
78 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
79 template <typename NextTokenT = Aws::String>
80 void SetNextToken(NextTokenT&& value) {
81 m_nextTokenHasBeenSet = true;
82 m_nextToken = std::forward<NextTokenT>(value);
83 }
84 template <typename NextTokenT = Aws::String>
85 ListQueuesRequest& WithNextToken(NextTokenT&& value) {
86 SetNextToken(std::forward<NextTokenT>(value));
87 return *this;
88 }
90
92
96 inline Order GetOrder() const { return m_order; }
97 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
98 inline void SetOrder(Order value) {
99 m_orderHasBeenSet = true;
100 m_order = value;
101 }
103 SetOrder(value);
104 return *this;
105 }
107 private:
109
110 int m_maxResults{0};
111
112 Aws::String m_nextToken;
113
114 Order m_order{Order::NOT_SET};
115 bool m_listByHasBeenSet = false;
116 bool m_maxResultsHasBeenSet = false;
117 bool m_nextTokenHasBeenSet = false;
118 bool m_orderHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace MediaConvert
123} // namespace Aws
AWS_MEDIACONVERT_API ListQueuesRequest()=default
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_MEDIACONVERT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListQueuesRequest & WithListBy(QueueListBy value)
ListQueuesRequest & WithNextToken(NextTokenT &&value)
ListQueuesRequest & WithOrder(Order value)
ListQueuesRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String