/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a wireless device's operation.See Also:
* AWS
* API Reference
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 WirelessDeviceStatistics& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name of the resource.
*/ inline WirelessDeviceStatistics& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name of the resource.
*/ inline WirelessDeviceStatistics& WithArn(const char* value) { SetArn(value); return *this;} /** *The ID of the wireless device reporting the data.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the wireless device reporting the data.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the wireless device reporting the data.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the wireless device reporting the data.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the wireless device reporting the data.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the wireless device reporting the data.
*/ inline WirelessDeviceStatistics& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the wireless device reporting the data.
*/ inline WirelessDeviceStatistics& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the wireless device reporting the data.
*/ inline WirelessDeviceStatistics& WithId(const char* value) { SetId(value); return *this;} /** *The wireless device type.
*/ inline const WirelessDeviceType& GetType() const{ return m_type; } /** *The wireless device type.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The wireless device type.
*/ inline void SetType(const WirelessDeviceType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The wireless device type.
*/ inline void SetType(WirelessDeviceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The wireless device type.
*/ inline WirelessDeviceStatistics& WithType(const WirelessDeviceType& value) { SetType(value); return *this;} /** *The wireless device type.
*/ inline WirelessDeviceStatistics& WithType(WirelessDeviceType&& value) { SetType(std::move(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 WirelessDeviceStatistics& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the resource.
*/ inline WirelessDeviceStatistics& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the resource.
*/ inline WirelessDeviceStatistics& WithName(const char* value) { SetName(value); return *this;} /** *The name of the destination to which the device is assigned.
*/ inline const Aws::String& GetDestinationName() const{ return m_destinationName; } /** *The name of the destination to which the device is assigned.
*/ inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; } /** *The name of the destination to which the device is assigned.
*/ inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; } /** *The name of the destination to which the device is assigned.
*/ inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); } /** *The name of the destination to which the device is assigned.
*/ inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); } /** *The name of the destination to which the device is assigned.
*/ inline WirelessDeviceStatistics& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;} /** *The name of the destination to which the device is assigned.
*/ inline WirelessDeviceStatistics& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;} /** *The name of the destination to which the device is assigned.
*/ inline WirelessDeviceStatistics& WithDestinationName(const char* value) { SetDestinationName(value); return *this;} /** *The date and time when the most recent uplink was received.
*Theis 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.
*Theis 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.
*Theis 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.
*Theis 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.
*Theis 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.
*Theis value is only valid for 3 months.
*/ inline WirelessDeviceStatistics& WithLastUplinkReceivedAt(const Aws::String& value) { SetLastUplinkReceivedAt(value); return *this;} /** *The date and time when the most recent uplink was received.
*Theis value is only valid for 3 months.
*/ inline WirelessDeviceStatistics& WithLastUplinkReceivedAt(Aws::String&& value) { SetLastUplinkReceivedAt(std::move(value)); return *this;} /** *The date and time when the most recent uplink was received.
*Theis value is only valid for 3 months.
*/ inline WirelessDeviceStatistics& WithLastUplinkReceivedAt(const char* value) { SetLastUplinkReceivedAt(value); return *this;} /** *LoRaWAN device info.
*/ inline const LoRaWANListDevice& GetLoRaWAN() const{ return m_loRaWAN; } /** *LoRaWAN device info.
*/ inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; } /** *LoRaWAN device info.
*/ inline void SetLoRaWAN(const LoRaWANListDevice& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = value; } /** *LoRaWAN device info.
*/ inline void SetLoRaWAN(LoRaWANListDevice&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::move(value); } /** *LoRaWAN device info.
*/ inline WirelessDeviceStatistics& WithLoRaWAN(const LoRaWANListDevice& value) { SetLoRaWAN(value); return *this;} /** *LoRaWAN device info.
*/ inline WirelessDeviceStatistics& WithLoRaWAN(LoRaWANListDevice&& value) { SetLoRaWAN(std::move(value)); return *this;} /** *The Sidewalk account credentials.
*/ inline const SidewalkListDevice& GetSidewalk() const{ return m_sidewalk; } /** *The Sidewalk account credentials.
*/ inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; } /** *The Sidewalk account credentials.
*/ inline void SetSidewalk(const SidewalkListDevice& value) { m_sidewalkHasBeenSet = true; m_sidewalk = value; } /** *The Sidewalk account credentials.
*/ inline void SetSidewalk(SidewalkListDevice&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::move(value); } /** *The Sidewalk account credentials.
*/ inline WirelessDeviceStatistics& WithSidewalk(const SidewalkListDevice& value) { SetSidewalk(value); return *this;} /** *The Sidewalk account credentials.
*/ inline WirelessDeviceStatistics& WithSidewalk(SidewalkListDevice&& value) { SetSidewalk(std::move(value)); return *this;} inline const FuotaDeviceStatus& GetFuotaDeviceStatus() const{ return m_fuotaDeviceStatus; } inline bool FuotaDeviceStatusHasBeenSet() const { return m_fuotaDeviceStatusHasBeenSet; } inline void SetFuotaDeviceStatus(const FuotaDeviceStatus& value) { m_fuotaDeviceStatusHasBeenSet = true; m_fuotaDeviceStatus = value; } inline void SetFuotaDeviceStatus(FuotaDeviceStatus&& value) { m_fuotaDeviceStatusHasBeenSet = true; m_fuotaDeviceStatus = std::move(value); } inline WirelessDeviceStatistics& WithFuotaDeviceStatus(const FuotaDeviceStatus& value) { SetFuotaDeviceStatus(value); return *this;} inline WirelessDeviceStatistics& WithFuotaDeviceStatus(FuotaDeviceStatus&& value) { SetFuotaDeviceStatus(std::move(value)); return *this;} /** *The status of the wireless device in the multicast group.
*/ inline const Aws::String& GetMulticastDeviceStatus() const{ return m_multicastDeviceStatus; } /** *The status of the wireless device in the multicast group.
*/ inline bool MulticastDeviceStatusHasBeenSet() const { return m_multicastDeviceStatusHasBeenSet; } /** *The status of the wireless device in the multicast group.
*/ inline void SetMulticastDeviceStatus(const Aws::String& value) { m_multicastDeviceStatusHasBeenSet = true; m_multicastDeviceStatus = value; } /** *The status of the wireless device in the multicast group.
*/ inline void SetMulticastDeviceStatus(Aws::String&& value) { m_multicastDeviceStatusHasBeenSet = true; m_multicastDeviceStatus = std::move(value); } /** *The status of the wireless device in the multicast group.
*/ inline void SetMulticastDeviceStatus(const char* value) { m_multicastDeviceStatusHasBeenSet = true; m_multicastDeviceStatus.assign(value); } /** *The status of the wireless device in the multicast group.
*/ inline WirelessDeviceStatistics& WithMulticastDeviceStatus(const Aws::String& value) { SetMulticastDeviceStatus(value); return *this;} /** *The status of the wireless device in the multicast group.
*/ inline WirelessDeviceStatistics& WithMulticastDeviceStatus(Aws::String&& value) { SetMulticastDeviceStatus(std::move(value)); return *this;} /** *The status of the wireless device in the multicast group.
*/ inline WirelessDeviceStatistics& WithMulticastDeviceStatus(const char* value) { SetMulticastDeviceStatus(value); return *this;} inline int GetMcGroupId() const{ return m_mcGroupId; } inline bool McGroupIdHasBeenSet() const { return m_mcGroupIdHasBeenSet; } inline void SetMcGroupId(int value) { m_mcGroupIdHasBeenSet = true; m_mcGroupId = value; } inline WirelessDeviceStatistics& WithMcGroupId(int value) { SetMcGroupId(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; WirelessDeviceType m_type; bool m_typeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_destinationName; bool m_destinationNameHasBeenSet = false; Aws::String m_lastUplinkReceivedAt; bool m_lastUplinkReceivedAtHasBeenSet = false; LoRaWANListDevice m_loRaWAN; bool m_loRaWANHasBeenSet = false; SidewalkListDevice m_sidewalk; bool m_sidewalkHasBeenSet = false; FuotaDeviceStatus m_fuotaDeviceStatus; bool m_fuotaDeviceStatusHasBeenSet = false; Aws::String m_multicastDeviceStatus; bool m_multicastDeviceStatusHasBeenSet = false; int m_mcGroupId; bool m_mcGroupIdHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws