AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
PolygonGeometryInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMakerGeospatial {
20namespace Model {
21
30 public:
31 AWS_SAGEMAKERGEOSPATIAL_API PolygonGeometryInput() = default;
32 AWS_SAGEMAKERGEOSPATIAL_API PolygonGeometryInput(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKERGEOSPATIAL_API PolygonGeometryInput& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& GetCoordinates() const { return m_coordinates; }
43 inline bool CoordinatesHasBeenSet() const { return m_coordinatesHasBeenSet; }
44 template <typename CoordinatesT = Aws::Vector<Aws::Vector<Aws::Vector<double>>>>
45 void SetCoordinates(CoordinatesT&& value) {
46 m_coordinatesHasBeenSet = true;
47 m_coordinates = std::forward<CoordinatesT>(value);
48 }
49 template <typename CoordinatesT = Aws::Vector<Aws::Vector<Aws::Vector<double>>>>
50 PolygonGeometryInput& WithCoordinates(CoordinatesT&& value) {
51 SetCoordinates(std::forward<CoordinatesT>(value));
52 return *this;
53 }
54 template <typename CoordinatesT = Aws::Vector<Aws::Vector<double>>>
55 PolygonGeometryInput& AddCoordinates(CoordinatesT&& value) {
56 m_coordinatesHasBeenSet = true;
57 m_coordinates.emplace_back(std::forward<CoordinatesT>(value));
58 return *this;
59 }
61 private:
63 bool m_coordinatesHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace SageMakerGeospatial
68} // namespace Aws
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)
AWS_SAGEMAKERGEOSPATIAL_API PolygonGeometryInput()=default
PolygonGeometryInput & WithCoordinates(CoordinatesT &&value)
PolygonGeometryInput & AddCoordinates(CoordinatesT &&value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue