AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLineString(const Aws::Vector<Aws::Vector<double>>& value) { m_lineStringHasBeenSet = true; m_lineString = value; }
52 inline void SetLineString(Aws::Vector<Aws::Vector<double>>&& value) { m_lineStringHasBeenSet = true; m_lineString = std::move(value); }
53 inline LegGeometry& WithLineString(const Aws::Vector<Aws::Vector<double>>& value) { SetLineString(value); return *this;}
54 inline LegGeometry& WithLineString(Aws::Vector<Aws::Vector<double>>&& value) { SetLineString(std::move(value)); return *this;}
55 inline LegGeometry& AddLineString(const Aws::Vector<double>& value) { m_lineStringHasBeenSet = true; m_lineString.push_back(value); return *this; }
56 inline LegGeometry& AddLineString(Aws::Vector<double>&& value) { m_lineStringHasBeenSet = true; m_lineString.push_back(std::move(value)); return *this; }
58 private:
59
61 bool m_lineStringHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace LocationService
66} // namespace Aws
void SetLineString(const Aws::Vector< Aws::Vector< double > > &value)
Definition LegGeometry.h:51
const Aws::Vector< Aws::Vector< double > > & GetLineString() const
Definition LegGeometry.h:49
LegGeometry & WithLineString(const Aws::Vector< Aws::Vector< double > > &value)
Definition LegGeometry.h:53
AWS_LOCATIONSERVICE_API LegGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API LegGeometry()
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOCATIONSERVICE_API LegGeometry(Aws::Utils::Json::JsonView jsonValue)
LegGeometry & WithLineString(Aws::Vector< Aws::Vector< double > > &&value)
Definition LegGeometry.h:54
LegGeometry & AddLineString(Aws::Vector< double > &&value)
Definition LegGeometry.h:56
LegGeometry & AddLineString(const Aws::Vector< double > &value)
Definition LegGeometry.h:55
void SetLineString(Aws::Vector< Aws::Vector< double > > &&value)
Definition LegGeometry.h:52
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue