7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/BoundingBox.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/comprehend/model/Point.h>
52 template<
typename BoundingBoxT = BoundingBox>
53 void SetBoundingBox(BoundingBoxT&& value) { m_boundingBoxHasBeenSet =
true; m_boundingBox = std::forward<BoundingBoxT>(value); }
54 template<
typename BoundingBoxT = BoundingBox>
65 template<
typename PolygonT = Aws::Vector<Po
int>>
66 void SetPolygon(PolygonT&& value) { m_polygonHasBeenSet =
true; m_polygon = std::forward<PolygonT>(value); }
67 template<
typename PolygonT = Aws::Vector<Po
int>>
69 template<
typename PolygonT = Po
int>
70 Geometry&
AddPolygon(PolygonT&& value) { m_polygonHasBeenSet =
true; m_polygon.emplace_back(std::forward<PolygonT>(value));
return *
this; }
75 bool m_boundingBoxHasBeenSet =
false;
78 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