AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListDevicesRequest.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/PanoramaRequest.h>
9#include <aws/panorama/model/DeviceAggregatedStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/panorama/model/ListDevicesSortBy.h>
12#include <aws/panorama/model/SortOrder.h>
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:
31 AWS_PANORAMA_API ListDevicesRequest() = default;
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
39 AWS_PANORAMA_API Aws::String SerializePayload() const override;
40
41 AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline DeviceAggregatedStatus GetDeviceAggregatedStatusFilter() const { return m_deviceAggregatedStatusFilter; }
49 inline bool DeviceAggregatedStatusFilterHasBeenSet() const { return m_deviceAggregatedStatusFilterHasBeenSet; }
50 inline void SetDeviceAggregatedStatusFilter(DeviceAggregatedStatus value) { m_deviceAggregatedStatusFilterHasBeenSet = true; m_deviceAggregatedStatusFilter = value; }
53
55
58 inline int GetMaxResults() const { return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
61 inline ListDevicesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
63
65
68 inline const Aws::String& GetNameFilter() const { return m_nameFilter; }
69 inline bool NameFilterHasBeenSet() const { return m_nameFilterHasBeenSet; }
70 template<typename NameFilterT = Aws::String>
71 void SetNameFilter(NameFilterT&& value) { m_nameFilterHasBeenSet = true; m_nameFilter = std::forward<NameFilterT>(value); }
72 template<typename NameFilterT = Aws::String>
73 ListDevicesRequest& WithNameFilter(NameFilterT&& value) { SetNameFilter(std::forward<NameFilterT>(value)); return *this;}
75
77
81 inline const Aws::String& GetNextToken() const { return m_nextToken; }
82 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
83 template<typename NextTokenT = Aws::String>
84 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
85 template<typename NextTokenT = Aws::String>
86 ListDevicesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
88
90
93 inline ListDevicesSortBy GetSortBy() const { return m_sortBy; }
94 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
95 inline void SetSortBy(ListDevicesSortBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
96 inline ListDevicesRequest& WithSortBy(ListDevicesSortBy value) { SetSortBy(value); return *this;}
98
100
104 inline SortOrder GetSortOrder() const { return m_sortOrder; }
105 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
106 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
107 inline ListDevicesRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
109 private:
110
111 DeviceAggregatedStatus m_deviceAggregatedStatusFilter{DeviceAggregatedStatus::NOT_SET};
112 bool m_deviceAggregatedStatusFilterHasBeenSet = false;
113
114 int m_maxResults{0};
115 bool m_maxResultsHasBeenSet = false;
116
117 Aws::String m_nameFilter;
118 bool m_nameFilterHasBeenSet = false;
119
120 Aws::String m_nextToken;
121 bool m_nextTokenHasBeenSet = false;
122
124 bool m_sortByHasBeenSet = false;
125
126 SortOrder m_sortOrder{SortOrder::NOT_SET};
127 bool m_sortOrderHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Panorama
132} // namespace Aws
ListDevicesRequest & WithMaxResults(int value)
const Aws::String & GetNameFilter() const
DeviceAggregatedStatus GetDeviceAggregatedStatusFilter() const
AWS_PANORAMA_API Aws::String SerializePayload() const override
ListDevicesRequest & WithSortOrder(SortOrder value)
AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDevicesRequest & WithNameFilter(NameFilterT &&value)
virtual const char * GetServiceRequestName() const override
ListDevicesRequest & WithSortBy(ListDevicesSortBy value)
void SetDeviceAggregatedStatusFilter(DeviceAggregatedStatus value)
AWS_PANORAMA_API ListDevicesRequest()=default
ListDevicesRequest & WithDeviceAggregatedStatusFilter(DeviceAggregatedStatus value)
ListDevicesRequest & WithNextToken(NextTokenT &&value)
void SetSortBy(ListDevicesSortBy value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String