AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteMatrixOriginOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteMatrixMatchingOptions.h>
9#include <aws/geo-routes/model/RouteMatrixSideOfStreetOptions.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 RouteMatrixOriginOptions();
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; }
52
54
57 inline double GetHeading() const{ return m_heading; }
58 inline bool HeadingHasBeenSet() const { return m_headingHasBeenSet; }
59 inline void SetHeading(double value) { m_headingHasBeenSet = true; m_heading = value; }
60 inline RouteMatrixOriginOptions& WithHeading(double value) { SetHeading(value); return *this;}
62
64
67 inline const RouteMatrixMatchingOptions& GetMatching() const{ return m_matching; }
68 inline bool MatchingHasBeenSet() const { return m_matchingHasBeenSet; }
69 inline void SetMatching(const RouteMatrixMatchingOptions& value) { m_matchingHasBeenSet = true; m_matching = value; }
70 inline void SetMatching(RouteMatrixMatchingOptions&& value) { m_matchingHasBeenSet = true; m_matching = std::move(value); }
71 inline RouteMatrixOriginOptions& WithMatching(const RouteMatrixMatchingOptions& value) { SetMatching(value); return *this;}
72 inline RouteMatrixOriginOptions& WithMatching(RouteMatrixMatchingOptions&& value) { SetMatching(std::move(value)); return *this;}
74
76
80 inline const RouteMatrixSideOfStreetOptions& GetSideOfStreet() const{ return m_sideOfStreet; }
81 inline bool SideOfStreetHasBeenSet() const { return m_sideOfStreetHasBeenSet; }
82 inline void SetSideOfStreet(const RouteMatrixSideOfStreetOptions& value) { m_sideOfStreetHasBeenSet = true; m_sideOfStreet = value; }
83 inline void SetSideOfStreet(RouteMatrixSideOfStreetOptions&& value) { m_sideOfStreetHasBeenSet = true; m_sideOfStreet = std::move(value); }
87 private:
88
89 long long m_avoidActionsForDistance;
90 bool m_avoidActionsForDistanceHasBeenSet = false;
91
92 double m_heading;
93 bool m_headingHasBeenSet = false;
94
96 bool m_matchingHasBeenSet = false;
97
98 RouteMatrixSideOfStreetOptions m_sideOfStreet;
99 bool m_sideOfStreetHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace GeoRoutes
104} // namespace Aws
AWS_GEOROUTES_API RouteMatrixOriginOptions(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixOriginOptions & WithAvoidActionsForDistance(long long value)
const RouteMatrixMatchingOptions & GetMatching() const
RouteMatrixOriginOptions & WithSideOfStreet(const RouteMatrixSideOfStreetOptions &value)
RouteMatrixOriginOptions & WithHeading(double value)
void SetMatching(RouteMatrixMatchingOptions &&value)
RouteMatrixOriginOptions & WithMatching(RouteMatrixMatchingOptions &&value)
RouteMatrixOriginOptions & WithMatching(const RouteMatrixMatchingOptions &value)
RouteMatrixOriginOptions & WithSideOfStreet(RouteMatrixSideOfStreetOptions &&value)
AWS_GEOROUTES_API RouteMatrixOriginOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouteMatrixSideOfStreetOptions & GetSideOfStreet() const
void SetSideOfStreet(RouteMatrixSideOfStreetOptions &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSideOfStreet(const RouteMatrixSideOfStreetOptions &value)
void SetMatching(const RouteMatrixMatchingOptions &value)
Aws::Utils::Json::JsonValue JsonValue