/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #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 GetWirelessDeviceResult { public: AWS_IOTWIRELESS_API GetWirelessDeviceResult(); AWS_IOTWIRELESS_API GetWirelessDeviceResult(const Aws::AmazonWebServiceResult& result); AWS_IOTWIRELESS_API GetWirelessDeviceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The wireless device type.

*/ inline const WirelessDeviceType& GetType() const{ return m_type; } /** *

The wireless device type.

*/ inline void SetType(const WirelessDeviceType& value) { m_type = value; } /** *

The wireless device type.

*/ inline void SetType(WirelessDeviceType&& value) { m_type = std::move(value); } /** *

The wireless device type.

*/ inline GetWirelessDeviceResult& WithType(const WirelessDeviceType& value) { SetType(value); return *this;} /** *

The wireless device type.

*/ inline GetWirelessDeviceResult& 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 void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the resource.

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

The name of the resource.

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

The name of the resource.

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

The name of the resource.

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

The name of the resource.

*/ inline GetWirelessDeviceResult& 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 void SetDescription(const Aws::String& value) { m_description = value; } /** *

The description of the resource.

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

The description of the resource.

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

The description of the resource.

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

The description of the resource.

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

The description of the resource.

*/ inline GetWirelessDeviceResult& WithDescription(const char* value) { SetDescription(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 void SetDestinationName(const Aws::String& value) { m_destinationName = value; } /** *

The name of the destination to which the device is assigned.

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

The name of the destination to which the device is assigned.

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

The name of the destination to which the device is assigned.

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

The name of the destination to which the device is assigned.

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

The name of the destination to which the device is assigned.

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

The ID of the wireless device.

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

The ID of the wireless device.

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

The ID of the wireless device.

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

The ID of the wireless device.

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

The ID of the wireless device.

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

The ID of the wireless device.

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

The ID of the wireless device.

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

The Amazon Resource Name of the resource.

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

The Amazon Resource Name of the resource.

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

The Amazon Resource Name of the resource.

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

The Amazon Resource Name of the resource.

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

The Amazon Resource Name of the resource.

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

The Amazon Resource Name of the resource.

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

The Amazon Resource Name of the resource.

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

The name of the thing associated with the wireless device. The value is empty * if a thing isn't associated with the device.

*/ inline const Aws::String& GetThingName() const{ return m_thingName; } /** *

The name of the thing associated with the wireless device. The value is empty * if a thing isn't associated with the device.

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

The name of the thing associated with the wireless device. The value is empty * if a thing isn't associated with the device.

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

The name of the thing associated with the wireless device. The value is empty * if a thing isn't associated with the device.

*/ inline void SetThingName(const char* value) { m_thingName.assign(value); } /** *

The name of the thing associated with the wireless device. The value is empty * if a thing isn't associated with the device.

*/ inline GetWirelessDeviceResult& WithThingName(const Aws::String& value) { SetThingName(value); return *this;} /** *

The name of the thing associated with the wireless device. The value is empty * if a thing isn't associated with the device.

*/ inline GetWirelessDeviceResult& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;} /** *

The name of the thing associated with the wireless device. The value is empty * if a thing isn't associated with the device.

*/ inline GetWirelessDeviceResult& WithThingName(const char* value) { SetThingName(value); return *this;} /** *

The ARN of the thing associated with the wireless device.

*/ inline const Aws::String& GetThingArn() const{ return m_thingArn; } /** *

The ARN of the thing associated with the wireless device.

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

The ARN of the thing associated with the wireless device.

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

The ARN of the thing associated with the wireless device.

*/ inline void SetThingArn(const char* value) { m_thingArn.assign(value); } /** *

The ARN of the thing associated with the wireless device.

*/ inline GetWirelessDeviceResult& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;} /** *

The ARN of the thing associated with the wireless device.

*/ inline GetWirelessDeviceResult& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;} /** *

The ARN of the thing associated with the wireless device.

*/ inline GetWirelessDeviceResult& WithThingArn(const char* value) { SetThingArn(value); return *this;} /** *

Information about the wireless device.

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

Information about the wireless device.

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

Information about the wireless device.

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

Information about the wireless device.

*/ inline GetWirelessDeviceResult& WithLoRaWAN(const LoRaWANDevice& value) { SetLoRaWAN(value); return *this;} /** *

Information about the wireless device.

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

Sidewalk device object.

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

Sidewalk device object.

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

Sidewalk device object.

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

Sidewalk device object.

*/ inline GetWirelessDeviceResult& WithSidewalk(const SidewalkDevice& value) { SetSidewalk(value); return *this;} /** *

Sidewalk device object.

*/ inline GetWirelessDeviceResult& WithSidewalk(SidewalkDevice&& value) { SetSidewalk(std::move(value)); return *this;} /** *

FPort values for the GNSS, stream, and ClockSync functions of the positioning * information.

*/ inline const PositioningConfigStatus& GetPositioning() const{ return m_positioning; } /** *

FPort values for the GNSS, stream, and ClockSync functions of the positioning * information.

*/ inline void SetPositioning(const PositioningConfigStatus& value) { m_positioning = value; } /** *

FPort values for the GNSS, stream, and ClockSync functions of the positioning * information.

*/ inline void SetPositioning(PositioningConfigStatus&& value) { m_positioning = std::move(value); } /** *

FPort values for the GNSS, stream, and ClockSync functions of the positioning * information.

*/ inline GetWirelessDeviceResult& WithPositioning(const PositioningConfigStatus& value) { SetPositioning(value); return *this;} /** *

FPort values for the GNSS, stream, and ClockSync functions of the positioning * information.

*/ inline GetWirelessDeviceResult& WithPositioning(PositioningConfigStatus&& value) { SetPositioning(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 GetWirelessDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetWirelessDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetWirelessDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: WirelessDeviceType m_type; Aws::String m_name; Aws::String m_description; Aws::String m_destinationName; Aws::String m_id; Aws::String m_arn; Aws::String m_thingName; Aws::String m_thingArn; LoRaWANDevice m_loRaWAN; SidewalkDevice m_sidewalk; PositioningConfigStatus m_positioning; Aws::String m_requestId; }; } // namespace Model } // namespace IoTWireless } // namespace Aws