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

Defines the level of certainty of the position.

See Also:

AWS * API Reference

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

Estimated maximum distance, in meters, between the measured position and the * true position of a device, along the Earth's surface.

*/ inline double GetHorizontal() const{ return m_horizontal; } /** *

Estimated maximum distance, in meters, between the measured position and the * true position of a device, along the Earth's surface.

*/ inline bool HorizontalHasBeenSet() const { return m_horizontalHasBeenSet; } /** *

Estimated maximum distance, in meters, between the measured position and the * true position of a device, along the Earth's surface.

*/ inline void SetHorizontal(double value) { m_horizontalHasBeenSet = true; m_horizontal = value; } /** *

Estimated maximum distance, in meters, between the measured position and the * true position of a device, along the Earth's surface.

*/ inline PositionalAccuracy& WithHorizontal(double value) { SetHorizontal(value); return *this;} private: double m_horizontal; bool m_horizontalHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws