7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteMatchingOptions.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/geo-routes/model/RouteSideOfStreetOptions.h>
50 inline void SetAvoidActionsForDistance(
long long value) { m_avoidActionsForDistanceHasBeenSet =
true; m_avoidActionsForDistance = value; }
60 inline void SetAvoidUTurns(
bool value) { m_avoidUTurnsHasBeenSet =
true; m_avoidUTurns = value; }
70 inline void SetHeading(
double value) { m_headingHasBeenSet =
true; m_heading = value; }
80 template<
typename MatchingT = RouteMatchingOptions>
81 void SetMatching(MatchingT&& value) { m_matchingHasBeenSet =
true; m_matching = std::forward<MatchingT>(value); }
82 template<
typename MatchingT = RouteMatchingOptions>
93 inline void SetPassThrough(
bool value) { m_passThroughHasBeenSet =
true; m_passThrough = value; }
103 template<
typename PositionT = Aws::Vector<
double>>
104 void SetPosition(PositionT&& value) { m_positionHasBeenSet =
true; m_position = std::forward<PositionT>(value); }
105 template<
typename PositionT = Aws::Vector<
double>>
117 template<
typename S
ideOfStreetT = RouteS
ideOfStreetOptions>
118 void SetSideOfStreet(SideOfStreetT&& value) { m_sideOfStreetHasBeenSet =
true; m_sideOfStreet = std::forward<SideOfStreetT>(value); }
119 template<
typename S
ideOfStreetT = RouteS
ideOfStreetOptions>
129 inline void SetStopDuration(
long long value) { m_stopDurationHasBeenSet =
true; m_stopDuration = value; }
134 long long m_avoidActionsForDistance{0};
135 bool m_avoidActionsForDistanceHasBeenSet =
false;
137 bool m_avoidUTurns{
false};
138 bool m_avoidUTurnsHasBeenSet =
false;
140 double m_heading{0.0};
141 bool m_headingHasBeenSet =
false;
143 RouteMatchingOptions m_matching;
144 bool m_matchingHasBeenSet =
false;
146 bool m_passThrough{
false};
147 bool m_passThroughHasBeenSet =
false;
150 bool m_positionHasBeenSet =
false;
152 RouteSideOfStreetOptions m_sideOfStreet;
153 bool m_sideOfStreetHasBeenSet =
false;
155 long long m_stopDuration{0};
156 bool m_stopDurationHasBeenSet =
false;
const Aws::Vector< double > & GetPosition() const
AWS_GEOROUTES_API RouteWaypoint()=default
bool MatchingHasBeenSet() const
RouteWaypoint & WithPassThrough(bool value)
void SetAvoidUTurns(bool value)
RouteWaypoint & WithStopDuration(long long value)
double GetHeading() const
RouteWaypoint & WithMatching(MatchingT &&value)
AWS_GEOROUTES_API RouteWaypoint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPassThrough(bool value)
RouteWaypoint & WithSideOfStreet(SideOfStreetT &&value)
RouteWaypoint & WithAvoidUTurns(bool value)
RouteWaypoint & WithPosition(PositionT &&value)
void SetMatching(MatchingT &&value)
bool GetPassThrough() const
RouteWaypoint & WithAvoidActionsForDistance(long long value)
long long GetAvoidActionsForDistance() const
bool AvoidUTurnsHasBeenSet() const
bool AvoidActionsForDistanceHasBeenSet() const
RouteWaypoint & AddPosition(double value)
void SetStopDuration(long long value)
long long GetStopDuration() const
RouteWaypoint & WithHeading(double value)
bool PositionHasBeenSet() const
const RouteSideOfStreetOptions & GetSideOfStreet() const
bool GetAvoidUTurns() const
void SetAvoidActionsForDistance(long long value)
bool SideOfStreetHasBeenSet() const
void SetPosition(PositionT &&value)
AWS_GEOROUTES_API RouteWaypoint(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
bool HeadingHasBeenSet() const
bool PassThroughHasBeenSet() const
bool StopDurationHasBeenSet() const
void SetHeading(double value)
void SetSideOfStreet(SideOfStreetT &&value)
const RouteMatchingOptions & GetMatching() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue