7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace LocationService
35 AWS_LOCATIONSERVICE_API
Step();
52 inline Step&
AddStartPosition(
double value) { m_startPositionHasBeenSet =
true; m_startPosition.push_back(value);
return *
this; }
66 inline Step&
AddEndPosition(
double value) { m_endPositionHasBeenSet =
true; m_endPosition.push_back(value);
return *
this; }
76 inline void SetDistance(
double value) { m_distanceHasBeenSet =
true; m_distance = value; }
89 inline void SetDurationSeconds(
double value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
102 inline void SetGeometryOffset(
int value) { m_geometryOffsetHasBeenSet =
true; m_geometryOffset = value; }
108 bool m_startPositionHasBeenSet =
false;
111 bool m_endPositionHasBeenSet =
false;
114 bool m_distanceHasBeenSet =
false;
116 double m_durationSeconds;
117 bool m_durationSecondsHasBeenSet =
false;
119 int m_geometryOffset;
120 bool m_geometryOffsetHasBeenSet =
false;
double GetDistance() const
void SetStartPosition(Aws::Vector< double > &&value)
void SetEndPosition(Aws::Vector< double > &&value)
Step & WithGeometryOffset(int value)
bool StartPositionHasBeenSet() const
Step & AddStartPosition(double 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)
Step & WithEndPosition(Aws::Vector< double > &&value)
Step & WithEndPosition(const Aws::Vector< double > &value)
const Aws::Vector< double > & GetStartPosition() const
void SetEndPosition(const Aws::Vector< double > &value)
Step & WithStartPosition(Aws::Vector< double > &&value)
double GetDurationSeconds() const
void SetStartPosition(const Aws::Vector< double > &value)
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
Step & WithStartPosition(const Aws::Vector< double > &value)
AWS_LOCATIONSERVICE_API Step()
bool DistanceHasBeenSet() const
bool DurationSecondsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue