AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoadSnapSnappedGeometry.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/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoRoutes
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GEOROUTES_API RoadSnapSnappedGeometry();
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::Vector<double>>& GetLineString() const{ return m_lineString; }
48 inline bool LineStringHasBeenSet() const { return m_lineStringHasBeenSet; }
49 inline void SetLineString(const Aws::Vector<Aws::Vector<double>>& value) { m_lineStringHasBeenSet = true; m_lineString = value; }
50 inline void SetLineString(Aws::Vector<Aws::Vector<double>>&& value) { m_lineStringHasBeenSet = true; m_lineString = std::move(value); }
52 inline RoadSnapSnappedGeometry& WithLineString(Aws::Vector<Aws::Vector<double>>&& value) { SetLineString(std::move(value)); return *this;}
53 inline RoadSnapSnappedGeometry& AddLineString(const Aws::Vector<double>& value) { m_lineStringHasBeenSet = true; m_lineString.push_back(value); return *this; }
54 inline RoadSnapSnappedGeometry& AddLineString(Aws::Vector<double>&& value) { m_lineStringHasBeenSet = true; m_lineString.push_back(std::move(value)); return *this; }
56
58
63 inline const Aws::String& GetPolyline() const{ return m_polyline; }
64 inline bool PolylineHasBeenSet() const { return m_polylineHasBeenSet; }
65 inline void SetPolyline(const Aws::String& value) { m_polylineHasBeenSet = true; m_polyline = value; }
66 inline void SetPolyline(Aws::String&& value) { m_polylineHasBeenSet = true; m_polyline = std::move(value); }
67 inline void SetPolyline(const char* value) { m_polylineHasBeenSet = true; m_polyline.assign(value); }
68 inline RoadSnapSnappedGeometry& WithPolyline(const Aws::String& value) { SetPolyline(value); return *this;}
69 inline RoadSnapSnappedGeometry& WithPolyline(Aws::String&& value) { SetPolyline(std::move(value)); return *this;}
70 inline RoadSnapSnappedGeometry& WithPolyline(const char* value) { SetPolyline(value); return *this;}
72 private:
73
75 bool m_lineStringHasBeenSet = false;
76
77 Aws::String m_polyline;
78 bool m_polylineHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace GeoRoutes
83} // namespace Aws
void SetLineString(Aws::Vector< Aws::Vector< double > > &&value)
const Aws::Vector< Aws::Vector< double > > & GetLineString() const
RoadSnapSnappedGeometry & AddLineString(Aws::Vector< double > &&value)
RoadSnapSnappedGeometry & AddLineString(const Aws::Vector< double > &value)
RoadSnapSnappedGeometry & WithLineString(const Aws::Vector< Aws::Vector< double > > &value)
void SetLineString(const Aws::Vector< Aws::Vector< double > > &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RoadSnapSnappedGeometry(Aws::Utils::Json::JsonView jsonValue)
RoadSnapSnappedGeometry & WithLineString(Aws::Vector< Aws::Vector< double > > &&value)
RoadSnapSnappedGeometry & WithPolyline(const char *value)
RoadSnapSnappedGeometry & WithPolyline(Aws::String &&value)
RoadSnapSnappedGeometry & WithPolyline(const Aws::String &value)
AWS_GEOROUTES_API RoadSnapSnappedGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue