/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Rekognition { namespace Model { class DetectProtectiveEquipmentResult { public: AWS_REKOGNITION_API DetectProtectiveEquipmentResult(); AWS_REKOGNITION_API DetectProtectiveEquipmentResult(const Aws::AmazonWebServiceResult& result); AWS_REKOGNITION_API DetectProtectiveEquipmentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The version number of the PPE detection model used to detect PPE in the * image.

*/ inline const Aws::String& GetProtectiveEquipmentModelVersion() const{ return m_protectiveEquipmentModelVersion; } /** *

The version number of the PPE detection model used to detect PPE in the * image.

*/ inline void SetProtectiveEquipmentModelVersion(const Aws::String& value) { m_protectiveEquipmentModelVersion = value; } /** *

The version number of the PPE detection model used to detect PPE in the * image.

*/ inline void SetProtectiveEquipmentModelVersion(Aws::String&& value) { m_protectiveEquipmentModelVersion = std::move(value); } /** *

The version number of the PPE detection model used to detect PPE in the * image.

*/ inline void SetProtectiveEquipmentModelVersion(const char* value) { m_protectiveEquipmentModelVersion.assign(value); } /** *

The version number of the PPE detection model used to detect PPE in the * image.

*/ inline DetectProtectiveEquipmentResult& WithProtectiveEquipmentModelVersion(const Aws::String& value) { SetProtectiveEquipmentModelVersion(value); return *this;} /** *

The version number of the PPE detection model used to detect PPE in the * image.

*/ inline DetectProtectiveEquipmentResult& WithProtectiveEquipmentModelVersion(Aws::String&& value) { SetProtectiveEquipmentModelVersion(std::move(value)); return *this;} /** *

The version number of the PPE detection model used to detect PPE in the * image.

*/ inline DetectProtectiveEquipmentResult& WithProtectiveEquipmentModelVersion(const char* value) { SetProtectiveEquipmentModelVersion(value); return *this;} /** *

An array of persons detected in the image (including persons not wearing * PPE).

*/ inline const Aws::Vector& GetPersons() const{ return m_persons; } /** *

An array of persons detected in the image (including persons not wearing * PPE).

*/ inline void SetPersons(const Aws::Vector& value) { m_persons = value; } /** *

An array of persons detected in the image (including persons not wearing * PPE).

*/ inline void SetPersons(Aws::Vector&& value) { m_persons = std::move(value); } /** *

An array of persons detected in the image (including persons not wearing * PPE).

*/ inline DetectProtectiveEquipmentResult& WithPersons(const Aws::Vector& value) { SetPersons(value); return *this;} /** *

An array of persons detected in the image (including persons not wearing * PPE).

*/ inline DetectProtectiveEquipmentResult& WithPersons(Aws::Vector&& value) { SetPersons(std::move(value)); return *this;} /** *

An array of persons detected in the image (including persons not wearing * PPE).

*/ inline DetectProtectiveEquipmentResult& AddPersons(const ProtectiveEquipmentPerson& value) { m_persons.push_back(value); return *this; } /** *

An array of persons detected in the image (including persons not wearing * PPE).

*/ inline DetectProtectiveEquipmentResult& AddPersons(ProtectiveEquipmentPerson&& value) { m_persons.push_back(std::move(value)); return *this; } /** *

Summary information for the types of PPE specified in the * SummarizationAttributes input parameter.

*/ inline const ProtectiveEquipmentSummary& GetSummary() const{ return m_summary; } /** *

Summary information for the types of PPE specified in the * SummarizationAttributes input parameter.

*/ inline void SetSummary(const ProtectiveEquipmentSummary& value) { m_summary = value; } /** *

Summary information for the types of PPE specified in the * SummarizationAttributes input parameter.

*/ inline void SetSummary(ProtectiveEquipmentSummary&& value) { m_summary = std::move(value); } /** *

Summary information for the types of PPE specified in the * SummarizationAttributes input parameter.

*/ inline DetectProtectiveEquipmentResult& WithSummary(const ProtectiveEquipmentSummary& value) { SetSummary(value); return *this;} /** *

Summary information for the types of PPE specified in the * SummarizationAttributes input parameter.

*/ inline DetectProtectiveEquipmentResult& WithSummary(ProtectiveEquipmentSummary&& value) { SetSummary(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DetectProtectiveEquipmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DetectProtectiveEquipmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DetectProtectiveEquipmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_protectiveEquipmentModelVersion; Aws::Vector m_persons; ProtectiveEquipmentSummary m_summary; Aws::String m_requestId; }; } // namespace Model } // namespace Rekognition } // namespace Aws