/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a body part detected by DetectProtectiveEquipment
* that contains PPE. An array of ProtectiveEquipmentBodyPart
objects
* is returned for each person detected by DetectProtectiveEquipment
.
* See Also:
AWS
* API Reference
The detected body part.
*/ inline const BodyPart& GetName() const{ return m_name; } /** *The detected body part.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The detected body part.
*/ inline void SetName(const BodyPart& value) { m_nameHasBeenSet = true; m_name = value; } /** *The detected body part.
*/ inline void SetName(BodyPart&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The detected body part.
*/ inline ProtectiveEquipmentBodyPart& WithName(const BodyPart& value) { SetName(value); return *this;} /** *The detected body part.
*/ inline ProtectiveEquipmentBodyPart& WithName(BodyPart&& value) { SetName(std::move(value)); return *this;} /** *The confidence that Amazon Rekognition has in the detection accuracy of the * detected body part.
*/ inline double GetConfidence() const{ return m_confidence; } /** *The confidence that Amazon Rekognition has in the detection accuracy of the * detected body part.
*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *The confidence that Amazon Rekognition has in the detection accuracy of the * detected body part.
*/ inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *The confidence that Amazon Rekognition has in the detection accuracy of the * detected body part.
*/ inline ProtectiveEquipmentBodyPart& WithConfidence(double value) { SetConfidence(value); return *this;} /** *An array of Personal Protective Equipment items detected around a body * part.
*/ inline const Aws::VectorAn array of Personal Protective Equipment items detected around a body * part.
*/ inline bool EquipmentDetectionsHasBeenSet() const { return m_equipmentDetectionsHasBeenSet; } /** *An array of Personal Protective Equipment items detected around a body * part.
*/ inline void SetEquipmentDetections(const Aws::VectorAn array of Personal Protective Equipment items detected around a body * part.
*/ inline void SetEquipmentDetections(Aws::VectorAn array of Personal Protective Equipment items detected around a body * part.
*/ inline ProtectiveEquipmentBodyPart& WithEquipmentDetections(const Aws::VectorAn array of Personal Protective Equipment items detected around a body * part.
*/ inline ProtectiveEquipmentBodyPart& WithEquipmentDetections(Aws::VectorAn array of Personal Protective Equipment items detected around a body * part.
*/ inline ProtectiveEquipmentBodyPart& AddEquipmentDetections(const EquipmentDetection& value) { m_equipmentDetectionsHasBeenSet = true; m_equipmentDetections.push_back(value); return *this; } /** *An array of Personal Protective Equipment items detected around a body * part.
*/ inline ProtectiveEquipmentBodyPart& AddEquipmentDetections(EquipmentDetection&& value) { m_equipmentDetectionsHasBeenSet = true; m_equipmentDetections.push_back(std::move(value)); return *this; } private: BodyPart m_name; bool m_nameHasBeenSet = false; double m_confidence; bool m_confidenceHasBeenSet = false; Aws::Vector