AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
ListQueuesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
10#include <aws/deadline/model/QueueStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace deadline {
19namespace Model {
20
28 public:
29 AWS_DEADLINE_API ListQueuesRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListQueues"; }
36
37 AWS_DEADLINE_API Aws::String SerializePayload() const override;
38
39 AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
45 inline const Aws::String& GetFarmId() const { return m_farmId; }
46 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
47 template <typename FarmIdT = Aws::String>
48 void SetFarmId(FarmIdT&& value) {
49 m_farmIdHasBeenSet = true;
50 m_farmId = std::forward<FarmIdT>(value);
51 }
52 template <typename FarmIdT = Aws::String>
53 ListQueuesRequest& WithFarmId(FarmIdT&& value) {
54 SetFarmId(std::forward<FarmIdT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetNextToken() const { return m_nextToken; }
65 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
66 template <typename NextTokenT = Aws::String>
67 void SetNextToken(NextTokenT&& value) {
68 m_nextTokenHasBeenSet = true;
69 m_nextToken = std::forward<NextTokenT>(value);
70 }
71 template <typename NextTokenT = Aws::String>
72 ListQueuesRequest& WithNextToken(NextTokenT&& value) {
73 SetNextToken(std::forward<NextTokenT>(value));
74 return *this;
75 }
77
79
83 inline int GetMaxResults() const { return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) {
86 m_maxResultsHasBeenSet = true;
87 m_maxResults = value;
88 }
89 inline ListQueuesRequest& WithMaxResults(int value) {
90 SetMaxResults(value);
91 return *this;
92 }
94
96
99 inline const Aws::String& GetPrincipalId() const { return m_principalId; }
100 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
101 template <typename PrincipalIdT = Aws::String>
102 void SetPrincipalId(PrincipalIdT&& value) {
103 m_principalIdHasBeenSet = true;
104 m_principalId = std::forward<PrincipalIdT>(value);
105 }
106 template <typename PrincipalIdT = Aws::String>
107 ListQueuesRequest& WithPrincipalId(PrincipalIdT&& value) {
108 SetPrincipalId(std::forward<PrincipalIdT>(value));
109 return *this;
110 }
112
114
120 inline QueueStatus GetStatus() const { return m_status; }
121 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
122 inline void SetStatus(QueueStatus value) {
123 m_statusHasBeenSet = true;
124 m_status = value;
125 }
127 SetStatus(value);
128 return *this;
129 }
131 private:
132 Aws::String m_farmId;
133
134 Aws::String m_nextToken;
135
136 int m_maxResults{0};
137
138 Aws::String m_principalId;
139
141 bool m_farmIdHasBeenSet = false;
142 bool m_nextTokenHasBeenSet = false;
143 bool m_maxResultsHasBeenSet = false;
144 bool m_principalIdHasBeenSet = false;
145 bool m_statusHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace deadline
150} // namespace Aws
AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetPrincipalId(PrincipalIdT &&value)
ListQueuesRequest & WithStatus(QueueStatus value)
ListQueuesRequest & WithNextToken(NextTokenT &&value)
ListQueuesRequest & WithPrincipalId(PrincipalIdT &&value)
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetFarmId() const
ListQueuesRequest & WithFarmId(FarmIdT &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
AWS_DEADLINE_API ListQueuesRequest()=default
const Aws::String & GetPrincipalId() const
ListQueuesRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String