7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/model/DistanceUnit.h>
23namespace LocationService
79 inline void SetDataSource(
const char* value) { m_dataSourceHasBeenSet =
true; m_dataSource.assign(value); }
95 inline void SetDistance(
double value) { m_distanceHasBeenSet =
true; m_distance = value; }
106 inline void SetDurationSeconds(
double value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
124 bool m_routeBBoxHasBeenSet =
false;
127 bool m_dataSourceHasBeenSet =
false;
130 bool m_distanceHasBeenSet =
false;
132 double m_durationSeconds;
133 bool m_durationSecondsHasBeenSet =
false;
136 bool m_distanceUnitHasBeenSet =
false;
void SetDataSource(const char *value)
const Aws::Vector< double > & GetRouteBBox() const
void SetDistanceUnit(DistanceUnit &&value)
double GetDistance() const
CalculateRouteSummary & AddRouteBBox(double value)
AWS_LOCATIONSERVICE_API CalculateRouteSummary()
AWS_LOCATIONSERVICE_API CalculateRouteSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CalculateRouteSummary & WithRouteBBox(Aws::Vector< double > &&value)
bool DurationSecondsHasBeenSet() const
CalculateRouteSummary & WithDistanceUnit(const DistanceUnit &value)
AWS_LOCATIONSERVICE_API CalculateRouteSummary(Aws::Utils::Json::JsonView jsonValue)
CalculateRouteSummary & WithDataSource(const char *value)
bool DataSourceHasBeenSet() const
CalculateRouteSummary & WithRouteBBox(const Aws::Vector< double > &value)
CalculateRouteSummary & WithDistanceUnit(DistanceUnit &&value)
CalculateRouteSummary & WithDataSource(const Aws::String &value)
CalculateRouteSummary & WithDurationSeconds(double value)
double GetDurationSeconds() const
void SetRouteBBox(const Aws::Vector< double > &value)
void SetRouteBBox(Aws::Vector< double > &&value)
bool DistanceHasBeenSet() const
void SetDataSource(Aws::String &&value)
CalculateRouteSummary & WithDataSource(Aws::String &&value)
const Aws::String & GetDataSource() const
CalculateRouteSummary & WithDistance(double value)
const DistanceUnit & GetDistanceUnit() const
bool RouteBBoxHasBeenSet() const
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDistanceUnit(const DistanceUnit &value)
void SetDurationSeconds(double value)
void SetDistance(double value)
bool DistanceUnitHasBeenSet() const
void SetDataSource(const Aws::String &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