AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DownlinkQueueMessage.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/model/LoRaWANSendDataToDevice.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTWireless
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTWIRELESS_API DownlinkQueueMessage() = default;
36 AWS_IOTWIRELESS_API DownlinkQueueMessage(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetMessageId() const { return m_messageId; }
47 inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
48 template<typename MessageIdT = Aws::String>
49 void SetMessageId(MessageIdT&& value) { m_messageIdHasBeenSet = true; m_messageId = std::forward<MessageIdT>(value); }
50 template<typename MessageIdT = Aws::String>
51 DownlinkQueueMessage& WithMessageId(MessageIdT&& value) { SetMessageId(std::forward<MessageIdT>(value)); return *this;}
53
55
60 inline int GetTransmitMode() const { return m_transmitMode; }
61 inline bool TransmitModeHasBeenSet() const { return m_transmitModeHasBeenSet; }
62 inline void SetTransmitMode(int value) { m_transmitModeHasBeenSet = true; m_transmitMode = value; }
63 inline DownlinkQueueMessage& WithTransmitMode(int value) { SetTransmitMode(value); return *this;}
65
67
70 inline const Aws::String& GetReceivedAt() const { return m_receivedAt; }
71 inline bool ReceivedAtHasBeenSet() const { return m_receivedAtHasBeenSet; }
72 template<typename ReceivedAtT = Aws::String>
73 void SetReceivedAt(ReceivedAtT&& value) { m_receivedAtHasBeenSet = true; m_receivedAt = std::forward<ReceivedAtT>(value); }
74 template<typename ReceivedAtT = Aws::String>
75 DownlinkQueueMessage& WithReceivedAt(ReceivedAtT&& value) { SetReceivedAt(std::forward<ReceivedAtT>(value)); return *this;}
77
79
80 inline const LoRaWANSendDataToDevice& GetLoRaWAN() const { return m_loRaWAN; }
81 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
82 template<typename LoRaWANT = LoRaWANSendDataToDevice>
83 void SetLoRaWAN(LoRaWANT&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::forward<LoRaWANT>(value); }
84 template<typename LoRaWANT = LoRaWANSendDataToDevice>
85 DownlinkQueueMessage& WithLoRaWAN(LoRaWANT&& value) { SetLoRaWAN(std::forward<LoRaWANT>(value)); return *this;}
87 private:
88
89 Aws::String m_messageId;
90 bool m_messageIdHasBeenSet = false;
91
92 int m_transmitMode{0};
93 bool m_transmitModeHasBeenSet = false;
94
95 Aws::String m_receivedAt;
96 bool m_receivedAtHasBeenSet = false;
97
98 LoRaWANSendDataToDevice m_loRaWAN;
99 bool m_loRaWANHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace IoTWireless
104} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue