AWS SDK for C++

AWS SDK for C++ Version 1.11.774

Loading...
Searching...
No Matches
RouteFerryTravelOnlySummary.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace GeoRoutes {
17namespace Model {
18
27 public:
28 AWS_GEOROUTES_API RouteFerryTravelOnlySummary() = default;
31 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
39 inline long long GetDuration() const { return m_duration; }
40 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
41 inline void SetDuration(long long value) {
42 m_durationHasBeenSet = true;
43 m_duration = value;
44 }
45 inline RouteFerryTravelOnlySummary& WithDuration(long long value) {
46 SetDuration(value);
47 return *this;
48 }
50 private:
51 long long m_duration{0};
52 bool m_durationHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace GeoRoutes
57} // namespace Aws
AWS_GEOROUTES_API RouteFerryTravelOnlySummary()=default
AWS_GEOROUTES_API RouteFerryTravelOnlySummary(Aws::Utils::Json::JsonView jsonValue)
RouteFerryTravelOnlySummary & WithDuration(long long value)
AWS_GEOROUTES_API RouteFerryTravelOnlySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue