AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteFerryLegDetails.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/model/RouteFerryArrival.h>
10#include <aws/geo-routes/model/RouteFerryDeparture.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/geo-routes/model/RouteFerrySummary.h>
13#include <aws/geo-routes/model/RouteFerryAfterTravelStep.h>
14#include <aws/geo-routes/model/RouteFerryBeforeTravelStep.h>
15#include <aws/geo-routes/model/RouteFerryNotice.h>
16#include <aws/geo-routes/model/RoutePassThroughWaypoint.h>
17#include <aws/geo-routes/model/RouteFerrySpan.h>
18#include <aws/geo-routes/model/RouteFerryTravelStep.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace GeoRoutes
32{
33namespace Model
34{
35
43 {
44 public:
45 AWS_GEOROUTES_API RouteFerryLegDetails();
48 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
56 inline const Aws::Vector<RouteFerryAfterTravelStep>& GetAfterTravelSteps() const{ return m_afterTravelSteps; }
57 inline bool AfterTravelStepsHasBeenSet() const { return m_afterTravelStepsHasBeenSet; }
58 inline void SetAfterTravelSteps(const Aws::Vector<RouteFerryAfterTravelStep>& value) { m_afterTravelStepsHasBeenSet = true; m_afterTravelSteps = value; }
59 inline void SetAfterTravelSteps(Aws::Vector<RouteFerryAfterTravelStep>&& value) { m_afterTravelStepsHasBeenSet = true; m_afterTravelSteps = std::move(value); }
62 inline RouteFerryLegDetails& AddAfterTravelSteps(const RouteFerryAfterTravelStep& value) { m_afterTravelStepsHasBeenSet = true; m_afterTravelSteps.push_back(value); return *this; }
63 inline RouteFerryLegDetails& AddAfterTravelSteps(RouteFerryAfterTravelStep&& value) { m_afterTravelStepsHasBeenSet = true; m_afterTravelSteps.push_back(std::move(value)); return *this; }
65
67
70 inline const RouteFerryArrival& GetArrival() const{ return m_arrival; }
71 inline bool ArrivalHasBeenSet() const { return m_arrivalHasBeenSet; }
72 inline void SetArrival(const RouteFerryArrival& value) { m_arrivalHasBeenSet = true; m_arrival = value; }
73 inline void SetArrival(RouteFerryArrival&& value) { m_arrivalHasBeenSet = true; m_arrival = std::move(value); }
74 inline RouteFerryLegDetails& WithArrival(const RouteFerryArrival& value) { SetArrival(value); return *this;}
75 inline RouteFerryLegDetails& WithArrival(RouteFerryArrival&& value) { SetArrival(std::move(value)); return *this;}
77
79
83 inline const Aws::Vector<RouteFerryBeforeTravelStep>& GetBeforeTravelSteps() const{ return m_beforeTravelSteps; }
84 inline bool BeforeTravelStepsHasBeenSet() const { return m_beforeTravelStepsHasBeenSet; }
85 inline void SetBeforeTravelSteps(const Aws::Vector<RouteFerryBeforeTravelStep>& value) { m_beforeTravelStepsHasBeenSet = true; m_beforeTravelSteps = value; }
86 inline void SetBeforeTravelSteps(Aws::Vector<RouteFerryBeforeTravelStep>&& value) { m_beforeTravelStepsHasBeenSet = true; m_beforeTravelSteps = std::move(value); }
89 inline RouteFerryLegDetails& AddBeforeTravelSteps(const RouteFerryBeforeTravelStep& value) { m_beforeTravelStepsHasBeenSet = true; m_beforeTravelSteps.push_back(value); return *this; }
90 inline RouteFerryLegDetails& AddBeforeTravelSteps(RouteFerryBeforeTravelStep&& value) { m_beforeTravelStepsHasBeenSet = true; m_beforeTravelSteps.push_back(std::move(value)); return *this; }
92
94
97 inline const RouteFerryDeparture& GetDeparture() const{ return m_departure; }
98 inline bool DepartureHasBeenSet() const { return m_departureHasBeenSet; }
99 inline void SetDeparture(const RouteFerryDeparture& value) { m_departureHasBeenSet = true; m_departure = value; }
100 inline void SetDeparture(RouteFerryDeparture&& value) { m_departureHasBeenSet = true; m_departure = std::move(value); }
101 inline RouteFerryLegDetails& WithDeparture(const RouteFerryDeparture& value) { SetDeparture(value); return *this;}
102 inline RouteFerryLegDetails& WithDeparture(RouteFerryDeparture&& value) { SetDeparture(std::move(value)); return *this;}
104
106
110 inline const Aws::Vector<RouteFerryNotice>& GetNotices() const{ return m_notices; }
111 inline bool NoticesHasBeenSet() const { return m_noticesHasBeenSet; }
112 inline void SetNotices(const Aws::Vector<RouteFerryNotice>& value) { m_noticesHasBeenSet = true; m_notices = value; }
113 inline void SetNotices(Aws::Vector<RouteFerryNotice>&& value) { m_noticesHasBeenSet = true; m_notices = std::move(value); }
114 inline RouteFerryLegDetails& WithNotices(const Aws::Vector<RouteFerryNotice>& value) { SetNotices(value); return *this;}
115 inline RouteFerryLegDetails& WithNotices(Aws::Vector<RouteFerryNotice>&& value) { SetNotices(std::move(value)); return *this;}
116 inline RouteFerryLegDetails& AddNotices(const RouteFerryNotice& value) { m_noticesHasBeenSet = true; m_notices.push_back(value); return *this; }
117 inline RouteFerryLegDetails& AddNotices(RouteFerryNotice&& value) { m_noticesHasBeenSet = true; m_notices.push_back(std::move(value)); return *this; }
119
121
125 inline const Aws::Vector<RoutePassThroughWaypoint>& GetPassThroughWaypoints() const{ return m_passThroughWaypoints; }
126 inline bool PassThroughWaypointsHasBeenSet() const { return m_passThroughWaypointsHasBeenSet; }
127 inline void SetPassThroughWaypoints(const Aws::Vector<RoutePassThroughWaypoint>& value) { m_passThroughWaypointsHasBeenSet = true; m_passThroughWaypoints = value; }
128 inline void SetPassThroughWaypoints(Aws::Vector<RoutePassThroughWaypoint>&& value) { m_passThroughWaypointsHasBeenSet = true; m_passThroughWaypoints = std::move(value); }
131 inline RouteFerryLegDetails& AddPassThroughWaypoints(const RoutePassThroughWaypoint& value) { m_passThroughWaypointsHasBeenSet = true; m_passThroughWaypoints.push_back(value); return *this; }
132 inline RouteFerryLegDetails& AddPassThroughWaypoints(RoutePassThroughWaypoint&& value) { m_passThroughWaypointsHasBeenSet = true; m_passThroughWaypoints.push_back(std::move(value)); return *this; }
134
136
139 inline const Aws::String& GetRouteName() const{ return m_routeName; }
140 inline bool RouteNameHasBeenSet() const { return m_routeNameHasBeenSet; }
141 inline void SetRouteName(const Aws::String& value) { m_routeNameHasBeenSet = true; m_routeName = value; }
142 inline void SetRouteName(Aws::String&& value) { m_routeNameHasBeenSet = true; m_routeName = std::move(value); }
143 inline void SetRouteName(const char* value) { m_routeNameHasBeenSet = true; m_routeName.assign(value); }
144 inline RouteFerryLegDetails& WithRouteName(const Aws::String& value) { SetRouteName(value); return *this;}
145 inline RouteFerryLegDetails& WithRouteName(Aws::String&& value) { SetRouteName(std::move(value)); return *this;}
146 inline RouteFerryLegDetails& WithRouteName(const char* value) { SetRouteName(value); return *this;}
148
150
153 inline const Aws::Vector<RouteFerrySpan>& GetSpans() const{ return m_spans; }
154 inline bool SpansHasBeenSet() const { return m_spansHasBeenSet; }
155 inline void SetSpans(const Aws::Vector<RouteFerrySpan>& value) { m_spansHasBeenSet = true; m_spans = value; }
156 inline void SetSpans(Aws::Vector<RouteFerrySpan>&& value) { m_spansHasBeenSet = true; m_spans = std::move(value); }
157 inline RouteFerryLegDetails& WithSpans(const Aws::Vector<RouteFerrySpan>& value) { SetSpans(value); return *this;}
158 inline RouteFerryLegDetails& WithSpans(Aws::Vector<RouteFerrySpan>&& value) { SetSpans(std::move(value)); return *this;}
159 inline RouteFerryLegDetails& AddSpans(const RouteFerrySpan& value) { m_spansHasBeenSet = true; m_spans.push_back(value); return *this; }
160 inline RouteFerryLegDetails& AddSpans(RouteFerrySpan&& value) { m_spansHasBeenSet = true; m_spans.push_back(std::move(value)); return *this; }
162
164
167 inline const RouteFerrySummary& GetSummary() const{ return m_summary; }
168 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
169 inline void SetSummary(const RouteFerrySummary& value) { m_summaryHasBeenSet = true; m_summary = value; }
170 inline void SetSummary(RouteFerrySummary&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
171 inline RouteFerryLegDetails& WithSummary(const RouteFerrySummary& value) { SetSummary(value); return *this;}
172 inline RouteFerryLegDetails& WithSummary(RouteFerrySummary&& value) { SetSummary(std::move(value)); return *this;}
174
176
180 inline const Aws::Vector<RouteFerryTravelStep>& GetTravelSteps() const{ return m_travelSteps; }
181 inline bool TravelStepsHasBeenSet() const { return m_travelStepsHasBeenSet; }
182 inline void SetTravelSteps(const Aws::Vector<RouteFerryTravelStep>& value) { m_travelStepsHasBeenSet = true; m_travelSteps = value; }
183 inline void SetTravelSteps(Aws::Vector<RouteFerryTravelStep>&& value) { m_travelStepsHasBeenSet = true; m_travelSteps = std::move(value); }
186 inline RouteFerryLegDetails& AddTravelSteps(const RouteFerryTravelStep& value) { m_travelStepsHasBeenSet = true; m_travelSteps.push_back(value); return *this; }
187 inline RouteFerryLegDetails& AddTravelSteps(RouteFerryTravelStep&& value) { m_travelStepsHasBeenSet = true; m_travelSteps.push_back(std::move(value)); return *this; }
189 private:
190
192 bool m_afterTravelStepsHasBeenSet = false;
193
194 RouteFerryArrival m_arrival;
195 bool m_arrivalHasBeenSet = false;
196
197 Aws::Vector<RouteFerryBeforeTravelStep> m_beforeTravelSteps;
198 bool m_beforeTravelStepsHasBeenSet = false;
199
200 RouteFerryDeparture m_departure;
201 bool m_departureHasBeenSet = false;
202
204 bool m_noticesHasBeenSet = false;
205
206 Aws::Vector<RoutePassThroughWaypoint> m_passThroughWaypoints;
207 bool m_passThroughWaypointsHasBeenSet = false;
208
209 Aws::String m_routeName;
210 bool m_routeNameHasBeenSet = false;
211
213 bool m_spansHasBeenSet = false;
214
215 RouteFerrySummary m_summary;
216 bool m_summaryHasBeenSet = false;
217
219 bool m_travelStepsHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace GeoRoutes
224} // namespace Aws
void SetDeparture(RouteFerryDeparture &&value)
const Aws::Vector< RouteFerrySpan > & GetSpans() const
RouteFerryLegDetails & AddNotices(const RouteFerryNotice &value)
const RouteFerrySummary & GetSummary() const
RouteFerryLegDetails & WithPassThroughWaypoints(Aws::Vector< RoutePassThroughWaypoint > &&value)
RouteFerryLegDetails & WithRouteName(const Aws::String &value)
RouteFerryLegDetails & WithBeforeTravelSteps(const Aws::Vector< RouteFerryBeforeTravelStep > &value)
void SetPassThroughWaypoints(Aws::Vector< RoutePassThroughWaypoint > &&value)
void SetTravelSteps(const Aws::Vector< RouteFerryTravelStep > &value)
RouteFerryLegDetails & WithNotices(Aws::Vector< RouteFerryNotice > &&value)
void SetSpans(Aws::Vector< RouteFerrySpan > &&value)
void SetNotices(Aws::Vector< RouteFerryNotice > &&value)
void SetBeforeTravelSteps(Aws::Vector< RouteFerryBeforeTravelStep > &&value)
void SetAfterTravelSteps(const Aws::Vector< RouteFerryAfterTravelStep > &value)
void SetBeforeTravelSteps(const Aws::Vector< RouteFerryBeforeTravelStep > &value)
AWS_GEOROUTES_API RouteFerryLegDetails(Aws::Utils::Json::JsonView jsonValue)
void SetSummary(const RouteFerrySummary &value)
RouteFerryLegDetails & AddNotices(RouteFerryNotice &&value)
RouteFerryLegDetails & WithArrival(RouteFerryArrival &&value)
const RouteFerryDeparture & GetDeparture() const
const Aws::Vector< RouteFerryBeforeTravelStep > & GetBeforeTravelSteps() const
RouteFerryLegDetails & WithSpans(Aws::Vector< RouteFerrySpan > &&value)
void SetTravelSteps(Aws::Vector< RouteFerryTravelStep > &&value)
RouteFerryLegDetails & AddBeforeTravelSteps(const RouteFerryBeforeTravelStep &value)
RouteFerryLegDetails & AddSpans(const RouteFerrySpan &value)
const Aws::Vector< RouteFerryNotice > & GetNotices() const
RouteFerryLegDetails & AddTravelSteps(const RouteFerryTravelStep &value)
RouteFerryLegDetails & WithSummary(const RouteFerrySummary &value)
RouteFerryLegDetails & WithPassThroughWaypoints(const Aws::Vector< RoutePassThroughWaypoint > &value)
void SetSpans(const Aws::Vector< RouteFerrySpan > &value)
void SetArrival(const RouteFerryArrival &value)
RouteFerryLegDetails & WithDeparture(RouteFerryDeparture &&value)
RouteFerryLegDetails & WithTravelSteps(const Aws::Vector< RouteFerryTravelStep > &value)
RouteFerryLegDetails & WithTravelSteps(Aws::Vector< RouteFerryTravelStep > &&value)
RouteFerryLegDetails & AddSpans(RouteFerrySpan &&value)
RouteFerryLegDetails & WithAfterTravelSteps(Aws::Vector< RouteFerryAfterTravelStep > &&value)
RouteFerryLegDetails & AddBeforeTravelSteps(RouteFerryBeforeTravelStep &&value)
void SetAfterTravelSteps(Aws::Vector< RouteFerryAfterTravelStep > &&value)
RouteFerryLegDetails & WithNotices(const Aws::Vector< RouteFerryNotice > &value)
RouteFerryLegDetails & AddPassThroughWaypoints(RoutePassThroughWaypoint &&value)
const Aws::Vector< RouteFerryAfterTravelStep > & GetAfterTravelSteps() const
RouteFerryLegDetails & AddAfterTravelSteps(const RouteFerryAfterTravelStep &value)
RouteFerryLegDetails & WithSummary(RouteFerrySummary &&value)
const RouteFerryArrival & GetArrival() const
RouteFerryLegDetails & WithRouteName(const char *value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteFerryLegDetails & WithRouteName(Aws::String &&value)
RouteFerryLegDetails & WithAfterTravelSteps(const Aws::Vector< RouteFerryAfterTravelStep > &value)
RouteFerryLegDetails & AddAfterTravelSteps(RouteFerryAfterTravelStep &&value)
RouteFerryLegDetails & WithSpans(const Aws::Vector< RouteFerrySpan > &value)
RouteFerryLegDetails & WithBeforeTravelSteps(Aws::Vector< RouteFerryBeforeTravelStep > &&value)
RouteFerryLegDetails & AddTravelSteps(RouteFerryTravelStep &&value)
RouteFerryLegDetails & AddPassThroughWaypoints(const RoutePassThroughWaypoint &value)
const Aws::Vector< RouteFerryTravelStep > & GetTravelSteps() const
void SetDeparture(const RouteFerryDeparture &value)
const Aws::Vector< RoutePassThroughWaypoint > & GetPassThroughWaypoints() const
void SetPassThroughWaypoints(const Aws::Vector< RoutePassThroughWaypoint > &value)
AWS_GEOROUTES_API RouteFerryLegDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteFerryLegDetails & WithArrival(const RouteFerryArrival &value)
void SetNotices(const Aws::Vector< RouteFerryNotice > &value)
RouteFerryLegDetails & WithDeparture(const RouteFerryDeparture &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