AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListQueuesRequest.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/MediaConvertRequest.h>
9#include <aws/mediaconvert/model/QueueListBy.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mediaconvert/model/Order.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace MediaConvert
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_MEDIACONVERT_API ListQueuesRequest() = default;
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_MEDIACONVERT_API Aws::String SerializePayload() const override;
39
40 AWS_MEDIACONVERT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
49 inline QueueListBy GetListBy() const { return m_listBy; }
50 inline bool ListByHasBeenSet() const { return m_listByHasBeenSet; }
51 inline void SetListBy(QueueListBy value) { m_listByHasBeenSet = true; m_listBy = value; }
52 inline ListQueuesRequest& WithListBy(QueueListBy value) { SetListBy(value); return *this;}
54
56
59 inline int GetMaxResults() const { return m_maxResults; }
60 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
61 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
62 inline ListQueuesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
64
66
70 inline const Aws::String& GetNextToken() const { return m_nextToken; }
71 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 template<typename NextTokenT = Aws::String>
73 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
74 template<typename NextTokenT = Aws::String>
75 ListQueuesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
77
79
83 inline Order GetOrder() const { return m_order; }
84 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
85 inline void SetOrder(Order value) { m_orderHasBeenSet = true; m_order = value; }
86 inline ListQueuesRequest& WithOrder(Order value) { SetOrder(value); return *this;}
88 private:
89
91 bool m_listByHasBeenSet = false;
92
93 int m_maxResults{0};
94 bool m_maxResultsHasBeenSet = false;
95
96 Aws::String m_nextToken;
97 bool m_nextTokenHasBeenSet = false;
98
99 Order m_order{Order::NOT_SET};
100 bool m_orderHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace MediaConvert
105} // 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