AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename GatewayEuiT = Aws::String>
49 void SetGatewayEui(GatewayEuiT&& value) { m_gatewayEuiHasBeenSet = true; m_gatewayEui = std::forward<GatewayEuiT>(value); }
50 template<typename GatewayEuiT = Aws::String>
51 LoRaWANGateway& WithGatewayEui(GatewayEuiT&& value) { SetGatewayEui(std::forward<GatewayEuiT>(value)); return *this;}
53
55
58 inline const Aws::String& GetRfRegion() const { return m_rfRegion; }
59 inline bool RfRegionHasBeenSet() const { return m_rfRegionHasBeenSet; }
60 template<typename RfRegionT = Aws::String>
61 void SetRfRegion(RfRegionT&& value) { m_rfRegionHasBeenSet = true; m_rfRegion = std::forward<RfRegionT>(value); }
62 template<typename RfRegionT = Aws::String>
63 LoRaWANGateway& WithRfRegion(RfRegionT&& value) { SetRfRegion(std::forward<RfRegionT>(value)); return *this;}
65
67
68 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetJoinEuiFilters() const { return m_joinEuiFilters; }
69 inline bool JoinEuiFiltersHasBeenSet() const { return m_joinEuiFiltersHasBeenSet; }
70 template<typename JoinEuiFiltersT = Aws::Vector<Aws::Vector<Aws::String>>>
71 void SetJoinEuiFilters(JoinEuiFiltersT&& value) { m_joinEuiFiltersHasBeenSet = true; m_joinEuiFilters = std::forward<JoinEuiFiltersT>(value); }
72 template<typename JoinEuiFiltersT = Aws::Vector<Aws::Vector<Aws::String>>>
73 LoRaWANGateway& WithJoinEuiFilters(JoinEuiFiltersT&& value) { SetJoinEuiFilters(std::forward<JoinEuiFiltersT>(value)); return *this;}
74 template<typename JoinEuiFiltersT = Aws::Vector<Aws::String>>
75 LoRaWANGateway& AddJoinEuiFilters(JoinEuiFiltersT&& value) { m_joinEuiFiltersHasBeenSet = true; m_joinEuiFilters.emplace_back(std::forward<JoinEuiFiltersT>(value)); return *this; }
77
79
80 inline const Aws::Vector<Aws::String>& GetNetIdFilters() const { return m_netIdFilters; }
81 inline bool NetIdFiltersHasBeenSet() const { return m_netIdFiltersHasBeenSet; }
82 template<typename NetIdFiltersT = Aws::Vector<Aws::String>>
83 void SetNetIdFilters(NetIdFiltersT&& value) { m_netIdFiltersHasBeenSet = true; m_netIdFilters = std::forward<NetIdFiltersT>(value); }
84 template<typename NetIdFiltersT = Aws::Vector<Aws::String>>
85 LoRaWANGateway& WithNetIdFilters(NetIdFiltersT&& value) { SetNetIdFilters(std::forward<NetIdFiltersT>(value)); return *this;}
86 template<typename NetIdFiltersT = Aws::String>
87 LoRaWANGateway& AddNetIdFilters(NetIdFiltersT&& value) { m_netIdFiltersHasBeenSet = true; m_netIdFilters.emplace_back(std::forward<NetIdFiltersT>(value)); return *this; }
89
91
92 inline const Aws::Vector<int>& GetSubBands() const { return m_subBands; }
93 inline bool SubBandsHasBeenSet() const { return m_subBandsHasBeenSet; }
94 template<typename SubBandsT = Aws::Vector<int>>
95 void SetSubBands(SubBandsT&& value) { m_subBandsHasBeenSet = true; m_subBands = std::forward<SubBandsT>(value); }
96 template<typename SubBandsT = Aws::Vector<int>>
97 LoRaWANGateway& WithSubBands(SubBandsT&& value) { SetSubBands(std::forward<SubBandsT>(value)); return *this;}
98 inline LoRaWANGateway& AddSubBands(int value) { m_subBandsHasBeenSet = true; m_subBands.push_back(value); return *this; }
100
102
106 inline const Beaconing& GetBeaconing() const { return m_beaconing; }
107 inline bool BeaconingHasBeenSet() const { return m_beaconingHasBeenSet; }
108 template<typename BeaconingT = Beaconing>
109 void SetBeaconing(BeaconingT&& value) { m_beaconingHasBeenSet = true; m_beaconing = std::forward<BeaconingT>(value); }
110 template<typename BeaconingT = Beaconing>
111 LoRaWANGateway& WithBeaconing(BeaconingT&& value) { SetBeaconing(std::forward<BeaconingT>(value)); return *this;}
113
115
118 inline double GetMaxEirp() const { return m_maxEirp; }
119 inline bool MaxEirpHasBeenSet() const { return m_maxEirpHasBeenSet; }
120 inline void SetMaxEirp(double value) { m_maxEirpHasBeenSet = true; m_maxEirp = value; }
121 inline LoRaWANGateway& WithMaxEirp(double value) { SetMaxEirp(value); return *this;}
123 private:
124
125 Aws::String m_gatewayEui;
126 bool m_gatewayEuiHasBeenSet = false;
127
128 Aws::String m_rfRegion;
129 bool m_rfRegionHasBeenSet = false;
130
131 Aws::Vector<Aws::Vector<Aws::String>> m_joinEuiFilters;
132 bool m_joinEuiFiltersHasBeenSet = false;
133
134 Aws::Vector<Aws::String> m_netIdFilters;
135 bool m_netIdFiltersHasBeenSet = false;
136
137 Aws::Vector<int> m_subBands;
138 bool m_subBandsHasBeenSet = false;
139
140 Beaconing m_beaconing;
141 bool m_beaconingHasBeenSet = false;
142
143 double m_maxEirp{0.0};
144 bool m_maxEirpHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace IoTWireless
149} // namespace Aws
const Aws::Vector< int > & GetSubBands() const
LoRaWANGateway & AddJoinEuiFilters(JoinEuiFiltersT &&value)
const Aws::String & GetGatewayEui() const
void SetNetIdFilters(NetIdFiltersT &&value)
LoRaWANGateway & AddNetIdFilters(NetIdFiltersT &&value)
LoRaWANGateway & WithGatewayEui(GatewayEuiT &&value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
LoRaWANGateway & WithNetIdFilters(NetIdFiltersT &&value)
LoRaWANGateway & AddSubBands(int value)
const Aws::Vector< Aws::String > & GetNetIdFilters() const
AWS_IOTWIRELESS_API LoRaWANGateway()=default
AWS_IOTWIRELESS_API LoRaWANGateway(Aws::Utils::Json::JsonView jsonValue)
void SetJoinEuiFilters(JoinEuiFiltersT &&value)
LoRaWANGateway & WithJoinEuiFilters(JoinEuiFiltersT &&value)
const Beaconing & GetBeaconing() const
LoRaWANGateway & WithMaxEirp(double value)
LoRaWANGateway & WithSubBands(SubBandsT &&value)
LoRaWANGateway & WithRfRegion(RfRegionT &&value)
LoRaWANGateway & WithBeaconing(BeaconingT &&value)
const Aws::String & GetRfRegion() const
const Aws::Vector< Aws::Vector< Aws::String > > & GetJoinEuiFilters() const
AWS_IOTWIRELESS_API LoRaWANGateway & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGatewayEui(GatewayEuiT &&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