AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
RouteSpanDynamicSpeedDetails.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 RouteSpanDynamicSpeedDetails() = default;
30 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline double GetBestCaseSpeed() const { return m_bestCaseSpeed; }
38 inline bool BestCaseSpeedHasBeenSet() const { return m_bestCaseSpeedHasBeenSet; }
39 inline void SetBestCaseSpeed(double value) {
40 m_bestCaseSpeedHasBeenSet = true;
41 m_bestCaseSpeed = value;
42 }
44 SetBestCaseSpeed(value);
45 return *this;
46 }
48
50
54 inline long long GetTurnDuration() const { return m_turnDuration; }
55 inline bool TurnDurationHasBeenSet() const { return m_turnDurationHasBeenSet; }
56 inline void SetTurnDuration(long long value) {
57 m_turnDurationHasBeenSet = true;
58 m_turnDuration = value;
59 }
61 SetTurnDuration(value);
62 return *this;
63 }
65
67
71 inline double GetTypicalSpeed() const { return m_typicalSpeed; }
72 inline bool TypicalSpeedHasBeenSet() const { return m_typicalSpeedHasBeenSet; }
73 inline void SetTypicalSpeed(double value) {
74 m_typicalSpeedHasBeenSet = true;
75 m_typicalSpeed = value;
76 }
78 SetTypicalSpeed(value);
79 return *this;
80 }
82 private:
83 double m_bestCaseSpeed{0.0};
84
85 long long m_turnDuration{0};
86
87 double m_typicalSpeed{0.0};
88 bool m_bestCaseSpeedHasBeenSet = false;
89 bool m_turnDurationHasBeenSet = false;
90 bool m_typicalSpeedHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace GeoRoutes
95} // namespace Aws
RouteSpanDynamicSpeedDetails & WithTurnDuration(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteSpanDynamicSpeedDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteSpanDynamicSpeedDetails(Aws::Utils::Json::JsonView jsonValue)
RouteSpanDynamicSpeedDetails & WithBestCaseSpeed(double value)
AWS_GEOROUTES_API RouteSpanDynamicSpeedDetails()=default
RouteSpanDynamicSpeedDetails & WithTypicalSpeed(double value)
Aws::Utils::Json::JsonValue JsonValue