AWS SDK for C++  1.9.104
AWS SDK for C++
SidewalkSendDataToDevice.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoTWireless
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline int GetSeq() const{ return m_seq; }
44 
48  inline bool SeqHasBeenSet() const { return m_seqHasBeenSet; }
49 
53  inline void SetSeq(int value) { m_seqHasBeenSet = true; m_seq = value; }
54 
58  inline SidewalkSendDataToDevice& WithSeq(int value) { SetSeq(value); return *this;}
59 
60 
61 
62  inline const MessageType& GetMessageType() const{ return m_messageType; }
63 
64 
65  inline bool MessageTypeHasBeenSet() const { return m_messageTypeHasBeenSet; }
66 
67 
68  inline void SetMessageType(const MessageType& value) { m_messageTypeHasBeenSet = true; m_messageType = value; }
69 
70 
71  inline void SetMessageType(MessageType&& value) { m_messageTypeHasBeenSet = true; m_messageType = std::move(value); }
72 
73 
74  inline SidewalkSendDataToDevice& WithMessageType(const MessageType& value) { SetMessageType(value); return *this;}
75 
76 
77  inline SidewalkSendDataToDevice& WithMessageType(MessageType&& value) { SetMessageType(std::move(value)); return *this;}
78 
79  private:
80 
81  int m_seq;
82  bool m_seqHasBeenSet;
83 
84  MessageType m_messageType;
85  bool m_messageTypeHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace IoTWireless
90 } // namespace Aws
Aws::IoTWireless::Model::SidewalkSendDataToDevice
Definition: SidewalkSendDataToDevice.h:32
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::SidewalkSendDataToDevice::SetMessageType
void SetMessageType(const MessageType &value)
Definition: SidewalkSendDataToDevice.h:68
Aws::IoTWireless::Model::SidewalkSendDataToDevice::GetSeq
int GetSeq() const
Definition: SidewalkSendDataToDevice.h:43
Aws::IoTWireless::Model::SidewalkSendDataToDevice::WithMessageType
SidewalkSendDataToDevice & WithMessageType(const MessageType &value)
Definition: SidewalkSendDataToDevice.h:74
Aws::IoTWireless::Model::SidewalkSendDataToDevice::WithMessageType
SidewalkSendDataToDevice & WithMessageType(MessageType &&value)
Definition: SidewalkSendDataToDevice.h:77
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::SidewalkSendDataToDevice::SetMessageType
void SetMessageType(MessageType &&value)
Definition: SidewalkSendDataToDevice.h:71
Aws::IoTWireless::Model::SidewalkSendDataToDevice::SidewalkSendDataToDevice
SidewalkSendDataToDevice()
Aws::IoTWireless::Model::SidewalkSendDataToDevice::SeqHasBeenSet
bool SeqHasBeenSet() const
Definition: SidewalkSendDataToDevice.h:48
Aws::IoTWireless::Model::SidewalkSendDataToDevice::SidewalkSendDataToDevice
SidewalkSendDataToDevice(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
MessageType.h
Aws::IoTWireless::Model::SidewalkSendDataToDevice::MessageTypeHasBeenSet
bool MessageTypeHasBeenSet() const
Definition: SidewalkSendDataToDevice.h:65
Aws::IoTWireless::Model::SidewalkSendDataToDevice::SetSeq
void SetSeq(int value)
Definition: SidewalkSendDataToDevice.h:53
Aws::IoTWireless::Model::MessageType
MessageType
Definition: MessageType.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::SidewalkSendDataToDevice::GetMessageType
const MessageType & GetMessageType() const
Definition: SidewalkSendDataToDevice.h:62
Aws::IoTWireless::Model::SidewalkSendDataToDevice::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::SidewalkSendDataToDevice::WithSeq
SidewalkSendDataToDevice & WithSeq(int value)
Definition: SidewalkSendDataToDevice.h:58
Aws::IoTWireless::Model::SidewalkSendDataToDevice::operator=
SidewalkSendDataToDevice & operator=(Aws::Utils::Json::JsonView jsonValue)