/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary information for required items of personal protective equipment (PPE)
* detected on persons by a call to DetectProtectiveEquipment. You specify
* the required type of PPE in the To
* get a total for each category, use the size of the field array. For example, to
* find out how many people were detected as wearing the specified PPE, use the
* size of the SummarizationAttributes
* (ProtectiveEquipmentSummarizationAttributes) input parameter. The summary
* includes which persons were detected wearing the required personal protective
* equipment (PersonsWithRequiredEquipment
), which persons were
* detected as not wearing the required PPE
* (PersonsWithoutRequiredEquipment
), and the persons in which a
* determination could not be made (PersonsIndeterminate
).PersonsWithRequiredEquipment
array. If you want to find
* out more about a person, such as the location (BoundingBox) of the person
* on the image, use the person ID in each array element. Each person ID matches
* the ID field of a ProtectiveEquipmentPerson object returned in the
* Persons
array by
* DetectProtectiveEquipment
.See Also:
AWS
* API Reference
An array of IDs for persons who are wearing detected personal protective * equipment.
*/ inline const Aws::VectorAn array of IDs for persons who are wearing detected personal protective * equipment.
*/ inline bool PersonsWithRequiredEquipmentHasBeenSet() const { return m_personsWithRequiredEquipmentHasBeenSet; } /** *An array of IDs for persons who are wearing detected personal protective * equipment.
*/ inline void SetPersonsWithRequiredEquipment(const Aws::VectorAn array of IDs for persons who are wearing detected personal protective * equipment.
*/ inline void SetPersonsWithRequiredEquipment(Aws::VectorAn array of IDs for persons who are wearing detected personal protective * equipment.
*/ inline ProtectiveEquipmentSummary& WithPersonsWithRequiredEquipment(const Aws::VectorAn array of IDs for persons who are wearing detected personal protective * equipment.
*/ inline ProtectiveEquipmentSummary& WithPersonsWithRequiredEquipment(Aws::VectorAn array of IDs for persons who are wearing detected personal protective * equipment.
*/ inline ProtectiveEquipmentSummary& AddPersonsWithRequiredEquipment(int value) { m_personsWithRequiredEquipmentHasBeenSet = true; m_personsWithRequiredEquipment.push_back(value); return *this; } /** *An array of IDs for persons who are not wearing all of the types of PPE
* specified in the RequiredEquipmentTypes
field of the detected
* personal protective equipment.
An array of IDs for persons who are not wearing all of the types of PPE
* specified in the RequiredEquipmentTypes
field of the detected
* personal protective equipment.
An array of IDs for persons who are not wearing all of the types of PPE
* specified in the RequiredEquipmentTypes
field of the detected
* personal protective equipment.
An array of IDs for persons who are not wearing all of the types of PPE
* specified in the RequiredEquipmentTypes
field of the detected
* personal protective equipment.
An array of IDs for persons who are not wearing all of the types of PPE
* specified in the RequiredEquipmentTypes
field of the detected
* personal protective equipment.
An array of IDs for persons who are not wearing all of the types of PPE
* specified in the RequiredEquipmentTypes
field of the detected
* personal protective equipment.
An array of IDs for persons who are not wearing all of the types of PPE
* specified in the RequiredEquipmentTypes
field of the detected
* personal protective equipment.
An array of IDs for persons where it was not possible to determine if they * are wearing personal protective equipment.
*/ inline const Aws::VectorAn array of IDs for persons where it was not possible to determine if they * are wearing personal protective equipment.
*/ inline bool PersonsIndeterminateHasBeenSet() const { return m_personsIndeterminateHasBeenSet; } /** *An array of IDs for persons where it was not possible to determine if they * are wearing personal protective equipment.
*/ inline void SetPersonsIndeterminate(const Aws::VectorAn array of IDs for persons where it was not possible to determine if they * are wearing personal protective equipment.
*/ inline void SetPersonsIndeterminate(Aws::VectorAn array of IDs for persons where it was not possible to determine if they * are wearing personal protective equipment.
*/ inline ProtectiveEquipmentSummary& WithPersonsIndeterminate(const Aws::VectorAn array of IDs for persons where it was not possible to determine if they * are wearing personal protective equipment.
*/ inline ProtectiveEquipmentSummary& WithPersonsIndeterminate(Aws::VectorAn array of IDs for persons where it was not possible to determine if they * are wearing personal protective equipment.
*/ inline ProtectiveEquipmentSummary& AddPersonsIndeterminate(int value) { m_personsIndeterminateHasBeenSet = true; m_personsIndeterminate.push_back(value); return *this; } private: Aws::Vector