AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
IsolineGranularityOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace GeoRoutes {
17namespace Model {
18
25 public:
26 AWS_GEOROUTES_API IsolineGranularityOptions() = default;
29 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetMaxPoints() const { return m_maxPoints; }
36 inline bool MaxPointsHasBeenSet() const { return m_maxPointsHasBeenSet; }
37 inline void SetMaxPoints(int value) {
38 m_maxPointsHasBeenSet = true;
39 m_maxPoints = value;
40 }
42 SetMaxPoints(value);
43 return *this;
44 }
46
48
52 inline long long GetMaxResolution() const { return m_maxResolution; }
53 inline bool MaxResolutionHasBeenSet() const { return m_maxResolutionHasBeenSet; }
54 inline void SetMaxResolution(long long value) {
55 m_maxResolutionHasBeenSet = true;
56 m_maxResolution = value;
57 }
59 SetMaxResolution(value);
60 return *this;
61 }
63 private:
64 int m_maxPoints{0};
65
66 long long m_maxResolution{0};
67 bool m_maxPointsHasBeenSet = false;
68 bool m_maxResolutionHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace GeoRoutes
73} // namespace Aws
AWS_GEOROUTES_API IsolineGranularityOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API IsolineGranularityOptions(Aws::Utils::Json::JsonView jsonValue)
IsolineGranularityOptions & WithMaxResolution(long long value)
IsolineGranularityOptions & WithMaxPoints(int value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API IsolineGranularityOptions()=default
Aws::Utils::Json::JsonValue JsonValue