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>
99 long long m_avoidActionsForDistance{0};
100 bool m_avoidActionsForDistanceHasBeenSet =
false;
102 bool m_avoidUTurns{
false};
103 bool m_avoidUTurnsHasBeenSet =
false;
105 double m_heading{0.0};
106 bool m_headingHasBeenSet =
false;
108 RouteMatchingOptions m_matching;
109 bool m_matchingHasBeenSet =
false;
111 RouteSideOfStreetOptions m_sideOfStreet;
112 bool m_sideOfStreetHasBeenSet =
false;
bool GetAvoidUTurns() const
long long GetAvoidActionsForDistance() const
const RouteMatchingOptions & GetMatching() const
AWS_GEOROUTES_API RouteOriginOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouteSideOfStreetOptions & GetSideOfStreet() const
RouteOriginOptions & WithAvoidUTurns(bool value)
bool HeadingHasBeenSet() const
void SetMatching(MatchingT &&value)
bool SideOfStreetHasBeenSet() const
void SetHeading(double value)
bool AvoidActionsForDistanceHasBeenSet() const
bool AvoidUTurnsHasBeenSet() const
RouteOriginOptions & WithMatching(MatchingT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAvoidUTurns(bool value)
RouteOriginOptions & WithSideOfStreet(SideOfStreetT &&value)
double GetHeading() const
RouteOriginOptions & WithAvoidActionsForDistance(long long value)
AWS_GEOROUTES_API RouteOriginOptions(Aws::Utils::Json::JsonView jsonValue)
bool MatchingHasBeenSet() const
RouteOriginOptions & WithHeading(double value)
void SetSideOfStreet(SideOfStreetT &&value)
void SetAvoidActionsForDistance(long long value)
AWS_GEOROUTES_API RouteOriginOptions()=default
Aws::Utils::Json::JsonValue JsonValue