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>
54 template<
typename BoundingBoxT = BoundingBox>
55 void SetBoundingBox(BoundingBoxT&& value) { m_boundingBoxHasBeenSet =
true; m_boundingBox = std::forward<BoundingBoxT>(value); }
56 template<
typename BoundingBoxT = BoundingBox>
67 template<
typename PolygonT = Aws::Vector<Po
int>>
68 void SetPolygon(PolygonT&& value) { m_polygonHasBeenSet =
true; m_polygon = std::forward<PolygonT>(value); }
69 template<
typename PolygonT = Aws::Vector<Po
int>>
71 template<
typename PolygonT = Po
int>
72 RegionOfInterest&
AddPolygon(PolygonT&& value) { m_polygonHasBeenSet =
true; m_polygon.emplace_back(std::forward<PolygonT>(value));
return *
this; }
77 bool m_boundingBoxHasBeenSet =
false;
80 bool m_polygonHasBeenSet =
false;
const Aws::Vector< Point > & GetPolygon() const
AWS_REKOGNITION_API RegionOfInterest()=default
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
bool BoundingBoxHasBeenSet() const
RegionOfInterest & WithBoundingBox(BoundingBoxT &&value)
RegionOfInterest & AddPolygon(PolygonT &&value)
AWS_REKOGNITION_API RegionOfInterest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBoundingBox(BoundingBoxT &&value)
void SetPolygon(PolygonT &&value)
const BoundingBox & GetBoundingBox() const
AWS_REKOGNITION_API RegionOfInterest(Aws::Utils::Json::JsonView jsonValue)
bool PolygonHasBeenSet() const
RegionOfInterest & WithPolygon(PolygonT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue