AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IsolineConnection.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/IsolineConnectionGeometry.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GeoRoutes
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_GEOROUTES_API IsolineConnection();
37 AWS_GEOROUTES_API IsolineConnection(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline int GetFromPolygonIndex() const{ return m_fromPolygonIndex; }
48 inline bool FromPolygonIndexHasBeenSet() const { return m_fromPolygonIndexHasBeenSet; }
49 inline void SetFromPolygonIndex(int value) { m_fromPolygonIndexHasBeenSet = true; m_fromPolygonIndex = value; }
50 inline IsolineConnection& WithFromPolygonIndex(int value) { SetFromPolygonIndex(value); return *this;}
52
54
57 inline const IsolineConnectionGeometry& GetGeometry() const{ return m_geometry; }
58 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
59 inline void SetGeometry(const IsolineConnectionGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; }
60 inline void SetGeometry(IsolineConnectionGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); }
61 inline IsolineConnection& WithGeometry(const IsolineConnectionGeometry& value) { SetGeometry(value); return *this;}
62 inline IsolineConnection& WithGeometry(IsolineConnectionGeometry&& value) { SetGeometry(std::move(value)); return *this;}
64
66
70 inline int GetToPolygonIndex() const{ return m_toPolygonIndex; }
71 inline bool ToPolygonIndexHasBeenSet() const { return m_toPolygonIndexHasBeenSet; }
72 inline void SetToPolygonIndex(int value) { m_toPolygonIndexHasBeenSet = true; m_toPolygonIndex = value; }
73 inline IsolineConnection& WithToPolygonIndex(int value) { SetToPolygonIndex(value); return *this;}
75 private:
76
77 int m_fromPolygonIndex;
78 bool m_fromPolygonIndexHasBeenSet = false;
79
81 bool m_geometryHasBeenSet = false;
82
83 int m_toPolygonIndex;
84 bool m_toPolygonIndexHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace GeoRoutes
89} // namespace Aws
IsolineConnection & WithGeometry(IsolineConnectionGeometry &&value)
IsolineConnection & WithToPolygonIndex(int value)
IsolineConnection & WithFromPolygonIndex(int value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const IsolineConnectionGeometry & GetGeometry() const
AWS_GEOROUTES_API IsolineConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
IsolineConnection & WithGeometry(const IsolineConnectionGeometry &value)
void SetGeometry(IsolineConnectionGeometry &&value)
AWS_GEOROUTES_API IsolineConnection(Aws::Utils::Json::JsonView jsonValue)
void SetGeometry(const IsolineConnectionGeometry &value)
Aws::Utils::Json::JsonValue JsonValue