AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
RouteMatrixAutoCircle.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
26 public:
27 AWS_GEOROUTES_API RouteMatrixAutoCircle() = default;
30 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline long long GetMargin() const { return m_margin; }
37 inline bool MarginHasBeenSet() const { return m_marginHasBeenSet; }
38 inline void SetMargin(long long value) {
39 m_marginHasBeenSet = true;
40 m_margin = value;
41 }
42 inline RouteMatrixAutoCircle& WithMargin(long long value) {
43 SetMargin(value);
44 return *this;
45 }
47
49
52 inline long long GetMaxRadius() const { return m_maxRadius; }
53 inline bool MaxRadiusHasBeenSet() const { return m_maxRadiusHasBeenSet; }
54 inline void SetMaxRadius(long long value) {
55 m_maxRadiusHasBeenSet = true;
56 m_maxRadius = value;
57 }
58 inline RouteMatrixAutoCircle& WithMaxRadius(long long value) {
59 SetMaxRadius(value);
60 return *this;
61 }
63 private:
64 long long m_margin{0};
65
66 long long m_maxRadius{0};
67 bool m_marginHasBeenSet = false;
68 bool m_maxRadiusHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace GeoRoutes
73} // namespace Aws
AWS_GEOROUTES_API RouteMatrixAutoCircle()=default
RouteMatrixAutoCircle & WithMaxRadius(long long value)
AWS_GEOROUTES_API RouteMatrixAutoCircle(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixAutoCircle & WithMargin(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteMatrixAutoCircle & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue