AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Beaconing.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTWireless
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTWIRELESS_API Beaconing();
36 AWS_IOTWIRELESS_API Beaconing(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTWIRELESS_API Beaconing& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetDataRate() const{ return m_dataRate; }
46 inline bool DataRateHasBeenSet() const { return m_dataRateHasBeenSet; }
47 inline void SetDataRate(int value) { m_dataRateHasBeenSet = true; m_dataRate = value; }
48 inline Beaconing& WithDataRate(int value) { SetDataRate(value); return *this;}
50
52
55 inline const Aws::Vector<int>& GetFrequencies() const{ return m_frequencies; }
56 inline bool FrequenciesHasBeenSet() const { return m_frequenciesHasBeenSet; }
57 inline void SetFrequencies(const Aws::Vector<int>& value) { m_frequenciesHasBeenSet = true; m_frequencies = value; }
58 inline void SetFrequencies(Aws::Vector<int>&& value) { m_frequenciesHasBeenSet = true; m_frequencies = std::move(value); }
59 inline Beaconing& WithFrequencies(const Aws::Vector<int>& value) { SetFrequencies(value); return *this;}
60 inline Beaconing& WithFrequencies(Aws::Vector<int>&& value) { SetFrequencies(std::move(value)); return *this;}
61 inline Beaconing& AddFrequencies(int value) { m_frequenciesHasBeenSet = true; m_frequencies.push_back(value); return *this; }
63 private:
64
65 int m_dataRate;
66 bool m_dataRateHasBeenSet = false;
67
68 Aws::Vector<int> m_frequencies;
69 bool m_frequenciesHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace IoTWireless
74} // namespace Aws
Beaconing & WithDataRate(int value)
Definition Beaconing.h:48
AWS_IOTWIRELESS_API Beaconing(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< int > & GetFrequencies() const
Definition Beaconing.h:55
Beaconing & WithFrequencies(const Aws::Vector< int > &value)
Definition Beaconing.h:59
void SetFrequencies(const Aws::Vector< int > &value)
Definition Beaconing.h:57
void SetFrequencies(Aws::Vector< int > &&value)
Definition Beaconing.h:58
Beaconing & WithFrequencies(Aws::Vector< int > &&value)
Definition Beaconing.h:60
AWS_IOTWIRELESS_API Beaconing & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API Beaconing()
Beaconing & AddFrequencies(int value)
Definition Beaconing.h:61
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue