AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIntersection(const Aws::Vector<LocalizedString>& value) { m_intersectionHasBeenSet = true; m_intersection = value; }
50 inline void SetIntersection(Aws::Vector<LocalizedString>&& value) { m_intersectionHasBeenSet = true; m_intersection = std::move(value); }
52 inline RouteExitStepDetails& WithIntersection(Aws::Vector<LocalizedString>&& value) { SetIntersection(std::move(value)); return *this;}
53 inline RouteExitStepDetails& AddIntersection(const LocalizedString& value) { m_intersectionHasBeenSet = true; m_intersection.push_back(value); return *this; }
54 inline RouteExitStepDetails& AddIntersection(LocalizedString&& value) { m_intersectionHasBeenSet = true; m_intersection.push_back(std::move(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 const RouteSteeringDirection& GetSteeringDirection() const{ return m_steeringDirection; }
72 inline bool SteeringDirectionHasBeenSet() const { return m_steeringDirectionHasBeenSet; }
73 inline void SetSteeringDirection(const RouteSteeringDirection& value) { m_steeringDirectionHasBeenSet = true; m_steeringDirection = value; }
74 inline void SetSteeringDirection(RouteSteeringDirection&& value) { m_steeringDirectionHasBeenSet = true; m_steeringDirection = std::move(value); }
78
80
83 inline double GetTurnAngle() const{ return m_turnAngle; }
84 inline bool TurnAngleHasBeenSet() const { return m_turnAngleHasBeenSet; }
85 inline void SetTurnAngle(double value) { m_turnAngleHasBeenSet = true; m_turnAngle = value; }
86 inline RouteExitStepDetails& WithTurnAngle(double value) { SetTurnAngle(value); return *this;}
88
90
93 inline const RouteTurnIntensity& GetTurnIntensity() const{ return m_turnIntensity; }
94 inline bool TurnIntensityHasBeenSet() const { return m_turnIntensityHasBeenSet; }
95 inline void SetTurnIntensity(const RouteTurnIntensity& value) { m_turnIntensityHasBeenSet = true; m_turnIntensity = value; }
96 inline void SetTurnIntensity(RouteTurnIntensity&& value) { m_turnIntensityHasBeenSet = true; m_turnIntensity = std::move(value); }
97 inline RouteExitStepDetails& WithTurnIntensity(const RouteTurnIntensity& value) { SetTurnIntensity(value); return *this;}
98 inline RouteExitStepDetails& WithTurnIntensity(RouteTurnIntensity&& value) { SetTurnIntensity(std::move(value)); return *this;}
100 private:
101
102 Aws::Vector<LocalizedString> m_intersection;
103 bool m_intersectionHasBeenSet = false;
104
105 int m_relativeExit;
106 bool m_relativeExitHasBeenSet = false;
107
108 RouteSteeringDirection m_steeringDirection;
109 bool m_steeringDirectionHasBeenSet = false;
110
111 double m_turnAngle;
112 bool m_turnAngleHasBeenSet = false;
113
114 RouteTurnIntensity m_turnIntensity;
115 bool m_turnIntensityHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace GeoRoutes
120} // namespace Aws
void SetIntersection(const Aws::Vector< LocalizedString > &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteExitStepDetails & WithRelativeExit(int value)
RouteExitStepDetails & WithIntersection(Aws::Vector< LocalizedString > &&value)
RouteExitStepDetails & WithTurnAngle(double value)
RouteExitStepDetails & WithSteeringDirection(const RouteSteeringDirection &value)
AWS_GEOROUTES_API RouteExitStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteExitStepDetails & WithTurnIntensity(RouteTurnIntensity &&value)
RouteExitStepDetails & AddIntersection(const LocalizedString &value)
RouteExitStepDetails & WithTurnIntensity(const RouteTurnIntensity &value)
void SetSteeringDirection(RouteSteeringDirection &&value)
AWS_GEOROUTES_API RouteExitStepDetails(Aws::Utils::Json::JsonView jsonValue)
void SetIntersection(Aws::Vector< LocalizedString > &&value)
const RouteSteeringDirection & GetSteeringDirection() const
const Aws::Vector< LocalizedString > & GetIntersection() const
RouteExitStepDetails & WithSteeringDirection(RouteSteeringDirection &&value)
RouteExitStepDetails & WithIntersection(const Aws::Vector< LocalizedString > &value)
RouteExitStepDetails & AddIntersection(LocalizedString &&value)
void SetSteeringDirection(const RouteSteeringDirection &value)
const RouteTurnIntensity & GetTurnIntensity() const
void SetTurnIntensity(RouteTurnIntensity &&value)
void SetTurnIntensity(const RouteTurnIntensity &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue