AWS SDK for C++

AWS SDK for C++ Version 1.11.794

Loading...
Searching...
No Matches
RoutePedestrianOptions.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
28 public:
29 AWS_GEOROUTES_API RoutePedestrianOptions() = default;
32 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline double GetSpeed() const { return m_speed; }
39 inline bool SpeedHasBeenSet() const { return m_speedHasBeenSet; }
40 inline void SetSpeed(double value) {
41 m_speedHasBeenSet = true;
42 m_speed = value;
43 }
44 inline RoutePedestrianOptions& WithSpeed(double value) {
45 SetSpeed(value);
46 return *this;
47 }
49 private:
50 double m_speed{0.0};
51 bool m_speedHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace GeoRoutes
56} // namespace Aws
AWS_GEOROUTES_API RoutePedestrianOptions()=default
RoutePedestrianOptions & WithSpeed(double value)
AWS_GEOROUTES_API RoutePedestrianOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RoutePedestrianOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue