AWS SDK for C++

AWS SDK for C++ Version 1.11.795

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
32 public:
33 AWS_GEOROUTES_API IsolineConnectionGeometry() = default;
36 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
46 inline const Aws::Vector<Aws::Vector<double>>& GetLineString() const { return m_lineString; }
47 inline bool LineStringHasBeenSet() const { return m_lineStringHasBeenSet; }
48 template <typename LineStringT = Aws::Vector<Aws::Vector<double>>>
49 void SetLineString(LineStringT&& value) {
50 m_lineStringHasBeenSet = true;
51 m_lineString = std::forward<LineStringT>(value);
52 }
53 template <typename LineStringT = Aws::Vector<Aws::Vector<double>>>
55 SetLineString(std::forward<LineStringT>(value));
56 return *this;
57 }
58 template <typename LineStringT = Aws::Vector<double>>
60 m_lineStringHasBeenSet = true;
61 m_lineString.emplace_back(std::forward<LineStringT>(value));
62 return *this;
63 }
65
67
75 inline const Aws::String& GetPolyline() const { return m_polyline; }
76 inline bool PolylineHasBeenSet() const { return m_polylineHasBeenSet; }
77 template <typename PolylineT = Aws::String>
78 void SetPolyline(PolylineT&& value) {
79 m_polylineHasBeenSet = true;
80 m_polyline = std::forward<PolylineT>(value);
81 }
82 template <typename PolylineT = Aws::String>
84 SetPolyline(std::forward<PolylineT>(value));
85 return *this;
86 }
88 private:
90
91 Aws::String m_polyline;
92 bool m_lineStringHasBeenSet = false;
93 bool m_polylineHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace GeoRoutes
98} // 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