AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IsolineDestinationOptions.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 IsolineDestinationOptions();
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 IsolineDestinationOptions& 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 IsolineDestinationOptions& WithMatching(const IsolineMatchingOptions& value) { SetMatching(value); return *this;}
72 inline IsolineDestinationOptions& 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 IsolineDestinationOptions& 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
IsolineDestinationOptions & WithHeading(double value)
IsolineDestinationOptions & WithAvoidActionsForDistance(long long value)
IsolineDestinationOptions & WithMatching(const IsolineMatchingOptions &value)
void SetSideOfStreet(IsolineSideOfStreetOptions &&value)
IsolineDestinationOptions & WithMatching(IsolineMatchingOptions &&value)
IsolineDestinationOptions & WithSideOfStreet(IsolineSideOfStreetOptions &&value)
IsolineDestinationOptions & WithSideOfStreet(const IsolineSideOfStreetOptions &value)
void SetSideOfStreet(const IsolineSideOfStreetOptions &value)
AWS_GEOROUTES_API IsolineDestinationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const IsolineMatchingOptions & GetMatching() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API IsolineDestinationOptions(Aws::Utils::Json::JsonView jsonValue)
void SetMatching(const IsolineMatchingOptions &value)
const IsolineSideOfStreetOptions & GetSideOfStreet() const
Aws::Utils::Json::JsonValue JsonValue