7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetHeading(
double value) { m_headingHasBeenSet =
true; m_heading = value; }
58 template<
typename PositionT = Aws::Vector<
double>>
59 void SetPosition(PositionT&& value) { m_positionHasBeenSet =
true; m_position = std::forward<PositionT>(value); }
60 template<
typename PositionT = Aws::Vector<
double>>
70 inline double GetSpeed()
const {
return m_speed; }
72 inline void SetSpeed(
double value) { m_speedHasBeenSet =
true; m_speed = value; }
82 template<
typename TimestampT = Aws::String>
83 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
84 template<
typename TimestampT = Aws::String>
89 double m_heading{0.0};
90 bool m_headingHasBeenSet =
false;
93 bool m_positionHasBeenSet =
false;
96 bool m_speedHasBeenSet =
false;
99 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