/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the location of items on a document page. For
* additional information, see Geometry
* in the Amazon Textract API reference.See Also:
AWS
* API Reference
An axis-aligned coarse representation of the location of the recognized item * on the document page.
*/ inline const BoundingBox& GetBoundingBox() const{ return m_boundingBox; } /** *An axis-aligned coarse representation of the location of the recognized item * on the document page.
*/ inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; } /** *An axis-aligned coarse representation of the location of the recognized item * on the document page.
*/ inline void SetBoundingBox(const BoundingBox& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; } /** *An axis-aligned coarse representation of the location of the recognized item * on the document page.
*/ inline void SetBoundingBox(BoundingBox&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); } /** *An axis-aligned coarse representation of the location of the recognized item * on the document page.
*/ inline Geometry& WithBoundingBox(const BoundingBox& value) { SetBoundingBox(value); return *this;} /** *An axis-aligned coarse representation of the location of the recognized item * on the document page.
*/ inline Geometry& WithBoundingBox(BoundingBox&& value) { SetBoundingBox(std::move(value)); return *this;} /** *Within the bounding box, a fine-grained polygon around the recognized * item.
*/ inline const Aws::VectorWithin the bounding box, a fine-grained polygon around the recognized * item.
*/ inline bool PolygonHasBeenSet() const { return m_polygonHasBeenSet; } /** *Within the bounding box, a fine-grained polygon around the recognized * item.
*/ inline void SetPolygon(const Aws::VectorWithin the bounding box, a fine-grained polygon around the recognized * item.
*/ inline void SetPolygon(Aws::VectorWithin the bounding box, a fine-grained polygon around the recognized * item.
*/ inline Geometry& WithPolygon(const Aws::VectorWithin the bounding box, a fine-grained polygon around the recognized * item.
*/ inline Geometry& WithPolygon(Aws::VectorWithin the bounding box, a fine-grained polygon around the recognized * item.
*/ inline Geometry& AddPolygon(const Point& value) { m_polygonHasBeenSet = true; m_polygon.push_back(value); return *this; } /** *Within the bounding box, a fine-grained polygon around the recognized * item.
*/ inline Geometry& AddPolygon(Point&& value) { m_polygonHasBeenSet = true; m_polygon.push_back(std::move(value)); return *this; } private: BoundingBox m_boundingBox; bool m_boundingBoxHasBeenSet = false; Aws::Vector