AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteOriginOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteMatchingOptions.h>
9#include <aws/geo-routes/model/RouteSideOfStreetOptions.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoRoutes
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GEOROUTES_API RouteOriginOptions();
36 AWS_GEOROUTES_API RouteOriginOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline long long GetAvoidActionsForDistance() const{ return m_avoidActionsForDistance; }
48 inline bool AvoidActionsForDistanceHasBeenSet() const { return m_avoidActionsForDistanceHasBeenSet; }
49 inline void SetAvoidActionsForDistance(long long value) { m_avoidActionsForDistanceHasBeenSet = true; m_avoidActionsForDistance = value; }
50 inline RouteOriginOptions& WithAvoidActionsForDistance(long long value) { SetAvoidActionsForDistance(value); return *this;}
52
54
57 inline bool GetAvoidUTurns() const{ return m_avoidUTurns; }
58 inline bool AvoidUTurnsHasBeenSet() const { return m_avoidUTurnsHasBeenSet; }
59 inline void SetAvoidUTurns(bool value) { m_avoidUTurnsHasBeenSet = true; m_avoidUTurns = value; }
60 inline RouteOriginOptions& WithAvoidUTurns(bool value) { SetAvoidUTurns(value); return *this;}
62
64
67 inline double GetHeading() const{ return m_heading; }
68 inline bool HeadingHasBeenSet() const { return m_headingHasBeenSet; }
69 inline void SetHeading(double value) { m_headingHasBeenSet = true; m_heading = value; }
70 inline RouteOriginOptions& WithHeading(double value) { SetHeading(value); return *this;}
72
74
77 inline const RouteMatchingOptions& GetMatching() const{ return m_matching; }
78 inline bool MatchingHasBeenSet() const { return m_matchingHasBeenSet; }
79 inline void SetMatching(const RouteMatchingOptions& value) { m_matchingHasBeenSet = true; m_matching = value; }
80 inline void SetMatching(RouteMatchingOptions&& value) { m_matchingHasBeenSet = true; m_matching = std::move(value); }
81 inline RouteOriginOptions& WithMatching(const RouteMatchingOptions& value) { SetMatching(value); return *this;}
82 inline RouteOriginOptions& WithMatching(RouteMatchingOptions&& value) { SetMatching(std::move(value)); return *this;}
84
86
90 inline const RouteSideOfStreetOptions& GetSideOfStreet() const{ return m_sideOfStreet; }
91 inline bool SideOfStreetHasBeenSet() const { return m_sideOfStreetHasBeenSet; }
92 inline void SetSideOfStreet(const RouteSideOfStreetOptions& value) { m_sideOfStreetHasBeenSet = true; m_sideOfStreet = value; }
93 inline void SetSideOfStreet(RouteSideOfStreetOptions&& value) { m_sideOfStreetHasBeenSet = true; m_sideOfStreet = std::move(value); }
94 inline RouteOriginOptions& WithSideOfStreet(const RouteSideOfStreetOptions& value) { SetSideOfStreet(value); return *this;}
95 inline RouteOriginOptions& WithSideOfStreet(RouteSideOfStreetOptions&& value) { SetSideOfStreet(std::move(value)); return *this;}
97 private:
98
99 long long m_avoidActionsForDistance;
100 bool m_avoidActionsForDistanceHasBeenSet = false;
101
102 bool m_avoidUTurns;
103 bool m_avoidUTurnsHasBeenSet = false;
104
105 double m_heading;
106 bool m_headingHasBeenSet = false;
107
108 RouteMatchingOptions m_matching;
109 bool m_matchingHasBeenSet = false;
110
111 RouteSideOfStreetOptions m_sideOfStreet;
112 bool m_sideOfStreetHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace GeoRoutes
117} // namespace Aws
const RouteMatchingOptions & GetMatching() const
AWS_GEOROUTES_API RouteOriginOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMatching(RouteMatchingOptions &&value)
const RouteSideOfStreetOptions & GetSideOfStreet() const
void SetSideOfStreet(const RouteSideOfStreetOptions &value)
RouteOriginOptions & WithAvoidUTurns(bool value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteOriginOptions & WithMatching(RouteMatchingOptions &&value)
RouteOriginOptions & WithSideOfStreet(RouteSideOfStreetOptions &&value)
void SetMatching(const RouteMatchingOptions &value)
RouteOriginOptions & WithSideOfStreet(const RouteSideOfStreetOptions &value)
RouteOriginOptions & WithAvoidActionsForDistance(long long value)
AWS_GEOROUTES_API RouteOriginOptions(Aws::Utils::Json::JsonView jsonValue)
RouteOriginOptions & WithMatching(const RouteMatchingOptions &value)
RouteOriginOptions & WithHeading(double value)
void SetSideOfStreet(RouteSideOfStreetOptions &&value)
Aws::Utils::Json::JsonValue JsonValue