AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListDevicesRequest.h
Go to the documentation of this file.
1
6#pragma once
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace Panorama
22{
23namespace Model
24{
25
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListDevices"; }
38
40
42
43
47 inline const DeviceAggregatedStatus& GetDeviceAggregatedStatusFilter() const{ return m_deviceAggregatedStatusFilter; }
48
52 inline bool DeviceAggregatedStatusFilterHasBeenSet() const { return m_deviceAggregatedStatusFilterHasBeenSet; }
53
57 inline void SetDeviceAggregatedStatusFilter(const DeviceAggregatedStatus& value) { m_deviceAggregatedStatusFilterHasBeenSet = true; m_deviceAggregatedStatusFilter = value; }
58
62 inline void SetDeviceAggregatedStatusFilter(DeviceAggregatedStatus&& value) { m_deviceAggregatedStatusFilterHasBeenSet = true; m_deviceAggregatedStatusFilter = std::move(value); }
63
68
73
74
78 inline int GetMaxResults() const{ return m_maxResults; }
79
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84
88 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
89
93 inline ListDevicesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
94
95
99 inline const Aws::String& GetNameFilter() const{ return m_nameFilter; }
100
104 inline bool NameFilterHasBeenSet() const { return m_nameFilterHasBeenSet; }
105
109 inline void SetNameFilter(const Aws::String& value) { m_nameFilterHasBeenSet = true; m_nameFilter = value; }
110
114 inline void SetNameFilter(Aws::String&& value) { m_nameFilterHasBeenSet = true; m_nameFilter = std::move(value); }
115
119 inline void SetNameFilter(const char* value) { m_nameFilterHasBeenSet = true; m_nameFilter.assign(value); }
120
124 inline ListDevicesRequest& WithNameFilter(const Aws::String& value) { SetNameFilter(value); return *this;}
125
129 inline ListDevicesRequest& WithNameFilter(Aws::String&& value) { SetNameFilter(std::move(value)); return *this;}
130
134 inline ListDevicesRequest& WithNameFilter(const char* value) { SetNameFilter(value); return *this;}
135
136
141 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
142
147 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
148
153 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
154
159 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
160
165 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
166
171 inline ListDevicesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
172
177 inline ListDevicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
178
183 inline ListDevicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
184
185
189 inline const ListDevicesSortBy& GetSortBy() const{ return m_sortBy; }
190
194 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
195
199 inline void SetSortBy(const ListDevicesSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
200
204 inline void SetSortBy(ListDevicesSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
205
209 inline ListDevicesRequest& WithSortBy(const ListDevicesSortBy& value) { SetSortBy(value); return *this;}
210
214 inline ListDevicesRequest& WithSortBy(ListDevicesSortBy&& value) { SetSortBy(std::move(value)); return *this;}
215
216
221 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
222
227 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
228
233 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
234
239 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
240
245 inline ListDevicesRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
246
251 inline ListDevicesRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
252
253 private:
254
255 DeviceAggregatedStatus m_deviceAggregatedStatusFilter;
256 bool m_deviceAggregatedStatusFilterHasBeenSet = false;
257
258 int m_maxResults;
259 bool m_maxResultsHasBeenSet = false;
260
261 Aws::String m_nameFilter;
262 bool m_nameFilterHasBeenSet = false;
263
264 Aws::String m_nextToken;
265 bool m_nextTokenHasBeenSet = false;
266
267 ListDevicesSortBy m_sortBy;
268 bool m_sortByHasBeenSet = false;
269
270 SortOrder m_sortOrder;
271 bool m_sortOrderHasBeenSet = false;
272 };
273
274} // namespace Model
275} // namespace Panorama
276} // namespace Aws
#define AWS_PANORAMA_API
ListDevicesRequest & WithSortBy(ListDevicesSortBy &&value)
const ListDevicesSortBy & GetSortBy() const
void SetDeviceAggregatedStatusFilter(DeviceAggregatedStatus &&value)
ListDevicesRequest & WithMaxResults(int value)
const Aws::String & GetNameFilter() const
ListDevicesRequest & WithNameFilter(const char *value)
void SetNameFilter(const Aws::String &value)
void SetSortBy(ListDevicesSortBy &&value)
ListDevicesRequest & WithNextToken(Aws::String &&value)
ListDevicesRequest & WithDeviceAggregatedStatusFilter(DeviceAggregatedStatus &&value)
const DeviceAggregatedStatus & GetDeviceAggregatedStatusFilter() const
void SetSortOrder(const SortOrder &value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetNextToken() const
ListDevicesRequest & WithNextToken(const Aws::String &value)
ListDevicesRequest & WithSortOrder(const SortOrder &value)
ListDevicesRequest & WithNameFilter(Aws::String &&value)
ListDevicesRequest & WithSortBy(const ListDevicesSortBy &value)
ListDevicesRequest & WithNameFilter(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListDevicesRequest & WithNextToken(const char *value)
ListDevicesRequest & WithSortOrder(SortOrder &&value)
void SetSortBy(const ListDevicesSortBy &value)
void SetDeviceAggregatedStatusFilter(const DeviceAggregatedStatus &value)
ListDevicesRequest & WithDeviceAggregatedStatusFilter(const DeviceAggregatedStatus &value)
void SetNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String