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/ProtectiveEquipmentBodyPart.h>
21namespace Rekognition {
45 template <
typename BodyPartsT = Aws::Vector<ProtectiveEquipmentBodyPart>>
47 m_bodyPartsHasBeenSet =
true;
48 m_bodyParts = std::forward<BodyPartsT>(value);
50 template <
typename BodyPartsT = Aws::Vector<ProtectiveEquipmentBodyPart>>
55 template <
typename BodyPartsT = ProtectiveEquipmentBodyPart>
57 m_bodyPartsHasBeenSet =
true;
58 m_bodyParts.emplace_back(std::forward<BodyPartsT>(value));
69 template <
typename BoundingBoxT = BoundingBox>
71 m_boundingBoxHasBeenSet =
true;
72 m_boundingBox = std::forward<BoundingBoxT>(value);
74 template <
typename BoundingBoxT = BoundingBox>
89 m_confidenceHasBeenSet =
true;
103 inline int GetId()
const {
return m_id; }
106 m_idHasBeenSet =
true;
116 bool m_bodyPartsHasBeenSet =
false;
119 bool m_boundingBoxHasBeenSet =
false;
121 double m_confidence{0.0};
122 bool m_confidenceHasBeenSet =
false;
125 bool m_idHasBeenSet =
false;
const BoundingBox & GetBoundingBox() const
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConfidence(double value)
bool IdHasBeenSet() const
const Aws::Vector< ProtectiveEquipmentBodyPart > & GetBodyParts() const
void SetBodyParts(BodyPartsT &&value)
void SetBoundingBox(BoundingBoxT &&value)
ProtectiveEquipmentPerson & AddBodyParts(BodyPartsT &&value)
AWS_REKOGNITION_API ProtectiveEquipmentPerson(Aws::Utils::Json::JsonView jsonValue)
ProtectiveEquipmentPerson & WithId(int value)
bool BodyPartsHasBeenSet() const
double GetConfidence() const
ProtectiveEquipmentPerson & WithBodyParts(BodyPartsT &&value)
ProtectiveEquipmentPerson & WithBoundingBox(BoundingBoxT &&value)
AWS_REKOGNITION_API ProtectiveEquipmentPerson & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ConfidenceHasBeenSet() const
ProtectiveEquipmentPerson & WithConfidence(double value)
bool BoundingBoxHasBeenSet() const
AWS_REKOGNITION_API ProtectiveEquipmentPerson()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue