AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename DevEuiT = Aws::String>
52 void SetDevEui(DevEuiT&& value) { m_devEuiHasBeenSet = true; m_devEui = std::forward<DevEuiT>(value); }
53 template<typename DevEuiT = Aws::String>
54 LoRaWANDevice& WithDevEui(DevEuiT&& value) { SetDevEui(std::forward<DevEuiT>(value)); return *this;}
56
58
61 inline const Aws::String& GetDeviceProfileId() const { return m_deviceProfileId; }
62 inline bool DeviceProfileIdHasBeenSet() const { return m_deviceProfileIdHasBeenSet; }
63 template<typename DeviceProfileIdT = Aws::String>
64 void SetDeviceProfileId(DeviceProfileIdT&& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = std::forward<DeviceProfileIdT>(value); }
65 template<typename DeviceProfileIdT = Aws::String>
66 LoRaWANDevice& WithDeviceProfileId(DeviceProfileIdT&& value) { SetDeviceProfileId(std::forward<DeviceProfileIdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetServiceProfileId() const { return m_serviceProfileId; }
74 inline bool ServiceProfileIdHasBeenSet() const { return m_serviceProfileIdHasBeenSet; }
75 template<typename ServiceProfileIdT = Aws::String>
76 void SetServiceProfileId(ServiceProfileIdT&& value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId = std::forward<ServiceProfileIdT>(value); }
77 template<typename ServiceProfileIdT = Aws::String>
78 LoRaWANDevice& WithServiceProfileId(ServiceProfileIdT&& value) { SetServiceProfileId(std::forward<ServiceProfileIdT>(value)); return *this;}
80
82
85 inline const OtaaV1_1& GetOtaaV1_1() const { return m_otaaV1_1; }
86 inline bool OtaaV1_1HasBeenSet() const { return m_otaaV1_1HasBeenSet; }
87 template<typename OtaaV1_1T = OtaaV1_1>
88 void SetOtaaV1_1(OtaaV1_1T&& value) { m_otaaV1_1HasBeenSet = true; m_otaaV1_1 = std::forward<OtaaV1_1T>(value); }
89 template<typename OtaaV1_1T = OtaaV1_1>
90 LoRaWANDevice& WithOtaaV1_1(OtaaV1_1T&& value) { SetOtaaV1_1(std::forward<OtaaV1_1T>(value)); return *this;}
92
94
97 inline const OtaaV1_0_x& GetOtaaV1_0_x() const { return m_otaaV1_0_x; }
98 inline bool OtaaV1_0_xHasBeenSet() const { return m_otaaV1_0_xHasBeenSet; }
99 template<typename OtaaV1_0_xT = OtaaV1_0_x>
100 void SetOtaaV1_0_x(OtaaV1_0_xT&& value) { m_otaaV1_0_xHasBeenSet = true; m_otaaV1_0_x = std::forward<OtaaV1_0_xT>(value); }
101 template<typename OtaaV1_0_xT = OtaaV1_0_x>
102 LoRaWANDevice& WithOtaaV1_0_x(OtaaV1_0_xT&& value) { SetOtaaV1_0_x(std::forward<OtaaV1_0_xT>(value)); return *this;}
104
106
109 inline const AbpV1_1& GetAbpV1_1() const { return m_abpV1_1; }
110 inline bool AbpV1_1HasBeenSet() const { return m_abpV1_1HasBeenSet; }
111 template<typename AbpV1_1T = AbpV1_1>
112 void SetAbpV1_1(AbpV1_1T&& value) { m_abpV1_1HasBeenSet = true; m_abpV1_1 = std::forward<AbpV1_1T>(value); }
113 template<typename AbpV1_1T = AbpV1_1>
114 LoRaWANDevice& WithAbpV1_1(AbpV1_1T&& value) { SetAbpV1_1(std::forward<AbpV1_1T>(value)); return *this;}
116
118
121 inline const AbpV1_0_x& GetAbpV1_0_x() const { return m_abpV1_0_x; }
122 inline bool AbpV1_0_xHasBeenSet() const { return m_abpV1_0_xHasBeenSet; }
123 template<typename AbpV1_0_xT = AbpV1_0_x>
124 void SetAbpV1_0_x(AbpV1_0_xT&& value) { m_abpV1_0_xHasBeenSet = true; m_abpV1_0_x = std::forward<AbpV1_0_xT>(value); }
125 template<typename AbpV1_0_xT = AbpV1_0_x>
126 LoRaWANDevice& WithAbpV1_0_x(AbpV1_0_xT&& value) { SetAbpV1_0_x(std::forward<AbpV1_0_xT>(value)); return *this;}
128
130
131 inline const FPorts& GetFPorts() const { return m_fPorts; }
132 inline bool FPortsHasBeenSet() const { return m_fPortsHasBeenSet; }
133 template<typename FPortsT = FPorts>
134 void SetFPorts(FPortsT&& value) { m_fPortsHasBeenSet = true; m_fPorts = std::forward<FPortsT>(value); }
135 template<typename FPortsT = FPorts>
136 LoRaWANDevice& WithFPorts(FPortsT&& value) { SetFPorts(std::forward<FPortsT>(value)); return *this;}
138 private:
139
140 Aws::String m_devEui;
141 bool m_devEuiHasBeenSet = false;
142
143 Aws::String m_deviceProfileId;
144 bool m_deviceProfileIdHasBeenSet = false;
145
146 Aws::String m_serviceProfileId;
147 bool m_serviceProfileIdHasBeenSet = false;
148
149 OtaaV1_1 m_otaaV1_1;
150 bool m_otaaV1_1HasBeenSet = false;
151
152 OtaaV1_0_x m_otaaV1_0_x;
153 bool m_otaaV1_0_xHasBeenSet = false;
154
155 AbpV1_1 m_abpV1_1;
156 bool m_abpV1_1HasBeenSet = false;
157
158 AbpV1_0_x m_abpV1_0_x;
159 bool m_abpV1_0_xHasBeenSet = false;
160
161 FPorts m_fPorts;
162 bool m_fPortsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace IoTWireless
167} // namespace Aws
LoRaWANDevice & WithAbpV1_0_x(AbpV1_0_xT &&value)
const OtaaV1_0_x & GetOtaaV1_0_x() const
void SetAbpV1_0_x(AbpV1_0_xT &&value)
const Aws::String & GetDeviceProfileId() const
void SetOtaaV1_0_x(OtaaV1_0_xT &&value)
LoRaWANDevice & WithOtaaV1_1(OtaaV1_1T &&value)
const Aws::String & GetDevEui() const
AWS_IOTWIRELESS_API LoRaWANDevice()=default
LoRaWANDevice & WithOtaaV1_0_x(OtaaV1_0_xT &&value)
AWS_IOTWIRELESS_API LoRaWANDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
LoRaWANDevice & WithFPorts(FPortsT &&value)
const Aws::String & GetServiceProfileId() const
void SetDeviceProfileId(DeviceProfileIdT &&value)
const AbpV1_0_x & GetAbpV1_0_x() const
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOtaaV1_1(OtaaV1_1T &&value)
void SetServiceProfileId(ServiceProfileIdT &&value)
AWS_IOTWIRELESS_API LoRaWANDevice(Aws::Utils::Json::JsonView jsonValue)
LoRaWANDevice & WithServiceProfileId(ServiceProfileIdT &&value)
LoRaWANDevice & WithDeviceProfileId(DeviceProfileIdT &&value)
LoRaWANDevice & WithDevEui(DevEuiT &&value)
LoRaWANDevice & WithAbpV1_1(AbpV1_1T &&value)
const OtaaV1_1 & GetOtaaV1_1() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue