AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteVehicleTravelOnlySummary.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
30 {
31 public:
32 AWS_GEOROUTES_API RouteVehicleTravelOnlySummary();
35 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
44 inline long long GetBestCaseDuration() const{ return m_bestCaseDuration; }
45 inline bool BestCaseDurationHasBeenSet() const { return m_bestCaseDurationHasBeenSet; }
46 inline void SetBestCaseDuration(long long value) { m_bestCaseDurationHasBeenSet = true; m_bestCaseDuration = value; }
47 inline RouteVehicleTravelOnlySummary& WithBestCaseDuration(long long value) { SetBestCaseDuration(value); return *this;}
49
51
54 inline long long GetDuration() const{ return m_duration; }
55 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
56 inline void SetDuration(long long value) { m_durationHasBeenSet = true; m_duration = value; }
57 inline RouteVehicleTravelOnlySummary& WithDuration(long long value) { SetDuration(value); return *this;}
59
61
65 inline long long GetTypicalDuration() const{ return m_typicalDuration; }
66 inline bool TypicalDurationHasBeenSet() const { return m_typicalDurationHasBeenSet; }
67 inline void SetTypicalDuration(long long value) { m_typicalDurationHasBeenSet = true; m_typicalDuration = value; }
68 inline RouteVehicleTravelOnlySummary& WithTypicalDuration(long long value) { SetTypicalDuration(value); return *this;}
70 private:
71
72 long long m_bestCaseDuration;
73 bool m_bestCaseDurationHasBeenSet = false;
74
75 long long m_duration;
76 bool m_durationHasBeenSet = false;
77
78 long long m_typicalDuration;
79 bool m_typicalDurationHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace GeoRoutes
84} // namespace Aws
RouteVehicleTravelOnlySummary & WithBestCaseDuration(long long value)
AWS_GEOROUTES_API RouteVehicleTravelOnlySummary(Aws::Utils::Json::JsonView jsonValue)
RouteVehicleTravelOnlySummary & WithDuration(long long value)
AWS_GEOROUTES_API RouteVehicleTravelOnlySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteVehicleTravelOnlySummary & WithTypicalDuration(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue