7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/BoundingBox.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/model/Point.h>
50 template<
typename BoundingBoxT = BoundingBox>
51 void SetBoundingBox(BoundingBoxT&& value) { m_boundingBoxHasBeenSet =
true; m_boundingBox = std::forward<BoundingBoxT>(value); }
52 template<
typename BoundingBoxT = BoundingBox>
62 template<
typename PolygonT = Aws::Vector<Po
int>>
63 void SetPolygon(PolygonT&& value) { m_polygonHasBeenSet =
true; m_polygon = std::forward<PolygonT>(value); }
64 template<
typename PolygonT = Aws::Vector<Po
int>>
66 template<
typename PolygonT = Po
int>
67 Geometry&
AddPolygon(PolygonT&& value) { m_polygonHasBeenSet =
true; m_polygon.emplace_back(std::forward<PolygonT>(value));
return *
this; }
72 bool m_boundingBoxHasBeenSet =
false;
75 bool m_polygonHasBeenSet =
false;
AWS_REKOGNITION_API Geometry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BoundingBoxHasBeenSet() const
Geometry & WithPolygon(PolygonT &&value)
const BoundingBox & GetBoundingBox() const
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API Geometry(Aws::Utils::Json::JsonView jsonValue)
bool PolygonHasBeenSet() const
void SetPolygon(PolygonT &&value)
Geometry & WithBoundingBox(BoundingBoxT &&value)
AWS_REKOGNITION_API Geometry()=default
void SetBoundingBox(BoundingBoxT &&value)
Geometry & AddPolygon(PolygonT &&value)
const Aws::Vector< Point > & GetPolygon() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue