/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTWireless { namespace Model { class GetWirelessDeviceStatisticsResult { public: AWS_IOTWIRELESS_API GetWirelessDeviceStatisticsResult(); AWS_IOTWIRELESS_API GetWirelessDeviceStatisticsResult(const Aws::AmazonWebServiceResult& result); AWS_IOTWIRELESS_API GetWirelessDeviceStatisticsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the wireless device.

*/ inline const Aws::String& GetWirelessDeviceId() const{ return m_wirelessDeviceId; } /** *

The ID of the wireless device.

*/ inline void SetWirelessDeviceId(const Aws::String& value) { m_wirelessDeviceId = value; } /** *

The ID of the wireless device.

*/ inline void SetWirelessDeviceId(Aws::String&& value) { m_wirelessDeviceId = std::move(value); } /** *

The ID of the wireless device.

*/ inline void SetWirelessDeviceId(const char* value) { m_wirelessDeviceId.assign(value); } /** *

The ID of the wireless device.

*/ inline GetWirelessDeviceStatisticsResult& WithWirelessDeviceId(const Aws::String& value) { SetWirelessDeviceId(value); return *this;} /** *

The ID of the wireless device.

*/ inline GetWirelessDeviceStatisticsResult& WithWirelessDeviceId(Aws::String&& value) { SetWirelessDeviceId(std::move(value)); return *this;} /** *

The ID of the wireless device.

*/ inline GetWirelessDeviceStatisticsResult& WithWirelessDeviceId(const char* value) { SetWirelessDeviceId(value); return *this;} /** *

The date and time when the most recent uplink was received.

*

This value is only valid for 3 months.

*/ inline const Aws::String& GetLastUplinkReceivedAt() const{ return m_lastUplinkReceivedAt; } /** *

The date and time when the most recent uplink was received.

*

This value is only valid for 3 months.

*/ inline void SetLastUplinkReceivedAt(const Aws::String& value) { m_lastUplinkReceivedAt = value; } /** *

The date and time when the most recent uplink was received.

*

This value is only valid for 3 months.

*/ inline void SetLastUplinkReceivedAt(Aws::String&& value) { m_lastUplinkReceivedAt = std::move(value); } /** *

The date and time when the most recent uplink was received.

*

This value is only valid for 3 months.

*/ inline void SetLastUplinkReceivedAt(const char* value) { m_lastUplinkReceivedAt.assign(value); } /** *

The date and time when the most recent uplink was received.

*

This value is only valid for 3 months.

*/ inline GetWirelessDeviceStatisticsResult& WithLastUplinkReceivedAt(const Aws::String& value) { SetLastUplinkReceivedAt(value); return *this;} /** *

The date and time when the most recent uplink was received.

*

This value is only valid for 3 months.

*/ inline GetWirelessDeviceStatisticsResult& WithLastUplinkReceivedAt(Aws::String&& value) { SetLastUplinkReceivedAt(std::move(value)); return *this;} /** *

The date and time when the most recent uplink was received.

*

This value is only valid for 3 months.

*/ inline GetWirelessDeviceStatisticsResult& WithLastUplinkReceivedAt(const char* value) { SetLastUplinkReceivedAt(value); return *this;} /** *

Information about the wireless device's operations.

*/ inline const LoRaWANDeviceMetadata& GetLoRaWAN() const{ return m_loRaWAN; } /** *

Information about the wireless device's operations.

*/ inline void SetLoRaWAN(const LoRaWANDeviceMetadata& value) { m_loRaWAN = value; } /** *

Information about the wireless device's operations.

*/ inline void SetLoRaWAN(LoRaWANDeviceMetadata&& value) { m_loRaWAN = std::move(value); } /** *

Information about the wireless device's operations.

*/ inline GetWirelessDeviceStatisticsResult& WithLoRaWAN(const LoRaWANDeviceMetadata& value) { SetLoRaWAN(value); return *this;} /** *

Information about the wireless device's operations.

*/ inline GetWirelessDeviceStatisticsResult& WithLoRaWAN(LoRaWANDeviceMetadata&& value) { SetLoRaWAN(std::move(value)); return *this;} /** *

MetaData for Sidewalk device.

*/ inline const SidewalkDeviceMetadata& GetSidewalk() const{ return m_sidewalk; } /** *

MetaData for Sidewalk device.

*/ inline void SetSidewalk(const SidewalkDeviceMetadata& value) { m_sidewalk = value; } /** *

MetaData for Sidewalk device.

*/ inline void SetSidewalk(SidewalkDeviceMetadata&& value) { m_sidewalk = std::move(value); } /** *

MetaData for Sidewalk device.

*/ inline GetWirelessDeviceStatisticsResult& WithSidewalk(const SidewalkDeviceMetadata& value) { SetSidewalk(value); return *this;} /** *

MetaData for Sidewalk device.

*/ inline GetWirelessDeviceStatisticsResult& WithSidewalk(SidewalkDeviceMetadata&& value) { SetSidewalk(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetWirelessDeviceStatisticsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetWirelessDeviceStatisticsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetWirelessDeviceStatisticsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_wirelessDeviceId; Aws::String m_lastUplinkReceivedAt; LoRaWANDeviceMetadata m_loRaWAN; SidewalkDeviceMetadata m_sidewalk; Aws::String m_requestId; }; } // namespace Model } // namespace IoTWireless } // namespace Aws