AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ListBotsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wickr/WickrRequest.h>
9#include <aws/wickr/Wickr_EXPORTS.h>
10#include <aws/wickr/model/SortDirection.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace Wickr {
19namespace Model {
20
24 public:
25 AWS_WICKR_API ListBotsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListBots"; }
32
33 AWS_WICKR_API Aws::String SerializePayload() const override;
34
35 AWS_WICKR_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetNetworkId() const { return m_networkId; }
42 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
43 template <typename NetworkIdT = Aws::String>
44 void SetNetworkId(NetworkIdT&& value) {
45 m_networkIdHasBeenSet = true;
46 m_networkId = std::forward<NetworkIdT>(value);
47 }
48 template <typename NetworkIdT = Aws::String>
49 ListBotsRequest& WithNetworkId(NetworkIdT&& value) {
50 SetNetworkId(std::forward<NetworkIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetNextToken() const { return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 template <typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) {
64 m_nextTokenHasBeenSet = true;
65 m_nextToken = std::forward<NextTokenT>(value);
66 }
67 template <typename NextTokenT = Aws::String>
68 ListBotsRequest& WithNextToken(NextTokenT&& value) {
69 SetNextToken(std::forward<NextTokenT>(value));
70 return *this;
71 }
73
75
79 inline int GetMaxResults() const { return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) {
82 m_maxResultsHasBeenSet = true;
83 m_maxResults = value;
84 }
85 inline ListBotsRequest& WithMaxResults(int value) {
86 SetMaxResults(value);
87 return *this;
88 }
90
92
97 inline const Aws::String& GetSortFields() const { return m_sortFields; }
98 inline bool SortFieldsHasBeenSet() const { return m_sortFieldsHasBeenSet; }
99 template <typename SortFieldsT = Aws::String>
100 void SetSortFields(SortFieldsT&& value) {
101 m_sortFieldsHasBeenSet = true;
102 m_sortFields = std::forward<SortFieldsT>(value);
103 }
104 template <typename SortFieldsT = Aws::String>
105 ListBotsRequest& WithSortFields(SortFieldsT&& value) {
106 SetSortFields(std::forward<SortFieldsT>(value));
107 return *this;
108 }
110
112
116 inline SortDirection GetSortDirection() const { return m_sortDirection; }
117 inline bool SortDirectionHasBeenSet() const { return m_sortDirectionHasBeenSet; }
118 inline void SetSortDirection(SortDirection value) {
119 m_sortDirectionHasBeenSet = true;
120 m_sortDirection = value;
121 }
123 SetSortDirection(value);
124 return *this;
125 }
127
129
133 inline const Aws::String& GetDisplayName() const { return m_displayName; }
134 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
135 template <typename DisplayNameT = Aws::String>
136 void SetDisplayName(DisplayNameT&& value) {
137 m_displayNameHasBeenSet = true;
138 m_displayName = std::forward<DisplayNameT>(value);
139 }
140 template <typename DisplayNameT = Aws::String>
141 ListBotsRequest& WithDisplayName(DisplayNameT&& value) {
142 SetDisplayName(std::forward<DisplayNameT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::String& GetUsername() const { return m_username; }
152 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
153 template <typename UsernameT = Aws::String>
154 void SetUsername(UsernameT&& value) {
155 m_usernameHasBeenSet = true;
156 m_username = std::forward<UsernameT>(value);
157 }
158 template <typename UsernameT = Aws::String>
159 ListBotsRequest& WithUsername(UsernameT&& value) {
160 SetUsername(std::forward<UsernameT>(value));
161 return *this;
162 }
164
166
170 inline int GetStatus() const { return m_status; }
171 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
172 inline void SetStatus(int value) {
173 m_statusHasBeenSet = true;
174 m_status = value;
175 }
176 inline ListBotsRequest& WithStatus(int value) {
177 SetStatus(value);
178 return *this;
179 }
181
183
186 inline const Aws::String& GetGroupId() const { return m_groupId; }
187 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
188 template <typename GroupIdT = Aws::String>
189 void SetGroupId(GroupIdT&& value) {
190 m_groupIdHasBeenSet = true;
191 m_groupId = std::forward<GroupIdT>(value);
192 }
193 template <typename GroupIdT = Aws::String>
194 ListBotsRequest& WithGroupId(GroupIdT&& value) {
195 SetGroupId(std::forward<GroupIdT>(value));
196 return *this;
197 }
199 private:
200 Aws::String m_networkId;
201
202 Aws::String m_nextToken;
203
204 int m_maxResults{0};
205
206 Aws::String m_sortFields;
207
208 SortDirection m_sortDirection{SortDirection::NOT_SET};
209
210 Aws::String m_displayName;
211
212 Aws::String m_username;
213
214 int m_status{0};
215
216 Aws::String m_groupId;
217 bool m_networkIdHasBeenSet = false;
218 bool m_nextTokenHasBeenSet = false;
219 bool m_maxResultsHasBeenSet = false;
220 bool m_sortFieldsHasBeenSet = false;
221 bool m_sortDirectionHasBeenSet = false;
222 bool m_displayNameHasBeenSet = false;
223 bool m_usernameHasBeenSet = false;
224 bool m_statusHasBeenSet = false;
225 bool m_groupIdHasBeenSet = false;
226};
227
228} // namespace Model
229} // namespace Wickr
230} // namespace Aws
ListBotsRequest & WithNetworkId(NetworkIdT &&value)
ListBotsRequest & WithSortFields(SortFieldsT &&value)
ListBotsRequest & WithUsername(UsernameT &&value)
const Aws::String & GetDisplayName() const
const Aws::String & GetNetworkId() const
ListBotsRequest & WithGroupId(GroupIdT &&value)
void SetNetworkId(NetworkIdT &&value)
SortDirection GetSortDirection() const
AWS_WICKR_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListBotsRequest & WithNextToken(NextTokenT &&value)
ListBotsRequest & WithSortDirection(SortDirection value)
void SetUsername(UsernameT &&value)
const Aws::String & GetGroupId() const
AWS_WICKR_API ListBotsRequest()=default
virtual const char * GetServiceRequestName() const override
ListBotsRequest & WithMaxResults(int value)
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetNextToken() const
void SetSortFields(SortFieldsT &&value)
void SetNextToken(NextTokenT &&value)
ListBotsRequest & WithDisplayName(DisplayNameT &&value)
AWS_WICKR_API Aws::String SerializePayload() const override
ListBotsRequest & WithStatus(int value)
const Aws::String & GetUsername() const
const Aws::String & GetSortFields() const
void SetSortDirection(SortDirection value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String