AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PolygonGeometryInput.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_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 SageMakerGeospatial
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SAGEMAKERGEOSPATIAL_API PolygonGeometryInput();
37 AWS_SAGEMAKERGEOSPATIAL_API PolygonGeometryInput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKERGEOSPATIAL_API PolygonGeometryInput& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& GetCoordinates() const{ return m_coordinates; }
49 inline bool CoordinatesHasBeenSet() const { return m_coordinatesHasBeenSet; }
50 inline void SetCoordinates(const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& value) { m_coordinatesHasBeenSet = true; m_coordinates = value; }
51 inline void SetCoordinates(Aws::Vector<Aws::Vector<Aws::Vector<double>>>&& value) { m_coordinatesHasBeenSet = true; m_coordinates = std::move(value); }
54 inline PolygonGeometryInput& AddCoordinates(const Aws::Vector<Aws::Vector<double>>& value) { m_coordinatesHasBeenSet = true; m_coordinates.push_back(value); return *this; }
55 inline PolygonGeometryInput& AddCoordinates(Aws::Vector<Aws::Vector<double>>&& value) { m_coordinatesHasBeenSet = true; m_coordinates.push_back(std::move(value)); return *this; }
57 private:
58
60 bool m_coordinatesHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace SageMakerGeospatial
65} // namespace Aws
PolygonGeometryInput & WithCoordinates(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
void SetCoordinates(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
AWS_SAGEMAKERGEOSPATIAL_API PolygonGeometryInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Vector< Aws::Vector< double > > > & GetCoordinates() const
AWS_SAGEMAKERGEOSPATIAL_API PolygonGeometryInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCoordinates(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
PolygonGeometryInput & AddCoordinates(Aws::Vector< Aws::Vector< double > > &&value)
AWS_SAGEMAKERGEOSPATIAL_API PolygonGeometryInput()
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
PolygonGeometryInput & WithCoordinates(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
PolygonGeometryInput & AddCoordinates(const Aws::Vector< Aws::Vector< double > > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue