7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteMatchingOptions.h>
9#include <aws/geo-routes/model/RouteSideOfStreetOptions.h>
49 inline void SetAvoidActionsForDistance(
long long value) { m_avoidActionsForDistanceHasBeenSet =
true; m_avoidActionsForDistance = value; }
59 inline void SetAvoidUTurns(
bool value) { m_avoidUTurnsHasBeenSet =
true; m_avoidUTurns = value; }
69 inline void SetHeading(
double value) { m_headingHasBeenSet =
true; m_heading = value; }
79 template<
typename MatchingT = RouteMatchingOptions>
80 void SetMatching(MatchingT&& value) { m_matchingHasBeenSet =
true; m_matching = std::forward<MatchingT>(value); }
81 template<
typename MatchingT = RouteMatchingOptions>
92 template<
typename S
ideOfStreetT = RouteS
ideOfStreetOptions>
93 void SetSideOfStreet(SideOfStreetT&& value) { m_sideOfStreetHasBeenSet =
true; m_sideOfStreet = std::forward<SideOfStreetT>(value); }
94 template<
typename S
ideOfStreetT = RouteS
ideOfStreetOptions>
104 inline void SetStopDuration(
long long value) { m_stopDurationHasBeenSet =
true; m_stopDuration = value; }
109 long long m_avoidActionsForDistance{0};
110 bool m_avoidActionsForDistanceHasBeenSet =
false;
112 bool m_avoidUTurns{
false};
113 bool m_avoidUTurnsHasBeenSet =
false;
115 double m_heading{0.0};
116 bool m_headingHasBeenSet =
false;
118 RouteMatchingOptions m_matching;
119 bool m_matchingHasBeenSet =
false;
121 RouteSideOfStreetOptions m_sideOfStreet;
122 bool m_sideOfStreetHasBeenSet =
false;
124 long long m_stopDuration{0};
125 bool m_stopDurationHasBeenSet =
false;
void SetHeading(double value)
RouteDestinationOptions & WithAvoidUTurns(bool value)
long long GetStopDuration() const
void SetSideOfStreet(SideOfStreetT &&value)
AWS_GEOROUTES_API RouteDestinationOptions()=default
bool AvoidUTurnsHasBeenSet() const
long long GetAvoidActionsForDistance() const
RouteDestinationOptions & WithHeading(double value)
bool AvoidActionsForDistanceHasBeenSet() const
bool HeadingHasBeenSet() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteDestinationOptions(Aws::Utils::Json::JsonView jsonValue)
RouteDestinationOptions & WithSideOfStreet(SideOfStreetT &&value)
void SetAvoidUTurns(bool value)
const RouteSideOfStreetOptions & GetSideOfStreet() const
void SetMatching(MatchingT &&value)
RouteDestinationOptions & WithMatching(MatchingT &&value)
void SetAvoidActionsForDistance(long long value)
RouteDestinationOptions & WithStopDuration(long long value)
bool MatchingHasBeenSet() const
bool GetAvoidUTurns() const
void SetStopDuration(long long value)
bool StopDurationHasBeenSet() const
double GetHeading() const
bool SideOfStreetHasBeenSet() const
RouteDestinationOptions & WithAvoidActionsForDistance(long long value)
AWS_GEOROUTES_API RouteDestinationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouteMatchingOptions & GetMatching() const
Aws::Utils::Json::JsonValue JsonValue