AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
49 inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
50 inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
51 inline DownlinkQueueMessage& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
52 inline DownlinkQueueMessage& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
53 inline DownlinkQueueMessage& WithMessageId(const char* value) { SetMessageId(value); return *this;}
55
57
62 inline int GetTransmitMode() const{ return m_transmitMode; }
63 inline bool TransmitModeHasBeenSet() const { return m_transmitModeHasBeenSet; }
64 inline void SetTransmitMode(int value) { m_transmitModeHasBeenSet = true; m_transmitMode = value; }
65 inline DownlinkQueueMessage& WithTransmitMode(int value) { SetTransmitMode(value); return *this;}
67
69
72 inline const Aws::String& GetReceivedAt() const{ return m_receivedAt; }
73 inline bool ReceivedAtHasBeenSet() const { return m_receivedAtHasBeenSet; }
74 inline void SetReceivedAt(const Aws::String& value) { m_receivedAtHasBeenSet = true; m_receivedAt = value; }
75 inline void SetReceivedAt(Aws::String&& value) { m_receivedAtHasBeenSet = true; m_receivedAt = std::move(value); }
76 inline void SetReceivedAt(const char* value) { m_receivedAtHasBeenSet = true; m_receivedAt.assign(value); }
77 inline DownlinkQueueMessage& WithReceivedAt(const Aws::String& value) { SetReceivedAt(value); return *this;}
78 inline DownlinkQueueMessage& WithReceivedAt(Aws::String&& value) { SetReceivedAt(std::move(value)); return *this;}
79 inline DownlinkQueueMessage& WithReceivedAt(const char* value) { SetReceivedAt(value); return *this;}
81
83
84 inline const LoRaWANSendDataToDevice& GetLoRaWAN() const{ return m_loRaWAN; }
85 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
86 inline void SetLoRaWAN(const LoRaWANSendDataToDevice& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = value; }
87 inline void SetLoRaWAN(LoRaWANSendDataToDevice&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::move(value); }
88 inline DownlinkQueueMessage& WithLoRaWAN(const LoRaWANSendDataToDevice& value) { SetLoRaWAN(value); return *this;}
89 inline DownlinkQueueMessage& WithLoRaWAN(LoRaWANSendDataToDevice&& value) { SetLoRaWAN(std::move(value)); return *this;}
91 private:
92
93 Aws::String m_messageId;
94 bool m_messageIdHasBeenSet = false;
95
96 int m_transmitMode;
97 bool m_transmitModeHasBeenSet = false;
98
99 Aws::String m_receivedAt;
100 bool m_receivedAtHasBeenSet = false;
101
102 LoRaWANSendDataToDevice m_loRaWAN;
103 bool m_loRaWANHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IoTWireless
108} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue