/** * 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 represents EIRP.

See Also:

AWS * API Reference

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

Units of an EIRP.

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

Units of an EIRP.

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

Units of an EIRP.

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

Units of an EIRP.

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

Units of an EIRP.

*/ inline Eirp& WithUnits(const EirpUnits& value) { SetUnits(value); return *this;} /** *

Units of an EIRP.

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

Value of an EIRP. Valid values are between 20.0 to 50.0 dBW.

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

Value of an EIRP. Valid values are between 20.0 to 50.0 dBW.

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

Value of an EIRP. Valid values are between 20.0 to 50.0 dBW.

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

Value of an EIRP. Valid values are between 20.0 to 50.0 dBW.

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