AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename MatchingT = IsolineMatchingOptions>
70 void SetMatching(MatchingT&& value) { m_matchingHasBeenSet = true; m_matching = std::forward<MatchingT>(value); }
71 template<typename MatchingT = IsolineMatchingOptions>
72 IsolineDestinationOptions& WithMatching(MatchingT&& value) { SetMatching(std::forward<MatchingT>(value)); return *this;}
74
76
80 inline const IsolineSideOfStreetOptions& GetSideOfStreet() const { return m_sideOfStreet; }
81 inline bool SideOfStreetHasBeenSet() const { return m_sideOfStreetHasBeenSet; }
82 template<typename SideOfStreetT = IsolineSideOfStreetOptions>
83 void SetSideOfStreet(SideOfStreetT&& value) { m_sideOfStreetHasBeenSet = true; m_sideOfStreet = std::forward<SideOfStreetT>(value); }
84 template<typename SideOfStreetT = IsolineSideOfStreetOptions>
85 IsolineDestinationOptions& WithSideOfStreet(SideOfStreetT&& value) { SetSideOfStreet(std::forward<SideOfStreetT>(value)); return *this;}
87 private:
88
89 long long m_avoidActionsForDistance{0};
90 bool m_avoidActionsForDistanceHasBeenSet = false;
91
92 double m_heading{0.0};
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 & WithSideOfStreet(SideOfStreetT &&value)
AWS_GEOROUTES_API IsolineDestinationOptions()=default
AWS_GEOROUTES_API IsolineDestinationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
IsolineDestinationOptions & WithMatching(MatchingT &&value)
const IsolineMatchingOptions & GetMatching() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API IsolineDestinationOptions(Aws::Utils::Json::JsonView jsonValue)
const IsolineSideOfStreetOptions & GetSideOfStreet() const
Aws::Utils::Json::JsonValue JsonValue