AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SidewalkSendDataToDevice.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/MessageType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTWireless
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTWIRELESS_API SidewalkSendDataToDevice();
37 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline int GetSeq() const{ return m_seq; }
45 inline bool SeqHasBeenSet() const { return m_seqHasBeenSet; }
46 inline void SetSeq(int value) { m_seqHasBeenSet = true; m_seq = value; }
47 inline SidewalkSendDataToDevice& WithSeq(int value) { SetSeq(value); return *this;}
49
51
52 inline const MessageType& GetMessageType() const{ return m_messageType; }
53 inline bool MessageTypeHasBeenSet() const { return m_messageTypeHasBeenSet; }
54 inline void SetMessageType(const MessageType& value) { m_messageTypeHasBeenSet = true; m_messageType = value; }
55 inline void SetMessageType(MessageType&& value) { m_messageTypeHasBeenSet = true; m_messageType = std::move(value); }
56 inline SidewalkSendDataToDevice& WithMessageType(const MessageType& value) { SetMessageType(value); return *this;}
57 inline SidewalkSendDataToDevice& WithMessageType(MessageType&& value) { SetMessageType(std::move(value)); return *this;}
59
61
64 inline int GetAckModeRetryDurationSecs() const{ return m_ackModeRetryDurationSecs; }
65 inline bool AckModeRetryDurationSecsHasBeenSet() const { return m_ackModeRetryDurationSecsHasBeenSet; }
66 inline void SetAckModeRetryDurationSecs(int value) { m_ackModeRetryDurationSecsHasBeenSet = true; m_ackModeRetryDurationSecs = value; }
69 private:
70
71 int m_seq;
72 bool m_seqHasBeenSet = false;
73
74 MessageType m_messageType;
75 bool m_messageTypeHasBeenSet = false;
76
77 int m_ackModeRetryDurationSecs;
78 bool m_ackModeRetryDurationSecsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace IoTWireless
83} // namespace Aws
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTWIRELESS_API SidewalkSendDataToDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
SidewalkSendDataToDevice & WithAckModeRetryDurationSecs(int value)
SidewalkSendDataToDevice & WithMessageType(const MessageType &value)
AWS_IOTWIRELESS_API SidewalkSendDataToDevice(Aws::Utils::Json::JsonView jsonValue)
SidewalkSendDataToDevice & WithMessageType(MessageType &&value)
Aws::Utils::Json::JsonValue JsonValue