AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoutePedestrianLegDetails.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RoutePedestrianArrival.h>
9#include <aws/geo-routes/model/RoutePedestrianDeparture.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/geo-routes/model/RoutePedestrianSummary.h>
12#include <aws/geo-routes/model/RoutePedestrianNotice.h>
13#include <aws/geo-routes/model/RoutePassThroughWaypoint.h>
14#include <aws/geo-routes/model/RoutePedestrianSpan.h>
15#include <aws/geo-routes/model/RoutePedestrianTravelStep.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace GeoRoutes
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_GEOROUTES_API RoutePedestrianLegDetails();
44 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const RoutePedestrianArrival& GetArrival() const{ return m_arrival; }
52 inline bool ArrivalHasBeenSet() const { return m_arrivalHasBeenSet; }
53 inline void SetArrival(const RoutePedestrianArrival& value) { m_arrivalHasBeenSet = true; m_arrival = value; }
54 inline void SetArrival(RoutePedestrianArrival&& value) { m_arrivalHasBeenSet = true; m_arrival = std::move(value); }
55 inline RoutePedestrianLegDetails& WithArrival(const RoutePedestrianArrival& value) { SetArrival(value); return *this;}
56 inline RoutePedestrianLegDetails& WithArrival(RoutePedestrianArrival&& value) { SetArrival(std::move(value)); return *this;}
58
60
63 inline const RoutePedestrianDeparture& GetDeparture() const{ return m_departure; }
64 inline bool DepartureHasBeenSet() const { return m_departureHasBeenSet; }
65 inline void SetDeparture(const RoutePedestrianDeparture& value) { m_departureHasBeenSet = true; m_departure = value; }
66 inline void SetDeparture(RoutePedestrianDeparture&& value) { m_departureHasBeenSet = true; m_departure = std::move(value); }
68 inline RoutePedestrianLegDetails& WithDeparture(RoutePedestrianDeparture&& value) { SetDeparture(std::move(value)); return *this;}
70
72
76 inline const Aws::Vector<RoutePedestrianNotice>& GetNotices() const{ return m_notices; }
77 inline bool NoticesHasBeenSet() const { return m_noticesHasBeenSet; }
78 inline void SetNotices(const Aws::Vector<RoutePedestrianNotice>& value) { m_noticesHasBeenSet = true; m_notices = value; }
79 inline void SetNotices(Aws::Vector<RoutePedestrianNotice>&& value) { m_noticesHasBeenSet = true; m_notices = std::move(value); }
81 inline RoutePedestrianLegDetails& WithNotices(Aws::Vector<RoutePedestrianNotice>&& value) { SetNotices(std::move(value)); return *this;}
82 inline RoutePedestrianLegDetails& AddNotices(const RoutePedestrianNotice& value) { m_noticesHasBeenSet = true; m_notices.push_back(value); return *this; }
83 inline RoutePedestrianLegDetails& AddNotices(RoutePedestrianNotice&& value) { m_noticesHasBeenSet = true; m_notices.push_back(std::move(value)); return *this; }
85
87
91 inline const Aws::Vector<RoutePassThroughWaypoint>& GetPassThroughWaypoints() const{ return m_passThroughWaypoints; }
92 inline bool PassThroughWaypointsHasBeenSet() const { return m_passThroughWaypointsHasBeenSet; }
93 inline void SetPassThroughWaypoints(const Aws::Vector<RoutePassThroughWaypoint>& value) { m_passThroughWaypointsHasBeenSet = true; m_passThroughWaypoints = value; }
94 inline void SetPassThroughWaypoints(Aws::Vector<RoutePassThroughWaypoint>&& value) { m_passThroughWaypointsHasBeenSet = true; m_passThroughWaypoints = std::move(value); }
97 inline RoutePedestrianLegDetails& AddPassThroughWaypoints(const RoutePassThroughWaypoint& value) { m_passThroughWaypointsHasBeenSet = true; m_passThroughWaypoints.push_back(value); return *this; }
98 inline RoutePedestrianLegDetails& AddPassThroughWaypoints(RoutePassThroughWaypoint&& value) { m_passThroughWaypointsHasBeenSet = true; m_passThroughWaypoints.push_back(std::move(value)); return *this; }
100
102
105 inline const Aws::Vector<RoutePedestrianSpan>& GetSpans() const{ return m_spans; }
106 inline bool SpansHasBeenSet() const { return m_spansHasBeenSet; }
107 inline void SetSpans(const Aws::Vector<RoutePedestrianSpan>& value) { m_spansHasBeenSet = true; m_spans = value; }
108 inline void SetSpans(Aws::Vector<RoutePedestrianSpan>&& value) { m_spansHasBeenSet = true; m_spans = std::move(value); }
110 inline RoutePedestrianLegDetails& WithSpans(Aws::Vector<RoutePedestrianSpan>&& value) { SetSpans(std::move(value)); return *this;}
111 inline RoutePedestrianLegDetails& AddSpans(const RoutePedestrianSpan& value) { m_spansHasBeenSet = true; m_spans.push_back(value); return *this; }
112 inline RoutePedestrianLegDetails& AddSpans(RoutePedestrianSpan&& value) { m_spansHasBeenSet = true; m_spans.push_back(std::move(value)); return *this; }
114
116
119 inline const RoutePedestrianSummary& GetSummary() const{ return m_summary; }
120 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
121 inline void SetSummary(const RoutePedestrianSummary& value) { m_summaryHasBeenSet = true; m_summary = value; }
122 inline void SetSummary(RoutePedestrianSummary&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
123 inline RoutePedestrianLegDetails& WithSummary(const RoutePedestrianSummary& value) { SetSummary(value); return *this;}
124 inline RoutePedestrianLegDetails& WithSummary(RoutePedestrianSummary&& value) { SetSummary(std::move(value)); return *this;}
126
128
132 inline const Aws::Vector<RoutePedestrianTravelStep>& GetTravelSteps() const{ return m_travelSteps; }
133 inline bool TravelStepsHasBeenSet() const { return m_travelStepsHasBeenSet; }
134 inline void SetTravelSteps(const Aws::Vector<RoutePedestrianTravelStep>& value) { m_travelStepsHasBeenSet = true; m_travelSteps = value; }
135 inline void SetTravelSteps(Aws::Vector<RoutePedestrianTravelStep>&& value) { m_travelStepsHasBeenSet = true; m_travelSteps = std::move(value); }
138 inline RoutePedestrianLegDetails& AddTravelSteps(const RoutePedestrianTravelStep& value) { m_travelStepsHasBeenSet = true; m_travelSteps.push_back(value); return *this; }
139 inline RoutePedestrianLegDetails& AddTravelSteps(RoutePedestrianTravelStep&& value) { m_travelStepsHasBeenSet = true; m_travelSteps.push_back(std::move(value)); return *this; }
141 private:
142
143 RoutePedestrianArrival m_arrival;
144 bool m_arrivalHasBeenSet = false;
145
146 RoutePedestrianDeparture m_departure;
147 bool m_departureHasBeenSet = false;
148
150 bool m_noticesHasBeenSet = false;
151
152 Aws::Vector<RoutePassThroughWaypoint> m_passThroughWaypoints;
153 bool m_passThroughWaypointsHasBeenSet = false;
154
156 bool m_spansHasBeenSet = false;
157
158 RoutePedestrianSummary m_summary;
159 bool m_summaryHasBeenSet = false;
160
162 bool m_travelStepsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace GeoRoutes
167} // namespace Aws
const RoutePedestrianDeparture & GetDeparture() const
RoutePedestrianLegDetails & AddTravelSteps(const RoutePedestrianTravelStep &value)
void SetDeparture(RoutePedestrianDeparture &&value)
RoutePedestrianLegDetails & WithDeparture(RoutePedestrianDeparture &&value)
RoutePedestrianLegDetails & WithNotices(const Aws::Vector< RoutePedestrianNotice > &value)
const Aws::Vector< RoutePedestrianNotice > & GetNotices() const
const Aws::Vector< RoutePassThroughWaypoint > & GetPassThroughWaypoints() const
RoutePedestrianLegDetails & WithSpans(Aws::Vector< RoutePedestrianSpan > &&value)
RoutePedestrianLegDetails & WithDeparture(const RoutePedestrianDeparture &value)
void SetSpans(Aws::Vector< RoutePedestrianSpan > &&value)
RoutePedestrianLegDetails & WithArrival(const RoutePedestrianArrival &value)
RoutePedestrianLegDetails & WithSummary(RoutePedestrianSummary &&value)
RoutePedestrianLegDetails & WithSpans(const Aws::Vector< RoutePedestrianSpan > &value)
RoutePedestrianLegDetails & WithNotices(Aws::Vector< RoutePedestrianNotice > &&value)
RoutePedestrianLegDetails & AddSpans(const RoutePedestrianSpan &value)
RoutePedestrianLegDetails & WithPassThroughWaypoints(const Aws::Vector< RoutePassThroughWaypoint > &value)
RoutePedestrianLegDetails & WithPassThroughWaypoints(Aws::Vector< RoutePassThroughWaypoint > &&value)
RoutePedestrianLegDetails & AddSpans(RoutePedestrianSpan &&value)
RoutePedestrianLegDetails & AddPassThroughWaypoints(RoutePassThroughWaypoint &&value)
RoutePedestrianLegDetails & AddNotices(RoutePedestrianNotice &&value)
void SetDeparture(const RoutePedestrianDeparture &value)
RoutePedestrianLegDetails & AddPassThroughWaypoints(const RoutePassThroughWaypoint &value)
void SetTravelSteps(Aws::Vector< RoutePedestrianTravelStep > &&value)
void SetArrival(const RoutePedestrianArrival &value)
void SetPassThroughWaypoints(Aws::Vector< RoutePassThroughWaypoint > &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSpans(const Aws::Vector< RoutePedestrianSpan > &value)
void SetTravelSteps(const Aws::Vector< RoutePedestrianTravelStep > &value)
AWS_GEOROUTES_API RoutePedestrianLegDetails(Aws::Utils::Json::JsonView jsonValue)
RoutePedestrianLegDetails & AddTravelSteps(RoutePedestrianTravelStep &&value)
void SetPassThroughWaypoints(const Aws::Vector< RoutePassThroughWaypoint > &value)
const Aws::Vector< RoutePedestrianSpan > & GetSpans() const
const Aws::Vector< RoutePedestrianTravelStep > & GetTravelSteps() const
void SetNotices(const Aws::Vector< RoutePedestrianNotice > &value)
RoutePedestrianLegDetails & WithArrival(RoutePedestrianArrival &&value)
AWS_GEOROUTES_API RoutePedestrianLegDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const RoutePedestrianArrival & GetArrival() const
RoutePedestrianLegDetails & WithTravelSteps(Aws::Vector< RoutePedestrianTravelStep > &&value)
RoutePedestrianLegDetails & WithSummary(const RoutePedestrianSummary &value)
RoutePedestrianLegDetails & AddNotices(const RoutePedestrianNotice &value)
void SetSummary(const RoutePedestrianSummary &value)
void SetNotices(Aws::Vector< RoutePedestrianNotice > &&value)
RoutePedestrianLegDetails & WithTravelSteps(const Aws::Vector< RoutePedestrianTravelStep > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue