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/RouteFerryAfterTravelStep.h>
11#include <aws/geo-routes/model/RouteFerryArrival.h>
12#include <aws/geo-routes/model/RouteFerryBeforeTravelStep.h>
13#include <aws/geo-routes/model/RouteFerryDeparture.h>
14#include <aws/geo-routes/model/RouteFerryNotice.h>
15#include <aws/geo-routes/model/RouteFerrySpan.h>
16#include <aws/geo-routes/model/RouteFerrySummary.h>
17#include <aws/geo-routes/model/RouteFerryTravelStep.h>
18#include <aws/geo-routes/model/RoutePassThroughWaypoint.h>
52 template <
typename AfterTravelStepsT = Aws::Vector<RouteFerryAfterTravelStep>>
54 m_afterTravelStepsHasBeenSet =
true;
55 m_afterTravelSteps = std::forward<AfterTravelStepsT>(value);
57 template <
typename AfterTravelStepsT = Aws::Vector<RouteFerryAfterTravelStep>>
62 template <
typename AfterTravelStepsT = RouteFerryAfterTravelStep>
64 m_afterTravelStepsHasBeenSet =
true;
65 m_afterTravelSteps.emplace_back(std::forward<AfterTravelStepsT>(value));
76 template <
typename ArrivalT = RouteFerryArrival>
78 m_arrivalHasBeenSet =
true;
79 m_arrival = std::forward<ArrivalT>(value);
81 template <
typename ArrivalT = RouteFerryArrival>
95 template <
typename BeforeTravelStepsT = Aws::Vector<RouteFerryBeforeTravelStep>>
97 m_beforeTravelStepsHasBeenSet =
true;
98 m_beforeTravelSteps = std::forward<BeforeTravelStepsT>(value);
100 template <
typename BeforeTravelStepsT = Aws::Vector<RouteFerryBeforeTravelStep>>
105 template <
typename BeforeTravelStepsT = RouteFerryBeforeTravelStep>
107 m_beforeTravelStepsHasBeenSet =
true;
108 m_beforeTravelSteps.emplace_back(std::forward<BeforeTravelStepsT>(value));
119 template <
typename DepartureT = RouteFerryDeparture>
121 m_departureHasBeenSet =
true;
122 m_departure = std::forward<DepartureT>(value);
124 template <
typename DepartureT = RouteFerryDeparture>
138 template <
typename NoticesT = Aws::Vector<RouteFerryNotice>>
140 m_noticesHasBeenSet =
true;
141 m_notices = std::forward<NoticesT>(value);
143 template <
typename NoticesT = Aws::Vector<RouteFerryNotice>>
148 template <
typename NoticesT = RouteFerryNotice>
150 m_noticesHasBeenSet =
true;
151 m_notices.emplace_back(std::forward<NoticesT>(value));
163 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
165 m_passThroughWaypointsHasBeenSet =
true;
166 m_passThroughWaypoints = std::forward<PassThroughWaypointsT>(value);
168 template <
typename PassThroughWaypo
intsT = Aws::Vector<RoutePassThroughWaypo
int>>
173 template <
typename PassThroughWaypo
intsT = RoutePassThroughWaypo
int>
175 m_passThroughWaypointsHasBeenSet =
true;
176 m_passThroughWaypoints.emplace_back(std::forward<PassThroughWaypointsT>(value));
187 template <
typename RouteNameT = Aws::String>
189 m_routeNameHasBeenSet =
true;
190 m_routeName = std::forward<RouteNameT>(value);
192 template <
typename RouteNameT = Aws::String>
205 template <
typename SpansT = Aws::Vector<RouteFerrySpan>>
207 m_spansHasBeenSet =
true;
208 m_spans = std::forward<SpansT>(value);
210 template <
typename SpansT = Aws::Vector<RouteFerrySpan>>
212 SetSpans(std::forward<SpansT>(value));
215 template <
typename SpansT = RouteFerrySpan>
217 m_spansHasBeenSet =
true;
218 m_spans.emplace_back(std::forward<SpansT>(value));
229 template <
typename SummaryT = RouteFerrySummary>
231 m_summaryHasBeenSet =
true;
232 m_summary = std::forward<SummaryT>(value);
234 template <
typename SummaryT = RouteFerrySummary>
248 template <
typename TravelStepsT = Aws::Vector<RouteFerryTravelStep>>
250 m_travelStepsHasBeenSet =
true;
251 m_travelSteps = std::forward<TravelStepsT>(value);
253 template <
typename TravelStepsT = Aws::Vector<RouteFerryTravelStep>>
258 template <
typename TravelStepsT = RouteFerryTravelStep>
260 m_travelStepsHasBeenSet =
true;
261 m_travelSteps.emplace_back(std::forward<TravelStepsT>(value));
285 bool m_afterTravelStepsHasBeenSet =
false;
286 bool m_arrivalHasBeenSet =
false;
287 bool m_beforeTravelStepsHasBeenSet =
false;
288 bool m_departureHasBeenSet =
false;
289 bool m_noticesHasBeenSet =
false;
290 bool m_passThroughWaypointsHasBeenSet =
false;
291 bool m_routeNameHasBeenSet =
false;
292 bool m_spansHasBeenSet =
false;
293 bool m_summaryHasBeenSet =
false;
294 bool m_travelStepsHasBeenSet =
false;
void SetDeparture(DepartureT &&value)
const Aws::Vector< RouteFerrySpan > & GetSpans() const
RouteFerryLegDetails & AddPassThroughWaypoints(PassThroughWaypointsT &&value)
const RouteFerrySummary & GetSummary() const
void SetBeforeTravelSteps(BeforeTravelStepsT &&value)
RouteFerryLegDetails & WithBeforeTravelSteps(BeforeTravelStepsT &&value)
const Aws::String & GetRouteName() const
AWS_GEOROUTES_API RouteFerryLegDetails()=default
RouteFerryLegDetails & WithSummary(SummaryT &&value)
AWS_GEOROUTES_API RouteFerryLegDetails(Aws::Utils::Json::JsonView jsonValue)
bool ArrivalHasBeenSet() const
RouteFerryLegDetails & AddBeforeTravelSteps(BeforeTravelStepsT &&value)
const RouteFerryDeparture & GetDeparture() const
void SetSpans(SpansT &&value)
const Aws::Vector< RouteFerryBeforeTravelStep > & GetBeforeTravelSteps() const
void SetAfterTravelSteps(AfterTravelStepsT &&value)
RouteFerryLegDetails & AddSpans(SpansT &&value)
bool RouteNameHasBeenSet() const
RouteFerryLegDetails & WithArrival(ArrivalT &&value)
const Aws::Vector< RouteFerryNotice > & GetNotices() const
RouteFerryLegDetails & AddNotices(NoticesT &&value)
bool NoticesHasBeenSet() const
RouteFerryLegDetails & AddTravelSteps(TravelStepsT &&value)
RouteFerryLegDetails & WithRouteName(RouteNameT &&value)
bool TravelStepsHasBeenSet() const
bool DepartureHasBeenSet() const
bool PassThroughWaypointsHasBeenSet() const
bool SummaryHasBeenSet() const
void SetArrival(ArrivalT &&value)
RouteFerryLegDetails & AddAfterTravelSteps(AfterTravelStepsT &&value)
bool AfterTravelStepsHasBeenSet() const
RouteFerryLegDetails & WithAfterTravelSteps(AfterTravelStepsT &&value)
bool SpansHasBeenSet() const
void SetTravelSteps(TravelStepsT &&value)
const Aws::Vector< RouteFerryAfterTravelStep > & GetAfterTravelSteps() const
RouteFerryLegDetails & WithTravelSteps(TravelStepsT &&value)
bool BeforeTravelStepsHasBeenSet() const
const RouteFerryArrival & GetArrival() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRouteName(RouteNameT &&value)
void SetSummary(SummaryT &&value)
RouteFerryLegDetails & WithNotices(NoticesT &&value)
RouteFerryLegDetails & WithDeparture(DepartureT &&value)
void SetPassThroughWaypoints(PassThroughWaypointsT &&value)
RouteFerryLegDetails & WithPassThroughWaypoints(PassThroughWaypointsT &&value)
RouteFerryLegDetails & WithSpans(SpansT &&value)
const Aws::Vector< RouteFerryTravelStep > & GetTravelSteps() const
const Aws::Vector< RoutePassThroughWaypoint > & GetPassThroughWaypoints() const
void SetNotices(NoticesT &&value)
AWS_GEOROUTES_API RouteFerryLegDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue