AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
RouteKeepStepDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/LocalizedString.h>
10#include <aws/geo-routes/model/RouteSteeringDirection.h>
11#include <aws/geo-routes/model/RouteTurnIntensity.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoRoutes {
23namespace Model {
24
31 public:
32 AWS_GEOROUTES_API RouteKeepStepDetails() = default;
35 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<LocalizedString>& GetIntersection() const { return m_intersection; }
42 inline bool IntersectionHasBeenSet() const { return m_intersectionHasBeenSet; }
43 template <typename IntersectionT = Aws::Vector<LocalizedString>>
44 void SetIntersection(IntersectionT&& value) {
45 m_intersectionHasBeenSet = true;
46 m_intersection = std::forward<IntersectionT>(value);
47 }
48 template <typename IntersectionT = Aws::Vector<LocalizedString>>
49 RouteKeepStepDetails& WithIntersection(IntersectionT&& value) {
50 SetIntersection(std::forward<IntersectionT>(value));
51 return *this;
52 }
53 template <typename IntersectionT = LocalizedString>
54 RouteKeepStepDetails& AddIntersection(IntersectionT&& value) {
55 m_intersectionHasBeenSet = true;
56 m_intersection.emplace_back(std::forward<IntersectionT>(value));
57 return *this;
58 }
60
62
65 inline RouteSteeringDirection GetSteeringDirection() const { return m_steeringDirection; }
66 inline bool SteeringDirectionHasBeenSet() const { return m_steeringDirectionHasBeenSet; }
68 m_steeringDirectionHasBeenSet = true;
69 m_steeringDirection = value;
70 }
73 return *this;
74 }
76
78
81 inline double GetTurnAngle() const { return m_turnAngle; }
82 inline bool TurnAngleHasBeenSet() const { return m_turnAngleHasBeenSet; }
83 inline void SetTurnAngle(double value) {
84 m_turnAngleHasBeenSet = true;
85 m_turnAngle = value;
86 }
87 inline RouteKeepStepDetails& WithTurnAngle(double value) {
88 SetTurnAngle(value);
89 return *this;
90 }
92
94
97 inline RouteTurnIntensity GetTurnIntensity() const { return m_turnIntensity; }
98 inline bool TurnIntensityHasBeenSet() const { return m_turnIntensityHasBeenSet; }
100 m_turnIntensityHasBeenSet = true;
101 m_turnIntensity = value;
102 }
104 SetTurnIntensity(value);
105 return *this;
106 }
108 private:
109 Aws::Vector<LocalizedString> m_intersection;
110
112
113 double m_turnAngle{0.0};
114
116 bool m_intersectionHasBeenSet = false;
117 bool m_steeringDirectionHasBeenSet = false;
118 bool m_turnAngleHasBeenSet = false;
119 bool m_turnIntensityHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace GeoRoutes
124} // namespace Aws
RouteKeepStepDetails & WithTurnAngle(double value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteKeepStepDetails & WithIntersection(IntersectionT &&value)
RouteKeepStepDetails & WithSteeringDirection(RouteSteeringDirection value)
AWS_GEOROUTES_API RouteKeepStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteKeepStepDetails & WithTurnIntensity(RouteTurnIntensity value)
RouteSteeringDirection GetSteeringDirection() const
void SetTurnIntensity(RouteTurnIntensity value)
RouteKeepStepDetails & AddIntersection(IntersectionT &&value)
AWS_GEOROUTES_API RouteKeepStepDetails()=default
const Aws::Vector< LocalizedString > & GetIntersection() const
void SetSteeringDirection(RouteSteeringDirection value)
AWS_GEOROUTES_API RouteKeepStepDetails(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue