/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies GPS-based criteria for including or excluding endpoints from a
* segment.See Also:
AWS
* API Reference
The GPS coordinates to measure distance from.
*/ inline const GPSCoordinates& GetCoordinates() const{ return m_coordinates; } /** *The GPS coordinates to measure distance from.
*/ inline bool CoordinatesHasBeenSet() const { return m_coordinatesHasBeenSet; } /** *The GPS coordinates to measure distance from.
*/ inline void SetCoordinates(const GPSCoordinates& value) { m_coordinatesHasBeenSet = true; m_coordinates = value; } /** *The GPS coordinates to measure distance from.
*/ inline void SetCoordinates(GPSCoordinates&& value) { m_coordinatesHasBeenSet = true; m_coordinates = std::move(value); } /** *The GPS coordinates to measure distance from.
*/ inline GPSPointDimension& WithCoordinates(const GPSCoordinates& value) { SetCoordinates(value); return *this;} /** *The GPS coordinates to measure distance from.
*/ inline GPSPointDimension& WithCoordinates(GPSCoordinates&& value) { SetCoordinates(std::move(value)); return *this;} /** *The range, in kilometers, from the GPS coordinates.
*/ inline double GetRangeInKilometers() const{ return m_rangeInKilometers; } /** *The range, in kilometers, from the GPS coordinates.
*/ inline bool RangeInKilometersHasBeenSet() const { return m_rangeInKilometersHasBeenSet; } /** *The range, in kilometers, from the GPS coordinates.
*/ inline void SetRangeInKilometers(double value) { m_rangeInKilometersHasBeenSet = true; m_rangeInKilometers = value; } /** *The range, in kilometers, from the GPS coordinates.
*/ inline GPSPointDimension& WithRangeInKilometers(double value) { SetRangeInKilometers(value); return *this;} private: GPSCoordinates m_coordinates; bool m_coordinatesHasBeenSet = false; double m_rangeInKilometers; bool m_rangeInKilometersHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws