7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetDistance(
long long value) { m_distanceHasBeenSet =
true; m_distance = value; }
59 inline void SetFrom(
const char* value) { m_fromHasBeenSet =
true; m_from.assign(value); }
71 inline void SetRestDuration(
long long value) { m_restDurationHasBeenSet =
true; m_restDuration = value; }
82 inline void SetTo(
Aws::String&& value) { m_toHasBeenSet =
true; m_to = std::move(value); }
83 inline void SetTo(
const char* value) { m_toHasBeenSet =
true; m_to.assign(value); }
95 inline void SetTravelDuration(
long long value) { m_travelDurationHasBeenSet =
true; m_travelDuration = value; }
105 inline void SetWaitDuration(
long long value) { m_waitDurationHasBeenSet =
true; m_waitDuration = value; }
110 long long m_distance;
111 bool m_distanceHasBeenSet =
false;
114 bool m_fromHasBeenSet =
false;
116 long long m_restDuration;
117 bool m_restDurationHasBeenSet =
false;
120 bool m_toHasBeenSet =
false;
122 long long m_travelDuration;
123 bool m_travelDurationHasBeenSet =
false;
125 long long m_waitDuration;
126 bool m_waitDurationHasBeenSet =
false;
void SetTo(const Aws::String &value)
bool TravelDurationHasBeenSet() const
WaypointOptimizationConnection & WithTravelDuration(long long value)
bool WaitDurationHasBeenSet() const
WaypointOptimizationConnection & WithTo(Aws::String &&value)
bool DistanceHasBeenSet() const
WaypointOptimizationConnection & WithTo(const char *value)
void SetRestDuration(long long value)
WaypointOptimizationConnection & WithWaitDuration(long long value)
void SetFrom(const Aws::String &value)
WaypointOptimizationConnection & WithFrom(Aws::String &&value)
const Aws::String & GetTo() const
WaypointOptimizationConnection & WithFrom(const Aws::String &value)
long long GetDistance() const
WaypointOptimizationConnection & WithTo(const Aws::String &value)
bool FromHasBeenSet() const
bool ToHasBeenSet() const
void SetFrom(Aws::String &&value)
long long GetWaitDuration() const
void SetDistance(long long value)
WaypointOptimizationConnection & WithRestDuration(long long value)
const Aws::String & GetFrom() const
long long GetRestDuration() const
long long GetTravelDuration() const
void SetTo(Aws::String &&value)
void SetWaitDuration(long long value)
WaypointOptimizationConnection & WithDistance(long long value)
AWS_GEOROUTES_API WaypointOptimizationConnection()
WaypointOptimizationConnection & WithFrom(const char *value)
void SetFrom(const char *value)
void SetTo(const char *value)
bool RestDurationHasBeenSet() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API WaypointOptimizationConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API WaypointOptimizationConnection(Aws::Utils::Json::JsonView jsonValue)
void SetTravelDuration(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue