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; }
69 inline bool GetRange()
const {
return m_range; }
71 inline void SetRange(
bool value) { m_rangeHasBeenSet =
true; m_range = value; }
81 template<
typename RangeValueT = RouteTollPriceValueRange>
82 void SetRangeValue(RangeValueT&& value) { m_rangeValueHasBeenSet =
true; m_rangeValue = std::forward<RangeValueT>(value); }
83 template<
typename RangeValueT = RouteTollPriceValueRange>
91 inline double GetValue()
const {
return m_value; }
93 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
99 bool m_currencyHasBeenSet =
false;
101 bool m_estimate{
false};
102 bool m_estimateHasBeenSet =
false;
105 bool m_rangeHasBeenSet =
false;
107 RouteTollPriceValueRange m_rangeValue;
108 bool m_rangeValueHasBeenSet =
false;
111 bool m_valueHasBeenSet =
false;
RouteTollPriceSummary & WithValue(double value)
void SetEstimate(bool value)
bool ValueHasBeenSet() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const RouteTollPriceValueRange & GetRangeValue() const
const Aws::String & GetCurrency() const
void SetRangeValue(RangeValueT &&value)
void SetValue(double value)
RouteTollPriceSummary & WithEstimate(bool value)
RouteTollPriceSummary & WithRange(bool value)
bool RangeValueHasBeenSet() const
void SetCurrency(CurrencyT &&value)
bool CurrencyHasBeenSet() const
bool EstimateHasBeenSet() const
AWS_GEOROUTES_API RouteTollPriceSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteTollPriceSummary()=default
RouteTollPriceSummary & WithCurrency(CurrencyT &&value)
RouteTollPriceSummary & WithRangeValue(RangeValueT &&value)
bool RangeHasBeenSet() const
AWS_GEOROUTES_API RouteTollPriceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRange(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue