/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result for the calculated route of one DeparturePosition
* DestinationPosition
pair.See Also:
AWS
* API Reference
The total distance of travel for the route.
*/ inline double GetDistance() const{ return m_distance; } /** *The total distance of travel for the route.
*/ inline bool DistanceHasBeenSet() const { return m_distanceHasBeenSet; } /** *The total distance of travel for the route.
*/ inline void SetDistance(double value) { m_distanceHasBeenSet = true; m_distance = value; } /** *The total distance of travel for the route.
*/ inline RouteMatrixEntry& WithDistance(double value) { SetDistance(value); return *this;} /** *The expected duration of travel for the route.
*/ inline double GetDurationSeconds() const{ return m_durationSeconds; } /** *The expected duration of travel for the route.
*/ inline bool DurationSecondsHasBeenSet() const { return m_durationSecondsHasBeenSet; } /** *The expected duration of travel for the route.
*/ inline void SetDurationSeconds(double value) { m_durationSecondsHasBeenSet = true; m_durationSeconds = value; } /** *The expected duration of travel for the route.
*/ inline RouteMatrixEntry& WithDurationSeconds(double value) { SetDurationSeconds(value); return *this;} /** *An error corresponding to the calculation of a route between the
* DeparturePosition
and DestinationPosition
.
An error corresponding to the calculation of a route between the
* DeparturePosition
and DestinationPosition
.
An error corresponding to the calculation of a route between the
* DeparturePosition
and DestinationPosition
.
An error corresponding to the calculation of a route between the
* DeparturePosition
and DestinationPosition
.
An error corresponding to the calculation of a route between the
* DeparturePosition
and DestinationPosition
.
An error corresponding to the calculation of a route between the
* DeparturePosition
and DestinationPosition
.