7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9#include <aws/rekognition/model/BoundingBox.h>
10#include <aws/rekognition/model/Point.h>
21namespace Rekognition {
44 template <
typename BoundingBoxT = BoundingBox>
46 m_boundingBoxHasBeenSet =
true;
47 m_boundingBox = std::forward<BoundingBoxT>(value);
49 template <
typename BoundingBoxT = BoundingBox>
62 template <
typename PolygonT = Aws::Vector<Po
int>>
64 m_polygonHasBeenSet =
true;
65 m_polygon = std::forward<PolygonT>(value);
67 template <
typename PolygonT = Aws::Vector<Po
int>>
72 template <
typename PolygonT = Po
int>
74 m_polygonHasBeenSet =
true;
75 m_polygon.emplace_back(std::forward<PolygonT>(value));
83 bool m_boundingBoxHasBeenSet =
false;
84 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