7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/BoundingBox.h>
9#include <aws/comprehend/model/Point.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
46 template <
typename BoundingBoxT = BoundingBox>
48 m_boundingBoxHasBeenSet =
true;
49 m_boundingBox = std::forward<BoundingBoxT>(value);
51 template <
typename BoundingBoxT = BoundingBox>
65 template <
typename PolygonT = Aws::Vector<Po
int>>
67 m_polygonHasBeenSet =
true;
68 m_polygon = std::forward<PolygonT>(value);
70 template <
typename PolygonT = Aws::Vector<Po
int>>
75 template <
typename PolygonT = Po
int>
77 m_polygonHasBeenSet =
true;
78 m_polygon.emplace_back(std::forward<PolygonT>(value));
86 bool m_boundingBoxHasBeenSet =
false;
87 bool m_polygonHasBeenSet =
false;
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
const BoundingBox & GetBoundingBox() const
Geometry & AddPolygon(PolygonT &&value)
void SetBoundingBox(BoundingBoxT &&value)
Geometry & WithPolygon(PolygonT &&value)
AWS_COMPREHEND_API Geometry()=default
AWS_COMPREHEND_API Geometry(Aws::Utils::Json::JsonView jsonValue)
void SetPolygon(PolygonT &&value)
Geometry & WithBoundingBox(BoundingBoxT &&value)
const Aws::Vector< Point > & GetPolygon() const
AWS_COMPREHEND_API Geometry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BoundingBoxHasBeenSet() const
bool PolygonHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue