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>
44 template <
typename ArrivalTimeT = Aws::String>
46 m_arrivalTimeHasBeenSet =
true;
47 m_arrivalTime = std::forward<ArrivalTimeT>(value);
49 template <
typename ArrivalTimeT = Aws::String>
65 m_clusterIndexHasBeenSet =
true;
66 m_clusterIndex = value;
83 template <
typename DepartureTimeT = Aws::String>
85 m_departureTimeHasBeenSet =
true;
86 m_departureTime = std::forward<DepartureTimeT>(value);
88 template <
typename DepartureTimeT = Aws::String>
101 template <
typename IdT = Aws::String>
103 m_idHasBeenSet =
true;
104 m_id = std::forward<IdT>(value);
106 template <
typename IdT = Aws::String>
108 SetId(std::forward<IdT>(value));
119 template <
typename PositionT = Aws::Vector<
double>>
121 m_positionHasBeenSet =
true;
122 m_position = std::forward<PositionT>(value);
124 template <
typename PositionT = Aws::Vector<
double>>
130 m_positionHasBeenSet =
true;
131 m_position.push_back(value);
138 int m_clusterIndex{0};
145 bool m_arrivalTimeHasBeenSet =
false;
146 bool m_clusterIndexHasBeenSet =
false;
147 bool m_departureTimeHasBeenSet =
false;
148 bool m_idHasBeenSet =
false;
149 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