7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteFerryLegDetails.h>
9#include <aws/geo-routes/model/RouteLegGeometry.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/geo-routes/model/RoutePedestrianLegDetails.h>
12#include <aws/geo-routes/model/RouteLegTravelMode.h>
13#include <aws/geo-routes/model/RouteLegType.h>
14#include <aws/geo-routes/model/RouteVehicleLegDetails.h>
83 inline void SetLanguage(
const char* value) { m_languageHasBeenSet =
true; m_language.assign(value); }
141 bool m_ferryLegDetailsHasBeenSet =
false;
144 bool m_geometryHasBeenSet =
false;
147 bool m_languageHasBeenSet =
false;
150 bool m_pedestrianLegDetailsHasBeenSet =
false;
153 bool m_travelModeHasBeenSet =
false;
156 bool m_typeHasBeenSet =
false;
159 bool m_vehicleLegDetailsHasBeenSet =
false;
RouteLeg & WithGeometry(const RouteLegGeometry &value)
bool GeometryHasBeenSet() const
void SetVehicleLegDetails(const RouteVehicleLegDetails &value)
const RouteLegType & GetType() const
RouteLeg & WithTravelMode(const RouteLegTravelMode &value)
bool VehicleLegDetailsHasBeenSet() const
AWS_GEOROUTES_API RouteLeg()
void SetPedestrianLegDetails(const RoutePedestrianLegDetails &value)
RouteLeg & WithType(RouteLegType &&value)
RouteLeg & WithLanguage(const Aws::String &value)
void SetFerryLegDetails(const RouteFerryLegDetails &value)
void SetGeometry(const RouteLegGeometry &value)
AWS_GEOROUTES_API RouteLeg & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLanguage(const Aws::String &value)
bool PedestrianLegDetailsHasBeenSet() const
void SetType(const RouteLegType &value)
void SetLanguage(const char *value)
void SetPedestrianLegDetails(RoutePedestrianLegDetails &&value)
void SetLanguage(Aws::String &&value)
RouteLeg & WithFerryLegDetails(const RouteFerryLegDetails &value)
RouteLeg & WithFerryLegDetails(RouteFerryLegDetails &&value)
const RouteLegGeometry & GetGeometry() const
const RouteFerryLegDetails & GetFerryLegDetails() const
RouteLeg & WithPedestrianLegDetails(RoutePedestrianLegDetails &&value)
RouteLeg & WithPedestrianLegDetails(const RoutePedestrianLegDetails &value)
RouteLeg & WithType(const RouteLegType &value)
void SetGeometry(RouteLegGeometry &&value)
void SetVehicleLegDetails(RouteVehicleLegDetails &&value)
AWS_GEOROUTES_API RouteLeg(Aws::Utils::Json::JsonView jsonValue)
bool FerryLegDetailsHasBeenSet() const
const RoutePedestrianLegDetails & GetPedestrianLegDetails() const
RouteLeg & WithGeometry(RouteLegGeometry &&value)
const RouteVehicleLegDetails & GetVehicleLegDetails() const
bool LanguageHasBeenSet() const
void SetFerryLegDetails(RouteFerryLegDetails &&value)
const Aws::String & GetLanguage() const
RouteLeg & WithVehicleLegDetails(RouteVehicleLegDetails &&value)
RouteLeg & WithTravelMode(RouteLegTravelMode &&value)
void SetType(RouteLegType &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
RouteLeg & WithLanguage(const char *value)
RouteLeg & WithVehicleLegDetails(const RouteVehicleLegDetails &value)
void SetTravelMode(const RouteLegTravelMode &value)
const RouteLegTravelMode & GetTravelMode() const
bool TravelModeHasBeenSet() const
void SetTravelMode(RouteLegTravelMode &&value)
RouteLeg & WithLanguage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue