AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LoRaWANGateway.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotwireless/model/Beaconing.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTWireless
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTWIRELESS_API LoRaWANGateway();
37 AWS_IOTWIRELESS_API LoRaWANGateway(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTWIRELESS_API LoRaWANGateway& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetGatewayEui() const{ return m_gatewayEui; }
47 inline bool GatewayEuiHasBeenSet() const { return m_gatewayEuiHasBeenSet; }
48 inline void SetGatewayEui(const Aws::String& value) { m_gatewayEuiHasBeenSet = true; m_gatewayEui = value; }
49 inline void SetGatewayEui(Aws::String&& value) { m_gatewayEuiHasBeenSet = true; m_gatewayEui = std::move(value); }
50 inline void SetGatewayEui(const char* value) { m_gatewayEuiHasBeenSet = true; m_gatewayEui.assign(value); }
51 inline LoRaWANGateway& WithGatewayEui(const Aws::String& value) { SetGatewayEui(value); return *this;}
52 inline LoRaWANGateway& WithGatewayEui(Aws::String&& value) { SetGatewayEui(std::move(value)); return *this;}
53 inline LoRaWANGateway& WithGatewayEui(const char* value) { SetGatewayEui(value); return *this;}
55
57
60 inline const Aws::String& GetRfRegion() const{ return m_rfRegion; }
61 inline bool RfRegionHasBeenSet() const { return m_rfRegionHasBeenSet; }
62 inline void SetRfRegion(const Aws::String& value) { m_rfRegionHasBeenSet = true; m_rfRegion = value; }
63 inline void SetRfRegion(Aws::String&& value) { m_rfRegionHasBeenSet = true; m_rfRegion = std::move(value); }
64 inline void SetRfRegion(const char* value) { m_rfRegionHasBeenSet = true; m_rfRegion.assign(value); }
65 inline LoRaWANGateway& WithRfRegion(const Aws::String& value) { SetRfRegion(value); return *this;}
66 inline LoRaWANGateway& WithRfRegion(Aws::String&& value) { SetRfRegion(std::move(value)); return *this;}
67 inline LoRaWANGateway& WithRfRegion(const char* value) { SetRfRegion(value); return *this;}
69
71
72 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetJoinEuiFilters() const{ return m_joinEuiFilters; }
73 inline bool JoinEuiFiltersHasBeenSet() const { return m_joinEuiFiltersHasBeenSet; }
74 inline void SetJoinEuiFilters(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_joinEuiFiltersHasBeenSet = true; m_joinEuiFilters = value; }
75 inline void SetJoinEuiFilters(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_joinEuiFiltersHasBeenSet = true; m_joinEuiFilters = std::move(value); }
77 inline LoRaWANGateway& WithJoinEuiFilters(Aws::Vector<Aws::Vector<Aws::String>>&& value) { SetJoinEuiFilters(std::move(value)); return *this;}
78 inline LoRaWANGateway& AddJoinEuiFilters(const Aws::Vector<Aws::String>& value) { m_joinEuiFiltersHasBeenSet = true; m_joinEuiFilters.push_back(value); return *this; }
79 inline LoRaWANGateway& AddJoinEuiFilters(Aws::Vector<Aws::String>&& value) { m_joinEuiFiltersHasBeenSet = true; m_joinEuiFilters.push_back(std::move(value)); return *this; }
81
83
84 inline const Aws::Vector<Aws::String>& GetNetIdFilters() const{ return m_netIdFilters; }
85 inline bool NetIdFiltersHasBeenSet() const { return m_netIdFiltersHasBeenSet; }
86 inline void SetNetIdFilters(const Aws::Vector<Aws::String>& value) { m_netIdFiltersHasBeenSet = true; m_netIdFilters = value; }
87 inline void SetNetIdFilters(Aws::Vector<Aws::String>&& value) { m_netIdFiltersHasBeenSet = true; m_netIdFilters = std::move(value); }
88 inline LoRaWANGateway& WithNetIdFilters(const Aws::Vector<Aws::String>& value) { SetNetIdFilters(value); return *this;}
89 inline LoRaWANGateway& WithNetIdFilters(Aws::Vector<Aws::String>&& value) { SetNetIdFilters(std::move(value)); return *this;}
90 inline LoRaWANGateway& AddNetIdFilters(const Aws::String& value) { m_netIdFiltersHasBeenSet = true; m_netIdFilters.push_back(value); return *this; }
91 inline LoRaWANGateway& AddNetIdFilters(Aws::String&& value) { m_netIdFiltersHasBeenSet = true; m_netIdFilters.push_back(std::move(value)); return *this; }
92 inline LoRaWANGateway& AddNetIdFilters(const char* value) { m_netIdFiltersHasBeenSet = true; m_netIdFilters.push_back(value); return *this; }
94
96
97 inline const Aws::Vector<int>& GetSubBands() const{ return m_subBands; }
98 inline bool SubBandsHasBeenSet() const { return m_subBandsHasBeenSet; }
99 inline void SetSubBands(const Aws::Vector<int>& value) { m_subBandsHasBeenSet = true; m_subBands = value; }
100 inline void SetSubBands(Aws::Vector<int>&& value) { m_subBandsHasBeenSet = true; m_subBands = std::move(value); }
101 inline LoRaWANGateway& WithSubBands(const Aws::Vector<int>& value) { SetSubBands(value); return *this;}
102 inline LoRaWANGateway& WithSubBands(Aws::Vector<int>&& value) { SetSubBands(std::move(value)); return *this;}
103 inline LoRaWANGateway& AddSubBands(int value) { m_subBandsHasBeenSet = true; m_subBands.push_back(value); return *this; }
105
107
111 inline const Beaconing& GetBeaconing() const{ return m_beaconing; }
112 inline bool BeaconingHasBeenSet() const { return m_beaconingHasBeenSet; }
113 inline void SetBeaconing(const Beaconing& value) { m_beaconingHasBeenSet = true; m_beaconing = value; }
114 inline void SetBeaconing(Beaconing&& value) { m_beaconingHasBeenSet = true; m_beaconing = std::move(value); }
115 inline LoRaWANGateway& WithBeaconing(const Beaconing& value) { SetBeaconing(value); return *this;}
116 inline LoRaWANGateway& WithBeaconing(Beaconing&& value) { SetBeaconing(std::move(value)); return *this;}
118
120
123 inline double GetMaxEirp() const{ return m_maxEirp; }
124 inline bool MaxEirpHasBeenSet() const { return m_maxEirpHasBeenSet; }
125 inline void SetMaxEirp(double value) { m_maxEirpHasBeenSet = true; m_maxEirp = value; }
126 inline LoRaWANGateway& WithMaxEirp(double value) { SetMaxEirp(value); return *this;}
128 private:
129
130 Aws::String m_gatewayEui;
131 bool m_gatewayEuiHasBeenSet = false;
132
133 Aws::String m_rfRegion;
134 bool m_rfRegionHasBeenSet = false;
135
136 Aws::Vector<Aws::Vector<Aws::String>> m_joinEuiFilters;
137 bool m_joinEuiFiltersHasBeenSet = false;
138
139 Aws::Vector<Aws::String> m_netIdFilters;
140 bool m_netIdFiltersHasBeenSet = false;
141
142 Aws::Vector<int> m_subBands;
143 bool m_subBandsHasBeenSet = false;
144
145 Beaconing m_beaconing;
146 bool m_beaconingHasBeenSet = false;
147
148 double m_maxEirp;
149 bool m_maxEirpHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace IoTWireless
154} // namespace Aws
const Aws::Vector< int > & GetSubBands() const
void SetSubBands(const Aws::Vector< int > &value)
const Aws::String & GetGatewayEui() const
void SetNetIdFilters(Aws::Vector< Aws::String > &&value)
LoRaWANGateway & WithNetIdFilters(const Aws::Vector< Aws::String > &value)
LoRaWANGateway & WithRfRegion(const Aws::String &value)
void SetSubBands(Aws::Vector< int > &&value)
LoRaWANGateway & WithBeaconing(const Beaconing &value)
LoRaWANGateway & WithJoinEuiFilters(const Aws::Vector< Aws::Vector< Aws::String > > &value)
LoRaWANGateway & AddJoinEuiFilters(Aws::Vector< Aws::String > &&value)
void SetBeaconing(const Beaconing &value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
LoRaWANGateway & AddJoinEuiFilters(const Aws::Vector< Aws::String > &value)
LoRaWANGateway & AddSubBands(int value)
void SetRfRegion(const Aws::String &value)
void SetGatewayEui(Aws::String &&value)
LoRaWANGateway & AddNetIdFilters(const Aws::String &value)
LoRaWANGateway & WithGatewayEui(const char *value)
LoRaWANGateway & WithBeaconing(Beaconing &&value)
const Aws::Vector< Aws::String > & GetNetIdFilters() const
void SetJoinEuiFilters(Aws::Vector< Aws::Vector< Aws::String > > &&value)
LoRaWANGateway & WithRfRegion(Aws::String &&value)
void SetJoinEuiFilters(const Aws::Vector< Aws::Vector< Aws::String > > &value)
LoRaWANGateway & WithGatewayEui(Aws::String &&value)
AWS_IOTWIRELESS_API LoRaWANGateway(Aws::Utils::Json::JsonView jsonValue)
const Beaconing & GetBeaconing() const
LoRaWANGateway & WithMaxEirp(double value)
void SetNetIdFilters(const Aws::Vector< Aws::String > &value)
LoRaWANGateway & AddNetIdFilters(Aws::String &&value)
LoRaWANGateway & AddNetIdFilters(const char *value)
LoRaWANGateway & WithJoinEuiFilters(Aws::Vector< Aws::Vector< Aws::String > > &&value)
const Aws::String & GetRfRegion() const
LoRaWANGateway & WithRfRegion(const char *value)
LoRaWANGateway & WithSubBands(const Aws::Vector< int > &value)
LoRaWANGateway & WithGatewayEui(const Aws::String &value)
LoRaWANGateway & WithSubBands(Aws::Vector< int > &&value)
void SetGatewayEui(const Aws::String &value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetJoinEuiFilters() const
AWS_IOTWIRELESS_API LoRaWANGateway & operator=(Aws::Utils::Json::JsonView jsonValue)
LoRaWANGateway & WithNetIdFilters(Aws::Vector< Aws::String > &&value)
void SetRfRegion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue