7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/model/TruckDimensions.h>
9#include <aws/location/model/TruckWeight.h>
22namespace LocationService
50 inline void SetAvoidFerries(
bool value) { m_avoidFerriesHasBeenSet =
true; m_avoidFerries = value; }
62 inline void SetAvoidTolls(
bool value) { m_avoidTollsHasBeenSet =
true; m_avoidTolls = value; }
74 template<
typename DimensionsT = TruckDimensions>
75 void SetDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet =
true; m_dimensions = std::forward<DimensionsT>(value); }
76 template<
typename DimensionsT = TruckDimensions>
87 template<
typename WeightT = TruckWeight>
88 void SetWeight(WeightT&& value) { m_weightHasBeenSet =
true; m_weight = std::forward<WeightT>(value); }
89 template<
typename WeightT = TruckWeight>
94 bool m_avoidFerries{
false};
95 bool m_avoidFerriesHasBeenSet =
false;
97 bool m_avoidTolls{
false};
98 bool m_avoidTollsHasBeenSet =
false;
100 TruckDimensions m_dimensions;
101 bool m_dimensionsHasBeenSet =
false;
103 TruckWeight m_weight;
104 bool m_weightHasBeenSet =
false;
bool AvoidTollsHasBeenSet() const
AWS_LOCATIONSERVICE_API CalculateRouteTruckModeOptions()=default
CalculateRouteTruckModeOptions & WithAvoidFerries(bool value)
void SetDimensions(DimensionsT &&value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CalculateRouteTruckModeOptions & WithWeight(WeightT &&value)
bool GetAvoidTolls() const
void SetAvoidFerries(bool value)
CalculateRouteTruckModeOptions & WithDimensions(DimensionsT &&value)
CalculateRouteTruckModeOptions & WithAvoidTolls(bool value)
bool DimensionsHasBeenSet() const
bool GetAvoidFerries() const
bool WeightHasBeenSet() const
AWS_LOCATIONSERVICE_API CalculateRouteTruckModeOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAvoidTolls(bool value)
const TruckDimensions & GetDimensions() const
void SetWeight(WeightT &&value)
const TruckWeight & GetWeight() const
AWS_LOCATIONSERVICE_API CalculateRouteTruckModeOptions(Aws::Utils::Json::JsonView jsonValue)
bool AvoidFerriesHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue