AWS SDK for C++

AWS SDK for C++ Version 1.11.770

Loading...
Searching...
No Matches
RouteRoundaboutExitStepDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/LocalizedString.h>
10#include <aws/geo-routes/model/RouteSteeringDirection.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GeoRoutes {
22namespace Model {
23
30 public:
31 AWS_GEOROUTES_API RouteRoundaboutExitStepDetails() = default;
34 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<LocalizedString>& GetIntersection() const { return m_intersection; }
41 inline bool IntersectionHasBeenSet() const { return m_intersectionHasBeenSet; }
42 template <typename IntersectionT = Aws::Vector<LocalizedString>>
43 void SetIntersection(IntersectionT&& value) {
44 m_intersectionHasBeenSet = true;
45 m_intersection = std::forward<IntersectionT>(value);
46 }
47 template <typename IntersectionT = Aws::Vector<LocalizedString>>
49 SetIntersection(std::forward<IntersectionT>(value));
50 return *this;
51 }
52 template <typename IntersectionT = LocalizedString>
54 m_intersectionHasBeenSet = true;
55 m_intersection.emplace_back(std::forward<IntersectionT>(value));
56 return *this;
57 }
59
61
64 inline int GetRelativeExit() const { return m_relativeExit; }
65 inline bool RelativeExitHasBeenSet() const { return m_relativeExitHasBeenSet; }
66 inline void SetRelativeExit(int value) {
67 m_relativeExitHasBeenSet = true;
68 m_relativeExit = value;
69 }
71 SetRelativeExit(value);
72 return *this;
73 }
75
77
80 inline double GetRoundaboutAngle() const { return m_roundaboutAngle; }
81 inline bool RoundaboutAngleHasBeenSet() const { return m_roundaboutAngleHasBeenSet; }
82 inline void SetRoundaboutAngle(double value) {
83 m_roundaboutAngleHasBeenSet = true;
84 m_roundaboutAngle = value;
85 }
87 SetRoundaboutAngle(value);
88 return *this;
89 }
91
93
96 inline RouteSteeringDirection GetSteeringDirection() const { return m_steeringDirection; }
97 inline bool SteeringDirectionHasBeenSet() const { return m_steeringDirectionHasBeenSet; }
99 m_steeringDirectionHasBeenSet = true;
100 m_steeringDirection = value;
101 }
104 return *this;
105 }
107 private:
108 Aws::Vector<LocalizedString> m_intersection;
109
110 int m_relativeExit{0};
111
112 double m_roundaboutAngle{0.0};
113
115 bool m_intersectionHasBeenSet = false;
116 bool m_relativeExitHasBeenSet = false;
117 bool m_roundaboutAngleHasBeenSet = false;
118 bool m_steeringDirectionHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace GeoRoutes
123} // namespace Aws
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteRoundaboutExitStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteRoundaboutExitStepDetails()=default
const Aws::Vector< LocalizedString > & GetIntersection() const
AWS_GEOROUTES_API RouteRoundaboutExitStepDetails(Aws::Utils::Json::JsonView jsonValue)
RouteRoundaboutExitStepDetails & AddIntersection(IntersectionT &&value)
RouteRoundaboutExitStepDetails & WithRoundaboutAngle(double value)
RouteRoundaboutExitStepDetails & WithSteeringDirection(RouteSteeringDirection value)
RouteRoundaboutExitStepDetails & WithIntersection(IntersectionT &&value)
RouteRoundaboutExitStepDetails & WithRelativeExit(int value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue