AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Corridor.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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
33 {
34 public:
35 AWS_GEOROUTES_API Corridor();
36 AWS_GEOROUTES_API Corridor(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GEOROUTES_API Corridor& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Vector<Aws::Vector<double>>& GetLineString() const{ return m_lineString; }
47 inline bool LineStringHasBeenSet() const { return m_lineStringHasBeenSet; }
48 inline void SetLineString(const Aws::Vector<Aws::Vector<double>>& value) { m_lineStringHasBeenSet = true; m_lineString = value; }
49 inline void SetLineString(Aws::Vector<Aws::Vector<double>>&& value) { m_lineStringHasBeenSet = true; m_lineString = std::move(value); }
50 inline Corridor& WithLineString(const Aws::Vector<Aws::Vector<double>>& value) { SetLineString(value); return *this;}
51 inline Corridor& WithLineString(Aws::Vector<Aws::Vector<double>>&& value) { SetLineString(std::move(value)); return *this;}
52 inline Corridor& AddLineString(const Aws::Vector<double>& value) { m_lineStringHasBeenSet = true; m_lineString.push_back(value); return *this; }
53 inline Corridor& AddLineString(Aws::Vector<double>&& value) { m_lineStringHasBeenSet = true; m_lineString.push_back(std::move(value)); return *this; }
55
57
60 inline int GetRadius() const{ return m_radius; }
61 inline bool RadiusHasBeenSet() const { return m_radiusHasBeenSet; }
62 inline void SetRadius(int value) { m_radiusHasBeenSet = true; m_radius = value; }
63 inline Corridor& WithRadius(int value) { SetRadius(value); return *this;}
65 private:
66
68 bool m_lineStringHasBeenSet = false;
69
70 int m_radius;
71 bool m_radiusHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace GeoRoutes
76} // namespace Aws
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API Corridor & operator=(Aws::Utils::Json::JsonView jsonValue)
Corridor & AddLineString(const Aws::Vector< double > &value)
Definition Corridor.h:52
Corridor & WithLineString(Aws::Vector< Aws::Vector< double > > &&value)
Definition Corridor.h:51
bool LineStringHasBeenSet() const
Definition Corridor.h:47
AWS_GEOROUTES_API Corridor(Aws::Utils::Json::JsonView jsonValue)
Corridor & WithRadius(int value)
Definition Corridor.h:63
Corridor & WithLineString(const Aws::Vector< Aws::Vector< double > > &value)
Definition Corridor.h:50
void SetLineString(Aws::Vector< Aws::Vector< double > > &&value)
Definition Corridor.h:49
Corridor & AddLineString(Aws::Vector< double > &&value)
Definition Corridor.h:53
AWS_GEOROUTES_API Corridor()
const Aws::Vector< Aws::Vector< double > > & GetLineString() const
Definition Corridor.h:46
void SetLineString(const Aws::Vector< Aws::Vector< double > > &value)
Definition Corridor.h:48
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue