7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/model/TruckDimensions.h>
9#include <aws/location/model/TruckWeight.h>
20namespace LocationService {
45 m_avoidFerriesHasBeenSet =
true;
46 m_avoidFerries = value;
63 m_avoidTollsHasBeenSet =
true;
80 template <
typename DimensionsT = TruckDimensions>
82 m_dimensionsHasBeenSet =
true;
83 m_dimensions = std::forward<DimensionsT>(value);
85 template <
typename DimensionsT = TruckDimensions>
99 template <
typename WeightT = TruckWeight>
101 m_weightHasBeenSet =
true;
102 m_weight = std::forward<WeightT>(value);
104 template <
typename WeightT = TruckWeight>
111 bool m_avoidFerries{
false};
113 bool m_avoidTolls{
false};
115 TruckDimensions m_dimensions;
117 TruckWeight m_weight;
118 bool m_avoidFerriesHasBeenSet =
false;
119 bool m_avoidTollsHasBeenSet =
false;
120 bool m_dimensionsHasBeenSet =
false;
121 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