AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteSpanDynamicSpeedDetails.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GeoRoutes
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_GEOROUTES_API RouteSpanDynamicSpeedDetails();
36 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline double GetBestCaseSpeed() const{ return m_bestCaseSpeed; }
45 inline bool BestCaseSpeedHasBeenSet() const { return m_bestCaseSpeedHasBeenSet; }
46 inline void SetBestCaseSpeed(double value) { m_bestCaseSpeedHasBeenSet = true; m_bestCaseSpeed = value; }
47 inline RouteSpanDynamicSpeedDetails& WithBestCaseSpeed(double value) { SetBestCaseSpeed(value); return *this;}
49
51
55 inline long long GetTurnDuration() const{ return m_turnDuration; }
56 inline bool TurnDurationHasBeenSet() const { return m_turnDurationHasBeenSet; }
57 inline void SetTurnDuration(long long value) { m_turnDurationHasBeenSet = true; m_turnDuration = value; }
58 inline RouteSpanDynamicSpeedDetails& WithTurnDuration(long long value) { SetTurnDuration(value); return *this;}
60
62
66 inline double GetTypicalSpeed() const{ return m_typicalSpeed; }
67 inline bool TypicalSpeedHasBeenSet() const { return m_typicalSpeedHasBeenSet; }
68 inline void SetTypicalSpeed(double value) { m_typicalSpeedHasBeenSet = true; m_typicalSpeed = value; }
69 inline RouteSpanDynamicSpeedDetails& WithTypicalSpeed(double value) { SetTypicalSpeed(value); return *this;}
71 private:
72
73 double m_bestCaseSpeed;
74 bool m_bestCaseSpeedHasBeenSet = false;
75
76 long long m_turnDuration;
77 bool m_turnDurationHasBeenSet = false;
78
79 double m_typicalSpeed;
80 bool m_typicalSpeedHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace GeoRoutes
85} // 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)
RouteSpanDynamicSpeedDetails & WithTypicalSpeed(double value)
Aws::Utils::Json::JsonValue JsonValue