7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/WaypointOptimizationAccessHours.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/geo-routes/model/WaypointOptimizationSideOfStreetOptions.h>
49 template<
typename AccessHoursT = Waypo
intOptimizationAccessHours>
50 void SetAccessHours(AccessHoursT&& value) { m_accessHoursHasBeenSet =
true; m_accessHours = std::forward<AccessHoursT>(value); }
51 template<
typename AccessHoursT = Waypo
intOptimizationAccessHours>
61 template<
typename Appo
intmentTimeT = Aws::String>
62 void SetAppointmentTime(AppointmentTimeT&& value) { m_appointmentTimeHasBeenSet =
true; m_appointmentTime = std::forward<AppointmentTimeT>(value); }
63 template<
typename Appo
intmentTimeT = Aws::String>
73 template<
typename BeforeT = Aws::Vector<
int>>
74 void SetBefore(BeforeT&& value) { m_beforeHasBeenSet =
true; m_before = std::forward<BeforeT>(value); }
75 template<
typename BeforeT = Aws::Vector<
int>>
86 inline void SetHeading(
double value) { m_headingHasBeenSet =
true; m_heading = value; }
96 template<
typename IdT = Aws::String>
97 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
98 template<
typename IdT = Aws::String>
108 template<
typename PositionT = Aws::Vector<
double>>
109 void SetPosition(PositionT&& value) { m_positionHasBeenSet =
true; m_position = std::forward<PositionT>(value); }
110 template<
typename PositionT = Aws::Vector<
double>>
123 inline void SetServiceDuration(
long long value) { m_serviceDurationHasBeenSet =
true; m_serviceDuration = value; }
134 template<
typename S
ideOfStreetT = Waypo
intOptimizationS
ideOfStreetOptions>
135 void SetSideOfStreet(SideOfStreetT&& value) { m_sideOfStreetHasBeenSet =
true; m_sideOfStreet = std::forward<SideOfStreetT>(value); }
136 template<
typename S
ideOfStreetT = Waypo
intOptimizationS
ideOfStreetOptions>
142 bool m_accessHoursHasBeenSet =
false;
145 bool m_appointmentTimeHasBeenSet =
false;
148 bool m_beforeHasBeenSet =
false;
150 double m_heading{0.0};
151 bool m_headingHasBeenSet =
false;
154 bool m_idHasBeenSet =
false;
157 bool m_positionHasBeenSet =
false;
159 long long m_serviceDuration{0};
160 bool m_serviceDurationHasBeenSet =
false;
162 WaypointOptimizationSideOfStreetOptions m_sideOfStreet;
163 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