AWS SDK for C++

AWS SDK for C++ Version 1.11.832

Loading...
Searching...
No Matches
RouteTransitPedestrianOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace GeoRoutes {
17namespace Model {
18
26 public:
27 AWS_GEOROUTES_API RouteTransitPedestrianOptions() = default;
30 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline long long GetMaxDistance() const { return m_maxDistance; }
38 inline bool MaxDistanceHasBeenSet() const { return m_maxDistanceHasBeenSet; }
39 inline void SetMaxDistance(long long value) {
40 m_maxDistanceHasBeenSet = true;
41 m_maxDistance = value;
42 }
44 SetMaxDistance(value);
45 return *this;
46 }
48
50
53 inline double GetSpeed() const { return m_speed; }
54 inline bool SpeedHasBeenSet() const { return m_speedHasBeenSet; }
55 inline void SetSpeed(double value) {
56 m_speedHasBeenSet = true;
57 m_speed = value;
58 }
60 SetSpeed(value);
61 return *this;
62 }
64 private:
65 long long m_maxDistance{0};
66
67 double m_speed{0.0};
68 bool m_maxDistanceHasBeenSet = false;
69 bool m_speedHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace GeoRoutes
74} // namespace Aws
AWS_GEOROUTES_API RouteTransitPedestrianOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteTransitPedestrianOptions & WithSpeed(double value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteTransitPedestrianOptions(Aws::Utils::Json::JsonView jsonValue)
RouteTransitPedestrianOptions & WithMaxDistance(long long value)
AWS_GEOROUTES_API RouteTransitPedestrianOptions()=default
Aws::Utils::Json::JsonValue JsonValue