AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteVehicleSummary.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteVehicleOverviewSummary.h>
9#include <aws/geo-routes/model/RouteVehicleTravelOnlySummary.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
33 {
34 public:
35 AWS_GEOROUTES_API RouteVehicleSummary();
36 AWS_GEOROUTES_API RouteVehicleSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const RouteVehicleOverviewSummary& GetOverview() const{ return m_overview; }
47 inline bool OverviewHasBeenSet() const { return m_overviewHasBeenSet; }
48 inline void SetOverview(const RouteVehicleOverviewSummary& value) { m_overviewHasBeenSet = true; m_overview = value; }
49 inline void SetOverview(RouteVehicleOverviewSummary&& value) { m_overviewHasBeenSet = true; m_overview = std::move(value); }
50 inline RouteVehicleSummary& WithOverview(const RouteVehicleOverviewSummary& value) { SetOverview(value); return *this;}
51 inline RouteVehicleSummary& WithOverview(RouteVehicleOverviewSummary&& value) { SetOverview(std::move(value)); return *this;}
53
55
59 inline const RouteVehicleTravelOnlySummary& GetTravelOnly() const{ return m_travelOnly; }
60 inline bool TravelOnlyHasBeenSet() const { return m_travelOnlyHasBeenSet; }
61 inline void SetTravelOnly(const RouteVehicleTravelOnlySummary& value) { m_travelOnlyHasBeenSet = true; m_travelOnly = value; }
62 inline void SetTravelOnly(RouteVehicleTravelOnlySummary&& value) { m_travelOnlyHasBeenSet = true; m_travelOnly = std::move(value); }
64 inline RouteVehicleSummary& WithTravelOnly(RouteVehicleTravelOnlySummary&& value) { SetTravelOnly(std::move(value)); return *this;}
66 private:
67
69 bool m_overviewHasBeenSet = false;
70
72 bool m_travelOnlyHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace GeoRoutes
77} // namespace Aws
void SetOverview(RouteVehicleOverviewSummary &&value)
const RouteVehicleOverviewSummary & GetOverview() const
RouteVehicleSummary & WithTravelOnly(const RouteVehicleTravelOnlySummary &value)
AWS_GEOROUTES_API RouteVehicleSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const RouteVehicleTravelOnlySummary & GetTravelOnly() const
void SetTravelOnly(RouteVehicleTravelOnlySummary &&value)
RouteVehicleSummary & WithTravelOnly(RouteVehicleTravelOnlySummary &&value)
void SetTravelOnly(const RouteVehicleTravelOnlySummary &value)
RouteVehicleSummary & WithOverview(const RouteVehicleOverviewSummary &value)
AWS_GEOROUTES_API RouteVehicleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteVehicleSummary & WithOverview(RouteVehicleOverviewSummary &&value)
void SetOverview(const RouteVehicleOverviewSummary &value)
Aws::Utils::Json::JsonValue JsonValue