AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoutePedestrianSummary.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RoutePedestrianOverviewSummary.h>
9#include <aws/geo-routes/model/RoutePedestrianTravelOnlySummary.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
34 {
35 public:
36 AWS_GEOROUTES_API RoutePedestrianSummary();
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const RoutePedestrianOverviewSummary& GetOverview() const{ return m_overview; }
48 inline bool OverviewHasBeenSet() const { return m_overviewHasBeenSet; }
49 inline void SetOverview(const RoutePedestrianOverviewSummary& value) { m_overviewHasBeenSet = true; m_overview = value; }
50 inline void SetOverview(RoutePedestrianOverviewSummary&& value) { m_overviewHasBeenSet = true; m_overview = std::move(value); }
52 inline RoutePedestrianSummary& WithOverview(RoutePedestrianOverviewSummary&& value) { SetOverview(std::move(value)); return *this;}
54
56
60 inline const RoutePedestrianTravelOnlySummary& GetTravelOnly() const{ return m_travelOnly; }
61 inline bool TravelOnlyHasBeenSet() const { return m_travelOnlyHasBeenSet; }
62 inline void SetTravelOnly(const RoutePedestrianTravelOnlySummary& value) { m_travelOnlyHasBeenSet = true; m_travelOnly = value; }
63 inline void SetTravelOnly(RoutePedestrianTravelOnlySummary&& value) { m_travelOnlyHasBeenSet = true; m_travelOnly = std::move(value); }
65 inline RoutePedestrianSummary& WithTravelOnly(RoutePedestrianTravelOnlySummary&& value) { SetTravelOnly(std::move(value)); return *this;}
67 private:
68
70 bool m_overviewHasBeenSet = false;
71
73 bool m_travelOnlyHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GeoRoutes
78} // namespace Aws
RoutePedestrianSummary & WithTravelOnly(RoutePedestrianTravelOnlySummary &&value)
AWS_GEOROUTES_API RoutePedestrianSummary(Aws::Utils::Json::JsonView jsonValue)
void SetTravelOnly(RoutePedestrianTravelOnlySummary &&value)
void SetTravelOnly(const RoutePedestrianTravelOnlySummary &value)
RoutePedestrianSummary & WithOverview(const RoutePedestrianOverviewSummary &value)
const RoutePedestrianOverviewSummary & GetOverview() const
const RoutePedestrianTravelOnlySummary & GetTravelOnly() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOverview(RoutePedestrianOverviewSummary &&value)
void SetOverview(const RoutePedestrianOverviewSummary &value)
RoutePedestrianSummary & WithOverview(RoutePedestrianOverviewSummary &&value)
AWS_GEOROUTES_API RoutePedestrianSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutePedestrianSummary & WithTravelOnly(const RoutePedestrianTravelOnlySummary &value)
Aws::Utils::Json::JsonValue JsonValue