AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteFerryOverviewSummary.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 RouteFerryOverviewSummary();
35 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline long long GetDistance() const{ return m_distance; }
43 inline bool DistanceHasBeenSet() const { return m_distanceHasBeenSet; }
44 inline void SetDistance(long long value) { m_distanceHasBeenSet = true; m_distance = value; }
45 inline RouteFerryOverviewSummary& WithDistance(long long value) { SetDistance(value); return *this;}
47
49
52 inline long long GetDuration() const{ return m_duration; }
53 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
54 inline void SetDuration(long long value) { m_durationHasBeenSet = true; m_duration = value; }
55 inline RouteFerryOverviewSummary& WithDuration(long long value) { SetDuration(value); return *this;}
57 private:
58
59 long long m_distance;
60 bool m_distanceHasBeenSet = false;
61
62 long long m_duration;
63 bool m_durationHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace GeoRoutes
68} // namespace Aws
RouteFerryOverviewSummary & WithDistance(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteFerryOverviewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteFerryOverviewSummary(Aws::Utils::Json::JsonView jsonValue)
RouteFerryOverviewSummary & WithDuration(long long value)
Aws::Utils::Json::JsonValue JsonValue