7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
10#include <aws/geo-routes/model/RouteTollPaymentSite.h>
11#include <aws/geo-routes/model/RouteTollRate.h>
45 template <
typename CountryT = Aws::String>
47 m_countryHasBeenSet =
true;
48 m_country = std::forward<CountryT>(value);
50 template <
typename CountryT = Aws::String>
63 template <
typename PaymentSitesT = Aws::Vector<RouteTollPaymentSite>>
65 m_paymentSitesHasBeenSet =
true;
66 m_paymentSites = std::forward<PaymentSitesT>(value);
68 template <
typename PaymentSitesT = Aws::Vector<RouteTollPaymentSite>>
73 template <
typename PaymentSitesT = RouteTollPaymentSite>
75 m_paymentSitesHasBeenSet =
true;
76 m_paymentSites.emplace_back(std::forward<PaymentSitesT>(value));
87 template <
typename RatesT = Aws::Vector<RouteTollRate>>
89 m_ratesHasBeenSet =
true;
90 m_rates = std::forward<RatesT>(value);
92 template <
typename RatesT = Aws::Vector<RouteTollRate>>
94 SetRates(std::forward<RatesT>(value));
97 template <
typename RatesT = RouteTollRate>
99 m_ratesHasBeenSet =
true;
100 m_rates.emplace_back(std::forward<RatesT>(value));
111 template <
typename SystemsT = Aws::Vector<
int>>
113 m_systemsHasBeenSet =
true;
114 m_systems = std::forward<SystemsT>(value);
116 template <
typename SystemsT = Aws::Vector<
int>>
122 m_systemsHasBeenSet =
true;
123 m_systems.push_back(value);
135 bool m_countryHasBeenSet =
false;
136 bool m_paymentSitesHasBeenSet =
false;
137 bool m_ratesHasBeenSet =
false;
138 bool m_systemsHasBeenSet =
false;
RouteToll & AddRates(RatesT &&value)
const Aws::String & GetCountry() const
AWS_GEOROUTES_API RouteToll & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RatesHasBeenSet() const
AWS_GEOROUTES_API RouteToll(Aws::Utils::Json::JsonView jsonValue)
RouteToll & WithSystems(SystemsT &&value)
bool CountryHasBeenSet() const
RouteToll & WithPaymentSites(PaymentSitesT &&value)
bool PaymentSitesHasBeenSet() const
void SetPaymentSites(PaymentSitesT &&value)
RouteToll & WithCountry(CountryT &&value)
const Aws::Vector< RouteTollPaymentSite > & GetPaymentSites() const
AWS_GEOROUTES_API RouteToll()=default
RouteToll & AddPaymentSites(PaymentSitesT &&value)
bool SystemsHasBeenSet() const
void SetSystems(SystemsT &&value)
void SetCountry(CountryT &&value)
void SetRates(RatesT &&value)
const Aws::Vector< int > & GetSystems() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteToll & AddSystems(int value)
const Aws::Vector< RouteTollRate > & GetRates() const
RouteToll & WithRates(RatesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue