AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteDestinationOptions.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 RouteDestinationOptions();
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 RouteDestinationOptions& 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 RouteDestinationOptions& 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 RouteDestinationOptions& 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 RouteDestinationOptions& WithMatching(const RouteMatchingOptions& value) { SetMatching(value); return *this;}
82 inline RouteDestinationOptions& 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); }
95 inline RouteDestinationOptions& WithSideOfStreet(RouteSideOfStreetOptions&& value) { SetSideOfStreet(std::move(value)); return *this;}
97
99
102 inline long long GetStopDuration() const{ return m_stopDuration; }
103 inline bool StopDurationHasBeenSet() const { return m_stopDurationHasBeenSet; }
104 inline void SetStopDuration(long long value) { m_stopDurationHasBeenSet = true; m_stopDuration = value; }
105 inline RouteDestinationOptions& WithStopDuration(long long value) { SetStopDuration(value); return *this;}
107 private:
108
109 long long m_avoidActionsForDistance;
110 bool m_avoidActionsForDistanceHasBeenSet = false;
111
112 bool m_avoidUTurns;
113 bool m_avoidUTurnsHasBeenSet = false;
114
115 double m_heading;
116 bool m_headingHasBeenSet = false;
117
118 RouteMatchingOptions m_matching;
119 bool m_matchingHasBeenSet = false;
120
121 RouteSideOfStreetOptions m_sideOfStreet;
122 bool m_sideOfStreetHasBeenSet = false;
123
124 long long m_stopDuration;
125 bool m_stopDurationHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace GeoRoutes
130} // namespace Aws
RouteDestinationOptions & WithAvoidUTurns(bool value)
RouteDestinationOptions & WithHeading(double value)
void SetMatching(const RouteMatchingOptions &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteDestinationOptions(Aws::Utils::Json::JsonView jsonValue)
const RouteSideOfStreetOptions & GetSideOfStreet() const
RouteDestinationOptions & WithMatching(const RouteMatchingOptions &value)
void SetSideOfStreet(const RouteSideOfStreetOptions &value)
RouteDestinationOptions & WithStopDuration(long long value)
RouteDestinationOptions & WithSideOfStreet(const RouteSideOfStreetOptions &value)
void SetSideOfStreet(RouteSideOfStreetOptions &&value)
RouteDestinationOptions & WithSideOfStreet(RouteSideOfStreetOptions &&value)
RouteDestinationOptions & WithAvoidActionsForDistance(long long value)
AWS_GEOROUTES_API RouteDestinationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouteMatchingOptions & GetMatching() const
RouteDestinationOptions & WithMatching(RouteMatchingOptions &&value)
Aws::Utils::Json::JsonValue JsonValue