AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteContinueHighwayStepDetails.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:
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); }
53 inline RouteContinueHighwayStepDetails& AddIntersection(const LocalizedString& value) { m_intersectionHasBeenSet = true; m_intersection.push_back(value); return *this; }
54 inline RouteContinueHighwayStepDetails& 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 RouteContinueHighwayStepDetails& 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); }
88 inline RouteContinueHighwayStepDetails& 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
RouteContinueHighwayStepDetails & WithTurnIntensity(RouteTurnIntensity &&value)
AWS_GEOROUTES_API RouteContinueHighwayStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteContinueHighwayStepDetails & WithIntersection(Aws::Vector< LocalizedString > &&value)
RouteContinueHighwayStepDetails & WithTurnIntensity(const RouteTurnIntensity &value)
AWS_GEOROUTES_API RouteContinueHighwayStepDetails(Aws::Utils::Json::JsonView jsonValue)
RouteContinueHighwayStepDetails & AddIntersection(LocalizedString &&value)
RouteContinueHighwayStepDetails & WithSteeringDirection(const RouteSteeringDirection &value)
RouteContinueHighwayStepDetails & WithTurnAngle(double value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteContinueHighwayStepDetails & AddIntersection(const LocalizedString &value)
RouteContinueHighwayStepDetails & WithIntersection(const Aws::Vector< LocalizedString > &value)
RouteContinueHighwayStepDetails & WithSteeringDirection(RouteSteeringDirection &&value)
void SetIntersection(const Aws::Vector< LocalizedString > &value)
const Aws::Vector< LocalizedString > & GetIntersection() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue