7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/RouteTollPriceValueRange.h>
42 template <
typename CurrencyT = Aws::String>
44 m_currencyHasBeenSet =
true;
45 m_currency = std::forward<CurrencyT>(value);
47 template <
typename CurrencyT = Aws::String>
61 m_estimateHasBeenSet =
true;
78 m_perDurationHasBeenSet =
true;
79 m_perDuration = value;
92 inline bool GetRange()
const {
return m_range; }
95 m_rangeHasBeenSet =
true;
110 template <
typename RangeValueT = RouteTollPriceValueRange>
112 m_rangeValueHasBeenSet =
true;
113 m_rangeValue = std::forward<RangeValueT>(value);
115 template <
typename RangeValueT = RouteTollPriceValueRange>
129 m_valueHasBeenSet =
true;
140 bool m_estimate{
false};
142 long long m_perDuration{0};
146 RouteTollPriceValueRange m_rangeValue;
149 bool m_currencyHasBeenSet =
false;
150 bool m_estimateHasBeenSet =
false;
151 bool m_perDurationHasBeenSet =
false;
152 bool m_rangeHasBeenSet =
false;
153 bool m_rangeValueHasBeenSet =
false;
154 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