AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IsolineMatchingOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-routes/model/MatchingStrategy.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 IsolineMatchingOptions() = default;
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetNameHint() const { return m_nameHint; }
47 inline bool NameHintHasBeenSet() const { return m_nameHintHasBeenSet; }
48 template<typename NameHintT = Aws::String>
49 void SetNameHint(NameHintT&& value) { m_nameHintHasBeenSet = true; m_nameHint = std::forward<NameHintT>(value); }
50 template<typename NameHintT = Aws::String>
51 IsolineMatchingOptions& WithNameHint(NameHintT&& value) { SetNameHint(std::forward<NameHintT>(value)); return *this;}
53
55
60 inline long long GetOnRoadThreshold() const { return m_onRoadThreshold; }
61 inline bool OnRoadThresholdHasBeenSet() const { return m_onRoadThresholdHasBeenSet; }
62 inline void SetOnRoadThreshold(long long value) { m_onRoadThresholdHasBeenSet = true; m_onRoadThreshold = value; }
63 inline IsolineMatchingOptions& WithOnRoadThreshold(long long value) { SetOnRoadThreshold(value); return *this;}
65
67
72 inline long long GetRadius() const { return m_radius; }
73 inline bool RadiusHasBeenSet() const { return m_radiusHasBeenSet; }
74 inline void SetRadius(long long value) { m_radiusHasBeenSet = true; m_radius = value; }
75 inline IsolineMatchingOptions& WithRadius(long long value) { SetRadius(value); return *this;}
77
79
84 inline MatchingStrategy GetStrategy() const { return m_strategy; }
85 inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; }
86 inline void SetStrategy(MatchingStrategy value) { m_strategyHasBeenSet = true; m_strategy = value; }
87 inline IsolineMatchingOptions& WithStrategy(MatchingStrategy value) { SetStrategy(value); return *this;}
89 private:
90
91 Aws::String m_nameHint;
92 bool m_nameHintHasBeenSet = false;
93
94 long long m_onRoadThreshold{0};
95 bool m_onRoadThresholdHasBeenSet = false;
96
97 long long m_radius{0};
98 bool m_radiusHasBeenSet = false;
99
101 bool m_strategyHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace GeoRoutes
106} // namespace Aws
AWS_GEOROUTES_API IsolineMatchingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
IsolineMatchingOptions & WithNameHint(NameHintT &&value)
AWS_GEOROUTES_API IsolineMatchingOptions()=default
IsolineMatchingOptions & WithOnRoadThreshold(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
IsolineMatchingOptions & WithRadius(long long value)
AWS_GEOROUTES_API IsolineMatchingOptions(Aws::Utils::Json::JsonView jsonValue)
IsolineMatchingOptions & WithStrategy(MatchingStrategy value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue