AWS SDK for C++  1.9.102
AWS SDK for C++
LoRaWANDeviceMetadata.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoTWireless
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetDevEui() const{ return m_devEui; }
46 
50  inline bool DevEuiHasBeenSet() const { return m_devEuiHasBeenSet; }
51 
55  inline void SetDevEui(const Aws::String& value) { m_devEuiHasBeenSet = true; m_devEui = value; }
56 
60  inline void SetDevEui(Aws::String&& value) { m_devEuiHasBeenSet = true; m_devEui = std::move(value); }
61 
65  inline void SetDevEui(const char* value) { m_devEuiHasBeenSet = true; m_devEui.assign(value); }
66 
70  inline LoRaWANDeviceMetadata& WithDevEui(const Aws::String& value) { SetDevEui(value); return *this;}
71 
75  inline LoRaWANDeviceMetadata& WithDevEui(Aws::String&& value) { SetDevEui(std::move(value)); return *this;}
76 
80  inline LoRaWANDeviceMetadata& WithDevEui(const char* value) { SetDevEui(value); return *this;}
81 
82 
86  inline int GetFPort() const{ return m_fPort; }
87 
91  inline bool FPortHasBeenSet() const { return m_fPortHasBeenSet; }
92 
96  inline void SetFPort(int value) { m_fPortHasBeenSet = true; m_fPort = value; }
97 
101  inline LoRaWANDeviceMetadata& WithFPort(int value) { SetFPort(value); return *this;}
102 
103 
107  inline int GetDataRate() const{ return m_dataRate; }
108 
112  inline bool DataRateHasBeenSet() const { return m_dataRateHasBeenSet; }
113 
117  inline void SetDataRate(int value) { m_dataRateHasBeenSet = true; m_dataRate = value; }
118 
122  inline LoRaWANDeviceMetadata& WithDataRate(int value) { SetDataRate(value); return *this;}
123 
124 
128  inline int GetFrequency() const{ return m_frequency; }
129 
133  inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; }
134 
138  inline void SetFrequency(int value) { m_frequencyHasBeenSet = true; m_frequency = value; }
139 
143  inline LoRaWANDeviceMetadata& WithFrequency(int value) { SetFrequency(value); return *this;}
144 
145 
149  inline const Aws::String& GetTimestamp() const{ return m_timestamp; }
150 
154  inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
155 
159  inline void SetTimestamp(const Aws::String& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
160 
164  inline void SetTimestamp(Aws::String&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
165 
169  inline void SetTimestamp(const char* value) { m_timestampHasBeenSet = true; m_timestamp.assign(value); }
170 
174  inline LoRaWANDeviceMetadata& WithTimestamp(const Aws::String& value) { SetTimestamp(value); return *this;}
175 
179  inline LoRaWANDeviceMetadata& WithTimestamp(Aws::String&& value) { SetTimestamp(std::move(value)); return *this;}
180 
184  inline LoRaWANDeviceMetadata& WithTimestamp(const char* value) { SetTimestamp(value); return *this;}
185 
186 
190  inline const Aws::Vector<LoRaWANGatewayMetadata>& GetGateways() const{ return m_gateways; }
191 
195  inline bool GatewaysHasBeenSet() const { return m_gatewaysHasBeenSet; }
196 
200  inline void SetGateways(const Aws::Vector<LoRaWANGatewayMetadata>& value) { m_gatewaysHasBeenSet = true; m_gateways = value; }
201 
205  inline void SetGateways(Aws::Vector<LoRaWANGatewayMetadata>&& value) { m_gatewaysHasBeenSet = true; m_gateways = std::move(value); }
206 
210  inline LoRaWANDeviceMetadata& WithGateways(const Aws::Vector<LoRaWANGatewayMetadata>& value) { SetGateways(value); return *this;}
211 
215  inline LoRaWANDeviceMetadata& WithGateways(Aws::Vector<LoRaWANGatewayMetadata>&& value) { SetGateways(std::move(value)); return *this;}
216 
220  inline LoRaWANDeviceMetadata& AddGateways(const LoRaWANGatewayMetadata& value) { m_gatewaysHasBeenSet = true; m_gateways.push_back(value); return *this; }
221 
225  inline LoRaWANDeviceMetadata& AddGateways(LoRaWANGatewayMetadata&& value) { m_gatewaysHasBeenSet = true; m_gateways.push_back(std::move(value)); return *this; }
226 
227  private:
228 
229  Aws::String m_devEui;
230  bool m_devEuiHasBeenSet;
231 
232  int m_fPort;
233  bool m_fPortHasBeenSet;
234 
235  int m_dataRate;
236  bool m_dataRateHasBeenSet;
237 
238  int m_frequency;
239  bool m_frequencyHasBeenSet;
240 
241  Aws::String m_timestamp;
242  bool m_timestampHasBeenSet;
243 
245  bool m_gatewaysHasBeenSet;
246  };
247 
248 } // namespace Model
249 } // namespace IoTWireless
250 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::FPortHasBeenSet
bool FPortHasBeenSet() const
Definition: LoRaWANDeviceMetadata.h:91
Aws::IoTWireless::Model::LoRaWANDeviceMetadata
Definition: LoRaWANDeviceMetadata.h:34
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::operator=
LoRaWANDeviceMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::SetFrequency
void SetFrequency(int value)
Definition: LoRaWANDeviceMetadata.h:138
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::WithDataRate
LoRaWANDeviceMetadata & WithDataRate(int value)
Definition: LoRaWANDeviceMetadata.h:122
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::SetTimestamp
void SetTimestamp(const Aws::String &value)
Definition: LoRaWANDeviceMetadata.h:159
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::WithTimestamp
LoRaWANDeviceMetadata & WithTimestamp(const Aws::String &value)
Definition: LoRaWANDeviceMetadata.h:174
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::GetDataRate
int GetDataRate() const
Definition: LoRaWANDeviceMetadata.h:107
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::WithTimestamp
LoRaWANDeviceMetadata & WithTimestamp(Aws::String &&value)
Definition: LoRaWANDeviceMetadata.h:179
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::FrequencyHasBeenSet
bool FrequencyHasBeenSet() const
Definition: LoRaWANDeviceMetadata.h:133
IoTWireless_EXPORTS.h
AWSVector.h
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::SetDataRate
void SetDataRate(int value)
Definition: LoRaWANDeviceMetadata.h:117
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::SetFPort
void SetFPort(int value)
Definition: LoRaWANDeviceMetadata.h:96
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::GetDevEui
const Aws::String & GetDevEui() const
Definition: LoRaWANDeviceMetadata.h:45
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::LoRaWANDeviceMetadata
LoRaWANDeviceMetadata()
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::GetGateways
const Aws::Vector< LoRaWANGatewayMetadata > & GetGateways() const
Definition: LoRaWANDeviceMetadata.h:190
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::SetTimestamp
void SetTimestamp(Aws::String &&value)
Definition: LoRaWANDeviceMetadata.h:164
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::SetGateways
void SetGateways(const Aws::Vector< LoRaWANGatewayMetadata > &value)
Definition: LoRaWANDeviceMetadata.h:200
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::GetTimestamp
const Aws::String & GetTimestamp() const
Definition: LoRaWANDeviceMetadata.h:149
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::SetGateways
void SetGateways(Aws::Vector< LoRaWANGatewayMetadata > &&value)
Definition: LoRaWANDeviceMetadata.h:205
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::GatewaysHasBeenSet
bool GatewaysHasBeenSet() const
Definition: LoRaWANDeviceMetadata.h:195
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::WithDevEui
LoRaWANDeviceMetadata & WithDevEui(Aws::String &&value)
Definition: LoRaWANDeviceMetadata.h:75
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::WithFPort
LoRaWANDeviceMetadata & WithFPort(int value)
Definition: LoRaWANDeviceMetadata.h:101
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::DevEuiHasBeenSet
bool DevEuiHasBeenSet() const
Definition: LoRaWANDeviceMetadata.h:50
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::WithGateways
LoRaWANDeviceMetadata & WithGateways(Aws::Vector< LoRaWANGatewayMetadata > &&value)
Definition: LoRaWANDeviceMetadata.h:215
Aws::IoTWireless::Model::LoRaWANGatewayMetadata
Definition: LoRaWANGatewayMetadata.h:32
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::SetTimestamp
void SetTimestamp(const char *value)
Definition: LoRaWANDeviceMetadata.h:169
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::DataRateHasBeenSet
bool DataRateHasBeenSet() const
Definition: LoRaWANDeviceMetadata.h:112
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::WithTimestamp
LoRaWANDeviceMetadata & WithTimestamp(const char *value)
Definition: LoRaWANDeviceMetadata.h:184
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::AddGateways
LoRaWANDeviceMetadata & AddGateways(const LoRaWANGatewayMetadata &value)
Definition: LoRaWANDeviceMetadata.h:220
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::SetDevEui
void SetDevEui(const char *value)
Definition: LoRaWANDeviceMetadata.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::TimestampHasBeenSet
bool TimestampHasBeenSet() const
Definition: LoRaWANDeviceMetadata.h:154
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::WithDevEui
LoRaWANDeviceMetadata & WithDevEui(const Aws::String &value)
Definition: LoRaWANDeviceMetadata.h:70
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::LoRaWANDeviceMetadata
LoRaWANDeviceMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::WithDevEui
LoRaWANDeviceMetadata & WithDevEui(const char *value)
Definition: LoRaWANDeviceMetadata.h:80
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::GetFPort
int GetFPort() const
Definition: LoRaWANDeviceMetadata.h:86
LoRaWANGatewayMetadata.h
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::SetDevEui
void SetDevEui(Aws::String &&value)
Definition: LoRaWANDeviceMetadata.h:60
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::WithFrequency
LoRaWANDeviceMetadata & WithFrequency(int value)
Definition: LoRaWANDeviceMetadata.h:143
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::AddGateways
LoRaWANDeviceMetadata & AddGateways(LoRaWANGatewayMetadata &&value)
Definition: LoRaWANDeviceMetadata.h:225
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::GetFrequency
int GetFrequency() const
Definition: LoRaWANDeviceMetadata.h:128
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::WithGateways
LoRaWANDeviceMetadata & WithGateways(const Aws::Vector< LoRaWANGatewayMetadata > &value)
Definition: LoRaWANDeviceMetadata.h:210
Aws::IoTWireless::Model::LoRaWANDeviceMetadata::SetDevEui
void SetDevEui(const Aws::String &value)
Definition: LoRaWANDeviceMetadata.h:55