7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/model/RouteMatrixEntryError.h>
21namespace LocationService
47 inline void SetDistance(
double value) { m_distanceHasBeenSet =
true; m_distance = value; }
57 inline void SetDurationSeconds(
double value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
76 bool m_distanceHasBeenSet =
false;
78 double m_durationSeconds;
79 bool m_durationSecondsHasBeenSet =
false;
82 bool m_errorHasBeenSet =
false;
void SetError(RouteMatrixEntryError &&value)
AWS_LOCATIONSERVICE_API RouteMatrixEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixEntry & WithError(const RouteMatrixEntryError &value)
RouteMatrixEntry & WithError(RouteMatrixEntryError &&value)
bool DistanceHasBeenSet() const
AWS_LOCATIONSERVICE_API RouteMatrixEntry()
double GetDurationSeconds() const
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOCATIONSERVICE_API RouteMatrixEntry(Aws::Utils::Json::JsonView jsonValue)
const RouteMatrixEntryError & GetError() const
double GetDistance() const
bool ErrorHasBeenSet() const
void SetError(const RouteMatrixEntryError &value)
bool DurationSecondsHasBeenSet() const
void SetDistance(double value)
RouteMatrixEntry & WithDistance(double value)
void SetDurationSeconds(double value)
RouteMatrixEntry & WithDurationSeconds(double value)
Aws::Utils::Json::JsonValue JsonValue