AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteExitStepDetails.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/model/RouteSteeringDirection.h>
10#include <aws/geo-routes/model/RouteTurnIntensity.h>
11#include <aws/geo-routes/model/LocalizedString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GeoRoutes
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_GEOROUTES_API RouteExitStepDetails() = default;
40 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<LocalizedString>& GetIntersection() const { return m_intersection; }
48 inline bool IntersectionHasBeenSet() const { return m_intersectionHasBeenSet; }
49 template<typename IntersectionT = Aws::Vector<LocalizedString>>
50 void SetIntersection(IntersectionT&& value) { m_intersectionHasBeenSet = true; m_intersection = std::forward<IntersectionT>(value); }
51 template<typename IntersectionT = Aws::Vector<LocalizedString>>
52 RouteExitStepDetails& WithIntersection(IntersectionT&& value) { SetIntersection(std::forward<IntersectionT>(value)); return *this;}
53 template<typename IntersectionT = LocalizedString>
54 RouteExitStepDetails& AddIntersection(IntersectionT&& value) { m_intersectionHasBeenSet = true; m_intersection.emplace_back(std::forward<IntersectionT>(value)); return *this; }
56
58
61 inline int GetRelativeExit() const { return m_relativeExit; }
62 inline bool RelativeExitHasBeenSet() const { return m_relativeExitHasBeenSet; }
63 inline void SetRelativeExit(int value) { m_relativeExitHasBeenSet = true; m_relativeExit = value; }
64 inline RouteExitStepDetails& WithRelativeExit(int value) { SetRelativeExit(value); return *this;}
66
68
71 inline RouteSteeringDirection GetSteeringDirection() const { return m_steeringDirection; }
72 inline bool SteeringDirectionHasBeenSet() const { return m_steeringDirectionHasBeenSet; }
73 inline void SetSteeringDirection(RouteSteeringDirection value) { m_steeringDirectionHasBeenSet = true; m_steeringDirection = value; }
76
78
81 inline double GetTurnAngle() const { return m_turnAngle; }
82 inline bool TurnAngleHasBeenSet() const { return m_turnAngleHasBeenSet; }
83 inline void SetTurnAngle(double value) { m_turnAngleHasBeenSet = true; m_turnAngle = value; }
84 inline RouteExitStepDetails& WithTurnAngle(double value) { SetTurnAngle(value); return *this;}
86
88
91 inline RouteTurnIntensity GetTurnIntensity() const { return m_turnIntensity; }
92 inline bool TurnIntensityHasBeenSet() const { return m_turnIntensityHasBeenSet; }
93 inline void SetTurnIntensity(RouteTurnIntensity value) { m_turnIntensityHasBeenSet = true; m_turnIntensity = value; }
96 private:
97
98 Aws::Vector<LocalizedString> m_intersection;
99 bool m_intersectionHasBeenSet = false;
100
101 int m_relativeExit{0};
102 bool m_relativeExitHasBeenSet = false;
103
105 bool m_steeringDirectionHasBeenSet = false;
106
107 double m_turnAngle{0.0};
108 bool m_turnAngleHasBeenSet = false;
109
111 bool m_turnIntensityHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace GeoRoutes
116} // namespace Aws
RouteExitStepDetails & WithIntersection(IntersectionT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteExitStepDetails & WithRelativeExit(int value)
RouteExitStepDetails & WithTurnAngle(double value)
AWS_GEOROUTES_API RouteExitStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSteeringDirection(RouteSteeringDirection value)
void SetTurnIntensity(RouteTurnIntensity value)
RouteSteeringDirection GetSteeringDirection() const
RouteExitStepDetails & AddIntersection(IntersectionT &&value)
RouteExitStepDetails & WithTurnIntensity(RouteTurnIntensity value)
AWS_GEOROUTES_API RouteExitStepDetails(Aws::Utils::Json::JsonView jsonValue)
RouteExitStepDetails & WithSteeringDirection(RouteSteeringDirection value)
const Aws::Vector< LocalizedString > & GetIntersection() const
AWS_GEOROUTES_API RouteExitStepDetails()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue