7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/RouteMatchingOptions.h>
10#include <aws/geo-routes/model/RouteSideOfStreetOptions.h>
45 m_avoidActionsForDistanceHasBeenSet =
true;
46 m_avoidActionsForDistance = value;
61 m_avoidUTurnsHasBeenSet =
true;
62 m_avoidUTurns = value;
77 m_headingHasBeenSet =
true;
92 template <
typename MatchingT = RouteMatchingOptions>
94 m_matchingHasBeenSet =
true;
95 m_matching = std::forward<MatchingT>(value);
97 template <
typename MatchingT = RouteMatchingOptions>
112 m_passThroughHasBeenSet =
true;
113 m_passThrough = value;
127 template <
typename PositionT = Aws::Vector<
double>>
129 m_positionHasBeenSet =
true;
130 m_position = std::forward<PositionT>(value);
132 template <
typename PositionT = Aws::Vector<
double>>
138 m_positionHasBeenSet =
true;
139 m_position.push_back(value);
151 template <
typename S
ideOfStreetT = RouteS
ideOfStreetOptions>
153 m_sideOfStreetHasBeenSet =
true;
154 m_sideOfStreet = std::forward<SideOfStreetT>(value);
156 template <
typename S
ideOfStreetT = RouteS
ideOfStreetOptions>
170 m_stopDurationHasBeenSet =
true;
171 m_stopDuration = value;
179 long long m_avoidActionsForDistance{0};
181 bool m_avoidUTurns{
false};
183 double m_heading{0.0};
185 RouteMatchingOptions m_matching;
187 bool m_passThrough{
false};
191 RouteSideOfStreetOptions m_sideOfStreet;
193 long long m_stopDuration{0};
194 bool m_avoidActionsForDistanceHasBeenSet =
false;
195 bool m_avoidUTurnsHasBeenSet =
false;
196 bool m_headingHasBeenSet =
false;
197 bool m_matchingHasBeenSet =
false;
198 bool m_passThroughHasBeenSet =
false;
199 bool m_positionHasBeenSet =
false;
200 bool m_sideOfStreetHasBeenSet =
false;
201 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