AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNameHint(const Aws::String& value) { m_nameHintHasBeenSet = true; m_nameHint = value; }
49 inline void SetNameHint(Aws::String&& value) { m_nameHintHasBeenSet = true; m_nameHint = std::move(value); }
50 inline void SetNameHint(const char* value) { m_nameHintHasBeenSet = true; m_nameHint.assign(value); }
51 inline IsolineMatchingOptions& WithNameHint(const Aws::String& value) { SetNameHint(value); return *this;}
52 inline IsolineMatchingOptions& WithNameHint(Aws::String&& value) { SetNameHint(std::move(value)); return *this;}
53 inline IsolineMatchingOptions& WithNameHint(const char* value) { SetNameHint(value); return *this;}
55
57
62 inline long long GetOnRoadThreshold() const{ return m_onRoadThreshold; }
63 inline bool OnRoadThresholdHasBeenSet() const { return m_onRoadThresholdHasBeenSet; }
64 inline void SetOnRoadThreshold(long long value) { m_onRoadThresholdHasBeenSet = true; m_onRoadThreshold = value; }
65 inline IsolineMatchingOptions& WithOnRoadThreshold(long long value) { SetOnRoadThreshold(value); return *this;}
67
69
74 inline long long GetRadius() const{ return m_radius; }
75 inline bool RadiusHasBeenSet() const { return m_radiusHasBeenSet; }
76 inline void SetRadius(long long value) { m_radiusHasBeenSet = true; m_radius = value; }
77 inline IsolineMatchingOptions& WithRadius(long long value) { SetRadius(value); return *this;}
79
81
86 inline const MatchingStrategy& GetStrategy() const{ return m_strategy; }
87 inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; }
88 inline void SetStrategy(const MatchingStrategy& value) { m_strategyHasBeenSet = true; m_strategy = value; }
89 inline void SetStrategy(MatchingStrategy&& value) { m_strategyHasBeenSet = true; m_strategy = std::move(value); }
90 inline IsolineMatchingOptions& WithStrategy(const MatchingStrategy& value) { SetStrategy(value); return *this;}
91 inline IsolineMatchingOptions& WithStrategy(MatchingStrategy&& value) { SetStrategy(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_nameHint;
96 bool m_nameHintHasBeenSet = false;
97
98 long long m_onRoadThreshold;
99 bool m_onRoadThresholdHasBeenSet = false;
100
101 long long m_radius;
102 bool m_radiusHasBeenSet = false;
103
104 MatchingStrategy m_strategy;
105 bool m_strategyHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace GeoRoutes
110} // namespace Aws
IsolineMatchingOptions & WithNameHint(const Aws::String &value)
AWS_GEOROUTES_API IsolineMatchingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStrategy(const MatchingStrategy &value)
IsolineMatchingOptions & WithOnRoadThreshold(long long value)
IsolineMatchingOptions & WithNameHint(Aws::String &&value)
IsolineMatchingOptions & WithStrategy(MatchingStrategy &&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 & WithNameHint(const char *value)
IsolineMatchingOptions & WithStrategy(const MatchingStrategy &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue