/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace IoTWireless { namespace Model { /** */ class UpdateWirelessDeviceRequest : public IoTWirelessRequest { public: AWS_IOTWIRELESS_API UpdateWirelessDeviceRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateWirelessDevice"; } AWS_IOTWIRELESS_API Aws::String SerializePayload() const override; /** *

The ID of the resource to update.

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

The ID of the resource to update.

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

The ID of the resource to update.

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

The ID of the resource to update.

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

The ID of the resource to update.

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

The ID of the resource to update.

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

The ID of the resource to update.

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

The ID of the resource to update.

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

The name of the new destination for the device.

*/ inline const Aws::String& GetDestinationName() const{ return m_destinationName; } /** *

The name of the new destination for the device.

*/ inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; } /** *

The name of the new destination for the device.

*/ inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; } /** *

The name of the new destination for the device.

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

The name of the new destination for the device.

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

The name of the new destination for the device.

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

The name of the new destination for the device.

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

The name of the new destination for the device.

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

The new name of the resource.

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

The new name of the resource.

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

The new name of the resource.

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

The new name of the resource.

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

The new name of the resource.

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

The new name of the resource.

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

The new name of the resource.

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

The new name of the resource.

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

A new description of the resource.

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

A new description of the resource.

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

A new description of the resource.

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

A new description of the resource.

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

A new description of the resource.

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

A new description of the resource.

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

A new description of the resource.

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

A new description of the resource.

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

The updated wireless device's configuration.

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

The updated wireless device's configuration.

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

The updated wireless device's configuration.

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

The updated wireless device's configuration.

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

The updated wireless device's configuration.

*/ inline UpdateWirelessDeviceRequest& WithLoRaWAN(const LoRaWANUpdateDevice& value) { SetLoRaWAN(value); return *this;} /** *

The updated wireless device's configuration.

*/ inline UpdateWirelessDeviceRequest& WithLoRaWAN(LoRaWANUpdateDevice&& value) { SetLoRaWAN(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 bool PositioningHasBeenSet() const { return m_positioningHasBeenSet; } /** *

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

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

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

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

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

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

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

*/ inline UpdateWirelessDeviceRequest& WithPositioning(PositioningConfigStatus&& value) { SetPositioning(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_destinationName; bool m_destinationNameHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; LoRaWANUpdateDevice m_loRaWAN; bool m_loRaWANHasBeenSet = false; PositioningConfigStatus m_positioning; bool m_positioningHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws