AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
MultiPolygonGeometryInput.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 MultiPolygonGeometryInput() = default;
37 AWS_SAGEMAKERGEOSPATIAL_API MultiPolygonGeometryInput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKERGEOSPATIAL_API MultiPolygonGeometryInput& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::Vector<Aws::Vector<Aws::Vector<double>>>>& GetCoordinates() const { return m_coordinates; }
47 inline bool CoordinatesHasBeenSet() const { return m_coordinatesHasBeenSet; }
48 template<typename CoordinatesT = Aws::Vector<Aws::Vector<Aws::Vector<Aws::Vector<double>>>>>
49 void SetCoordinates(CoordinatesT&& value) { m_coordinatesHasBeenSet = true; m_coordinates = std::forward<CoordinatesT>(value); }
50 template<typename CoordinatesT = Aws::Vector<Aws::Vector<Aws::Vector<Aws::Vector<double>>>>>
51 MultiPolygonGeometryInput& WithCoordinates(CoordinatesT&& value) { SetCoordinates(std::forward<CoordinatesT>(value)); return *this;}
52 template<typename CoordinatesT = Aws::Vector<Aws::Vector<Aws::Vector<double>>>>
53 MultiPolygonGeometryInput& AddCoordinates(CoordinatesT&& value) { m_coordinatesHasBeenSet = true; m_coordinates.emplace_back(std::forward<CoordinatesT>(value)); return *this; }
55 private:
56
58 bool m_coordinatesHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace SageMakerGeospatial
63} // namespace Aws
const Aws::Vector< Aws::Vector< Aws::Vector< Aws::Vector< double > > > > & GetCoordinates() const
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKERGEOSPATIAL_API MultiPolygonGeometryInput(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API MultiPolygonGeometryInput()=default
AWS_SAGEMAKERGEOSPATIAL_API MultiPolygonGeometryInput & operator=(Aws::Utils::Json::JsonView jsonValue)
MultiPolygonGeometryInput & WithCoordinates(CoordinatesT &&value)
MultiPolygonGeometryInput & AddCoordinates(CoordinatesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue