AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteSpanSpeedLimitDetails.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 RouteSpanSpeedLimitDetails();
36 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline double GetMaxSpeed() const{ return m_maxSpeed; }
44 inline bool MaxSpeedHasBeenSet() const { return m_maxSpeedHasBeenSet; }
45 inline void SetMaxSpeed(double value) { m_maxSpeedHasBeenSet = true; m_maxSpeed = value; }
46 inline RouteSpanSpeedLimitDetails& WithMaxSpeed(double value) { SetMaxSpeed(value); return *this;}
48
50
53 inline bool GetUnlimited() const{ return m_unlimited; }
54 inline bool UnlimitedHasBeenSet() const { return m_unlimitedHasBeenSet; }
55 inline void SetUnlimited(bool value) { m_unlimitedHasBeenSet = true; m_unlimited = value; }
56 inline RouteSpanSpeedLimitDetails& WithUnlimited(bool value) { SetUnlimited(value); return *this;}
58 private:
59
60 double m_maxSpeed;
61 bool m_maxSpeedHasBeenSet = false;
62
63 bool m_unlimited;
64 bool m_unlimitedHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace GeoRoutes
69} // namespace Aws
AWS_GEOROUTES_API RouteSpanSpeedLimitDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteSpanSpeedLimitDetails & WithMaxSpeed(double value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteSpanSpeedLimitDetails & WithUnlimited(bool value)
AWS_GEOROUTES_API RouteSpanSpeedLimitDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue