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;
75 inline bool GetRange()
const {
return m_range; }
78 m_rangeHasBeenSet =
true;
93 template <
typename RangeValueT = RouteTollPriceValueRange>
95 m_rangeValueHasBeenSet =
true;
96 m_rangeValue = std::forward<RangeValueT>(value);
98 template <
typename RangeValueT = RouteTollPriceValueRange>
112 m_valueHasBeenSet =
true;
123 bool m_estimate{
false};
127 RouteTollPriceValueRange m_rangeValue;
130 bool m_currencyHasBeenSet =
false;
131 bool m_estimateHasBeenSet =
false;
132 bool m_rangeHasBeenSet =
false;
133 bool m_rangeValueHasBeenSet =
false;
134 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