/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTWireless { namespace Model { /** *

Details of the Semtech GNSS solver object.

See Also:

AWS * API Reference

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

The vendor of the solver object.

*/ inline const PositionSolverProvider& GetProvider() const{ return m_provider; } /** *

The vendor of the solver object.

*/ inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; } /** *

The vendor of the solver object.

*/ inline void SetProvider(const PositionSolverProvider& value) { m_providerHasBeenSet = true; m_provider = value; } /** *

The vendor of the solver object.

*/ inline void SetProvider(PositionSolverProvider&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); } /** *

The vendor of the solver object.

*/ inline SemtechGnssDetail& WithProvider(const PositionSolverProvider& value) { SetProvider(value); return *this;} /** *

The vendor of the solver object.

*/ inline SemtechGnssDetail& WithProvider(PositionSolverProvider&& value) { SetProvider(std::move(value)); return *this;} /** *

The type of positioning solver used.

*/ inline const PositionSolverType& GetType() const{ return m_type; } /** *

The type of positioning solver used.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of positioning solver used.

*/ inline void SetType(const PositionSolverType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of positioning solver used.

*/ inline void SetType(PositionSolverType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of positioning solver used.

*/ inline SemtechGnssDetail& WithType(const PositionSolverType& value) { SetType(value); return *this;} /** *

The type of positioning solver used.

*/ inline SemtechGnssDetail& WithType(PositionSolverType&& value) { SetType(std::move(value)); return *this;} /** *

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 SemtechGnssDetail& WithStatus(const PositionConfigurationStatus& value) { SetStatus(value); return *this;} /** *

The status indicating whether the solver is enabled.

*/ inline SemtechGnssDetail& 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 SemtechGnssDetail& WithFec(const PositionConfigurationFec& value) { SetFec(value); return *this;} /** *

Whether forward error correction is enabled.

*/ inline SemtechGnssDetail& WithFec(PositionConfigurationFec&& value) { SetFec(std::move(value)); return *this;} private: PositionSolverProvider m_provider; bool m_providerHasBeenSet = false; PositionSolverType m_type; bool m_typeHasBeenSet = false; PositionConfigurationStatus m_status; bool m_statusHasBeenSet = false; PositionConfigurationFec m_fec; bool m_fecHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws