/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace IoTWireless { namespace Model { /** */ class ListWirelessDevicesRequest : public IoTWirelessRequest { public: AWS_IOTWIRELESS_API ListWirelessDevicesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListWirelessDevices"; } AWS_IOTWIRELESS_API Aws::String SerializePayload() const override; AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The maximum number of results to return in this operation.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return in this operation.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return in this operation.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return in this operation.

*/ inline ListWirelessDevicesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

*/ inline ListWirelessDevicesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

*/ inline ListWirelessDevicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

To retrieve the next set of results, the nextToken value from a * previous response; otherwise null to receive the first set of * results.

*/ inline ListWirelessDevicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

A filter to list only the wireless devices that use this destination.

*/ inline const Aws::String& GetDestinationName() const{ return m_destinationName; } /** *

A filter to list only the wireless devices that use this destination.

*/ inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; } /** *

A filter to list only the wireless devices that use this destination.

*/ inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; } /** *

A filter to list only the wireless devices that use this destination.

*/ inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); } /** *

A filter to list only the wireless devices that use this destination.

*/ inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); } /** *

A filter to list only the wireless devices that use this destination.

*/ inline ListWirelessDevicesRequest& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;} /** *

A filter to list only the wireless devices that use this destination.

*/ inline ListWirelessDevicesRequest& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;} /** *

A filter to list only the wireless devices that use this destination.

*/ inline ListWirelessDevicesRequest& WithDestinationName(const char* value) { SetDestinationName(value); return *this;} /** *

A filter to list only the wireless devices that use this device profile.

*/ inline const Aws::String& GetDeviceProfileId() const{ return m_deviceProfileId; } /** *

A filter to list only the wireless devices that use this device profile.

*/ inline bool DeviceProfileIdHasBeenSet() const { return m_deviceProfileIdHasBeenSet; } /** *

A filter to list only the wireless devices that use this device profile.

*/ inline void SetDeviceProfileId(const Aws::String& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = value; } /** *

A filter to list only the wireless devices that use this device profile.

*/ inline void SetDeviceProfileId(Aws::String&& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = std::move(value); } /** *

A filter to list only the wireless devices that use this device profile.

*/ inline void SetDeviceProfileId(const char* value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId.assign(value); } /** *

A filter to list only the wireless devices that use this device profile.

*/ inline ListWirelessDevicesRequest& WithDeviceProfileId(const Aws::String& value) { SetDeviceProfileId(value); return *this;} /** *

A filter to list only the wireless devices that use this device profile.

*/ inline ListWirelessDevicesRequest& WithDeviceProfileId(Aws::String&& value) { SetDeviceProfileId(std::move(value)); return *this;} /** *

A filter to list only the wireless devices that use this device profile.

*/ inline ListWirelessDevicesRequest& WithDeviceProfileId(const char* value) { SetDeviceProfileId(value); return *this;} /** *

A filter to list only the wireless devices that use this service profile.

*/ inline const Aws::String& GetServiceProfileId() const{ return m_serviceProfileId; } /** *

A filter to list only the wireless devices that use this service profile.

*/ inline bool ServiceProfileIdHasBeenSet() const { return m_serviceProfileIdHasBeenSet; } /** *

A filter to list only the wireless devices that use this service profile.

*/ inline void SetServiceProfileId(const Aws::String& value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId = value; } /** *

A filter to list only the wireless devices that use this service profile.

*/ inline void SetServiceProfileId(Aws::String&& value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId = std::move(value); } /** *

A filter to list only the wireless devices that use this service profile.

*/ inline void SetServiceProfileId(const char* value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId.assign(value); } /** *

A filter to list only the wireless devices that use this service profile.

*/ inline ListWirelessDevicesRequest& WithServiceProfileId(const Aws::String& value) { SetServiceProfileId(value); return *this;} /** *

A filter to list only the wireless devices that use this service profile.

*/ inline ListWirelessDevicesRequest& WithServiceProfileId(Aws::String&& value) { SetServiceProfileId(std::move(value)); return *this;} /** *

A filter to list only the wireless devices that use this service profile.

*/ inline ListWirelessDevicesRequest& WithServiceProfileId(const char* value) { SetServiceProfileId(value); return *this;} /** *

A filter to list only the wireless devices that use this wireless device * type.

*/ inline const WirelessDeviceType& GetWirelessDeviceType() const{ return m_wirelessDeviceType; } /** *

A filter to list only the wireless devices that use this wireless device * type.

*/ inline bool WirelessDeviceTypeHasBeenSet() const { return m_wirelessDeviceTypeHasBeenSet; } /** *

A filter to list only the wireless devices that use this wireless device * type.

*/ inline void SetWirelessDeviceType(const WirelessDeviceType& value) { m_wirelessDeviceTypeHasBeenSet = true; m_wirelessDeviceType = value; } /** *

A filter to list only the wireless devices that use this wireless device * type.

*/ inline void SetWirelessDeviceType(WirelessDeviceType&& value) { m_wirelessDeviceTypeHasBeenSet = true; m_wirelessDeviceType = std::move(value); } /** *

A filter to list only the wireless devices that use this wireless device * type.

*/ inline ListWirelessDevicesRequest& WithWirelessDeviceType(const WirelessDeviceType& value) { SetWirelessDeviceType(value); return *this;} /** *

A filter to list only the wireless devices that use this wireless device * type.

*/ inline ListWirelessDevicesRequest& WithWirelessDeviceType(WirelessDeviceType&& value) { SetWirelessDeviceType(std::move(value)); return *this;} inline const Aws::String& GetFuotaTaskId() const{ return m_fuotaTaskId; } inline bool FuotaTaskIdHasBeenSet() const { return m_fuotaTaskIdHasBeenSet; } inline void SetFuotaTaskId(const Aws::String& value) { m_fuotaTaskIdHasBeenSet = true; m_fuotaTaskId = value; } inline void SetFuotaTaskId(Aws::String&& value) { m_fuotaTaskIdHasBeenSet = true; m_fuotaTaskId = std::move(value); } inline void SetFuotaTaskId(const char* value) { m_fuotaTaskIdHasBeenSet = true; m_fuotaTaskId.assign(value); } inline ListWirelessDevicesRequest& WithFuotaTaskId(const Aws::String& value) { SetFuotaTaskId(value); return *this;} inline ListWirelessDevicesRequest& WithFuotaTaskId(Aws::String&& value) { SetFuotaTaskId(std::move(value)); return *this;} inline ListWirelessDevicesRequest& WithFuotaTaskId(const char* value) { SetFuotaTaskId(value); return *this;} inline const Aws::String& GetMulticastGroupId() const{ return m_multicastGroupId; } inline bool MulticastGroupIdHasBeenSet() const { return m_multicastGroupIdHasBeenSet; } inline void SetMulticastGroupId(const Aws::String& value) { m_multicastGroupIdHasBeenSet = true; m_multicastGroupId = value; } inline void SetMulticastGroupId(Aws::String&& value) { m_multicastGroupIdHasBeenSet = true; m_multicastGroupId = std::move(value); } inline void SetMulticastGroupId(const char* value) { m_multicastGroupIdHasBeenSet = true; m_multicastGroupId.assign(value); } inline ListWirelessDevicesRequest& WithMulticastGroupId(const Aws::String& value) { SetMulticastGroupId(value); return *this;} inline ListWirelessDevicesRequest& WithMulticastGroupId(Aws::String&& value) { SetMulticastGroupId(std::move(value)); return *this;} inline ListWirelessDevicesRequest& WithMulticastGroupId(const char* value) { SetMulticastGroupId(value); return *this;} private: int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_destinationName; bool m_destinationNameHasBeenSet = false; Aws::String m_deviceProfileId; bool m_deviceProfileIdHasBeenSet = false; Aws::String m_serviceProfileId; bool m_serviceProfileIdHasBeenSet = false; WirelessDeviceType m_wirelessDeviceType; bool m_wirelessDeviceTypeHasBeenSet = false; Aws::String m_fuotaTaskId; bool m_fuotaTaskIdHasBeenSet = false; Aws::String m_multicastGroupId; bool m_multicastGroupIdHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws