7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/location/LocationService_EXPORTS.h>
19namespace LocationService {
30 AWS_LOCATIONSERVICE_API
Step() =
default;
42 template <
typename StartPositionT = Aws::Vector<
double>>
44 m_startPositionHasBeenSet =
true;
45 m_startPosition = std::forward<StartPositionT>(value);
47 template <
typename StartPositionT = Aws::Vector<
double>>
53 m_startPositionHasBeenSet =
true;
54 m_startPosition.push_back(value);
66 template <
typename EndPositionT = Aws::Vector<
double>>
68 m_endPositionHasBeenSet =
true;
69 m_endPosition = std::forward<EndPositionT>(value);
71 template <
typename EndPositionT = Aws::Vector<
double>>
77 m_endPositionHasBeenSet =
true;
78 m_endPosition.push_back(value);
91 m_distanceHasBeenSet =
true;
110 m_durationSecondsHasBeenSet =
true;
111 m_durationSeconds = value;
129 m_geometryOffsetHasBeenSet =
true;
130 m_geometryOffset = value;
142 double m_distance{0.0};
144 double m_durationSeconds{0.0};
146 int m_geometryOffset{0};
147 bool m_startPositionHasBeenSet =
false;
148 bool m_endPositionHasBeenSet =
false;
149 bool m_distanceHasBeenSet =
false;
150 bool m_durationSecondsHasBeenSet =
false;
151 bool m_geometryOffsetHasBeenSet =
false;
double GetDistance() const
Step & WithGeometryOffset(int value)
bool StartPositionHasBeenSet() const
Step & AddStartPosition(double value)
AWS_LOCATIONSERVICE_API Step()=default
void SetStartPosition(StartPositionT &&value)
Step & WithDurationSeconds(double value)
bool GeometryOffsetHasBeenSet() const
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDurationSeconds(double value)
AWS_LOCATIONSERVICE_API Step(Aws::Utils::Json::JsonView jsonValue)
void SetGeometryOffset(int value)
Step & WithDistance(double value)
const Aws::Vector< double > & GetStartPosition() const
void SetEndPosition(EndPositionT &&value)
double GetDurationSeconds() const
const Aws::Vector< double > & GetEndPosition() const
void SetDistance(double value)
AWS_LOCATIONSERVICE_API Step & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EndPositionHasBeenSet() const
Step & AddEndPosition(double value)
int GetGeometryOffset() const
bool DistanceHasBeenSet() const
Step & WithStartPosition(StartPositionT &&value)
Step & WithEndPosition(EndPositionT &&value)
bool DurationSecondsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue