AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteVehicleOverviewSummary.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 RouteVehicleOverviewSummary();
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 RouteVehicleOverviewSummary& WithBestCaseDuration(long long value) { SetBestCaseDuration(value); return *this;}
49
51
54 inline long long GetDistance() const{ return m_distance; }
55 inline bool DistanceHasBeenSet() const { return m_distanceHasBeenSet; }
56 inline void SetDistance(long long value) { m_distanceHasBeenSet = true; m_distance = value; }
57 inline RouteVehicleOverviewSummary& WithDistance(long long value) { SetDistance(value); return *this;}
59
61
64 inline long long GetDuration() const{ return m_duration; }
65 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
66 inline void SetDuration(long long value) { m_durationHasBeenSet = true; m_duration = value; }
67 inline RouteVehicleOverviewSummary& WithDuration(long long value) { SetDuration(value); return *this;}
69
71
75 inline long long GetTypicalDuration() const{ return m_typicalDuration; }
76 inline bool TypicalDurationHasBeenSet() const { return m_typicalDurationHasBeenSet; }
77 inline void SetTypicalDuration(long long value) { m_typicalDurationHasBeenSet = true; m_typicalDuration = value; }
78 inline RouteVehicleOverviewSummary& WithTypicalDuration(long long value) { SetTypicalDuration(value); return *this;}
80 private:
81
82 long long m_bestCaseDuration;
83 bool m_bestCaseDurationHasBeenSet = false;
84
85 long long m_distance;
86 bool m_distanceHasBeenSet = false;
87
88 long long m_duration;
89 bool m_durationHasBeenSet = false;
90
91 long long m_typicalDuration;
92 bool m_typicalDurationHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace GeoRoutes
97} // namespace Aws
RouteVehicleOverviewSummary & WithTypicalDuration(long long value)
AWS_GEOROUTES_API RouteVehicleOverviewSummary(Aws::Utils::Json::JsonView jsonValue)
RouteVehicleOverviewSummary & WithBestCaseDuration(long long value)
RouteVehicleOverviewSummary & WithDuration(long long value)
AWS_GEOROUTES_API RouteVehicleOverviewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteVehicleOverviewSummary & WithDistance(long long value)
Aws::Utils::Json::JsonValue JsonValue