AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteFerrySummary.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteFerryOverviewSummary.h>
9#include <aws/geo-routes/model/RouteFerryTravelOnlySummary.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoRoutes
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_GEOROUTES_API RouteFerrySummary();
38 AWS_GEOROUTES_API RouteFerrySummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const RouteFerryOverviewSummary& GetOverview() const{ return m_overview; }
49 inline bool OverviewHasBeenSet() const { return m_overviewHasBeenSet; }
50 inline void SetOverview(const RouteFerryOverviewSummary& value) { m_overviewHasBeenSet = true; m_overview = value; }
51 inline void SetOverview(RouteFerryOverviewSummary&& value) { m_overviewHasBeenSet = true; m_overview = std::move(value); }
52 inline RouteFerrySummary& WithOverview(const RouteFerryOverviewSummary& value) { SetOverview(value); return *this;}
53 inline RouteFerrySummary& WithOverview(RouteFerryOverviewSummary&& value) { SetOverview(std::move(value)); return *this;}
55
57
61 inline const RouteFerryTravelOnlySummary& GetTravelOnly() const{ return m_travelOnly; }
62 inline bool TravelOnlyHasBeenSet() const { return m_travelOnlyHasBeenSet; }
63 inline void SetTravelOnly(const RouteFerryTravelOnlySummary& value) { m_travelOnlyHasBeenSet = true; m_travelOnly = value; }
64 inline void SetTravelOnly(RouteFerryTravelOnlySummary&& value) { m_travelOnlyHasBeenSet = true; m_travelOnly = std::move(value); }
65 inline RouteFerrySummary& WithTravelOnly(const RouteFerryTravelOnlySummary& value) { SetTravelOnly(value); return *this;}
66 inline RouteFerrySummary& WithTravelOnly(RouteFerryTravelOnlySummary&& value) { SetTravelOnly(std::move(value)); return *this;}
68 private:
69
71 bool m_overviewHasBeenSet = false;
72
73 RouteFerryTravelOnlySummary m_travelOnly;
74 bool m_travelOnlyHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GeoRoutes
79} // namespace Aws
AWS_GEOROUTES_API RouteFerrySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteFerrySummary(Aws::Utils::Json::JsonView jsonValue)
const RouteFerryOverviewSummary & GetOverview() const
RouteFerrySummary & WithOverview(const RouteFerryOverviewSummary &value)
void SetOverview(const RouteFerryOverviewSummary &value)
void SetTravelOnly(const RouteFerryTravelOnlySummary &value)
void SetTravelOnly(RouteFerryTravelOnlySummary &&value)
RouteFerrySummary & WithTravelOnly(RouteFerryTravelOnlySummary &&value)
const RouteFerryTravelOnlySummary & GetTravelOnly() const
void SetOverview(RouteFerryOverviewSummary &&value)
RouteFerrySummary & WithTravelOnly(const RouteFerryTravelOnlySummary &value)
RouteFerrySummary & WithOverview(RouteFerryOverviewSummary &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue