AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LoRaWANDevice.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/OtaaV1_1.h>
10#include <aws/iotwireless/model/OtaaV1_0_x.h>
11#include <aws/iotwireless/model/AbpV1_1.h>
12#include <aws/iotwireless/model/AbpV1_0_x.h>
13#include <aws/iotwireless/model/FPorts.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace IoTWireless
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_IOTWIRELESS_API LoRaWANDevice();
40 AWS_IOTWIRELESS_API LoRaWANDevice(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTWIRELESS_API LoRaWANDevice& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetDevEui() const{ return m_devEui; }
50 inline bool DevEuiHasBeenSet() const { return m_devEuiHasBeenSet; }
51 inline void SetDevEui(const Aws::String& value) { m_devEuiHasBeenSet = true; m_devEui = value; }
52 inline void SetDevEui(Aws::String&& value) { m_devEuiHasBeenSet = true; m_devEui = std::move(value); }
53 inline void SetDevEui(const char* value) { m_devEuiHasBeenSet = true; m_devEui.assign(value); }
54 inline LoRaWANDevice& WithDevEui(const Aws::String& value) { SetDevEui(value); return *this;}
55 inline LoRaWANDevice& WithDevEui(Aws::String&& value) { SetDevEui(std::move(value)); return *this;}
56 inline LoRaWANDevice& WithDevEui(const char* value) { SetDevEui(value); return *this;}
58
60
63 inline const Aws::String& GetDeviceProfileId() const{ return m_deviceProfileId; }
64 inline bool DeviceProfileIdHasBeenSet() const { return m_deviceProfileIdHasBeenSet; }
65 inline void SetDeviceProfileId(const Aws::String& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = value; }
66 inline void SetDeviceProfileId(Aws::String&& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = std::move(value); }
67 inline void SetDeviceProfileId(const char* value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId.assign(value); }
68 inline LoRaWANDevice& WithDeviceProfileId(const Aws::String& value) { SetDeviceProfileId(value); return *this;}
69 inline LoRaWANDevice& WithDeviceProfileId(Aws::String&& value) { SetDeviceProfileId(std::move(value)); return *this;}
70 inline LoRaWANDevice& WithDeviceProfileId(const char* value) { SetDeviceProfileId(value); return *this;}
72
74
77 inline const Aws::String& GetServiceProfileId() const{ return m_serviceProfileId; }
78 inline bool ServiceProfileIdHasBeenSet() const { return m_serviceProfileIdHasBeenSet; }
79 inline void SetServiceProfileId(const Aws::String& value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId = value; }
80 inline void SetServiceProfileId(Aws::String&& value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId = std::move(value); }
81 inline void SetServiceProfileId(const char* value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId.assign(value); }
82 inline LoRaWANDevice& WithServiceProfileId(const Aws::String& value) { SetServiceProfileId(value); return *this;}
83 inline LoRaWANDevice& WithServiceProfileId(Aws::String&& value) { SetServiceProfileId(std::move(value)); return *this;}
84 inline LoRaWANDevice& WithServiceProfileId(const char* value) { SetServiceProfileId(value); return *this;}
86
88
91 inline const OtaaV1_1& GetOtaaV1_1() const{ return m_otaaV1_1; }
92 inline bool OtaaV1_1HasBeenSet() const { return m_otaaV1_1HasBeenSet; }
93 inline void SetOtaaV1_1(const OtaaV1_1& value) { m_otaaV1_1HasBeenSet = true; m_otaaV1_1 = value; }
94 inline void SetOtaaV1_1(OtaaV1_1&& value) { m_otaaV1_1HasBeenSet = true; m_otaaV1_1 = std::move(value); }
95 inline LoRaWANDevice& WithOtaaV1_1(const OtaaV1_1& value) { SetOtaaV1_1(value); return *this;}
96 inline LoRaWANDevice& WithOtaaV1_1(OtaaV1_1&& value) { SetOtaaV1_1(std::move(value)); return *this;}
98
100
103 inline const OtaaV1_0_x& GetOtaaV1_0_x() const{ return m_otaaV1_0_x; }
104 inline bool OtaaV1_0_xHasBeenSet() const { return m_otaaV1_0_xHasBeenSet; }
105 inline void SetOtaaV1_0_x(const OtaaV1_0_x& value) { m_otaaV1_0_xHasBeenSet = true; m_otaaV1_0_x = value; }
106 inline void SetOtaaV1_0_x(OtaaV1_0_x&& value) { m_otaaV1_0_xHasBeenSet = true; m_otaaV1_0_x = std::move(value); }
107 inline LoRaWANDevice& WithOtaaV1_0_x(const OtaaV1_0_x& value) { SetOtaaV1_0_x(value); return *this;}
108 inline LoRaWANDevice& WithOtaaV1_0_x(OtaaV1_0_x&& value) { SetOtaaV1_0_x(std::move(value)); return *this;}
110
112
115 inline const AbpV1_1& GetAbpV1_1() const{ return m_abpV1_1; }
116 inline bool AbpV1_1HasBeenSet() const { return m_abpV1_1HasBeenSet; }
117 inline void SetAbpV1_1(const AbpV1_1& value) { m_abpV1_1HasBeenSet = true; m_abpV1_1 = value; }
118 inline void SetAbpV1_1(AbpV1_1&& value) { m_abpV1_1HasBeenSet = true; m_abpV1_1 = std::move(value); }
119 inline LoRaWANDevice& WithAbpV1_1(const AbpV1_1& value) { SetAbpV1_1(value); return *this;}
120 inline LoRaWANDevice& WithAbpV1_1(AbpV1_1&& value) { SetAbpV1_1(std::move(value)); return *this;}
122
124
127 inline const AbpV1_0_x& GetAbpV1_0_x() const{ return m_abpV1_0_x; }
128 inline bool AbpV1_0_xHasBeenSet() const { return m_abpV1_0_xHasBeenSet; }
129 inline void SetAbpV1_0_x(const AbpV1_0_x& value) { m_abpV1_0_xHasBeenSet = true; m_abpV1_0_x = value; }
130 inline void SetAbpV1_0_x(AbpV1_0_x&& value) { m_abpV1_0_xHasBeenSet = true; m_abpV1_0_x = std::move(value); }
131 inline LoRaWANDevice& WithAbpV1_0_x(const AbpV1_0_x& value) { SetAbpV1_0_x(value); return *this;}
132 inline LoRaWANDevice& WithAbpV1_0_x(AbpV1_0_x&& value) { SetAbpV1_0_x(std::move(value)); return *this;}
134
136
137 inline const FPorts& GetFPorts() const{ return m_fPorts; }
138 inline bool FPortsHasBeenSet() const { return m_fPortsHasBeenSet; }
139 inline void SetFPorts(const FPorts& value) { m_fPortsHasBeenSet = true; m_fPorts = value; }
140 inline void SetFPorts(FPorts&& value) { m_fPortsHasBeenSet = true; m_fPorts = std::move(value); }
141 inline LoRaWANDevice& WithFPorts(const FPorts& value) { SetFPorts(value); return *this;}
142 inline LoRaWANDevice& WithFPorts(FPorts&& value) { SetFPorts(std::move(value)); return *this;}
144 private:
145
146 Aws::String m_devEui;
147 bool m_devEuiHasBeenSet = false;
148
149 Aws::String m_deviceProfileId;
150 bool m_deviceProfileIdHasBeenSet = false;
151
152 Aws::String m_serviceProfileId;
153 bool m_serviceProfileIdHasBeenSet = false;
154
155 OtaaV1_1 m_otaaV1_1;
156 bool m_otaaV1_1HasBeenSet = false;
157
158 OtaaV1_0_x m_otaaV1_0_x;
159 bool m_otaaV1_0_xHasBeenSet = false;
160
161 AbpV1_1 m_abpV1_1;
162 bool m_abpV1_1HasBeenSet = false;
163
164 AbpV1_0_x m_abpV1_0_x;
165 bool m_abpV1_0_xHasBeenSet = false;
166
167 FPorts m_fPorts;
168 bool m_fPortsHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace IoTWireless
173} // namespace Aws
LoRaWANDevice & WithServiceProfileId(Aws::String &&value)
void SetOtaaV1_0_x(OtaaV1_0_x &&value)
void SetServiceProfileId(const char *value)
LoRaWANDevice & WithAbpV1_1(const AbpV1_1 &value)
void SetServiceProfileId(Aws::String &&value)
void SetDeviceProfileId(const char *value)
void SetServiceProfileId(const Aws::String &value)
const OtaaV1_0_x & GetOtaaV1_0_x() const
void SetDevEui(Aws::String &&value)
const Aws::String & GetDeviceProfileId() const
LoRaWANDevice & WithDeviceProfileId(const Aws::String &value)
const Aws::String & GetDevEui() const
void SetAbpV1_0_x(const AbpV1_0_x &value)
LoRaWANDevice & WithServiceProfileId(const char *value)
AWS_IOTWIRELESS_API LoRaWANDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServiceProfileId() const
LoRaWANDevice & WithServiceProfileId(const Aws::String &value)
void SetAbpV1_1(const AbpV1_1 &value)
LoRaWANDevice & WithDevEui(const char *value)
const AbpV1_0_x & GetAbpV1_0_x() const
LoRaWANDevice & WithDevEui(Aws::String &&value)
LoRaWANDevice & WithOtaaV1_0_x(OtaaV1_0_x &&value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
LoRaWANDevice & WithAbpV1_0_x(const AbpV1_0_x &value)
LoRaWANDevice & WithAbpV1_0_x(AbpV1_0_x &&value)
LoRaWANDevice & WithAbpV1_1(AbpV1_1 &&value)
AWS_IOTWIRELESS_API LoRaWANDevice(Aws::Utils::Json::JsonView jsonValue)
LoRaWANDevice & WithDeviceProfileId(const char *value)
LoRaWANDevice & WithFPorts(const FPorts &value)
LoRaWANDevice & WithFPorts(FPorts &&value)
LoRaWANDevice & WithDevEui(const Aws::String &value)
void SetOtaaV1_0_x(const OtaaV1_0_x &value)
LoRaWANDevice & WithOtaaV1_0_x(const OtaaV1_0_x &value)
void SetOtaaV1_1(const OtaaV1_1 &value)
LoRaWANDevice & WithOtaaV1_1(const OtaaV1_1 &value)
void SetDeviceProfileId(const Aws::String &value)
LoRaWANDevice & WithOtaaV1_1(OtaaV1_1 &&value)
void SetFPorts(const FPorts &value)
LoRaWANDevice & WithDeviceProfileId(Aws::String &&value)
void SetDevEui(const Aws::String &value)
void SetDeviceProfileId(Aws::String &&value)
const OtaaV1_1 & GetOtaaV1_1() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue