AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const DeviceAggregatedStatus& GetDeviceAggregatedStatusFilter() const{ return m_deviceAggregatedStatusFilter; }
49 inline bool DeviceAggregatedStatusFilterHasBeenSet() const { return m_deviceAggregatedStatusFilterHasBeenSet; }
50 inline void SetDeviceAggregatedStatusFilter(const DeviceAggregatedStatus& value) { m_deviceAggregatedStatusFilterHasBeenSet = true; m_deviceAggregatedStatusFilter = value; }
51 inline void SetDeviceAggregatedStatusFilter(DeviceAggregatedStatus&& value) { m_deviceAggregatedStatusFilterHasBeenSet = true; m_deviceAggregatedStatusFilter = std::move(value); }
55
57
60 inline int GetMaxResults() const{ return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
63 inline ListDevicesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
65
67
70 inline const Aws::String& GetNameFilter() const{ return m_nameFilter; }
71 inline bool NameFilterHasBeenSet() const { return m_nameFilterHasBeenSet; }
72 inline void SetNameFilter(const Aws::String& value) { m_nameFilterHasBeenSet = true; m_nameFilter = value; }
73 inline void SetNameFilter(Aws::String&& value) { m_nameFilterHasBeenSet = true; m_nameFilter = std::move(value); }
74 inline void SetNameFilter(const char* value) { m_nameFilterHasBeenSet = true; m_nameFilter.assign(value); }
75 inline ListDevicesRequest& WithNameFilter(const Aws::String& value) { SetNameFilter(value); return *this;}
76 inline ListDevicesRequest& WithNameFilter(Aws::String&& value) { SetNameFilter(std::move(value)); return *this;}
77 inline ListDevicesRequest& WithNameFilter(const char* value) { SetNameFilter(value); return *this;}
79
81
85 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
88 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
89 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
90 inline ListDevicesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
91 inline ListDevicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
92 inline ListDevicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
94
96
99 inline const ListDevicesSortBy& GetSortBy() const{ return m_sortBy; }
100 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
101 inline void SetSortBy(const ListDevicesSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
102 inline void SetSortBy(ListDevicesSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
103 inline ListDevicesRequest& WithSortBy(const ListDevicesSortBy& value) { SetSortBy(value); return *this;}
104 inline ListDevicesRequest& WithSortBy(ListDevicesSortBy&& value) { SetSortBy(std::move(value)); return *this;}
106
108
112 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
113 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
114 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
115 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
116 inline ListDevicesRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
117 inline ListDevicesRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
119 private:
120
121 DeviceAggregatedStatus m_deviceAggregatedStatusFilter;
122 bool m_deviceAggregatedStatusFilterHasBeenSet = false;
123
124 int m_maxResults;
125 bool m_maxResultsHasBeenSet = false;
126
127 Aws::String m_nameFilter;
128 bool m_nameFilterHasBeenSet = false;
129
130 Aws::String m_nextToken;
131 bool m_nextTokenHasBeenSet = false;
132
133 ListDevicesSortBy m_sortBy;
134 bool m_sortByHasBeenSet = false;
135
136 SortOrder m_sortOrder;
137 bool m_sortOrderHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Panorama
142} // namespace Aws
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
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