/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents an element of a leg within a route. A step contains instructions
* for how to move to the next step in the leg. See Also:
AWS API
* Reference
The travel distance between the step's StartPosition
and
* EndPosition
.
The travel distance between the step's StartPosition
and
* EndPosition
.
The travel distance between the step's StartPosition
and
* EndPosition
.
The travel distance between the step's StartPosition
and
* EndPosition
.
The estimated travel time, in seconds, from the step's
* StartPosition
to the EndPosition
. . The travel mode
* and departure time that you specify in the request determines the calculated
* time.
The estimated travel time, in seconds, from the step's
* StartPosition
to the EndPosition
. . The travel mode
* and departure time that you specify in the request determines the calculated
* time.
The estimated travel time, in seconds, from the step's
* StartPosition
to the EndPosition
. . The travel mode
* and departure time that you specify in the request determines the calculated
* time.
The estimated travel time, in seconds, from the step's
* StartPosition
to the EndPosition
. . The travel mode
* and departure time that you specify in the request determines the calculated
* time.
The end position of a step. If the position the last step in the leg, this * position is the same as the end position of the leg.
*/ inline const Aws::VectorThe end position of a step. If the position the last step in the leg, this * position is the same as the end position of the leg.
*/ inline bool EndPositionHasBeenSet() const { return m_endPositionHasBeenSet; } /** *The end position of a step. If the position the last step in the leg, this * position is the same as the end position of the leg.
*/ inline void SetEndPosition(const Aws::VectorThe end position of a step. If the position the last step in the leg, this * position is the same as the end position of the leg.
*/ inline void SetEndPosition(Aws::VectorThe end position of a step. If the position the last step in the leg, this * position is the same as the end position of the leg.
*/ inline Step& WithEndPosition(const Aws::VectorThe end position of a step. If the position the last step in the leg, this * position is the same as the end position of the leg.
*/ inline Step& WithEndPosition(Aws::VectorThe end position of a step. If the position the last step in the leg, this * position is the same as the end position of the leg.
*/ inline Step& AddEndPosition(double value) { m_endPositionHasBeenSet = true; m_endPosition.push_back(value); return *this; } /** *Represents the start position, or index, in a sequence of steps within the
* leg's line string geometry. For example, the index of the first step in a leg
* geometry is 0
.
Included in the response for queries that
* set IncludeLegGeometry
to True
.
Represents the start position, or index, in a sequence of steps within the
* leg's line string geometry. For example, the index of the first step in a leg
* geometry is 0
.
Included in the response for queries that
* set IncludeLegGeometry
to True
.
Represents the start position, or index, in a sequence of steps within the
* leg's line string geometry. For example, the index of the first step in a leg
* geometry is 0
.
Included in the response for queries that
* set IncludeLegGeometry
to True
.
Represents the start position, or index, in a sequence of steps within the
* leg's line string geometry. For example, the index of the first step in a leg
* geometry is 0
.
Included in the response for queries that
* set IncludeLegGeometry
to True
.
The starting position of a step. If the position is the first step in the * leg, this position is the same as the start position of the leg.
*/ inline const Aws::VectorThe starting position of a step. If the position is the first step in the * leg, this position is the same as the start position of the leg.
*/ inline bool StartPositionHasBeenSet() const { return m_startPositionHasBeenSet; } /** *The starting position of a step. If the position is the first step in the * leg, this position is the same as the start position of the leg.
*/ inline void SetStartPosition(const Aws::VectorThe starting position of a step. If the position is the first step in the * leg, this position is the same as the start position of the leg.
*/ inline void SetStartPosition(Aws::VectorThe starting position of a step. If the position is the first step in the * leg, this position is the same as the start position of the leg.
*/ inline Step& WithStartPosition(const Aws::VectorThe starting position of a step. If the position is the first step in the * leg, this position is the same as the start position of the leg.
*/ inline Step& WithStartPosition(Aws::VectorThe starting position of a step. If the position is the first step in the * leg, this position is the same as the start position of the leg.
*/ inline Step& AddStartPosition(double value) { m_startPositionHasBeenSet = true; m_startPosition.push_back(value); return *this; } private: double m_distance; bool m_distanceHasBeenSet = false; double m_durationSeconds; bool m_durationSecondsHasBeenSet = false; Aws::Vector