AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteRampStepDetails.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 RouteRampStepDetails();
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 RouteRampStepDetails& WithIntersection(Aws::Vector<LocalizedString>&& value) { SetIntersection(std::move(value)); return *this;}
53 inline RouteRampStepDetails& AddIntersection(const LocalizedString& value) { m_intersectionHasBeenSet = true; m_intersection.push_back(value); return *this; }
54 inline RouteRampStepDetails& AddIntersection(LocalizedString&& value) { m_intersectionHasBeenSet = true; m_intersection.push_back(std::move(value)); return *this; }
56
58
61 inline const RouteSteeringDirection& GetSteeringDirection() const{ return m_steeringDirection; }
62 inline bool SteeringDirectionHasBeenSet() const { return m_steeringDirectionHasBeenSet; }
63 inline void SetSteeringDirection(const RouteSteeringDirection& value) { m_steeringDirectionHasBeenSet = true; m_steeringDirection = value; }
64 inline void SetSteeringDirection(RouteSteeringDirection&& value) { m_steeringDirectionHasBeenSet = true; m_steeringDirection = std::move(value); }
68
70
73 inline double GetTurnAngle() const{ return m_turnAngle; }
74 inline bool TurnAngleHasBeenSet() const { return m_turnAngleHasBeenSet; }
75 inline void SetTurnAngle(double value) { m_turnAngleHasBeenSet = true; m_turnAngle = value; }
76 inline RouteRampStepDetails& WithTurnAngle(double value) { SetTurnAngle(value); return *this;}
78
80
83 inline const RouteTurnIntensity& GetTurnIntensity() const{ return m_turnIntensity; }
84 inline bool TurnIntensityHasBeenSet() const { return m_turnIntensityHasBeenSet; }
85 inline void SetTurnIntensity(const RouteTurnIntensity& value) { m_turnIntensityHasBeenSet = true; m_turnIntensity = value; }
86 inline void SetTurnIntensity(RouteTurnIntensity&& value) { m_turnIntensityHasBeenSet = true; m_turnIntensity = std::move(value); }
87 inline RouteRampStepDetails& WithTurnIntensity(const RouteTurnIntensity& value) { SetTurnIntensity(value); return *this;}
88 inline RouteRampStepDetails& WithTurnIntensity(RouteTurnIntensity&& value) { SetTurnIntensity(std::move(value)); return *this;}
90 private:
91
92 Aws::Vector<LocalizedString> m_intersection;
93 bool m_intersectionHasBeenSet = false;
94
95 RouteSteeringDirection m_steeringDirection;
96 bool m_steeringDirectionHasBeenSet = false;
97
98 double m_turnAngle;
99 bool m_turnAngleHasBeenSet = false;
100
101 RouteTurnIntensity m_turnIntensity;
102 bool m_turnIntensityHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace GeoRoutes
107} // namespace Aws
const RouteTurnIntensity & GetTurnIntensity() const
RouteRampStepDetails & WithTurnIntensity(RouteTurnIntensity &&value)
AWS_GEOROUTES_API RouteRampStepDetails(Aws::Utils::Json::JsonView jsonValue)
RouteRampStepDetails & WithSteeringDirection(const RouteSteeringDirection &value)
RouteRampStepDetails & AddIntersection(const LocalizedString &value)
RouteRampStepDetails & WithIntersection(Aws::Vector< LocalizedString > &&value)
RouteRampStepDetails & AddIntersection(LocalizedString &&value)
void SetSteeringDirection(const RouteSteeringDirection &value)
AWS_GEOROUTES_API RouteRampStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIntersection(const Aws::Vector< LocalizedString > &value)
void SetSteeringDirection(RouteSteeringDirection &&value)
void SetTurnIntensity(RouteTurnIntensity &&value)
RouteRampStepDetails & WithTurnAngle(double value)
RouteRampStepDetails & WithTurnIntensity(const RouteTurnIntensity &value)
const RouteSteeringDirection & GetSteeringDirection() const
RouteRampStepDetails & WithIntersection(const Aws::Vector< LocalizedString > &value)
void SetTurnIntensity(const RouteTurnIntensity &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteRampStepDetails & WithSteeringDirection(RouteSteeringDirection &&value)
void SetIntersection(Aws::Vector< LocalizedString > &&value)
const Aws::Vector< LocalizedString > & GetIntersection() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue