AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IsolineConnectionGeometry.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 IsolineConnectionGeometry();
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 IsolineConnectionGeometry& WithLineString(Aws::Vector<Aws::Vector<double>>&& value) { SetLineString(std::move(value)); return *this;}
53 inline IsolineConnectionGeometry& AddLineString(const Aws::Vector<double>& value) { m_lineStringHasBeenSet = true; m_lineString.push_back(value); return *this; }
54 inline IsolineConnectionGeometry& 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 IsolineConnectionGeometry& WithPolyline(const Aws::String& value) { SetPolyline(value); return *this;}
69 inline IsolineConnectionGeometry& WithPolyline(Aws::String&& value) { SetPolyline(std::move(value)); return *this;}
70 inline IsolineConnectionGeometry& 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
IsolineConnectionGeometry & WithPolyline(const Aws::String &value)
IsolineConnectionGeometry & AddLineString(const Aws::Vector< double > &value)
IsolineConnectionGeometry & WithPolyline(const char *value)
AWS_GEOROUTES_API IsolineConnectionGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
IsolineConnectionGeometry & WithPolyline(Aws::String &&value)
const Aws::Vector< Aws::Vector< double > > & GetLineString() const
IsolineConnectionGeometry & WithLineString(Aws::Vector< Aws::Vector< double > > &&value)
IsolineConnectionGeometry & WithLineString(const Aws::Vector< Aws::Vector< double > > &value)
AWS_GEOROUTES_API IsolineConnectionGeometry(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLineString(const Aws::Vector< Aws::Vector< double > > &value)
IsolineConnectionGeometry & AddLineString(Aws::Vector< double > &&value)
void SetLineString(Aws::Vector< Aws::Vector< double > > &&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