AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Isoline.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/model/IsolineConnection.h>
10#include <aws/geo-routes/model/IsolineShapeGeometry.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GeoRoutes
24{
25namespace Model
26{
27
33 class Isoline
34 {
35 public:
36 AWS_GEOROUTES_API Isoline();
37 AWS_GEOROUTES_API Isoline(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOROUTES_API Isoline& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::Vector<IsolineConnection>& GetConnections() const{ return m_connections; }
49 inline bool ConnectionsHasBeenSet() const { return m_connectionsHasBeenSet; }
50 inline void SetConnections(const Aws::Vector<IsolineConnection>& value) { m_connectionsHasBeenSet = true; m_connections = value; }
51 inline void SetConnections(Aws::Vector<IsolineConnection>&& value) { m_connectionsHasBeenSet = true; m_connections = std::move(value); }
52 inline Isoline& WithConnections(const Aws::Vector<IsolineConnection>& value) { SetConnections(value); return *this;}
53 inline Isoline& WithConnections(Aws::Vector<IsolineConnection>&& value) { SetConnections(std::move(value)); return *this;}
54 inline Isoline& AddConnections(const IsolineConnection& value) { m_connectionsHasBeenSet = true; m_connections.push_back(value); return *this; }
55 inline Isoline& AddConnections(IsolineConnection&& value) { m_connectionsHasBeenSet = true; m_connections.push_back(std::move(value)); return *this; }
57
59
62 inline long long GetDistanceThreshold() const{ return m_distanceThreshold; }
63 inline bool DistanceThresholdHasBeenSet() const { return m_distanceThresholdHasBeenSet; }
64 inline void SetDistanceThreshold(long long value) { m_distanceThresholdHasBeenSet = true; m_distanceThreshold = value; }
65 inline Isoline& WithDistanceThreshold(long long value) { SetDistanceThreshold(value); return *this;}
67
69
72 inline const Aws::Vector<IsolineShapeGeometry>& GetGeometries() const{ return m_geometries; }
73 inline bool GeometriesHasBeenSet() const { return m_geometriesHasBeenSet; }
74 inline void SetGeometries(const Aws::Vector<IsolineShapeGeometry>& value) { m_geometriesHasBeenSet = true; m_geometries = value; }
75 inline void SetGeometries(Aws::Vector<IsolineShapeGeometry>&& value) { m_geometriesHasBeenSet = true; m_geometries = std::move(value); }
76 inline Isoline& WithGeometries(const Aws::Vector<IsolineShapeGeometry>& value) { SetGeometries(value); return *this;}
77 inline Isoline& WithGeometries(Aws::Vector<IsolineShapeGeometry>&& value) { SetGeometries(std::move(value)); return *this;}
78 inline Isoline& AddGeometries(const IsolineShapeGeometry& value) { m_geometriesHasBeenSet = true; m_geometries.push_back(value); return *this; }
79 inline Isoline& AddGeometries(IsolineShapeGeometry&& value) { m_geometriesHasBeenSet = true; m_geometries.push_back(std::move(value)); return *this; }
81
83
86 inline long long GetTimeThreshold() const{ return m_timeThreshold; }
87 inline bool TimeThresholdHasBeenSet() const { return m_timeThresholdHasBeenSet; }
88 inline void SetTimeThreshold(long long value) { m_timeThresholdHasBeenSet = true; m_timeThreshold = value; }
89 inline Isoline& WithTimeThreshold(long long value) { SetTimeThreshold(value); return *this;}
91 private:
92
94 bool m_connectionsHasBeenSet = false;
95
96 long long m_distanceThreshold;
97 bool m_distanceThresholdHasBeenSet = false;
98
100 bool m_geometriesHasBeenSet = false;
101
102 long long m_timeThreshold;
103 bool m_timeThresholdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace GeoRoutes
108} // namespace Aws
bool DistanceThresholdHasBeenSet() const
Definition Isoline.h:63
void SetGeometries(const Aws::Vector< IsolineShapeGeometry > &value)
Definition Isoline.h:74
long long GetDistanceThreshold() const
Definition Isoline.h:62
Isoline & AddConnections(const IsolineConnection &value)
Definition Isoline.h:54
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
Isoline & WithConnections(Aws::Vector< IsolineConnection > &&value)
Definition Isoline.h:53
void SetConnections(Aws::Vector< IsolineConnection > &&value)
Definition Isoline.h:51
bool TimeThresholdHasBeenSet() const
Definition Isoline.h:87
Isoline & WithGeometries(const Aws::Vector< IsolineShapeGeometry > &value)
Definition Isoline.h:76
Isoline & AddGeometries(IsolineShapeGeometry &&value)
Definition Isoline.h:79
void SetConnections(const Aws::Vector< IsolineConnection > &value)
Definition Isoline.h:50
bool GeometriesHasBeenSet() const
Definition Isoline.h:73
Isoline & WithGeometries(Aws::Vector< IsolineShapeGeometry > &&value)
Definition Isoline.h:77
Isoline & AddConnections(IsolineConnection &&value)
Definition Isoline.h:55
AWS_GEOROUTES_API Isoline()
bool ConnectionsHasBeenSet() const
Definition Isoline.h:49
Isoline & AddGeometries(const IsolineShapeGeometry &value)
Definition Isoline.h:78
long long GetTimeThreshold() const
Definition Isoline.h:86
void SetDistanceThreshold(long long value)
Definition Isoline.h:64
Isoline & WithTimeThreshold(long long value)
Definition Isoline.h:89
Isoline & WithDistanceThreshold(long long value)
Definition Isoline.h:65
void SetTimeThreshold(long long value)
Definition Isoline.h:88
AWS_GEOROUTES_API Isoline & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGeometries(Aws::Vector< IsolineShapeGeometry > &&value)
Definition Isoline.h:75
const Aws::Vector< IsolineShapeGeometry > & GetGeometries() const
Definition Isoline.h:72
Isoline & WithConnections(const Aws::Vector< IsolineConnection > &value)
Definition Isoline.h:52
AWS_GEOROUTES_API Isoline(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< IsolineConnection > & GetConnections() const
Definition Isoline.h:48
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue