AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendDataToWirelessDeviceRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/WirelessMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoTWireless
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTWIRELESS_API SendDataToWirelessDeviceRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "SendDataToWirelessDevice"; }
32
33 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetId() const{ return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
43 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
44 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
45 inline SendDataToWirelessDeviceRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
46 inline SendDataToWirelessDeviceRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
47 inline SendDataToWirelessDeviceRequest& WithId(const char* value) { SetId(value); return *this;}
49
51
56 inline int GetTransmitMode() const{ return m_transmitMode; }
57 inline bool TransmitModeHasBeenSet() const { return m_transmitModeHasBeenSet; }
58 inline void SetTransmitMode(int value) { m_transmitModeHasBeenSet = true; m_transmitMode = value; }
59 inline SendDataToWirelessDeviceRequest& WithTransmitMode(int value) { SetTransmitMode(value); return *this;}
61
63
64 inline const Aws::String& GetPayloadData() const{ return m_payloadData; }
65 inline bool PayloadDataHasBeenSet() const { return m_payloadDataHasBeenSet; }
66 inline void SetPayloadData(const Aws::String& value) { m_payloadDataHasBeenSet = true; m_payloadData = value; }
67 inline void SetPayloadData(Aws::String&& value) { m_payloadDataHasBeenSet = true; m_payloadData = std::move(value); }
68 inline void SetPayloadData(const char* value) { m_payloadDataHasBeenSet = true; m_payloadData.assign(value); }
69 inline SendDataToWirelessDeviceRequest& WithPayloadData(const Aws::String& value) { SetPayloadData(value); return *this;}
70 inline SendDataToWirelessDeviceRequest& WithPayloadData(Aws::String&& value) { SetPayloadData(std::move(value)); return *this;}
71 inline SendDataToWirelessDeviceRequest& WithPayloadData(const char* value) { SetPayloadData(value); return *this;}
73
75
78 inline const WirelessMetadata& GetWirelessMetadata() const{ return m_wirelessMetadata; }
79 inline bool WirelessMetadataHasBeenSet() const { return m_wirelessMetadataHasBeenSet; }
80 inline void SetWirelessMetadata(const WirelessMetadata& value) { m_wirelessMetadataHasBeenSet = true; m_wirelessMetadata = value; }
81 inline void SetWirelessMetadata(WirelessMetadata&& value) { m_wirelessMetadataHasBeenSet = true; m_wirelessMetadata = std::move(value); }
85 private:
86
87 Aws::String m_id;
88 bool m_idHasBeenSet = false;
89
90 int m_transmitMode;
91 bool m_transmitModeHasBeenSet = false;
92
93 Aws::String m_payloadData;
94 bool m_payloadDataHasBeenSet = false;
95
96 WirelessMetadata m_wirelessMetadata;
97 bool m_wirelessMetadataHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace IoTWireless
102} // namespace Aws
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
SendDataToWirelessDeviceRequest & WithId(Aws::String &&value)
SendDataToWirelessDeviceRequest & WithPayloadData(Aws::String &&value)
SendDataToWirelessDeviceRequest & WithId(const char *value)
SendDataToWirelessDeviceRequest & WithPayloadData(const char *value)
SendDataToWirelessDeviceRequest & WithId(const Aws::String &value)
SendDataToWirelessDeviceRequest & WithPayloadData(const Aws::String &value)
SendDataToWirelessDeviceRequest & WithWirelessMetadata(WirelessMetadata &&value)
SendDataToWirelessDeviceRequest & WithWirelessMetadata(const WirelessMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String