7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/model/RouteRoadType.h>
10#include <aws/geo-routes/model/LocalizedString.h>
11#include <aws/geo-routes/model/RouteNumber.h>
49 template<
typename RoadNameT = Aws::Vector<LocalizedString>>
50 void SetRoadName(RoadNameT&& value) { m_roadNameHasBeenSet =
true; m_roadName = std::forward<RoadNameT>(value); }
51 template<
typename RoadNameT = Aws::Vector<LocalizedString>>
53 template<
typename RoadNameT = LocalizedString>
54 RouteRoad&
AddRoadName(RoadNameT&& value) { m_roadNameHasBeenSet =
true; m_roadName.emplace_back(std::forward<RoadNameT>(value));
return *
this; }
63 template<
typename RouteNumberT = Aws::Vector<RouteNumber>>
64 void SetRouteNumber(RouteNumberT&& value) { m_routeNumberHasBeenSet =
true; m_routeNumber = std::forward<RouteNumberT>(value); }
65 template<
typename RouteNumberT = Aws::Vector<RouteNumber>>
67 template<
typename RouteNumberT = RouteNumber>
68 RouteRoad&
AddRouteNumber(RouteNumberT&& value) { m_routeNumberHasBeenSet =
true; m_routeNumber.emplace_back(std::forward<RouteNumberT>(value));
return *
this; }
77 template<
typename TowardsT = Aws::Vector<LocalizedString>>
78 void SetTowards(TowardsT&& value) { m_towardsHasBeenSet =
true; m_towards = std::forward<TowardsT>(value); }
79 template<
typename TowardsT = Aws::Vector<LocalizedString>>
81 template<
typename TowardsT = LocalizedString>
82 RouteRoad&
AddTowards(TowardsT&& value) { m_towardsHasBeenSet =
true; m_towards.emplace_back(std::forward<TowardsT>(value));
return *
this; }
97 bool m_roadNameHasBeenSet =
false;
100 bool m_routeNumberHasBeenSet =
false;
103 bool m_towardsHasBeenSet =
false;
106 bool m_typeHasBeenSet =
false;
RouteRoad & AddRoadName(RoadNameT &&value)
bool TypeHasBeenSet() const
const Aws::Vector< LocalizedString > & GetRoadName() const
RouteRoad & AddTowards(TowardsT &&value)
bool RoadNameHasBeenSet() const
bool RouteNumberHasBeenSet() const
void SetRouteNumber(RouteNumberT &&value)
RouteRoadType GetType() const
bool TowardsHasBeenSet() const
const Aws::Vector< RouteNumber > & GetRouteNumber() const
void SetTowards(TowardsT &&value)
RouteRoad & AddRouteNumber(RouteNumberT &&value)
AWS_GEOROUTES_API RouteRoad(Aws::Utils::Json::JsonView jsonValue)
void SetRoadName(RoadNameT &&value)
void SetType(RouteRoadType value)
RouteRoad & WithType(RouteRoadType value)
RouteRoad & WithRoadName(RoadNameT &&value)
AWS_GEOROUTES_API RouteRoad()=default
const Aws::Vector< LocalizedString > & GetTowards() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteRoad & WithRouteNumber(RouteNumberT &&value)
RouteRoad & WithTowards(TowardsT &&value)
AWS_GEOROUTES_API RouteRoad & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue