/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace IoTWireless { namespace Model { /** */ class DeleteQueuedMessagesRequest : public IoTWirelessRequest { public: AWS_IOTWIRELESS_API DeleteQueuedMessagesRequest(); // 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 "DeleteQueuedMessages"; } AWS_IOTWIRELESS_API Aws::String SerializePayload() const override; AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The ID of a given wireless device for which downlink messages will be * deleted.

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

The ID of a given wireless device for which downlink messages will be * deleted.

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

The ID of a given wireless device for which downlink messages will be * deleted.

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

The ID of a given wireless device for which downlink messages will be * deleted.

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

The ID of a given wireless device for which downlink messages will be * deleted.

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

The ID of a given wireless device for which downlink messages will be * deleted.

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

The ID of a given wireless device for which downlink messages will be * deleted.

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

The ID of a given wireless device for which downlink messages will be * deleted.

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

If message ID is "*", it cleares the entire downlink queue for a * given device, specified by the wireless device ID. Otherwise, the downlink * message with the specified message ID will be deleted.

*/ inline const Aws::String& GetMessageId() const{ return m_messageId; } /** *

If message ID is "*", it cleares the entire downlink queue for a * given device, specified by the wireless device ID. Otherwise, the downlink * message with the specified message ID will be deleted.

*/ inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; } /** *

If message ID is "*", it cleares the entire downlink queue for a * given device, specified by the wireless device ID. Otherwise, the downlink * message with the specified message ID will be deleted.

*/ inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; } /** *

If message ID is "*", it cleares the entire downlink queue for a * given device, specified by the wireless device ID. Otherwise, the downlink * message with the specified message ID will be deleted.

*/ inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); } /** *

If message ID is "*", it cleares the entire downlink queue for a * given device, specified by the wireless device ID. Otherwise, the downlink * message with the specified message ID will be deleted.

*/ inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); } /** *

If message ID is "*", it cleares the entire downlink queue for a * given device, specified by the wireless device ID. Otherwise, the downlink * message with the specified message ID will be deleted.

*/ inline DeleteQueuedMessagesRequest& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;} /** *

If message ID is "*", it cleares the entire downlink queue for a * given device, specified by the wireless device ID. Otherwise, the downlink * message with the specified message ID will be deleted.

*/ inline DeleteQueuedMessagesRequest& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;} /** *

If message ID is "*", it cleares the entire downlink queue for a * given device, specified by the wireless device ID. Otherwise, the downlink * message with the specified message ID will be deleted.

*/ inline DeleteQueuedMessagesRequest& WithMessageId(const char* value) { SetMessageId(value); return *this;} /** *

The wireless device type, which can be either Sidewalk or LoRaWAN.

*/ inline const WirelessDeviceType& GetWirelessDeviceType() const{ return m_wirelessDeviceType; } /** *

The wireless device type, which can be either Sidewalk or LoRaWAN.

*/ inline bool WirelessDeviceTypeHasBeenSet() const { return m_wirelessDeviceTypeHasBeenSet; } /** *

The wireless device type, which can be either Sidewalk or LoRaWAN.

*/ inline void SetWirelessDeviceType(const WirelessDeviceType& value) { m_wirelessDeviceTypeHasBeenSet = true; m_wirelessDeviceType = value; } /** *

The wireless device type, which can be either Sidewalk or LoRaWAN.

*/ inline void SetWirelessDeviceType(WirelessDeviceType&& value) { m_wirelessDeviceTypeHasBeenSet = true; m_wirelessDeviceType = std::move(value); } /** *

The wireless device type, which can be either Sidewalk or LoRaWAN.

*/ inline DeleteQueuedMessagesRequest& WithWirelessDeviceType(const WirelessDeviceType& value) { SetWirelessDeviceType(value); return *this;} /** *

The wireless device type, which can be either Sidewalk or LoRaWAN.

*/ inline DeleteQueuedMessagesRequest& WithWirelessDeviceType(WirelessDeviceType&& value) { SetWirelessDeviceType(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_messageId; bool m_messageIdHasBeenSet = false; WirelessDeviceType m_wirelessDeviceType; bool m_wirelessDeviceTypeHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws