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

Information about the Semtech GNSS solver configuration.

See * Also:

AWS * API Reference

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

The status indicating whether the solver is enabled.

*/ inline const PositionConfigurationStatus& GetStatus() const{ return m_status; } /** *

The status indicating whether the solver is enabled.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status indicating whether the solver is enabled.

*/ inline void SetStatus(const PositionConfigurationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status indicating whether the solver is enabled.

*/ inline void SetStatus(PositionConfigurationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status indicating whether the solver is enabled.

*/ inline SemtechGnssConfiguration& WithStatus(const PositionConfigurationStatus& value) { SetStatus(value); return *this;} /** *

The status indicating whether the solver is enabled.

*/ inline SemtechGnssConfiguration& WithStatus(PositionConfigurationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Whether forward error correction is enabled.

*/ inline const PositionConfigurationFec& GetFec() const{ return m_fec; } /** *

Whether forward error correction is enabled.

*/ inline bool FecHasBeenSet() const { return m_fecHasBeenSet; } /** *

Whether forward error correction is enabled.

*/ inline void SetFec(const PositionConfigurationFec& value) { m_fecHasBeenSet = true; m_fec = value; } /** *

Whether forward error correction is enabled.

*/ inline void SetFec(PositionConfigurationFec&& value) { m_fecHasBeenSet = true; m_fec = std::move(value); } /** *

Whether forward error correction is enabled.

*/ inline SemtechGnssConfiguration& WithFec(const PositionConfigurationFec& value) { SetFec(value); return *this;} /** *

Whether forward error correction is enabled.

*/ inline SemtechGnssConfiguration& WithFec(PositionConfigurationFec&& value) { SetFec(std::move(value)); return *this;} private: PositionConfigurationStatus m_status; bool m_statusHasBeenSet = false; PositionConfigurationFec m_fec; bool m_fecHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws