AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIntersection(const Aws::Vector<LocalizedString>& value) { m_intersectionHasBeenSet = true; m_intersection = value; }
49 inline void SetIntersection(Aws::Vector<LocalizedString>&& value) { m_intersectionHasBeenSet = true; m_intersection = std::move(value); }
52 inline RouteRoundaboutExitStepDetails& AddIntersection(const LocalizedString& value) { m_intersectionHasBeenSet = true; m_intersection.push_back(value); return *this; }
53 inline RouteRoundaboutExitStepDetails& AddIntersection(LocalizedString&& value) { m_intersectionHasBeenSet = true; m_intersection.push_back(std::move(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 const RouteSteeringDirection& GetSteeringDirection() const{ return m_steeringDirection; }
81 inline bool SteeringDirectionHasBeenSet() const { return m_steeringDirectionHasBeenSet; }
82 inline void SetSteeringDirection(const RouteSteeringDirection& value) { m_steeringDirectionHasBeenSet = true; m_steeringDirection = value; }
83 inline void SetSteeringDirection(RouteSteeringDirection&& value) { m_steeringDirectionHasBeenSet = true; m_steeringDirection = std::move(value); }
87 private:
88
89 Aws::Vector<LocalizedString> m_intersection;
90 bool m_intersectionHasBeenSet = false;
91
92 int m_relativeExit;
93 bool m_relativeExitHasBeenSet = false;
94
95 double m_roundaboutAngle;
96 bool m_roundaboutAngleHasBeenSet = false;
97
98 RouteSteeringDirection m_steeringDirection;
99 bool m_steeringDirectionHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace GeoRoutes
104} // namespace Aws
RouteRoundaboutExitStepDetails & WithSteeringDirection(const RouteSteeringDirection &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteRoundaboutExitStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< LocalizedString > & GetIntersection() const
AWS_GEOROUTES_API RouteRoundaboutExitStepDetails(Aws::Utils::Json::JsonView jsonValue)
RouteRoundaboutExitStepDetails & WithIntersection(const Aws::Vector< LocalizedString > &value)
RouteRoundaboutExitStepDetails & WithRoundaboutAngle(double value)
RouteRoundaboutExitStepDetails & WithIntersection(Aws::Vector< LocalizedString > &&value)
void SetIntersection(const Aws::Vector< LocalizedString > &value)
RouteRoundaboutExitStepDetails & WithSteeringDirection(RouteSteeringDirection &&value)
void SetIntersection(Aws::Vector< LocalizedString > &&value)
RouteRoundaboutExitStepDetails & AddIntersection(LocalizedString &&value)
RouteRoundaboutExitStepDetails & AddIntersection(const LocalizedString &value)
RouteRoundaboutExitStepDetails & WithRelativeExit(int value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue