/** * 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 { /** *

Elevation angle of the satellite in the sky during a contact.

See * Also:

AWS * API Reference

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

Elevation angle units.

*/ inline const AngleUnits& GetUnit() const{ return m_unit; } /** *

Elevation angle units.

*/ inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; } /** *

Elevation angle units.

*/ inline void SetUnit(const AngleUnits& value) { m_unitHasBeenSet = true; m_unit = value; } /** *

Elevation angle units.

*/ inline void SetUnit(AngleUnits&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); } /** *

Elevation angle units.

*/ inline Elevation& WithUnit(const AngleUnits& value) { SetUnit(value); return *this;} /** *

Elevation angle units.

*/ inline Elevation& WithUnit(AngleUnits&& value) { SetUnit(std::move(value)); return *this;} /** *

Elevation angle value.

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

Elevation angle value.

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

Elevation angle value.

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

Elevation angle value.

*/ inline Elevation& WithValue(double value) { SetValue(value); return *this;} private: AngleUnits m_unit; bool m_unitHasBeenSet = false; double m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws