AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
IsolineConnectionGeometry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GeoRoutes {
21namespace Model {
22
30 public:
31 AWS_GEOROUTES_API IsolineConnectionGeometry() = default;
34 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<Aws::Vector<double>>& GetLineString() const { return m_lineString; }
42 inline bool LineStringHasBeenSet() const { return m_lineStringHasBeenSet; }
43 template <typename LineStringT = Aws::Vector<Aws::Vector<double>>>
44 void SetLineString(LineStringT&& value) {
45 m_lineStringHasBeenSet = true;
46 m_lineString = std::forward<LineStringT>(value);
47 }
48 template <typename LineStringT = Aws::Vector<Aws::Vector<double>>>
50 SetLineString(std::forward<LineStringT>(value));
51 return *this;
52 }
53 template <typename LineStringT = Aws::Vector<double>>
55 m_lineStringHasBeenSet = true;
56 m_lineString.emplace_back(std::forward<LineStringT>(value));
57 return *this;
58 }
60
62
67 inline const Aws::String& GetPolyline() const { return m_polyline; }
68 inline bool PolylineHasBeenSet() const { return m_polylineHasBeenSet; }
69 template <typename PolylineT = Aws::String>
70 void SetPolyline(PolylineT&& value) {
71 m_polylineHasBeenSet = true;
72 m_polyline = std::forward<PolylineT>(value);
73 }
74 template <typename PolylineT = Aws::String>
76 SetPolyline(std::forward<PolylineT>(value));
77 return *this;
78 }
80 private:
82
83 Aws::String m_polyline;
84 bool m_lineStringHasBeenSet = false;
85 bool m_polylineHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace GeoRoutes
90} // namespace Aws
IsolineConnectionGeometry & WithPolyline(PolylineT &&value)
IsolineConnectionGeometry & AddLineString(LineStringT &&value)
AWS_GEOROUTES_API IsolineConnectionGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Vector< double > > & GetLineString() const
IsolineConnectionGeometry & WithLineString(LineStringT &&value)
AWS_GEOROUTES_API IsolineConnectionGeometry(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API IsolineConnectionGeometry()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue