AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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