/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A person detected by a call to DetectProtectiveEquipment. The API
* returns all persons detected in the input image in an array of
* ProtectiveEquipmentPerson
objects.See Also:
AWS
* API Reference
An array of body parts detected on a person's body (including body parts * without PPE).
*/ inline const Aws::VectorAn array of body parts detected on a person's body (including body parts * without PPE).
*/ inline bool BodyPartsHasBeenSet() const { return m_bodyPartsHasBeenSet; } /** *An array of body parts detected on a person's body (including body parts * without PPE).
*/ inline void SetBodyParts(const Aws::VectorAn array of body parts detected on a person's body (including body parts * without PPE).
*/ inline void SetBodyParts(Aws::VectorAn array of body parts detected on a person's body (including body parts * without PPE).
*/ inline ProtectiveEquipmentPerson& WithBodyParts(const Aws::VectorAn array of body parts detected on a person's body (including body parts * without PPE).
*/ inline ProtectiveEquipmentPerson& WithBodyParts(Aws::VectorAn array of body parts detected on a person's body (including body parts * without PPE).
*/ inline ProtectiveEquipmentPerson& AddBodyParts(const ProtectiveEquipmentBodyPart& value) { m_bodyPartsHasBeenSet = true; m_bodyParts.push_back(value); return *this; } /** *An array of body parts detected on a person's body (including body parts * without PPE).
*/ inline ProtectiveEquipmentPerson& AddBodyParts(ProtectiveEquipmentBodyPart&& value) { m_bodyPartsHasBeenSet = true; m_bodyParts.push_back(std::move(value)); return *this; } /** *A bounding box around the detected person.
*/ inline const BoundingBox& GetBoundingBox() const{ return m_boundingBox; } /** *A bounding box around the detected person.
*/ inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; } /** *A bounding box around the detected person.
*/ inline void SetBoundingBox(const BoundingBox& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; } /** *A bounding box around the detected person.
*/ inline void SetBoundingBox(BoundingBox&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); } /** *A bounding box around the detected person.
*/ inline ProtectiveEquipmentPerson& WithBoundingBox(const BoundingBox& value) { SetBoundingBox(value); return *this;} /** *A bounding box around the detected person.
*/ inline ProtectiveEquipmentPerson& WithBoundingBox(BoundingBox&& value) { SetBoundingBox(std::move(value)); return *this;} /** *The confidence that Amazon Rekognition has that the bounding box contains a * person.
*/ inline double GetConfidence() const{ return m_confidence; } /** *The confidence that Amazon Rekognition has that the bounding box contains a * person.
*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *The confidence that Amazon Rekognition has that the bounding box contains a * person.
*/ inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *The confidence that Amazon Rekognition has that the bounding box contains a * person.
*/ inline ProtectiveEquipmentPerson& WithConfidence(double value) { SetConfidence(value); return *this;} /** *The identifier for the detected person. The identifier is only unique for a
* single call to DetectProtectiveEquipment
.
The identifier for the detected person. The identifier is only unique for a
* single call to DetectProtectiveEquipment
.
The identifier for the detected person. The identifier is only unique for a
* single call to DetectProtectiveEquipment
.
The identifier for the detected person. The identifier is only unique for a
* single call to DetectProtectiveEquipment
.