AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DownlinkQueueMessage.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9#include <aws/iotwireless/model/LoRaWANSendDataToDevice.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTWireless {
21namespace Model {
22
29 public:
30 AWS_IOTWIRELESS_API DownlinkQueueMessage() = default;
31 AWS_IOTWIRELESS_API DownlinkQueueMessage(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetMessageId() const { return m_messageId; }
41 inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
42 template <typename MessageIdT = Aws::String>
43 void SetMessageId(MessageIdT&& value) {
44 m_messageIdHasBeenSet = true;
45 m_messageId = std::forward<MessageIdT>(value);
46 }
47 template <typename MessageIdT = Aws::String>
48 DownlinkQueueMessage& WithMessageId(MessageIdT&& value) {
49 SetMessageId(std::forward<MessageIdT>(value));
50 return *this;
51 }
53
55
60 inline int GetTransmitMode() const { return m_transmitMode; }
61 inline bool TransmitModeHasBeenSet() const { return m_transmitModeHasBeenSet; }
62 inline void SetTransmitMode(int value) {
63 m_transmitModeHasBeenSet = true;
64 m_transmitMode = value;
65 }
67 SetTransmitMode(value);
68 return *this;
69 }
71
73
76 inline const Aws::String& GetReceivedAt() const { return m_receivedAt; }
77 inline bool ReceivedAtHasBeenSet() const { return m_receivedAtHasBeenSet; }
78 template <typename ReceivedAtT = Aws::String>
79 void SetReceivedAt(ReceivedAtT&& value) {
80 m_receivedAtHasBeenSet = true;
81 m_receivedAt = std::forward<ReceivedAtT>(value);
82 }
83 template <typename ReceivedAtT = Aws::String>
84 DownlinkQueueMessage& WithReceivedAt(ReceivedAtT&& value) {
85 SetReceivedAt(std::forward<ReceivedAtT>(value));
86 return *this;
87 }
89
91
92 inline const LoRaWANSendDataToDevice& GetLoRaWAN() const { return m_loRaWAN; }
93 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
94 template <typename LoRaWANT = LoRaWANSendDataToDevice>
95 void SetLoRaWAN(LoRaWANT&& value) {
96 m_loRaWANHasBeenSet = true;
97 m_loRaWAN = std::forward<LoRaWANT>(value);
98 }
99 template <typename LoRaWANT = LoRaWANSendDataToDevice>
101 SetLoRaWAN(std::forward<LoRaWANT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_messageId;
107
108 int m_transmitMode{0};
109
110 Aws::String m_receivedAt;
111
112 LoRaWANSendDataToDevice m_loRaWAN;
113 bool m_messageIdHasBeenSet = false;
114 bool m_transmitModeHasBeenSet = false;
115 bool m_receivedAtHasBeenSet = false;
116 bool m_loRaWANHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace IoTWireless
121} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue