AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename LineStringT = Aws::Vector<Aws::Vector<double>>>
50 void SetLineString(LineStringT&& value) { m_lineStringHasBeenSet = true; m_lineString = std::forward<LineStringT>(value); }
51 template<typename LineStringT = Aws::Vector<Aws::Vector<double>>>
52 RoadSnapSnappedGeometry& WithLineString(LineStringT&& value) { SetLineString(std::forward<LineStringT>(value)); return *this;}
53 template<typename LineStringT = Aws::Vector<double>>
54 RoadSnapSnappedGeometry& AddLineString(LineStringT&& value) { m_lineStringHasBeenSet = true; m_lineString.emplace_back(std::forward<LineStringT>(value)); return *this; }
56
58
63 inline const Aws::String& GetPolyline() const { return m_polyline; }
64 inline bool PolylineHasBeenSet() const { return m_polylineHasBeenSet; }
65 template<typename PolylineT = Aws::String>
66 void SetPolyline(PolylineT&& value) { m_polylineHasBeenSet = true; m_polyline = std::forward<PolylineT>(value); }
67 template<typename PolylineT = Aws::String>
68 RoadSnapSnappedGeometry& WithPolyline(PolylineT&& value) { SetPolyline(std::forward<PolylineT>(value)); return *this;}
70 private:
71
73 bool m_lineStringHasBeenSet = false;
74
75 Aws::String m_polyline;
76 bool m_polylineHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace GeoRoutes
81} // namespace Aws
const Aws::Vector< Aws::Vector< double > > & GetLineString() const
RoadSnapSnappedGeometry & WithLineString(LineStringT &&value)
AWS_GEOROUTES_API RoadSnapSnappedGeometry()=default
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RoadSnapSnappedGeometry(Aws::Utils::Json::JsonView jsonValue)
RoadSnapSnappedGeometry & AddLineString(LineStringT &&value)
AWS_GEOROUTES_API RoadSnapSnappedGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
RoadSnapSnappedGeometry & WithPolyline(PolylineT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue