7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/RouteIntermodalEnabledLegs.h>
10#include <aws/geo-routes/model/RouteRentalMode.h>
45 template <
typename AllowedModesT = Aws::Vector<RouteRentalMode>>
47 m_allowedModesHasBeenSet =
true;
48 m_allowedModes = std::forward<AllowedModesT>(value);
50 template <
typename AllowedModesT = Aws::Vector<RouteRentalMode>>
56 m_allowedModesHasBeenSet =
true;
57 m_allowedModes.push_back(value);
74 template <
typename EnabledForT = Aws::Vector<RouteIntermodalEnabledLegs>>
76 m_enabledForHasBeenSet =
true;
77 m_enabledFor = std::forward<EnabledForT>(value);
79 template <
typename EnabledForT = Aws::Vector<RouteIntermodalEnabledLegs>>
85 m_enabledForHasBeenSet =
true;
86 m_enabledFor.push_back(value);
99 template <
typename ExcludedModesT = Aws::Vector<RouteRentalMode>>
101 m_excludedModesHasBeenSet =
true;
102 m_excludedModes = std::forward<ExcludedModesT>(value);
104 template <
typename ExcludedModesT = Aws::Vector<RouteRentalMode>>
110 m_excludedModesHasBeenSet =
true;
111 m_excludedModes.push_back(value);
121 bool m_allowedModesHasBeenSet =
false;
122 bool m_enabledForHasBeenSet =
false;
123 bool m_excludedModesHasBeenSet =
false;
bool EnabledForHasBeenSet() const
bool ExcludedModesHasBeenSet() const
const Aws::Vector< RouteIntermodalEnabledLegs > & GetEnabledFor() const
bool AllowedModesHasBeenSet() const
RouteIntermodalRentalOptions & WithAllowedModes(AllowedModesT &&value)
RouteIntermodalRentalOptions & AddAllowedModes(RouteRentalMode value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAllowedModes(AllowedModesT &&value)
const Aws::Vector< RouteRentalMode > & GetExcludedModes() const
RouteIntermodalRentalOptions & AddEnabledFor(RouteIntermodalEnabledLegs value)
AWS_GEOROUTES_API RouteIntermodalRentalOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExcludedModes(ExcludedModesT &&value)
AWS_GEOROUTES_API RouteIntermodalRentalOptions()=default
RouteIntermodalRentalOptions & AddExcludedModes(RouteRentalMode value)
void SetEnabledFor(EnabledForT &&value)
AWS_GEOROUTES_API RouteIntermodalRentalOptions(Aws::Utils::Json::JsonView jsonValue)
RouteIntermodalRentalOptions & WithEnabledFor(EnabledForT &&value)
RouteIntermodalRentalOptions & WithExcludedModes(ExcludedModesT &&value)
const Aws::Vector< RouteRentalMode > & GetAllowedModes() const
RouteIntermodalEnabledLegs
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue