AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CalculateIsolinesRequest.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/GeoRoutesRequest.h>
9#include <aws/geo-routes/model/IsolineAllowOptions.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/geo-routes/model/IsolineAvoidanceOptions.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/geo-routes/model/IsolineDestinationOptions.h>
14#include <aws/geo-routes/model/GeometryFormat.h>
15#include <aws/geo-routes/model/IsolineGranularityOptions.h>
16#include <aws/geo-routes/model/IsolineOptimizationObjective.h>
17#include <aws/geo-routes/model/RoutingObjective.h>
18#include <aws/geo-routes/model/IsolineOriginOptions.h>
19#include <aws/geo-routes/model/IsolineThresholds.h>
20#include <aws/geo-routes/model/IsolineTrafficOptions.h>
21#include <aws/geo-routes/model/IsolineTravelMode.h>
22#include <aws/geo-routes/model/IsolineTravelModeOptions.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Http
28{
29 class URI;
30} //namespace Http
31namespace GeoRoutes
32{
33namespace Model
34{
35
39 {
40 public:
41 AWS_GEOROUTES_API CalculateIsolinesRequest();
42
43 // Service request name is the Operation name which will send this request out,
44 // each operation should has unique request name, so that we can get operation's name from this request.
45 // Note: this is not true for response, multiple operations may have the same response name,
46 // so we can not get operation's name from response.
47 inline virtual const char* GetServiceRequestName() const override { return "CalculateIsolines"; }
48
49 AWS_GEOROUTES_API Aws::String SerializePayload() const override;
50
51 AWS_GEOROUTES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
52
53
55
58 inline const IsolineAllowOptions& GetAllow() const{ return m_allow; }
59 inline bool AllowHasBeenSet() const { return m_allowHasBeenSet; }
60 inline void SetAllow(const IsolineAllowOptions& value) { m_allowHasBeenSet = true; m_allow = value; }
61 inline void SetAllow(IsolineAllowOptions&& value) { m_allowHasBeenSet = true; m_allow = std::move(value); }
62 inline CalculateIsolinesRequest& WithAllow(const IsolineAllowOptions& value) { SetAllow(value); return *this;}
63 inline CalculateIsolinesRequest& WithAllow(IsolineAllowOptions&& value) { SetAllow(std::move(value)); return *this;}
65
67
73 inline const Aws::String& GetArrivalTime() const{ return m_arrivalTime; }
74 inline bool ArrivalTimeHasBeenSet() const { return m_arrivalTimeHasBeenSet; }
75 inline void SetArrivalTime(const Aws::String& value) { m_arrivalTimeHasBeenSet = true; m_arrivalTime = value; }
76 inline void SetArrivalTime(Aws::String&& value) { m_arrivalTimeHasBeenSet = true; m_arrivalTime = std::move(value); }
77 inline void SetArrivalTime(const char* value) { m_arrivalTimeHasBeenSet = true; m_arrivalTime.assign(value); }
78 inline CalculateIsolinesRequest& WithArrivalTime(const Aws::String& value) { SetArrivalTime(value); return *this;}
79 inline CalculateIsolinesRequest& WithArrivalTime(Aws::String&& value) { SetArrivalTime(std::move(value)); return *this;}
80 inline CalculateIsolinesRequest& WithArrivalTime(const char* value) { SetArrivalTime(value); return *this;}
82
84
90 inline const IsolineAvoidanceOptions& GetAvoid() const{ return m_avoid; }
91 inline bool AvoidHasBeenSet() const { return m_avoidHasBeenSet; }
92 inline void SetAvoid(const IsolineAvoidanceOptions& value) { m_avoidHasBeenSet = true; m_avoid = value; }
93 inline void SetAvoid(IsolineAvoidanceOptions&& value) { m_avoidHasBeenSet = true; m_avoid = std::move(value); }
94 inline CalculateIsolinesRequest& WithAvoid(const IsolineAvoidanceOptions& value) { SetAvoid(value); return *this;}
95 inline CalculateIsolinesRequest& WithAvoid(IsolineAvoidanceOptions&& value) { SetAvoid(std::move(value)); return *this;}
97
99
102 inline bool GetDepartNow() const{ return m_departNow; }
103 inline bool DepartNowHasBeenSet() const { return m_departNowHasBeenSet; }
104 inline void SetDepartNow(bool value) { m_departNowHasBeenSet = true; m_departNow = value; }
105 inline CalculateIsolinesRequest& WithDepartNow(bool value) { SetDepartNow(value); return *this;}
107
109
115 inline const Aws::String& GetDepartureTime() const{ return m_departureTime; }
116 inline bool DepartureTimeHasBeenSet() const { return m_departureTimeHasBeenSet; }
117 inline void SetDepartureTime(const Aws::String& value) { m_departureTimeHasBeenSet = true; m_departureTime = value; }
118 inline void SetDepartureTime(Aws::String&& value) { m_departureTimeHasBeenSet = true; m_departureTime = std::move(value); }
119 inline void SetDepartureTime(const char* value) { m_departureTimeHasBeenSet = true; m_departureTime.assign(value); }
120 inline CalculateIsolinesRequest& WithDepartureTime(const Aws::String& value) { SetDepartureTime(value); return *this;}
121 inline CalculateIsolinesRequest& WithDepartureTime(Aws::String&& value) { SetDepartureTime(std::move(value)); return *this;}
122 inline CalculateIsolinesRequest& WithDepartureTime(const char* value) { SetDepartureTime(value); return *this;}
124
126
130 inline const Aws::Vector<double>& GetDestination() const{ return m_destination; }
131 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
132 inline void SetDestination(const Aws::Vector<double>& value) { m_destinationHasBeenSet = true; m_destination = value; }
133 inline void SetDestination(Aws::Vector<double>&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
134 inline CalculateIsolinesRequest& WithDestination(const Aws::Vector<double>& value) { SetDestination(value); return *this;}
135 inline CalculateIsolinesRequest& WithDestination(Aws::Vector<double>&& value) { SetDestination(std::move(value)); return *this;}
136 inline CalculateIsolinesRequest& AddDestination(double value) { m_destinationHasBeenSet = true; m_destination.push_back(value); return *this; }
138
140
143 inline const IsolineDestinationOptions& GetDestinationOptions() const{ return m_destinationOptions; }
144 inline bool DestinationOptionsHasBeenSet() const { return m_destinationOptionsHasBeenSet; }
145 inline void SetDestinationOptions(const IsolineDestinationOptions& value) { m_destinationOptionsHasBeenSet = true; m_destinationOptions = value; }
146 inline void SetDestinationOptions(IsolineDestinationOptions&& value) { m_destinationOptionsHasBeenSet = true; m_destinationOptions = std::move(value); }
150
152
156 inline const GeometryFormat& GetIsolineGeometryFormat() const{ return m_isolineGeometryFormat; }
157 inline bool IsolineGeometryFormatHasBeenSet() const { return m_isolineGeometryFormatHasBeenSet; }
158 inline void SetIsolineGeometryFormat(const GeometryFormat& value) { m_isolineGeometryFormatHasBeenSet = true; m_isolineGeometryFormat = value; }
159 inline void SetIsolineGeometryFormat(GeometryFormat&& value) { m_isolineGeometryFormatHasBeenSet = true; m_isolineGeometryFormat = std::move(value); }
163
165
168 inline const IsolineGranularityOptions& GetIsolineGranularity() const{ return m_isolineGranularity; }
169 inline bool IsolineGranularityHasBeenSet() const { return m_isolineGranularityHasBeenSet; }
170 inline void SetIsolineGranularity(const IsolineGranularityOptions& value) { m_isolineGranularityHasBeenSet = true; m_isolineGranularity = value; }
171 inline void SetIsolineGranularity(IsolineGranularityOptions&& value) { m_isolineGranularityHasBeenSet = true; m_isolineGranularity = std::move(value); }
175
177
181 inline const Aws::String& GetKey() const{ return m_key; }
182 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
183 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
184 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
185 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
186 inline CalculateIsolinesRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
187 inline CalculateIsolinesRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
188 inline CalculateIsolinesRequest& WithKey(const char* value) { SetKey(value); return *this;}
190
192
200 inline const IsolineOptimizationObjective& GetOptimizeIsolineFor() const{ return m_optimizeIsolineFor; }
201 inline bool OptimizeIsolineForHasBeenSet() const { return m_optimizeIsolineForHasBeenSet; }
202 inline void SetOptimizeIsolineFor(const IsolineOptimizationObjective& value) { m_optimizeIsolineForHasBeenSet = true; m_optimizeIsolineFor = value; }
203 inline void SetOptimizeIsolineFor(IsolineOptimizationObjective&& value) { m_optimizeIsolineForHasBeenSet = true; m_optimizeIsolineFor = std::move(value); }
207
209
213 inline const RoutingObjective& GetOptimizeRoutingFor() const{ return m_optimizeRoutingFor; }
214 inline bool OptimizeRoutingForHasBeenSet() const { return m_optimizeRoutingForHasBeenSet; }
215 inline void SetOptimizeRoutingFor(const RoutingObjective& value) { m_optimizeRoutingForHasBeenSet = true; m_optimizeRoutingFor = value; }
216 inline void SetOptimizeRoutingFor(RoutingObjective&& value) { m_optimizeRoutingForHasBeenSet = true; m_optimizeRoutingFor = std::move(value); }
220
222
225 inline const Aws::Vector<double>& GetOrigin() const{ return m_origin; }
226 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
227 inline void SetOrigin(const Aws::Vector<double>& value) { m_originHasBeenSet = true; m_origin = value; }
228 inline void SetOrigin(Aws::Vector<double>&& value) { m_originHasBeenSet = true; m_origin = std::move(value); }
229 inline CalculateIsolinesRequest& WithOrigin(const Aws::Vector<double>& value) { SetOrigin(value); return *this;}
230 inline CalculateIsolinesRequest& WithOrigin(Aws::Vector<double>&& value) { SetOrigin(std::move(value)); return *this;}
231 inline CalculateIsolinesRequest& AddOrigin(double value) { m_originHasBeenSet = true; m_origin.push_back(value); return *this; }
233
235
238 inline const IsolineOriginOptions& GetOriginOptions() const{ return m_originOptions; }
239 inline bool OriginOptionsHasBeenSet() const { return m_originOptionsHasBeenSet; }
240 inline void SetOriginOptions(const IsolineOriginOptions& value) { m_originOptionsHasBeenSet = true; m_originOptions = value; }
241 inline void SetOriginOptions(IsolineOriginOptions&& value) { m_originOptionsHasBeenSet = true; m_originOptions = std::move(value); }
243 inline CalculateIsolinesRequest& WithOriginOptions(IsolineOriginOptions&& value) { SetOriginOptions(std::move(value)); return *this;}
245
247
251 inline const IsolineThresholds& GetThresholds() const{ return m_thresholds; }
252 inline bool ThresholdsHasBeenSet() const { return m_thresholdsHasBeenSet; }
253 inline void SetThresholds(const IsolineThresholds& value) { m_thresholdsHasBeenSet = true; m_thresholds = value; }
254 inline void SetThresholds(IsolineThresholds&& value) { m_thresholdsHasBeenSet = true; m_thresholds = std::move(value); }
255 inline CalculateIsolinesRequest& WithThresholds(const IsolineThresholds& value) { SetThresholds(value); return *this;}
256 inline CalculateIsolinesRequest& WithThresholds(IsolineThresholds&& value) { SetThresholds(std::move(value)); return *this;}
258
260
263 inline const IsolineTrafficOptions& GetTraffic() const{ return m_traffic; }
264 inline bool TrafficHasBeenSet() const { return m_trafficHasBeenSet; }
265 inline void SetTraffic(const IsolineTrafficOptions& value) { m_trafficHasBeenSet = true; m_traffic = value; }
266 inline void SetTraffic(IsolineTrafficOptions&& value) { m_trafficHasBeenSet = true; m_traffic = std::move(value); }
267 inline CalculateIsolinesRequest& WithTraffic(const IsolineTrafficOptions& value) { SetTraffic(value); return *this;}
268 inline CalculateIsolinesRequest& WithTraffic(IsolineTrafficOptions&& value) { SetTraffic(std::move(value)); return *this;}
270
272
279 inline const IsolineTravelMode& GetTravelMode() const{ return m_travelMode; }
280 inline bool TravelModeHasBeenSet() const { return m_travelModeHasBeenSet; }
281 inline void SetTravelMode(const IsolineTravelMode& value) { m_travelModeHasBeenSet = true; m_travelMode = value; }
282 inline void SetTravelMode(IsolineTravelMode&& value) { m_travelModeHasBeenSet = true; m_travelMode = std::move(value); }
283 inline CalculateIsolinesRequest& WithTravelMode(const IsolineTravelMode& value) { SetTravelMode(value); return *this;}
284 inline CalculateIsolinesRequest& WithTravelMode(IsolineTravelMode&& value) { SetTravelMode(std::move(value)); return *this;}
286
288
291 inline const IsolineTravelModeOptions& GetTravelModeOptions() const{ return m_travelModeOptions; }
292 inline bool TravelModeOptionsHasBeenSet() const { return m_travelModeOptionsHasBeenSet; }
293 inline void SetTravelModeOptions(const IsolineTravelModeOptions& value) { m_travelModeOptionsHasBeenSet = true; m_travelModeOptions = value; }
294 inline void SetTravelModeOptions(IsolineTravelModeOptions&& value) { m_travelModeOptionsHasBeenSet = true; m_travelModeOptions = std::move(value); }
298 private:
299
300 IsolineAllowOptions m_allow;
301 bool m_allowHasBeenSet = false;
302
303 Aws::String m_arrivalTime;
304 bool m_arrivalTimeHasBeenSet = false;
305
307 bool m_avoidHasBeenSet = false;
308
309 bool m_departNow;
310 bool m_departNowHasBeenSet = false;
311
312 Aws::String m_departureTime;
313 bool m_departureTimeHasBeenSet = false;
314
315 Aws::Vector<double> m_destination;
316 bool m_destinationHasBeenSet = false;
317
318 IsolineDestinationOptions m_destinationOptions;
319 bool m_destinationOptionsHasBeenSet = false;
320
321 GeometryFormat m_isolineGeometryFormat;
322 bool m_isolineGeometryFormatHasBeenSet = false;
323
324 IsolineGranularityOptions m_isolineGranularity;
325 bool m_isolineGranularityHasBeenSet = false;
326
327 Aws::String m_key;
328 bool m_keyHasBeenSet = false;
329
330 IsolineOptimizationObjective m_optimizeIsolineFor;
331 bool m_optimizeIsolineForHasBeenSet = false;
332
333 RoutingObjective m_optimizeRoutingFor;
334 bool m_optimizeRoutingForHasBeenSet = false;
335
336 Aws::Vector<double> m_origin;
337 bool m_originHasBeenSet = false;
338
339 IsolineOriginOptions m_originOptions;
340 bool m_originOptionsHasBeenSet = false;
341
342 IsolineThresholds m_thresholds;
343 bool m_thresholdsHasBeenSet = false;
344
345 IsolineTrafficOptions m_traffic;
346 bool m_trafficHasBeenSet = false;
347
348 IsolineTravelMode m_travelMode;
349 bool m_travelModeHasBeenSet = false;
350
351 IsolineTravelModeOptions m_travelModeOptions;
352 bool m_travelModeOptionsHasBeenSet = false;
353 };
354
355} // namespace Model
356} // namespace GeoRoutes
357} // namespace Aws
CalculateIsolinesRequest & AddOrigin(double value)
CalculateIsolinesRequest & WithOriginOptions(IsolineOriginOptions &&value)
CalculateIsolinesRequest & WithTraffic(const IsolineTrafficOptions &value)
CalculateIsolinesRequest & WithIsolineGeometryFormat(GeometryFormat &&value)
void SetDestinationOptions(const IsolineDestinationOptions &value)
CalculateIsolinesRequest & WithTravelMode(IsolineTravelMode &&value)
void SetTraffic(const IsolineTrafficOptions &value)
CalculateIsolinesRequest & WithTraffic(IsolineTrafficOptions &&value)
CalculateIsolinesRequest & WithThresholds(const IsolineThresholds &value)
CalculateIsolinesRequest & WithAvoid(IsolineAvoidanceOptions &&value)
void SetOrigin(const Aws::Vector< double > &value)
const IsolineOptimizationObjective & GetOptimizeIsolineFor() const
CalculateIsolinesRequest & WithAvoid(const IsolineAvoidanceOptions &value)
CalculateIsolinesRequest & WithOrigin(Aws::Vector< double > &&value)
CalculateIsolinesRequest & WithOriginOptions(const IsolineOriginOptions &value)
virtual const char * GetServiceRequestName() const override
CalculateIsolinesRequest & WithArrivalTime(Aws::String &&value)
AWS_GEOROUTES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CalculateIsolinesRequest & WithOrigin(const Aws::Vector< double > &value)
CalculateIsolinesRequest & WithIsolineGranularity(const IsolineGranularityOptions &value)
CalculateIsolinesRequest & WithAllow(IsolineAllowOptions &&value)
const IsolineAvoidanceOptions & GetAvoid() const
AWS_GEOROUTES_API Aws::String SerializePayload() const override
void SetOptimizeIsolineFor(const IsolineOptimizationObjective &value)
void SetAvoid(const IsolineAvoidanceOptions &value)
CalculateIsolinesRequest & WithArrivalTime(const char *value)
CalculateIsolinesRequest & WithKey(Aws::String &&value)
CalculateIsolinesRequest & WithOptimizeRoutingFor(RoutingObjective &&value)
void SetOptimizeRoutingFor(const RoutingObjective &value)
void SetOptimizeIsolineFor(IsolineOptimizationObjective &&value)
void SetDestinationOptions(IsolineDestinationOptions &&value)
CalculateIsolinesRequest & WithDepartureTime(Aws::String &&value)
void SetTravelModeOptions(const IsolineTravelModeOptions &value)
CalculateIsolinesRequest & WithDestinationOptions(IsolineDestinationOptions &&value)
CalculateIsolinesRequest & WithOptimizeRoutingFor(const RoutingObjective &value)
void SetTravelModeOptions(IsolineTravelModeOptions &&value)
CalculateIsolinesRequest & WithIsolineGeometryFormat(const GeometryFormat &value)
CalculateIsolinesRequest & WithThresholds(IsolineThresholds &&value)
const IsolineGranularityOptions & GetIsolineGranularity() const
CalculateIsolinesRequest & WithArrivalTime(const Aws::String &value)
CalculateIsolinesRequest & WithTravelModeOptions(IsolineTravelModeOptions &&value)
CalculateIsolinesRequest & WithOptimizeIsolineFor(IsolineOptimizationObjective &&value)
void SetDestination(const Aws::Vector< double > &value)
const Aws::Vector< double > & GetDestination() const
CalculateIsolinesRequest & WithAllow(const IsolineAllowOptions &value)
CalculateIsolinesRequest & WithKey(const Aws::String &value)
void SetIsolineGranularity(IsolineGranularityOptions &&value)
const IsolineTravelModeOptions & GetTravelModeOptions() const
const IsolineOriginOptions & GetOriginOptions() const
void SetOriginOptions(const IsolineOriginOptions &value)
void SetIsolineGeometryFormat(const GeometryFormat &value)
CalculateIsolinesRequest & WithTravelMode(const IsolineTravelMode &value)
CalculateIsolinesRequest & WithOptimizeIsolineFor(const IsolineOptimizationObjective &value)
void SetIsolineGranularity(const IsolineGranularityOptions &value)
CalculateIsolinesRequest & WithDestinationOptions(const IsolineDestinationOptions &value)
CalculateIsolinesRequest & WithDepartureTime(const Aws::String &value)
const IsolineDestinationOptions & GetDestinationOptions() const
CalculateIsolinesRequest & WithDepartureTime(const char *value)
CalculateIsolinesRequest & AddDestination(double value)
CalculateIsolinesRequest & WithDestination(Aws::Vector< double > &&value)
CalculateIsolinesRequest & WithKey(const char *value)
CalculateIsolinesRequest & WithTravelModeOptions(const IsolineTravelModeOptions &value)
CalculateIsolinesRequest & WithDestination(const Aws::Vector< double > &value)
CalculateIsolinesRequest & WithDepartNow(bool value)
void SetAllow(const IsolineAllowOptions &value)
CalculateIsolinesRequest & WithIsolineGranularity(IsolineGranularityOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector