/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTWireless { namespace Model { class GetWirelessGatewayStatisticsResult { public: AWS_IOTWIRELESS_API GetWirelessGatewayStatisticsResult(); AWS_IOTWIRELESS_API GetWirelessGatewayStatisticsResult(const Aws::AmazonWebServiceResult& result); AWS_IOTWIRELESS_API GetWirelessGatewayStatisticsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the wireless gateway.

*/ inline const Aws::String& GetWirelessGatewayId() const{ return m_wirelessGatewayId; } /** *

The ID of the wireless gateway.

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

The ID of the wireless gateway.

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

The ID of the wireless gateway.

*/ inline void SetWirelessGatewayId(const char* value) { m_wirelessGatewayId.assign(value); } /** *

The ID of the wireless gateway.

*/ inline GetWirelessGatewayStatisticsResult& WithWirelessGatewayId(const Aws::String& value) { SetWirelessGatewayId(value); return *this;} /** *

The ID of the wireless gateway.

*/ inline GetWirelessGatewayStatisticsResult& WithWirelessGatewayId(Aws::String&& value) { SetWirelessGatewayId(std::move(value)); return *this;} /** *

The ID of the wireless gateway.

*/ inline GetWirelessGatewayStatisticsResult& WithWirelessGatewayId(const char* value) { SetWirelessGatewayId(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 GetWirelessGatewayStatisticsResult& 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 GetWirelessGatewayStatisticsResult& 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 GetWirelessGatewayStatisticsResult& WithLastUplinkReceivedAt(const char* value) { SetLastUplinkReceivedAt(value); return *this;} /** *

The connection status of the wireless gateway.

*/ inline const ConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; } /** *

The connection status of the wireless gateway.

*/ inline void SetConnectionStatus(const ConnectionStatus& value) { m_connectionStatus = value; } /** *

The connection status of the wireless gateway.

*/ inline void SetConnectionStatus(ConnectionStatus&& value) { m_connectionStatus = std::move(value); } /** *

The connection status of the wireless gateway.

*/ inline GetWirelessGatewayStatisticsResult& WithConnectionStatus(const ConnectionStatus& value) { SetConnectionStatus(value); return *this;} /** *

The connection status of the wireless gateway.

*/ inline GetWirelessGatewayStatisticsResult& WithConnectionStatus(ConnectionStatus&& value) { SetConnectionStatus(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 GetWirelessGatewayStatisticsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetWirelessGatewayStatisticsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetWirelessGatewayStatisticsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_wirelessGatewayId; Aws::String m_lastUplinkReceivedAt; ConnectionStatus m_connectionStatus; Aws::String m_requestId; }; } // namespace Model } // namespace IoTWireless } // namespace Aws