AWS SDK for C++

AWS SDK for C++ Version 1.11.793

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
28 public:
29 AWS_GEOROUTES_API IsolineGranularityOptions() = default;
32 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline int GetMaxPoints() const { return m_maxPoints; }
40 inline bool MaxPointsHasBeenSet() const { return m_maxPointsHasBeenSet; }
41 inline void SetMaxPoints(int value) {
42 m_maxPointsHasBeenSet = true;
43 m_maxPoints = value;
44 }
46 SetMaxPoints(value);
47 return *this;
48 }
50
52
57 inline long long GetMaxResolution() const { return m_maxResolution; }
58 inline bool MaxResolutionHasBeenSet() const { return m_maxResolutionHasBeenSet; }
59 inline void SetMaxResolution(long long value) {
60 m_maxResolutionHasBeenSet = true;
61 m_maxResolution = value;
62 }
64 SetMaxResolution(value);
65 return *this;
66 }
68 private:
69 int m_maxPoints{0};
70
71 long long m_maxResolution{0};
72 bool m_maxPointsHasBeenSet = false;
73 bool m_maxResolutionHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace GeoRoutes
78} // 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