/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an item of Personal Protective Equipment (PPE) detected by
* DetectProtectiveEquipment. For more information, see
* DetectProtectiveEquipment.See Also:
AWS
* API Reference
A bounding box surrounding the item of detected PPE.
*/ inline const BoundingBox& GetBoundingBox() const{ return m_boundingBox; } /** *A bounding box surrounding the item of detected PPE.
*/ inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; } /** *A bounding box surrounding the item of detected PPE.
*/ inline void SetBoundingBox(const BoundingBox& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; } /** *A bounding box surrounding the item of detected PPE.
*/ inline void SetBoundingBox(BoundingBox&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); } /** *A bounding box surrounding the item of detected PPE.
*/ inline EquipmentDetection& WithBoundingBox(const BoundingBox& value) { SetBoundingBox(value); return *this;} /** *A bounding box surrounding the item of detected PPE.
*/ inline EquipmentDetection& WithBoundingBox(BoundingBox&& value) { SetBoundingBox(std::move(value)); return *this;} /** *The confidence that Amazon Rekognition has that the bounding box
* (BoundingBox
) contains an item of PPE.
The confidence that Amazon Rekognition has that the bounding box
* (BoundingBox
) contains an item of PPE.
The confidence that Amazon Rekognition has that the bounding box
* (BoundingBox
) contains an item of PPE.
The confidence that Amazon Rekognition has that the bounding box
* (BoundingBox
) contains an item of PPE.
The type of detected PPE.
*/ inline const ProtectiveEquipmentType& GetType() const{ return m_type; } /** *The type of detected PPE.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of detected PPE.
*/ inline void SetType(const ProtectiveEquipmentType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of detected PPE.
*/ inline void SetType(ProtectiveEquipmentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of detected PPE.
*/ inline EquipmentDetection& WithType(const ProtectiveEquipmentType& value) { SetType(value); return *this;} /** *The type of detected PPE.
*/ inline EquipmentDetection& WithType(ProtectiveEquipmentType&& value) { SetType(std::move(value)); return *this;} /** *Information about the body part covered by the detected PPE.
*/ inline const CoversBodyPart& GetCoversBodyPart() const{ return m_coversBodyPart; } /** *Information about the body part covered by the detected PPE.
*/ inline bool CoversBodyPartHasBeenSet() const { return m_coversBodyPartHasBeenSet; } /** *Information about the body part covered by the detected PPE.
*/ inline void SetCoversBodyPart(const CoversBodyPart& value) { m_coversBodyPartHasBeenSet = true; m_coversBodyPart = value; } /** *Information about the body part covered by the detected PPE.
*/ inline void SetCoversBodyPart(CoversBodyPart&& value) { m_coversBodyPartHasBeenSet = true; m_coversBodyPart = std::move(value); } /** *Information about the body part covered by the detected PPE.
*/ inline EquipmentDetection& WithCoversBodyPart(const CoversBodyPart& value) { SetCoversBodyPart(value); return *this;} /** *Information about the body part covered by the detected PPE.
*/ inline EquipmentDetection& WithCoversBodyPart(CoversBodyPart&& value) { SetCoversBodyPart(std::move(value)); return *this;} private: BoundingBox m_boundingBox; bool m_boundingBoxHasBeenSet = false; double m_confidence; bool m_confidenceHasBeenSet = false; ProtectiveEquipmentType m_type; bool m_typeHasBeenSet = false; CoversBodyPart m_coversBodyPart; bool m_coversBodyPartHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws