/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace GroundStation
{
namespace Model
{
/**
* Information about the uplink spectral Config
.
See
* Also:
AWS
* API Reference
*/
class UplinkSpectrumConfig
{
public:
AWS_GROUNDSTATION_API UplinkSpectrumConfig();
AWS_GROUNDSTATION_API UplinkSpectrumConfig(Aws::Utils::Json::JsonView jsonValue);
AWS_GROUNDSTATION_API UplinkSpectrumConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Center frequency of an uplink spectral Config
. Valid values are
* between 2025 to 2120 MHz.
*/
inline const Frequency& GetCenterFrequency() const{ return m_centerFrequency; }
/**
* Center frequency of an uplink spectral Config
. Valid values are
* between 2025 to 2120 MHz.
*/
inline bool CenterFrequencyHasBeenSet() const { return m_centerFrequencyHasBeenSet; }
/**
* Center frequency of an uplink spectral Config
. Valid values are
* between 2025 to 2120 MHz.
*/
inline void SetCenterFrequency(const Frequency& value) { m_centerFrequencyHasBeenSet = true; m_centerFrequency = value; }
/**
* Center frequency of an uplink spectral Config
. Valid values are
* between 2025 to 2120 MHz.
*/
inline void SetCenterFrequency(Frequency&& value) { m_centerFrequencyHasBeenSet = true; m_centerFrequency = std::move(value); }
/**
* Center frequency of an uplink spectral Config
. Valid values are
* between 2025 to 2120 MHz.
*/
inline UplinkSpectrumConfig& WithCenterFrequency(const Frequency& value) { SetCenterFrequency(value); return *this;}
/**
* Center frequency of an uplink spectral Config
. Valid values are
* between 2025 to 2120 MHz.
*/
inline UplinkSpectrumConfig& WithCenterFrequency(Frequency&& value) { SetCenterFrequency(std::move(value)); return *this;}
/**
* Polarization of an uplink spectral Config
. Capturing both
* "RIGHT_HAND"
and "LEFT_HAND"
polarization requires two
* separate configs.
*/
inline const Polarization& GetPolarization() const{ return m_polarization; }
/**
* Polarization of an uplink spectral Config
. Capturing both
* "RIGHT_HAND"
and "LEFT_HAND"
polarization requires two
* separate configs.
*/
inline bool PolarizationHasBeenSet() const { return m_polarizationHasBeenSet; }
/**
* Polarization of an uplink spectral Config
. Capturing both
* "RIGHT_HAND"
and "LEFT_HAND"
polarization requires two
* separate configs.
*/
inline void SetPolarization(const Polarization& value) { m_polarizationHasBeenSet = true; m_polarization = value; }
/**
* Polarization of an uplink spectral Config
. Capturing both
* "RIGHT_HAND"
and "LEFT_HAND"
polarization requires two
* separate configs.
*/
inline void SetPolarization(Polarization&& value) { m_polarizationHasBeenSet = true; m_polarization = std::move(value); }
/**
* Polarization of an uplink spectral Config
. Capturing both
* "RIGHT_HAND"
and "LEFT_HAND"
polarization requires two
* separate configs.
*/
inline UplinkSpectrumConfig& WithPolarization(const Polarization& value) { SetPolarization(value); return *this;}
/**
* Polarization of an uplink spectral Config
. Capturing both
* "RIGHT_HAND"
and "LEFT_HAND"
polarization requires two
* separate configs.
*/
inline UplinkSpectrumConfig& WithPolarization(Polarization&& value) { SetPolarization(std::move(value)); return *this;}
private:
Frequency m_centerFrequency;
bool m_centerFrequencyHasBeenSet = false;
Polarization m_polarization;
bool m_polarizationHasBeenSet = false;
};
} // namespace Model
} // namespace GroundStation
} // namespace Aws