7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
10#include <aws/geo-routes/model/WaypointOptimizationAccessHours.h>
11#include <aws/geo-routes/model/WaypointOptimizationSideOfStreetOptions.h>
43 template <
typename AccessHoursT = Waypo
intOptimizationAccessHours>
45 m_accessHoursHasBeenSet =
true;
46 m_accessHours = std::forward<AccessHoursT>(value);
48 template <
typename AccessHoursT = Waypo
intOptimizationAccessHours>
61 template <
typename Appo
intmentTimeT = Aws::String>
63 m_appointmentTimeHasBeenSet =
true;
64 m_appointmentTime = std::forward<AppointmentTimeT>(value);
66 template <
typename Appo
intmentTimeT = Aws::String>
79 template <
typename BeforeT = Aws::Vector<
int>>
81 m_beforeHasBeenSet =
true;
82 m_before = std::forward<BeforeT>(value);
84 template <
typename BeforeT = Aws::Vector<
int>>
90 m_beforeHasBeenSet =
true;
91 m_before.push_back(value);
103 m_headingHasBeenSet =
true;
118 template <
typename IdT = Aws::String>
120 m_idHasBeenSet =
true;
121 m_id = std::forward<IdT>(value);
123 template <
typename IdT = Aws::String>
125 SetId(std::forward<IdT>(value));
136 template <
typename PositionT = Aws::Vector<
double>>
138 m_positionHasBeenSet =
true;
139 m_position = std::forward<PositionT>(value);
141 template <
typename PositionT = Aws::Vector<
double>>
147 m_positionHasBeenSet =
true;
148 m_position.push_back(value);
162 m_serviceDurationHasBeenSet =
true;
163 m_serviceDuration = value;
178 template <
typename S
ideOfStreetT = Waypo
intOptimizationS
ideOfStreetOptions>
180 m_sideOfStreetHasBeenSet =
true;
181 m_sideOfStreet = std::forward<SideOfStreetT>(value);
183 template <
typename S
ideOfStreetT = Waypo
intOptimizationS
ideOfStreetOptions>
196 double m_heading{0.0};
202 long long m_serviceDuration{0};
204 WaypointOptimizationSideOfStreetOptions m_sideOfStreet;
205 bool m_accessHoursHasBeenSet =
false;
206 bool m_appointmentTimeHasBeenSet =
false;
207 bool m_beforeHasBeenSet =
false;
208 bool m_headingHasBeenSet =
false;
209 bool m_idHasBeenSet =
false;
210 bool m_positionHasBeenSet =
false;
211 bool m_serviceDurationHasBeenSet =
false;
212 bool m_sideOfStreetHasBeenSet =
false;
WaypointOptimizationWaypoint & WithAppointmentTime(AppointmentTimeT &&value)
WaypointOptimizationWaypoint & AddBefore(int value)
bool BeforeHasBeenSet() const
const Aws::String & GetId() const
AWS_GEOROUTES_API WaypointOptimizationWaypoint()=default
double GetHeading() const
const WaypointOptimizationSideOfStreetOptions & GetSideOfStreet() const
const Aws::Vector< int > & GetBefore() const
WaypointOptimizationWaypoint & WithPosition(PositionT &&value)
const Aws::Vector< double > & GetPosition() const
const WaypointOptimizationAccessHours & GetAccessHours() const
WaypointOptimizationWaypoint & WithServiceDuration(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
bool AccessHoursHasBeenSet() const
void SetSideOfStreet(SideOfStreetT &&value)
const Aws::String & GetAppointmentTime() const
void SetAppointmentTime(AppointmentTimeT &&value)
WaypointOptimizationWaypoint & AddPosition(double value)
void SetAccessHours(AccessHoursT &&value)
void SetServiceDuration(long long value)
bool PositionHasBeenSet() const
WaypointOptimizationWaypoint & WithId(IdT &&value)
AWS_GEOROUTES_API WaypointOptimizationWaypoint(Aws::Utils::Json::JsonView jsonValue)
bool AppointmentTimeHasBeenSet() const
void SetBefore(BeforeT &&value)
WaypointOptimizationWaypoint & WithHeading(double value)
bool ServiceDurationHasBeenSet() const
void SetPosition(PositionT &&value)
WaypointOptimizationWaypoint & WithSideOfStreet(SideOfStreetT &&value)
WaypointOptimizationWaypoint & WithBefore(BeforeT &&value)
void SetHeading(double value)
bool IdHasBeenSet() const
WaypointOptimizationWaypoint & WithAccessHours(AccessHoursT &&value)
bool HeadingHasBeenSet() const
bool SideOfStreetHasBeenSet() const
long long GetServiceDuration() const
AWS_GEOROUTES_API WaypointOptimizationWaypoint & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue