AWS SDK for C++  1.9.108
AWS SDK for C++
LoRaWANGatewayMetadata.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 const Aws::String& GetGatewayEui() const{ return m_gatewayEui; }
44 
48  inline bool GatewayEuiHasBeenSet() const { return m_gatewayEuiHasBeenSet; }
49 
53  inline void SetGatewayEui(const Aws::String& value) { m_gatewayEuiHasBeenSet = true; m_gatewayEui = value; }
54 
58  inline void SetGatewayEui(Aws::String&& value) { m_gatewayEuiHasBeenSet = true; m_gatewayEui = std::move(value); }
59 
63  inline void SetGatewayEui(const char* value) { m_gatewayEuiHasBeenSet = true; m_gatewayEui.assign(value); }
64 
68  inline LoRaWANGatewayMetadata& WithGatewayEui(const Aws::String& value) { SetGatewayEui(value); return *this;}
69 
73  inline LoRaWANGatewayMetadata& WithGatewayEui(Aws::String&& value) { SetGatewayEui(std::move(value)); return *this;}
74 
78  inline LoRaWANGatewayMetadata& WithGatewayEui(const char* value) { SetGatewayEui(value); return *this;}
79 
80 
84  inline double GetSnr() const{ return m_snr; }
85 
89  inline bool SnrHasBeenSet() const { return m_snrHasBeenSet; }
90 
94  inline void SetSnr(double value) { m_snrHasBeenSet = true; m_snr = value; }
95 
99  inline LoRaWANGatewayMetadata& WithSnr(double value) { SetSnr(value); return *this;}
100 
101 
105  inline double GetRssi() const{ return m_rssi; }
106 
110  inline bool RssiHasBeenSet() const { return m_rssiHasBeenSet; }
111 
115  inline void SetRssi(double value) { m_rssiHasBeenSet = true; m_rssi = value; }
116 
120  inline LoRaWANGatewayMetadata& WithRssi(double value) { SetRssi(value); return *this;}
121 
122  private:
123 
124  Aws::String m_gatewayEui;
125  bool m_gatewayEuiHasBeenSet;
126 
127  double m_snr;
128  bool m_snrHasBeenSet;
129 
130  double m_rssi;
131  bool m_rssiHasBeenSet;
132  };
133 
134 } // namespace Model
135 } // namespace IoTWireless
136 } // namespace Aws
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::operator=
LoRaWANGatewayMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::WithGatewayEui
LoRaWANGatewayMetadata & WithGatewayEui(const Aws::String &value)
Definition: LoRaWANGatewayMetadata.h:68
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::WithGatewayEui
LoRaWANGatewayMetadata & WithGatewayEui(Aws::String &&value)
Definition: LoRaWANGatewayMetadata.h:73
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::WithRssi
LoRaWANGatewayMetadata & WithRssi(double value)
Definition: LoRaWANGatewayMetadata.h:120
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::GatewayEuiHasBeenSet
bool GatewayEuiHasBeenSet() const
Definition: LoRaWANGatewayMetadata.h:48
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::GetGatewayEui
const Aws::String & GetGatewayEui() const
Definition: LoRaWANGatewayMetadata.h:43
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::GetRssi
double GetRssi() const
Definition: LoRaWANGatewayMetadata.h:105
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::LoRaWANGatewayMetadata
LoRaWANGatewayMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::SetGatewayEui
void SetGatewayEui(const char *value)
Definition: LoRaWANGatewayMetadata.h:63
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::WithGatewayEui
LoRaWANGatewayMetadata & WithGatewayEui(const char *value)
Definition: LoRaWANGatewayMetadata.h:78
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::RssiHasBeenSet
bool RssiHasBeenSet() const
Definition: LoRaWANGatewayMetadata.h:110
Aws::IoTWireless::Model::LoRaWANGatewayMetadata
Definition: LoRaWANGatewayMetadata.h:32
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::LoRaWANGatewayMetadata
LoRaWANGatewayMetadata()
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::SetRssi
void SetRssi(double value)
Definition: LoRaWANGatewayMetadata.h:115
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::WithSnr
LoRaWANGatewayMetadata & WithSnr(double value)
Definition: LoRaWANGatewayMetadata.h:99
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::SnrHasBeenSet
bool SnrHasBeenSet() const
Definition: LoRaWANGatewayMetadata.h:89
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::GetSnr
double GetSnr() const
Definition: LoRaWANGatewayMetadata.h:84
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::SetGatewayEui
void SetGatewayEui(const Aws::String &value)
Definition: LoRaWANGatewayMetadata.h:53
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::SetSnr
void SetSnr(double value)
Definition: LoRaWANGatewayMetadata.h:94
Aws::IoTWireless::Model::LoRaWANGatewayMetadata::SetGatewayEui
void SetGatewayEui(Aws::String &&value)
Definition: LoRaWANGatewayMetadata.h:58