AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteEnterHighwayStepDetails.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 RouteEnterHighwayStepDetails() = default;
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 template<typename IntersectionT = Aws::Vector<LocalizedString>>
50 void SetIntersection(IntersectionT&& value) { m_intersectionHasBeenSet = true; m_intersection = std::forward<IntersectionT>(value); }
51 template<typename IntersectionT = Aws::Vector<LocalizedString>>
52 RouteEnterHighwayStepDetails& WithIntersection(IntersectionT&& value) { SetIntersection(std::forward<IntersectionT>(value)); return *this;}
53 template<typename IntersectionT = LocalizedString>
54 RouteEnterHighwayStepDetails& AddIntersection(IntersectionT&& value) { m_intersectionHasBeenSet = true; m_intersection.emplace_back(std::forward<IntersectionT>(value)); return *this; }
56
58
61 inline RouteSteeringDirection GetSteeringDirection() const { return m_steeringDirection; }
62 inline bool SteeringDirectionHasBeenSet() const { return m_steeringDirectionHasBeenSet; }
63 inline void SetSteeringDirection(RouteSteeringDirection value) { m_steeringDirectionHasBeenSet = true; m_steeringDirection = value; }
66
68
71 inline double GetTurnAngle() const { return m_turnAngle; }
72 inline bool TurnAngleHasBeenSet() const { return m_turnAngleHasBeenSet; }
73 inline void SetTurnAngle(double value) { m_turnAngleHasBeenSet = true; m_turnAngle = value; }
74 inline RouteEnterHighwayStepDetails& WithTurnAngle(double value) { SetTurnAngle(value); return *this;}
76
78
81 inline RouteTurnIntensity GetTurnIntensity() const { return m_turnIntensity; }
82 inline bool TurnIntensityHasBeenSet() const { return m_turnIntensityHasBeenSet; }
83 inline void SetTurnIntensity(RouteTurnIntensity value) { m_turnIntensityHasBeenSet = true; m_turnIntensity = value; }
86 private:
87
88 Aws::Vector<LocalizedString> m_intersection;
89 bool m_intersectionHasBeenSet = false;
90
92 bool m_steeringDirectionHasBeenSet = false;
93
94 double m_turnAngle{0.0};
95 bool m_turnAngleHasBeenSet = false;
96
98 bool m_turnIntensityHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace GeoRoutes
103} // namespace Aws
RouteEnterHighwayStepDetails & WithIntersection(IntersectionT &&value)
AWS_GEOROUTES_API RouteEnterHighwayStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< LocalizedString > & GetIntersection() const
AWS_GEOROUTES_API RouteEnterHighwayStepDetails()=default
RouteEnterHighwayStepDetails & WithTurnAngle(double value)
RouteEnterHighwayStepDetails & WithSteeringDirection(RouteSteeringDirection value)
RouteEnterHighwayStepDetails & AddIntersection(IntersectionT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteEnterHighwayStepDetails & WithTurnIntensity(RouteTurnIntensity value)
AWS_GEOROUTES_API RouteEnterHighwayStepDetails(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue