7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
50 template<
typename ArrivalTimeT = Aws::String>
51 void SetArrivalTime(ArrivalTimeT&& value) { m_arrivalTimeHasBeenSet =
true; m_arrivalTime = std::forward<ArrivalTimeT>(value); }
52 template<
typename ArrivalTimeT = Aws::String>
64 inline void SetClusterIndex(
int value) { m_clusterIndexHasBeenSet =
true; m_clusterIndex = value; }
77 template<
typename DepartureTimeT = Aws::String>
78 void SetDepartureTime(DepartureTimeT&& value) { m_departureTimeHasBeenSet =
true; m_departureTime = std::forward<DepartureTimeT>(value); }
79 template<
typename DepartureTimeT = Aws::String>
89 template<
typename IdT = Aws::String>
90 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
91 template<
typename IdT = Aws::String>
101 template<
typename PositionT = Aws::Vector<
double>>
102 void SetPosition(PositionT&& value) { m_positionHasBeenSet =
true; m_position = std::forward<PositionT>(value); }
103 template<
typename PositionT = Aws::Vector<
double>>
110 bool m_arrivalTimeHasBeenSet =
false;
112 int m_clusterIndex{0};
113 bool m_clusterIndexHasBeenSet =
false;
116 bool m_departureTimeHasBeenSet =
false;
119 bool m_idHasBeenSet =
false;
122 bool m_positionHasBeenSet =
false;
const Aws::String & GetArrivalTime() const
WaypointOptimizationOptimizedWaypoint & AddPosition(double value)
bool DepartureTimeHasBeenSet() const
void SetDepartureTime(DepartureTimeT &&value)
WaypointOptimizationOptimizedWaypoint & WithClusterIndex(int value)
void SetArrivalTime(ArrivalTimeT &&value)
void SetClusterIndex(int value)
const Aws::Vector< double > & GetPosition() const
int GetClusterIndex() const
AWS_GEOROUTES_API WaypointOptimizationOptimizedWaypoint(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationOptimizedWaypoint & WithPosition(PositionT &&value)
bool ArrivalTimeHasBeenSet() const
WaypointOptimizationOptimizedWaypoint & WithId(IdT &&value)
AWS_GEOROUTES_API WaypointOptimizationOptimizedWaypoint()=default
const Aws::String & GetDepartureTime() const
bool IdHasBeenSet() const
AWS_GEOROUTES_API WaypointOptimizationOptimizedWaypoint & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
bool ClusterIndexHasBeenSet() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
bool PositionHasBeenSet() const
WaypointOptimizationOptimizedWaypoint & WithArrivalTime(ArrivalTimeT &&value)
void SetPosition(PositionT &&value)
WaypointOptimizationOptimizedWaypoint & WithDepartureTime(DepartureTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue