/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTWireless { namespace Model { /** *

Information about a wireless gateway's operation.

See Also:

* AWS * API Reference

*/ class WirelessGatewayStatistics { public: AWS_IOTWIRELESS_API WirelessGatewayStatistics(); AWS_IOTWIRELESS_API WirelessGatewayStatistics(Aws::Utils::Json::JsonView jsonValue); AWS_IOTWIRELESS_API WirelessGatewayStatistics& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name of the resource.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name of the resource.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name of the resource.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name of the resource.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name of the resource.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name of the resource.

*/ inline WirelessGatewayStatistics& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name of the resource.

*/ inline WirelessGatewayStatistics& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name of the resource.

*/ inline WirelessGatewayStatistics& WithArn(const char* value) { SetArn(value); return *this;} /** *

The ID of the wireless gateway reporting the data.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the wireless gateway reporting the data.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of the wireless gateway reporting the data.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The ID of the wireless gateway reporting the data.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The ID of the wireless gateway reporting the data.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The ID of the wireless gateway reporting the data.

*/ inline WirelessGatewayStatistics& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the wireless gateway reporting the data.

*/ inline WirelessGatewayStatistics& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of the wireless gateway reporting the data.

*/ inline WirelessGatewayStatistics& WithId(const char* value) { SetId(value); return *this;} /** *

The name of the resource.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the resource.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the resource.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the resource.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the resource.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the resource.

*/ inline WirelessGatewayStatistics& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the resource.

*/ inline WirelessGatewayStatistics& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the resource.

*/ inline WirelessGatewayStatistics& WithName(const char* value) { SetName(value); return *this;} /** *

The description of the resource.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the resource.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the resource.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the resource.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the resource.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the resource.

*/ inline WirelessGatewayStatistics& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the resource.

*/ inline WirelessGatewayStatistics& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the resource.

*/ inline WirelessGatewayStatistics& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

LoRaWAN gateway info.

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

LoRaWAN gateway info.

*/ inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; } /** *

LoRaWAN gateway info.

*/ inline void SetLoRaWAN(const LoRaWANGateway& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = value; } /** *

LoRaWAN gateway info.

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

LoRaWAN gateway info.

*/ inline WirelessGatewayStatistics& WithLoRaWAN(const LoRaWANGateway& value) { SetLoRaWAN(value); return *this;} /** *

LoRaWAN gateway info.

*/ inline WirelessGatewayStatistics& WithLoRaWAN(LoRaWANGateway&& value) { SetLoRaWAN(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 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 bool LastUplinkReceivedAtHasBeenSet() const { return m_lastUplinkReceivedAtHasBeenSet; } /** *

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_lastUplinkReceivedAtHasBeenSet = true; 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_lastUplinkReceivedAtHasBeenSet = true; 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_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt.assign(value); } /** *

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

*

This value is only valid for 3 months.

*/ inline WirelessGatewayStatistics& 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 WirelessGatewayStatistics& 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 WirelessGatewayStatistics& WithLastUplinkReceivedAt(const char* value) { SetLastUplinkReceivedAt(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; LoRaWANGateway m_loRaWAN; bool m_loRaWANHasBeenSet = false; Aws::String m_lastUplinkReceivedAt; bool m_lastUplinkReceivedAtHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws