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

The geographic extent of the Earth Observation job.

See Also:

* AWS * API Reference

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

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

*/ inline const AreaOfInterestGeometry& GetAreaOfInterestGeometry() const{ return m_areaOfInterestGeometry; } /** *

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

*/ inline bool AreaOfInterestGeometryHasBeenSet() const { return m_areaOfInterestGeometryHasBeenSet; } /** *

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

*/ inline void SetAreaOfInterestGeometry(const AreaOfInterestGeometry& value) { m_areaOfInterestGeometryHasBeenSet = true; m_areaOfInterestGeometry = value; } /** *

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

*/ inline void SetAreaOfInterestGeometry(AreaOfInterestGeometry&& value) { m_areaOfInterestGeometryHasBeenSet = true; m_areaOfInterestGeometry = std::move(value); } /** *

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

*/ inline AreaOfInterest& WithAreaOfInterestGeometry(const AreaOfInterestGeometry& value) { SetAreaOfInterestGeometry(value); return *this;} /** *

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

*/ inline AreaOfInterest& WithAreaOfInterestGeometry(AreaOfInterestGeometry&& value) { SetAreaOfInterestGeometry(std::move(value)); return *this;} private: AreaOfInterestGeometry m_areaOfInterestGeometry; bool m_areaOfInterestGeometryHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws