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

The accuracy of the estimated position in meters. An empty value indicates * that no position data is available. A value of ‘0.0’ value indicates that * position data is available. This data corresponds to the position information * that you specified instead of the position computed by solver.

See * Also:

AWS * API Reference

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

The horizontal accuracy of the estimated position, which is the difference * between the estimated location and the actual device location.

*/ inline double GetHorizontalAccuracy() const{ return m_horizontalAccuracy; } /** *

The horizontal accuracy of the estimated position, which is the difference * between the estimated location and the actual device location.

*/ inline bool HorizontalAccuracyHasBeenSet() const { return m_horizontalAccuracyHasBeenSet; } /** *

The horizontal accuracy of the estimated position, which is the difference * between the estimated location and the actual device location.

*/ inline void SetHorizontalAccuracy(double value) { m_horizontalAccuracyHasBeenSet = true; m_horizontalAccuracy = value; } /** *

The horizontal accuracy of the estimated position, which is the difference * between the estimated location and the actual device location.

*/ inline Accuracy& WithHorizontalAccuracy(double value) { SetHorizontalAccuracy(value); return *this;} /** *

The vertical accuracy of the estimated position, which is the difference * between the estimated altitude and actual device latitude in meters.

*/ inline double GetVerticalAccuracy() const{ return m_verticalAccuracy; } /** *

The vertical accuracy of the estimated position, which is the difference * between the estimated altitude and actual device latitude in meters.

*/ inline bool VerticalAccuracyHasBeenSet() const { return m_verticalAccuracyHasBeenSet; } /** *

The vertical accuracy of the estimated position, which is the difference * between the estimated altitude and actual device latitude in meters.

*/ inline void SetVerticalAccuracy(double value) { m_verticalAccuracyHasBeenSet = true; m_verticalAccuracy = value; } /** *

The vertical accuracy of the estimated position, which is the difference * between the estimated altitude and actual device latitude in meters.

*/ inline Accuracy& WithVerticalAccuracy(double value) { SetVerticalAccuracy(value); return *this;} private: double m_horizontalAccuracy; bool m_horizontalAccuracyHasBeenSet = false; double m_verticalAccuracy; bool m_verticalAccuracyHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws