AWS SDK for C++  1.9.104
AWS SDK for C++
ListWirelessDevicesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace IoTWireless
20 {
21 namespace Model
22 {
23 
27  {
28  public:
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::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline int GetMaxResults() const{ return m_maxResults; }
46 
50  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
51 
55  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
56 
60  inline ListWirelessDevicesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61 
62 
68  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
69 
75  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 
82  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
83 
89  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
90 
96  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
97 
103  inline ListWirelessDevicesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
104 
110  inline ListWirelessDevicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
111 
117  inline ListWirelessDevicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
118 
119 
123  inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
124 
128  inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
129 
133  inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; }
134 
138  inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); }
139 
143  inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); }
144 
148  inline ListWirelessDevicesRequest& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;}
149 
153  inline ListWirelessDevicesRequest& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
154 
158  inline ListWirelessDevicesRequest& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
159 
160 
164  inline const Aws::String& GetDeviceProfileId() const{ return m_deviceProfileId; }
165 
169  inline bool DeviceProfileIdHasBeenSet() const { return m_deviceProfileIdHasBeenSet; }
170 
174  inline void SetDeviceProfileId(const Aws::String& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = value; }
175 
179  inline void SetDeviceProfileId(Aws::String&& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = std::move(value); }
180 
184  inline void SetDeviceProfileId(const char* value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId.assign(value); }
185 
189  inline ListWirelessDevicesRequest& WithDeviceProfileId(const Aws::String& value) { SetDeviceProfileId(value); return *this;}
190 
194  inline ListWirelessDevicesRequest& WithDeviceProfileId(Aws::String&& value) { SetDeviceProfileId(std::move(value)); return *this;}
195 
199  inline ListWirelessDevicesRequest& WithDeviceProfileId(const char* value) { SetDeviceProfileId(value); return *this;}
200 
201 
205  inline const Aws::String& GetServiceProfileId() const{ return m_serviceProfileId; }
206 
210  inline bool ServiceProfileIdHasBeenSet() const { return m_serviceProfileIdHasBeenSet; }
211 
215  inline void SetServiceProfileId(const Aws::String& value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId = value; }
216 
220  inline void SetServiceProfileId(Aws::String&& value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId = std::move(value); }
221 
225  inline void SetServiceProfileId(const char* value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId.assign(value); }
226 
230  inline ListWirelessDevicesRequest& WithServiceProfileId(const Aws::String& value) { SetServiceProfileId(value); return *this;}
231 
235  inline ListWirelessDevicesRequest& WithServiceProfileId(Aws::String&& value) { SetServiceProfileId(std::move(value)); return *this;}
236 
240  inline ListWirelessDevicesRequest& WithServiceProfileId(const char* value) { SetServiceProfileId(value); return *this;}
241 
242 
247  inline const WirelessDeviceType& GetWirelessDeviceType() const{ return m_wirelessDeviceType; }
248 
253  inline bool WirelessDeviceTypeHasBeenSet() const { return m_wirelessDeviceTypeHasBeenSet; }
254 
259  inline void SetWirelessDeviceType(const WirelessDeviceType& value) { m_wirelessDeviceTypeHasBeenSet = true; m_wirelessDeviceType = value; }
260 
265  inline void SetWirelessDeviceType(WirelessDeviceType&& value) { m_wirelessDeviceTypeHasBeenSet = true; m_wirelessDeviceType = std::move(value); }
266 
271  inline ListWirelessDevicesRequest& WithWirelessDeviceType(const WirelessDeviceType& value) { SetWirelessDeviceType(value); return *this;}
272 
277  inline ListWirelessDevicesRequest& WithWirelessDeviceType(WirelessDeviceType&& value) { SetWirelessDeviceType(std::move(value)); return *this;}
278 
279  private:
280 
281  int m_maxResults;
282  bool m_maxResultsHasBeenSet;
283 
284  Aws::String m_nextToken;
285  bool m_nextTokenHasBeenSet;
286 
287  Aws::String m_destinationName;
288  bool m_destinationNameHasBeenSet;
289 
290  Aws::String m_deviceProfileId;
291  bool m_deviceProfileIdHasBeenSet;
292 
293  Aws::String m_serviceProfileId;
294  bool m_serviceProfileIdHasBeenSet;
295 
296  WirelessDeviceType m_wirelessDeviceType;
297  bool m_wirelessDeviceTypeHasBeenSet;
298  };
299 
300 } // namespace Model
301 } // namespace IoTWireless
302 } // namespace Aws
Aws::IoTWireless::Model::ListWirelessDevicesRequest::DeviceProfileIdHasBeenSet
bool DeviceProfileIdHasBeenSet() const
Definition: ListWirelessDevicesRequest.h:169
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithNextToken
ListWirelessDevicesRequest & WithNextToken(Aws::String &&value)
Definition: ListWirelessDevicesRequest.h:110
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetDeviceProfileId
void SetDeviceProfileId(const char *value)
Definition: ListWirelessDevicesRequest.h:184
Aws::Http::URI
Definition: URI.h:32
Aws::IoTWireless::Model::ListWirelessDevicesRequest::ServiceProfileIdHasBeenSet
bool ServiceProfileIdHasBeenSet() const
Definition: ListWirelessDevicesRequest.h:210
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithNextToken
ListWirelessDevicesRequest & WithNextToken(const Aws::String &value)
Definition: ListWirelessDevicesRequest.h:103
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithServiceProfileId
ListWirelessDevicesRequest & WithServiceProfileId(Aws::String &&value)
Definition: ListWirelessDevicesRequest.h:235
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetWirelessDeviceType
void SetWirelessDeviceType(WirelessDeviceType &&value)
Definition: ListWirelessDevicesRequest.h:265
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetDestinationName
void SetDestinationName(const Aws::String &value)
Definition: ListWirelessDevicesRequest.h:133
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithServiceProfileId
ListWirelessDevicesRequest & WithServiceProfileId(const char *value)
Definition: ListWirelessDevicesRequest.h:240
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithWirelessDeviceType
ListWirelessDevicesRequest & WithWirelessDeviceType(const WirelessDeviceType &value)
Definition: ListWirelessDevicesRequest.h:271
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithMaxResults
ListWirelessDevicesRequest & WithMaxResults(int value)
Definition: ListWirelessDevicesRequest.h:60
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithNextToken
ListWirelessDevicesRequest & WithNextToken(const char *value)
Definition: ListWirelessDevicesRequest.h:117
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithDestinationName
ListWirelessDevicesRequest & WithDestinationName(const Aws::String &value)
Definition: ListWirelessDevicesRequest.h:148
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListWirelessDevicesRequest.h:96
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetDeviceProfileId
void SetDeviceProfileId(Aws::String &&value)
Definition: ListWirelessDevicesRequest.h:179
Aws::IoTWireless::Model::ListWirelessDevicesRequest::ListWirelessDevicesRequest
ListWirelessDevicesRequest()
Aws::IoTWireless::Model::WirelessDeviceType
WirelessDeviceType
Definition: WirelessDeviceType.h:17
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetServiceProfileId
void SetServiceProfileId(Aws::String &&value)
Definition: ListWirelessDevicesRequest.h:220
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::ListWirelessDevicesRequest::GetServiceProfileId
const Aws::String & GetServiceProfileId() const
Definition: ListWirelessDevicesRequest.h:205
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetDestinationName
void SetDestinationName(Aws::String &&value)
Definition: ListWirelessDevicesRequest.h:138
Aws::IoTWireless::Model::ListWirelessDevicesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListWirelessDevicesRequest.h:75
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetServiceProfileId
void SetServiceProfileId(const char *value)
Definition: ListWirelessDevicesRequest.h:225
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListWirelessDevicesRequest.h:55
Aws::IoTWireless::Model::ListWirelessDevicesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetDestinationName
void SetDestinationName(const char *value)
Definition: ListWirelessDevicesRequest.h:143
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListWirelessDevicesRequest.h:82
Aws::IoTWireless::Model::ListWirelessDevicesRequest::GetDeviceProfileId
const Aws::String & GetDeviceProfileId() const
Definition: ListWirelessDevicesRequest.h:164
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
AWSString.h
Aws::IoTWireless::Model::ListWirelessDevicesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListWirelessDevicesRequest.h:45
Aws::IoTWireless::Model::ListWirelessDevicesRequest::GetWirelessDeviceType
const WirelessDeviceType & GetWirelessDeviceType() const
Definition: ListWirelessDevicesRequest.h:247
Aws::IoTWireless::Model::ListWirelessDevicesRequest::DestinationNameHasBeenSet
bool DestinationNameHasBeenSet() const
Definition: ListWirelessDevicesRequest.h:128
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithDestinationName
ListWirelessDevicesRequest & WithDestinationName(const char *value)
Definition: ListWirelessDevicesRequest.h:158
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListWirelessDevicesRequest.h:89
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetServiceProfileId
void SetServiceProfileId(const Aws::String &value)
Definition: ListWirelessDevicesRequest.h:215
Aws::IoTWireless::Model::ListWirelessDevicesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListWirelessDevicesRequest.h:35
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithDeviceProfileId
ListWirelessDevicesRequest & WithDeviceProfileId(Aws::String &&value)
Definition: ListWirelessDevicesRequest.h:194
Aws::IoTWireless::Model::ListWirelessDevicesRequest
Definition: ListWirelessDevicesRequest.h:27
Aws::IoTWireless::Model::ListWirelessDevicesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListWirelessDevicesRequest.h:68
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithDeviceProfileId
ListWirelessDevicesRequest & WithDeviceProfileId(const char *value)
Definition: ListWirelessDevicesRequest.h:199
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::ListWirelessDevicesRequest::GetDestinationName
const Aws::String & GetDestinationName() const
Definition: ListWirelessDevicesRequest.h:123
WirelessDeviceType.h
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetWirelessDeviceType
void SetWirelessDeviceType(const WirelessDeviceType &value)
Definition: ListWirelessDevicesRequest.h:259
Aws::IoTWireless::Model::ListWirelessDevicesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListWirelessDevicesRequest.h:50
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithDeviceProfileId
ListWirelessDevicesRequest & WithDeviceProfileId(const Aws::String &value)
Definition: ListWirelessDevicesRequest.h:189
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithServiceProfileId
ListWirelessDevicesRequest & WithServiceProfileId(const Aws::String &value)
Definition: ListWirelessDevicesRequest.h:230
Aws::IoTWireless::Model::ListWirelessDevicesRequest::SetDeviceProfileId
void SetDeviceProfileId(const Aws::String &value)
Definition: ListWirelessDevicesRequest.h:174
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithWirelessDeviceType
ListWirelessDevicesRequest & WithWirelessDeviceType(WirelessDeviceType &&value)
Definition: ListWirelessDevicesRequest.h:277
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WirelessDeviceTypeHasBeenSet
bool WirelessDeviceTypeHasBeenSet() const
Definition: ListWirelessDevicesRequest.h:253
Aws::IoTWireless::Model::ListWirelessDevicesRequest::WithDestinationName
ListWirelessDevicesRequest & WithDestinationName(Aws::String &&value)
Definition: ListWirelessDevicesRequest.h:153