AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteRoundaboutExitStepDetails.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/LocalizedString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GeoRoutes
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GEOROUTES_API RouteRoundaboutExitStepDetails() = default;
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<LocalizedString>& GetIntersection() const { return m_intersection; }
47 inline bool IntersectionHasBeenSet() const { return m_intersectionHasBeenSet; }
48 template<typename IntersectionT = Aws::Vector<LocalizedString>>
49 void SetIntersection(IntersectionT&& value) { m_intersectionHasBeenSet = true; m_intersection = std::forward<IntersectionT>(value); }
50 template<typename IntersectionT = Aws::Vector<LocalizedString>>
51 RouteRoundaboutExitStepDetails& WithIntersection(IntersectionT&& value) { SetIntersection(std::forward<IntersectionT>(value)); return *this;}
52 template<typename IntersectionT = LocalizedString>
53 RouteRoundaboutExitStepDetails& AddIntersection(IntersectionT&& value) { m_intersectionHasBeenSet = true; m_intersection.emplace_back(std::forward<IntersectionT>(value)); return *this; }
55
57
60 inline int GetRelativeExit() const { return m_relativeExit; }
61 inline bool RelativeExitHasBeenSet() const { return m_relativeExitHasBeenSet; }
62 inline void SetRelativeExit(int value) { m_relativeExitHasBeenSet = true; m_relativeExit = value; }
63 inline RouteRoundaboutExitStepDetails& WithRelativeExit(int value) { SetRelativeExit(value); return *this;}
65
67
70 inline double GetRoundaboutAngle() const { return m_roundaboutAngle; }
71 inline bool RoundaboutAngleHasBeenSet() const { return m_roundaboutAngleHasBeenSet; }
72 inline void SetRoundaboutAngle(double value) { m_roundaboutAngleHasBeenSet = true; m_roundaboutAngle = value; }
73 inline RouteRoundaboutExitStepDetails& WithRoundaboutAngle(double value) { SetRoundaboutAngle(value); return *this;}
75
77
80 inline RouteSteeringDirection GetSteeringDirection() const { return m_steeringDirection; }
81 inline bool SteeringDirectionHasBeenSet() const { return m_steeringDirectionHasBeenSet; }
82 inline void SetSteeringDirection(RouteSteeringDirection value) { m_steeringDirectionHasBeenSet = true; m_steeringDirection = value; }
85 private:
86
87 Aws::Vector<LocalizedString> m_intersection;
88 bool m_intersectionHasBeenSet = false;
89
90 int m_relativeExit{0};
91 bool m_relativeExitHasBeenSet = false;
92
93 double m_roundaboutAngle{0.0};
94 bool m_roundaboutAngleHasBeenSet = false;
95
97 bool m_steeringDirectionHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace GeoRoutes
102} // 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