7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace SageMakerGeospatial
36 AWS_SAGEMAKERGEOSPATIAL_API
Geometry() =
default;
48 template<
typename CoordinatesT = 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<
double>>>>
52 template<
typename CoordinatesT = Aws::Vector<Aws::Vector<
double>>>
53 Geometry&
AddCoordinates(CoordinatesT&& value) { m_coordinatesHasBeenSet =
true; m_coordinates.emplace_back(std::forward<CoordinatesT>(value));
return *
this; }
62 template<
typename TypeT = Aws::String>
63 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
64 template<
typename TypeT = Aws::String>
70 bool m_coordinatesHasBeenSet =
false;
73 bool m_typeHasBeenSet =
false;
void SetCoordinates(CoordinatesT &&value)
const Aws::Vector< Aws::Vector< Aws::Vector< double > > > & GetCoordinates() const
bool TypeHasBeenSet() const
bool CoordinatesHasBeenSet() const
void SetType(TypeT &&value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
Geometry & AddCoordinates(CoordinatesT &&value)
AWS_SAGEMAKERGEOSPATIAL_API Geometry & operator=(Aws::Utils::Json::JsonView jsonValue)
Geometry & WithType(TypeT &&value)
AWS_SAGEMAKERGEOSPATIAL_API Geometry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetType() const
Geometry & WithCoordinates(CoordinatesT &&value)
AWS_SAGEMAKERGEOSPATIAL_API Geometry()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue