This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

107 lines
2.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/groundstation/GroundStation_EXPORTS.h>
#include <aws/groundstation/model/FrequencyUnits.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace GroundStation
{
namespace Model
{
/**
* <p>Object that describes the frequency.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/Frequency">AWS
* API Reference</a></p>
*/
class AWS_GROUNDSTATION_API Frequency
{
public:
Frequency();
Frequency(Aws::Utils::Json::JsonView jsonValue);
Frequency& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Frequency units.</p>
*/
inline const FrequencyUnits& GetUnits() const{ return m_units; }
/**
* <p>Frequency units.</p>
*/
inline bool UnitsHasBeenSet() const { return m_unitsHasBeenSet; }
/**
* <p>Frequency units.</p>
*/
inline void SetUnits(const FrequencyUnits& value) { m_unitsHasBeenSet = true; m_units = value; }
/**
* <p>Frequency units.</p>
*/
inline void SetUnits(FrequencyUnits&& value) { m_unitsHasBeenSet = true; m_units = std::move(value); }
/**
* <p>Frequency units.</p>
*/
inline Frequency& WithUnits(const FrequencyUnits& value) { SetUnits(value); return *this;}
/**
* <p>Frequency units.</p>
*/
inline Frequency& WithUnits(FrequencyUnits&& value) { SetUnits(std::move(value)); return *this;}
/**
* <p>Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400
* MHz for downlink and 2025 to 2120 MHz for uplink.</p>
*/
inline double GetValue() const{ return m_value; }
/**
* <p>Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400
* MHz for downlink and 2025 to 2120 MHz for uplink.</p>
*/
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
/**
* <p>Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400
* MHz for downlink and 2025 to 2120 MHz for uplink.</p>
*/
inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
/**
* <p>Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400
* MHz for downlink and 2025 to 2120 MHz for uplink.</p>
*/
inline Frequency& WithValue(double value) { SetValue(value); return *this;}
private:
FrequencyUnits m_units;
bool m_unitsHasBeenSet;
double m_value;
bool m_valueHasBeenSet;
};
} // namespace Model
} // namespace GroundStation
} // namespace Aws