AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LegGeometry.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LocationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LOCATIONSERVICE_API LegGeometry() = default;
36 AWS_LOCATIONSERVICE_API LegGeometry(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOCATIONSERVICE_API LegGeometry& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const Aws::Vector<Aws::Vector<double>>& GetLineString() const { return m_lineString; }
50 inline bool LineStringHasBeenSet() const { return m_lineStringHasBeenSet; }
51 template<typename LineStringT = Aws::Vector<Aws::Vector<double>>>
52 void SetLineString(LineStringT&& value) { m_lineStringHasBeenSet = true; m_lineString = std::forward<LineStringT>(value); }
53 template<typename LineStringT = Aws::Vector<Aws::Vector<double>>>
54 LegGeometry& WithLineString(LineStringT&& value) { SetLineString(std::forward<LineStringT>(value)); return *this;}
55 template<typename LineStringT = Aws::Vector<double>>
56 LegGeometry& AddLineString(LineStringT&& value) { m_lineStringHasBeenSet = true; m_lineString.emplace_back(std::forward<LineStringT>(value)); return *this; }
58 private:
59
61 bool m_lineStringHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace LocationService
66} // namespace Aws
const Aws::Vector< Aws::Vector< double > > & GetLineString() const
Definition LegGeometry.h:49
AWS_LOCATIONSERVICE_API LegGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
LegGeometry & AddLineString(LineStringT &&value)
Definition LegGeometry.h:56
AWS_LOCATIONSERVICE_API LegGeometry(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API LegGeometry()=default
LegGeometry & WithLineString(LineStringT &&value)
Definition LegGeometry.h:54
void SetLineString(LineStringT &&value)
Definition LegGeometry.h:52
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue