7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-routes/model/RouteTollPriceValueRange.h>
48 template<
typename CurrencyT = Aws::String>
49 void SetCurrency(CurrencyT&& value) { m_currencyHasBeenSet =
true; m_currency = std::forward<CurrencyT>(value); }
50 template<
typename CurrencyT = Aws::String>
60 inline void SetEstimate(
bool value) { m_estimateHasBeenSet =
true; m_estimate = value; }
71 inline void SetPerDuration(
long long value) { m_perDurationHasBeenSet =
true; m_perDuration = value; }
80 inline bool GetRange()
const {
return m_range; }
82 inline void SetRange(
bool value) { m_rangeHasBeenSet =
true; m_range = value; }
92 template<
typename RangeValueT = RouteTollPriceValueRange>
93 void SetRangeValue(RangeValueT&& value) { m_rangeValueHasBeenSet =
true; m_rangeValue = std::forward<RangeValueT>(value); }
94 template<
typename RangeValueT = RouteTollPriceValueRange>
104 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
110 bool m_currencyHasBeenSet =
false;
112 bool m_estimate{
false};
113 bool m_estimateHasBeenSet =
false;
115 long long m_perDuration{0};
116 bool m_perDurationHasBeenSet =
false;
119 bool m_rangeHasBeenSet =
false;
121 RouteTollPriceValueRange m_rangeValue;
122 bool m_rangeValueHasBeenSet =
false;
125 bool m_valueHasBeenSet =
false;
bool RangeHasBeenSet() const
RouteTollPrice & WithRange(bool value)
void SetPerDuration(long long value)
RouteTollPrice & WithValue(double value)
void SetRangeValue(RangeValueT &&value)
void SetEstimate(bool value)
RouteTollPrice & WithPerDuration(long long value)
void SetCurrency(CurrencyT &&value)
const RouteTollPriceValueRange & GetRangeValue() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
bool RangeValueHasBeenSet() const
bool EstimateHasBeenSet() const
AWS_GEOROUTES_API RouteTollPrice & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteTollPrice(Aws::Utils::Json::JsonView jsonValue)
long long GetPerDuration() const
bool PerDurationHasBeenSet() const
AWS_GEOROUTES_API RouteTollPrice()=default
bool ValueHasBeenSet() const
RouteTollPrice & WithEstimate(bool value)
RouteTollPrice & WithRangeValue(RangeValueT &&value)
const Aws::String & GetCurrency() const
RouteTollPrice & WithCurrency(CurrencyT &&value)
bool CurrencyHasBeenSet() const
void SetRange(bool value)
void SetValue(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue