AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListWirelessDevicesRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/WirelessDeviceType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace IoTWireless
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOTWIRELESS_API ListWirelessDevicesRequest() = 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 "ListWirelessDevices"; }
36
37 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
38
39 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline int GetMaxResults() const { return m_maxResults; }
47 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
48 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
49 inline ListWirelessDevicesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
51
53
58 inline const Aws::String& GetNextToken() const { return m_nextToken; }
59 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
60 template<typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
62 template<typename NextTokenT = Aws::String>
63 ListWirelessDevicesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
71 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
72 template<typename DestinationNameT = Aws::String>
73 void SetDestinationName(DestinationNameT&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::forward<DestinationNameT>(value); }
74 template<typename DestinationNameT = Aws::String>
75 ListWirelessDevicesRequest& WithDestinationName(DestinationNameT&& value) { SetDestinationName(std::forward<DestinationNameT>(value)); return *this;}
77
79
82 inline const Aws::String& GetDeviceProfileId() const { return m_deviceProfileId; }
83 inline bool DeviceProfileIdHasBeenSet() const { return m_deviceProfileIdHasBeenSet; }
84 template<typename DeviceProfileIdT = Aws::String>
85 void SetDeviceProfileId(DeviceProfileIdT&& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = std::forward<DeviceProfileIdT>(value); }
86 template<typename DeviceProfileIdT = Aws::String>
87 ListWirelessDevicesRequest& WithDeviceProfileId(DeviceProfileIdT&& value) { SetDeviceProfileId(std::forward<DeviceProfileIdT>(value)); return *this;}
89
91
94 inline const Aws::String& GetServiceProfileId() const { return m_serviceProfileId; }
95 inline bool ServiceProfileIdHasBeenSet() const { return m_serviceProfileIdHasBeenSet; }
96 template<typename ServiceProfileIdT = Aws::String>
97 void SetServiceProfileId(ServiceProfileIdT&& value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId = std::forward<ServiceProfileIdT>(value); }
98 template<typename ServiceProfileIdT = Aws::String>
99 ListWirelessDevicesRequest& WithServiceProfileId(ServiceProfileIdT&& value) { SetServiceProfileId(std::forward<ServiceProfileIdT>(value)); return *this;}
101
103
107 inline WirelessDeviceType GetWirelessDeviceType() const { return m_wirelessDeviceType; }
108 inline bool WirelessDeviceTypeHasBeenSet() const { return m_wirelessDeviceTypeHasBeenSet; }
109 inline void SetWirelessDeviceType(WirelessDeviceType value) { m_wirelessDeviceTypeHasBeenSet = true; m_wirelessDeviceType = value; }
112
114
115 inline const Aws::String& GetFuotaTaskId() const { return m_fuotaTaskId; }
116 inline bool FuotaTaskIdHasBeenSet() const { return m_fuotaTaskIdHasBeenSet; }
117 template<typename FuotaTaskIdT = Aws::String>
118 void SetFuotaTaskId(FuotaTaskIdT&& value) { m_fuotaTaskIdHasBeenSet = true; m_fuotaTaskId = std::forward<FuotaTaskIdT>(value); }
119 template<typename FuotaTaskIdT = Aws::String>
120 ListWirelessDevicesRequest& WithFuotaTaskId(FuotaTaskIdT&& value) { SetFuotaTaskId(std::forward<FuotaTaskIdT>(value)); return *this;}
122
124
125 inline const Aws::String& GetMulticastGroupId() const { return m_multicastGroupId; }
126 inline bool MulticastGroupIdHasBeenSet() const { return m_multicastGroupIdHasBeenSet; }
127 template<typename MulticastGroupIdT = Aws::String>
128 void SetMulticastGroupId(MulticastGroupIdT&& value) { m_multicastGroupIdHasBeenSet = true; m_multicastGroupId = std::forward<MulticastGroupIdT>(value); }
129 template<typename MulticastGroupIdT = Aws::String>
130 ListWirelessDevicesRequest& WithMulticastGroupId(MulticastGroupIdT&& value) { SetMulticastGroupId(std::forward<MulticastGroupIdT>(value)); return *this;}
132 private:
133
134 int m_maxResults{0};
135 bool m_maxResultsHasBeenSet = false;
136
137 Aws::String m_nextToken;
138 bool m_nextTokenHasBeenSet = false;
139
140 Aws::String m_destinationName;
141 bool m_destinationNameHasBeenSet = false;
142
143 Aws::String m_deviceProfileId;
144 bool m_deviceProfileIdHasBeenSet = false;
145
146 Aws::String m_serviceProfileId;
147 bool m_serviceProfileIdHasBeenSet = false;
148
150 bool m_wirelessDeviceTypeHasBeenSet = false;
151
152 Aws::String m_fuotaTaskId;
153 bool m_fuotaTaskIdHasBeenSet = false;
154
155 Aws::String m_multicastGroupId;
156 bool m_multicastGroupIdHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace IoTWireless
161} // namespace Aws
ListWirelessDevicesRequest & WithServiceProfileId(ServiceProfileIdT &&value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
ListWirelessDevicesRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
ListWirelessDevicesRequest & WithWirelessDeviceType(WirelessDeviceType value)
ListWirelessDevicesRequest & WithDeviceProfileId(DeviceProfileIdT &&value)
ListWirelessDevicesRequest & WithFuotaTaskId(FuotaTaskIdT &&value)
AWS_IOTWIRELESS_API ListWirelessDevicesRequest()=default
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListWirelessDevicesRequest & WithDestinationName(DestinationNameT &&value)
ListWirelessDevicesRequest & WithMulticastGroupId(MulticastGroupIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String