7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-routes/model/RouteTollPrice.h>
10#include <aws/geo-routes/model/RouteTollPass.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/geo-routes/model/RouteTollPaymentMethod.h>
13#include <aws/geo-routes/model/RouteTransponder.h>
51 template<
typename ApplicableTimesT = Aws::String>
52 void SetApplicableTimes(ApplicableTimesT&& value) { m_applicableTimesHasBeenSet =
true; m_applicableTimes = std::forward<ApplicableTimesT>(value); }
53 template<
typename ApplicableTimesT = Aws::String>
63 template<
typename ConvertedPriceT = RouteTollPrice>
64 void SetConvertedPrice(ConvertedPriceT&& value) { m_convertedPriceHasBeenSet =
true; m_convertedPrice = std::forward<ConvertedPriceT>(value); }
65 template<
typename ConvertedPriceT = RouteTollPrice>
75 template<
typename IdT = Aws::String>
76 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
77 template<
typename IdT = Aws::String>
87 template<
typename LocalPriceT = RouteTollPrice>
88 void SetLocalPrice(LocalPriceT&& value) { m_localPriceHasBeenSet =
true; m_localPrice = std::forward<LocalPriceT>(value); }
89 template<
typename LocalPriceT = RouteTollPrice>
99 template<
typename NameT = Aws::String>
100 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
101 template<
typename NameT = Aws::String>
111 template<
typename PassT = RouteTollPass>
112 void SetPass(PassT&& value) { m_passHasBeenSet =
true; m_pass = std::forward<PassT>(value); }
113 template<
typename PassT = RouteTollPass>
123 template<
typename PaymentMethodsT = Aws::Vector<RouteTollPaymentMethod>>
124 void SetPaymentMethods(PaymentMethodsT&& value) { m_paymentMethodsHasBeenSet =
true; m_paymentMethods = std::forward<PaymentMethodsT>(value); }
125 template<
typename PaymentMethodsT = Aws::Vector<RouteTollPaymentMethod>>
136 template<
typename TranspondersT = Aws::Vector<RouteTransponder>>
137 void SetTransponders(TranspondersT&& value) { m_transpondersHasBeenSet =
true; m_transponders = std::forward<TranspondersT>(value); }
138 template<
typename TranspondersT = Aws::Vector<RouteTransponder>>
140 template<
typename TranspondersT = RouteTransponder>
141 RouteTollRate&
AddTransponders(TranspondersT&& value) { m_transpondersHasBeenSet =
true; m_transponders.emplace_back(std::forward<TranspondersT>(value));
return *
this; }
146 bool m_applicableTimesHasBeenSet =
false;
149 bool m_convertedPriceHasBeenSet =
false;
152 bool m_idHasBeenSet =
false;
155 bool m_localPriceHasBeenSet =
false;
158 bool m_nameHasBeenSet =
false;
161 bool m_passHasBeenSet =
false;
164 bool m_paymentMethodsHasBeenSet =
false;
167 bool m_transpondersHasBeenSet =
false;
const Aws::String & GetName() const
RouteTollRate & AddPaymentMethods(RouteTollPaymentMethod value)
RouteTollRate & WithPass(PassT &&value)
bool PassHasBeenSet() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteTollRate & WithId(IdT &&value)
RouteTollRate & WithName(NameT &&value)
RouteTollRate & WithConvertedPrice(ConvertedPriceT &&value)
void SetName(NameT &&value)
AWS_GEOROUTES_API RouteTollRate()=default
void SetApplicableTimes(ApplicableTimesT &&value)
void SetTransponders(TranspondersT &&value)
void SetPaymentMethods(PaymentMethodsT &&value)
bool ApplicableTimesHasBeenSet() const
RouteTollRate & WithLocalPrice(LocalPriceT &&value)
const Aws::String & GetApplicableTimes() const
const RouteTollPass & GetPass() const
bool IdHasBeenSet() const
void SetLocalPrice(LocalPriceT &&value)
bool NameHasBeenSet() const
RouteTollRate & WithTransponders(TranspondersT &&value)
AWS_GEOROUTES_API RouteTollRate(Aws::Utils::Json::JsonView jsonValue)
RouteTollRate & WithApplicableTimes(ApplicableTimesT &&value)
const RouteTollPrice & GetLocalPrice() const
bool PaymentMethodsHasBeenSet() const
AWS_GEOROUTES_API RouteTollRate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RouteTollPaymentMethod > & GetPaymentMethods() const
const Aws::String & GetId() const
RouteTollRate & WithPaymentMethods(PaymentMethodsT &&value)
bool TranspondersHasBeenSet() const
bool ConvertedPriceHasBeenSet() const
void SetPass(PassT &&value)
RouteTollRate & AddTransponders(TranspondersT &&value)
const RouteTollPrice & GetConvertedPrice() const
void SetConvertedPrice(ConvertedPriceT &&value)
bool LocalPriceHasBeenSet() const
const Aws::Vector< RouteTransponder > & GetTransponders() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue