/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTWireless { namespace Model { /** *

Beaconing parameters for configuring the wireless gateways.

See * Also:

AWS * API Reference

*/ class Beaconing { public: AWS_IOTWIRELESS_API Beaconing(); AWS_IOTWIRELESS_API Beaconing(Aws::Utils::Json::JsonView jsonValue); AWS_IOTWIRELESS_API Beaconing& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The data rate for gateways that are sending the beacons.

*/ inline int GetDataRate() const{ return m_dataRate; } /** *

The data rate for gateways that are sending the beacons.

*/ inline bool DataRateHasBeenSet() const { return m_dataRateHasBeenSet; } /** *

The data rate for gateways that are sending the beacons.

*/ inline void SetDataRate(int value) { m_dataRateHasBeenSet = true; m_dataRate = value; } /** *

The data rate for gateways that are sending the beacons.

*/ inline Beaconing& WithDataRate(int value) { SetDataRate(value); return *this;} /** *

The frequency list for the gateways to send the beacons.

*/ inline const Aws::Vector& GetFrequencies() const{ return m_frequencies; } /** *

The frequency list for the gateways to send the beacons.

*/ inline bool FrequenciesHasBeenSet() const { return m_frequenciesHasBeenSet; } /** *

The frequency list for the gateways to send the beacons.

*/ inline void SetFrequencies(const Aws::Vector& value) { m_frequenciesHasBeenSet = true; m_frequencies = value; } /** *

The frequency list for the gateways to send the beacons.

*/ inline void SetFrequencies(Aws::Vector&& value) { m_frequenciesHasBeenSet = true; m_frequencies = std::move(value); } /** *

The frequency list for the gateways to send the beacons.

*/ inline Beaconing& WithFrequencies(const Aws::Vector& value) { SetFrequencies(value); return *this;} /** *

The frequency list for the gateways to send the beacons.

*/ inline Beaconing& WithFrequencies(Aws::Vector&& value) { SetFrequencies(std::move(value)); return *this;} /** *

The frequency list for the gateways to send the beacons.

*/ inline Beaconing& AddFrequencies(int value) { m_frequenciesHasBeenSet = true; m_frequencies.push_back(value); return *this; } private: int m_dataRate; bool m_dataRateHasBeenSet = false; Aws::Vector m_frequencies; bool m_frequenciesHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws