AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
61 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
62 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
63 inline ListWirelessDevicesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
64 inline ListWirelessDevicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
65 inline ListWirelessDevicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
67
69
72 inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
73 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
74 inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; }
75 inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); }
76 inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); }
78 inline ListWirelessDevicesRequest& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
79 inline ListWirelessDevicesRequest& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
81
83
86 inline const Aws::String& GetDeviceProfileId() const{ return m_deviceProfileId; }
87 inline bool DeviceProfileIdHasBeenSet() const { return m_deviceProfileIdHasBeenSet; }
88 inline void SetDeviceProfileId(const Aws::String& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = value; }
89 inline void SetDeviceProfileId(Aws::String&& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = std::move(value); }
90 inline void SetDeviceProfileId(const char* value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId.assign(value); }
92 inline ListWirelessDevicesRequest& WithDeviceProfileId(Aws::String&& value) { SetDeviceProfileId(std::move(value)); return *this;}
93 inline ListWirelessDevicesRequest& WithDeviceProfileId(const char* value) { SetDeviceProfileId(value); return *this;}
95
97
100 inline const Aws::String& GetServiceProfileId() const{ return m_serviceProfileId; }
101 inline bool ServiceProfileIdHasBeenSet() const { return m_serviceProfileIdHasBeenSet; }
102 inline void SetServiceProfileId(const Aws::String& value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId = value; }
103 inline void SetServiceProfileId(Aws::String&& value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId = std::move(value); }
104 inline void SetServiceProfileId(const char* value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId.assign(value); }
106 inline ListWirelessDevicesRequest& WithServiceProfileId(Aws::String&& value) { SetServiceProfileId(std::move(value)); return *this;}
107 inline ListWirelessDevicesRequest& WithServiceProfileId(const char* value) { SetServiceProfileId(value); return *this;}
109
111
115 inline const WirelessDeviceType& GetWirelessDeviceType() const{ return m_wirelessDeviceType; }
116 inline bool WirelessDeviceTypeHasBeenSet() const { return m_wirelessDeviceTypeHasBeenSet; }
117 inline void SetWirelessDeviceType(const WirelessDeviceType& value) { m_wirelessDeviceTypeHasBeenSet = true; m_wirelessDeviceType = value; }
118 inline void SetWirelessDeviceType(WirelessDeviceType&& value) { m_wirelessDeviceTypeHasBeenSet = true; m_wirelessDeviceType = std::move(value); }
122
124
125 inline const Aws::String& GetFuotaTaskId() const{ return m_fuotaTaskId; }
126 inline bool FuotaTaskIdHasBeenSet() const { return m_fuotaTaskIdHasBeenSet; }
127 inline void SetFuotaTaskId(const Aws::String& value) { m_fuotaTaskIdHasBeenSet = true; m_fuotaTaskId = value; }
128 inline void SetFuotaTaskId(Aws::String&& value) { m_fuotaTaskIdHasBeenSet = true; m_fuotaTaskId = std::move(value); }
129 inline void SetFuotaTaskId(const char* value) { m_fuotaTaskIdHasBeenSet = true; m_fuotaTaskId.assign(value); }
130 inline ListWirelessDevicesRequest& WithFuotaTaskId(const Aws::String& value) { SetFuotaTaskId(value); return *this;}
131 inline ListWirelessDevicesRequest& WithFuotaTaskId(Aws::String&& value) { SetFuotaTaskId(std::move(value)); return *this;}
132 inline ListWirelessDevicesRequest& WithFuotaTaskId(const char* value) { SetFuotaTaskId(value); return *this;}
134
136
137 inline const Aws::String& GetMulticastGroupId() const{ return m_multicastGroupId; }
138 inline bool MulticastGroupIdHasBeenSet() const { return m_multicastGroupIdHasBeenSet; }
139 inline void SetMulticastGroupId(const Aws::String& value) { m_multicastGroupIdHasBeenSet = true; m_multicastGroupId = value; }
140 inline void SetMulticastGroupId(Aws::String&& value) { m_multicastGroupIdHasBeenSet = true; m_multicastGroupId = std::move(value); }
141 inline void SetMulticastGroupId(const char* value) { m_multicastGroupIdHasBeenSet = true; m_multicastGroupId.assign(value); }
143 inline ListWirelessDevicesRequest& WithMulticastGroupId(Aws::String&& value) { SetMulticastGroupId(std::move(value)); return *this;}
144 inline ListWirelessDevicesRequest& WithMulticastGroupId(const char* value) { SetMulticastGroupId(value); return *this;}
146 private:
147
148 int m_maxResults;
149 bool m_maxResultsHasBeenSet = false;
150
151 Aws::String m_nextToken;
152 bool m_nextTokenHasBeenSet = false;
153
154 Aws::String m_destinationName;
155 bool m_destinationNameHasBeenSet = false;
156
157 Aws::String m_deviceProfileId;
158 bool m_deviceProfileIdHasBeenSet = false;
159
160 Aws::String m_serviceProfileId;
161 bool m_serviceProfileIdHasBeenSet = false;
162
163 WirelessDeviceType m_wirelessDeviceType;
164 bool m_wirelessDeviceTypeHasBeenSet = false;
165
166 Aws::String m_fuotaTaskId;
167 bool m_fuotaTaskIdHasBeenSet = false;
168
169 Aws::String m_multicastGroupId;
170 bool m_multicastGroupIdHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace IoTWireless
175} // namespace Aws
ListWirelessDevicesRequest & WithNextToken(Aws::String &&value)
ListWirelessDevicesRequest & WithDeviceProfileId(const Aws::String &value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListWirelessDevicesRequest & WithFuotaTaskId(Aws::String &&value)
ListWirelessDevicesRequest & WithWirelessDeviceType(WirelessDeviceType &&value)
ListWirelessDevicesRequest & WithFuotaTaskId(const char *value)
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListWirelessDevicesRequest & WithDestinationName(const char *value)
ListWirelessDevicesRequest & WithDestinationName(Aws::String &&value)
ListWirelessDevicesRequest & WithServiceProfileId(Aws::String &&value)
ListWirelessDevicesRequest & WithMulticastGroupId(Aws::String &&value)
ListWirelessDevicesRequest & WithMulticastGroupId(const char *value)
ListWirelessDevicesRequest & WithNextToken(const char *value)
ListWirelessDevicesRequest & WithServiceProfileId(const Aws::String &value)
ListWirelessDevicesRequest & WithDeviceProfileId(Aws::String &&value)
ListWirelessDevicesRequest & WithServiceProfileId(const char *value)
ListWirelessDevicesRequest & WithDeviceProfileId(const char *value)
ListWirelessDevicesRequest & WithDestinationName(const Aws::String &value)
ListWirelessDevicesRequest & WithMulticastGroupId(const Aws::String &value)
ListWirelessDevicesRequest & WithNextToken(const Aws::String &value)
ListWirelessDevicesRequest & WithFuotaTaskId(const Aws::String &value)
ListWirelessDevicesRequest & WithWirelessDeviceType(const WirelessDeviceType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String