/** * 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 GroundStation { namespace Model { /** *

Object that describes the frequency.

See Also:

AWS * API Reference

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

Frequency units.

*/ inline const FrequencyUnits& GetUnits() const{ return m_units; } /** *

Frequency units.

*/ inline bool UnitsHasBeenSet() const { return m_unitsHasBeenSet; } /** *

Frequency units.

*/ inline void SetUnits(const FrequencyUnits& value) { m_unitsHasBeenSet = true; m_units = value; } /** *

Frequency units.

*/ inline void SetUnits(FrequencyUnits&& value) { m_unitsHasBeenSet = true; m_units = std::move(value); } /** *

Frequency units.

*/ inline Frequency& WithUnits(const FrequencyUnits& value) { SetUnits(value); return *this;} /** *

Frequency units.

*/ inline Frequency& WithUnits(FrequencyUnits&& value) { SetUnits(std::move(value)); return *this;} /** *

Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400 * MHz for downlink and 2025 to 2120 MHz for uplink.

*/ inline double GetValue() const{ return m_value; } /** *

Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400 * MHz for downlink and 2025 to 2120 MHz for uplink.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400 * MHz for downlink and 2025 to 2120 MHz for uplink.

*/ inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } /** *

Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400 * MHz for downlink and 2025 to 2120 MHz for uplink.

*/ inline Frequency& WithValue(double value) { SetValue(value); return *this;} private: FrequencyUnits m_units; bool m_unitsHasBeenSet = false; double m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws