/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The message in the downlink queue.See Also:
AWS
* API Reference
The message ID assigned by IoT Wireless to each downlink message, which * helps identify the message.
*/ inline const Aws::String& GetMessageId() const{ return m_messageId; } /** *The message ID assigned by IoT Wireless to each downlink message, which * helps identify the message.
*/ inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; } /** *The message ID assigned by IoT Wireless to each downlink message, which * helps identify the message.
*/ inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; } /** *The message ID assigned by IoT Wireless to each downlink message, which * helps identify the message.
*/ inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); } /** *The message ID assigned by IoT Wireless to each downlink message, which * helps identify the message.
*/ inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); } /** *The message ID assigned by IoT Wireless to each downlink message, which * helps identify the message.
*/ inline DownlinkQueueMessage& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;} /** *The message ID assigned by IoT Wireless to each downlink message, which * helps identify the message.
*/ inline DownlinkQueueMessage& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;} /** *The message ID assigned by IoT Wireless to each downlink message, which * helps identify the message.
*/ inline DownlinkQueueMessage& WithMessageId(const char* value) { SetMessageId(value); return *this;} /** *The transmit mode to use for sending data to the wireless device. This can be
* 0
for UM (unacknowledge mode) or 1
for AM (acknowledge
* mode).
The transmit mode to use for sending data to the wireless device. This can be
* 0
for UM (unacknowledge mode) or 1
for AM (acknowledge
* mode).
The transmit mode to use for sending data to the wireless device. This can be
* 0
for UM (unacknowledge mode) or 1
for AM (acknowledge
* mode).
The transmit mode to use for sending data to the wireless device. This can be
* 0
for UM (unacknowledge mode) or 1
for AM (acknowledge
* mode).
The time at which Iot Wireless received the downlink message.
*/ inline const Aws::String& GetReceivedAt() const{ return m_receivedAt; } /** *The time at which Iot Wireless received the downlink message.
*/ inline bool ReceivedAtHasBeenSet() const { return m_receivedAtHasBeenSet; } /** *The time at which Iot Wireless received the downlink message.
*/ inline void SetReceivedAt(const Aws::String& value) { m_receivedAtHasBeenSet = true; m_receivedAt = value; } /** *The time at which Iot Wireless received the downlink message.
*/ inline void SetReceivedAt(Aws::String&& value) { m_receivedAtHasBeenSet = true; m_receivedAt = std::move(value); } /** *The time at which Iot Wireless received the downlink message.
*/ inline void SetReceivedAt(const char* value) { m_receivedAtHasBeenSet = true; m_receivedAt.assign(value); } /** *The time at which Iot Wireless received the downlink message.
*/ inline DownlinkQueueMessage& WithReceivedAt(const Aws::String& value) { SetReceivedAt(value); return *this;} /** *The time at which Iot Wireless received the downlink message.
*/ inline DownlinkQueueMessage& WithReceivedAt(Aws::String&& value) { SetReceivedAt(std::move(value)); return *this;} /** *The time at which Iot Wireless received the downlink message.
*/ inline DownlinkQueueMessage& WithReceivedAt(const char* value) { SetReceivedAt(value); return *this;} inline const LoRaWANSendDataToDevice& GetLoRaWAN() const{ return m_loRaWAN; } inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; } inline void SetLoRaWAN(const LoRaWANSendDataToDevice& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = value; } inline void SetLoRaWAN(LoRaWANSendDataToDevice&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::move(value); } inline DownlinkQueueMessage& WithLoRaWAN(const LoRaWANSendDataToDevice& value) { SetLoRaWAN(value); return *this;} inline DownlinkQueueMessage& WithLoRaWAN(LoRaWANSendDataToDevice&& value) { SetLoRaWAN(std::move(value)); return *this;} private: Aws::String m_messageId; bool m_messageIdHasBeenSet = false; int m_transmitMode; bool m_transmitModeHasBeenSet = false; Aws::String m_receivedAt; bool m_receivedAtHasBeenSet = false; LoRaWANSendDataToDevice m_loRaWAN; bool m_loRaWANHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws