/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMakerGeospatial { namespace Model { /** *

A GeoJSON object representing the geographic extent in the coordinate * space.

See Also:

AWS * API Reference

*/ class AreaOfInterestGeometry { public: AWS_SAGEMAKERGEOSPATIAL_API AreaOfInterestGeometry(); AWS_SAGEMAKERGEOSPATIAL_API AreaOfInterestGeometry(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKERGEOSPATIAL_API AreaOfInterestGeometry& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The structure representing the MultiPolygon Geometry.

*/ inline const MultiPolygonGeometryInput& GetMultiPolygonGeometry() const{ return m_multiPolygonGeometry; } /** *

The structure representing the MultiPolygon Geometry.

*/ inline bool MultiPolygonGeometryHasBeenSet() const { return m_multiPolygonGeometryHasBeenSet; } /** *

The structure representing the MultiPolygon Geometry.

*/ inline void SetMultiPolygonGeometry(const MultiPolygonGeometryInput& value) { m_multiPolygonGeometryHasBeenSet = true; m_multiPolygonGeometry = value; } /** *

The structure representing the MultiPolygon Geometry.

*/ inline void SetMultiPolygonGeometry(MultiPolygonGeometryInput&& value) { m_multiPolygonGeometryHasBeenSet = true; m_multiPolygonGeometry = std::move(value); } /** *

The structure representing the MultiPolygon Geometry.

*/ inline AreaOfInterestGeometry& WithMultiPolygonGeometry(const MultiPolygonGeometryInput& value) { SetMultiPolygonGeometry(value); return *this;} /** *

The structure representing the MultiPolygon Geometry.

*/ inline AreaOfInterestGeometry& WithMultiPolygonGeometry(MultiPolygonGeometryInput&& value) { SetMultiPolygonGeometry(std::move(value)); return *this;} /** *

The structure representing Polygon Geometry.

*/ inline const PolygonGeometryInput& GetPolygonGeometry() const{ return m_polygonGeometry; } /** *

The structure representing Polygon Geometry.

*/ inline bool PolygonGeometryHasBeenSet() const { return m_polygonGeometryHasBeenSet; } /** *

The structure representing Polygon Geometry.

*/ inline void SetPolygonGeometry(const PolygonGeometryInput& value) { m_polygonGeometryHasBeenSet = true; m_polygonGeometry = value; } /** *

The structure representing Polygon Geometry.

*/ inline void SetPolygonGeometry(PolygonGeometryInput&& value) { m_polygonGeometryHasBeenSet = true; m_polygonGeometry = std::move(value); } /** *

The structure representing Polygon Geometry.

*/ inline AreaOfInterestGeometry& WithPolygonGeometry(const PolygonGeometryInput& value) { SetPolygonGeometry(value); return *this;} /** *

The structure representing Polygon Geometry.

*/ inline AreaOfInterestGeometry& WithPolygonGeometry(PolygonGeometryInput&& value) { SetPolygonGeometry(std::move(value)); return *this;} private: MultiPolygonGeometryInput m_multiPolygonGeometry; bool m_multiPolygonGeometryHasBeenSet = false; PolygonGeometryInput m_polygonGeometry; bool m_polygonGeometryHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws