/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about where an object (DetectCustomLabels) or text
* (DetectText) is located on an image.See Also:
AWS
* API Reference
An axis-aligned coarse representation of the detected item's location on the * image.
*/ inline const BoundingBox& GetBoundingBox() const{ return m_boundingBox; } /** *An axis-aligned coarse representation of the detected item's location on the * image.
*/ inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; } /** *An axis-aligned coarse representation of the detected item's location on the * image.
*/ inline void SetBoundingBox(const BoundingBox& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; } /** *An axis-aligned coarse representation of the detected item's location on the * image.
*/ inline void SetBoundingBox(BoundingBox&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); } /** *An axis-aligned coarse representation of the detected item's location on the * image.
*/ inline Geometry& WithBoundingBox(const BoundingBox& value) { SetBoundingBox(value); return *this;} /** *An axis-aligned coarse representation of the detected item's location on the * image.
*/ inline Geometry& WithBoundingBox(BoundingBox&& value) { SetBoundingBox(std::move(value)); return *this;} /** *Within the bounding box, a fine-grained polygon around the detected item.
*/ inline const Aws::VectorWithin the bounding box, a fine-grained polygon around the detected item.
*/ inline bool PolygonHasBeenSet() const { return m_polygonHasBeenSet; } /** *Within the bounding box, a fine-grained polygon around the detected item.
*/ inline void SetPolygon(const Aws::VectorWithin the bounding box, a fine-grained polygon around the detected item.
*/ inline void SetPolygon(Aws::VectorWithin the bounding box, a fine-grained polygon around the detected item.
*/ inline Geometry& WithPolygon(const Aws::VectorWithin the bounding box, a fine-grained polygon around the detected item.
*/ inline Geometry& WithPolygon(Aws::VectorWithin the bounding box, a fine-grained polygon around the detected 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 detected 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