7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
43 m_headingHasBeenSet =
true;
58 template <
typename PositionT = Aws::Vector<
double>>
60 m_positionHasBeenSet =
true;
61 m_position = std::forward<PositionT>(value);
63 template <
typename PositionT = Aws::Vector<
double>>
69 m_positionHasBeenSet =
true;
70 m_position.push_back(value);
80 inline double GetSpeed()
const {
return m_speed; }
83 m_speedHasBeenSet =
true;
98 template <
typename TimestampT = Aws::String>
100 m_timestampHasBeenSet =
true;
101 m_timestamp = std::forward<TimestampT>(value);
103 template <
typename TimestampT = Aws::String>
110 double m_heading{0.0};
117 bool m_headingHasBeenSet =
false;
118 bool m_positionHasBeenSet =
false;
119 bool m_speedHasBeenSet =
false;
120 bool m_timestampHasBeenSet =
false;
RoadSnapTracePoint & WithHeading(double value)
bool TimestampHasBeenSet() const
bool PositionHasBeenSet() const
AWS_GEOROUTES_API RoadSnapTracePoint()=default
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimestamp(TimestampT &&value)
const Aws::Vector< double > & GetPosition() const
bool HeadingHasBeenSet() const
const Aws::String & GetTimestamp() const
RoadSnapTracePoint & WithPosition(PositionT &&value)
RoadSnapTracePoint & WithTimestamp(TimestampT &&value)
void SetHeading(double value)
RoadSnapTracePoint & WithSpeed(double value)
AWS_GEOROUTES_API RoadSnapTracePoint(Aws::Utils::Json::JsonView jsonValue)
RoadSnapTracePoint & AddPosition(double value)
void SetPosition(PositionT &&value)
bool SpeedHasBeenSet() const
AWS_GEOROUTES_API RoadSnapTracePoint & operator=(Aws::Utils::Json::JsonView jsonValue)
double GetHeading() const
void SetSpeed(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue