/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the rekognition-2016-06-27.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Rekognition.Model { /// /// This is the response object from the DetectProtectiveEquipment operation. /// public partial class DetectProtectiveEquipmentResponse : AmazonWebServiceResponse { private List _persons = new List(); private string _protectiveEquipmentModelVersion; private ProtectiveEquipmentSummary _summary; /// /// Gets and sets the property Persons. /// /// An array of persons detected in the image (including persons not wearing PPE). /// /// public List Persons { get { return this._persons; } set { this._persons = value; } } // Check to see if Persons property is set internal bool IsSetPersons() { return this._persons != null && this._persons.Count > 0; } /// /// Gets and sets the property ProtectiveEquipmentModelVersion. /// /// The version number of the PPE detection model used to detect PPE in the image. /// /// public string ProtectiveEquipmentModelVersion { get { return this._protectiveEquipmentModelVersion; } set { this._protectiveEquipmentModelVersion = value; } } // Check to see if ProtectiveEquipmentModelVersion property is set internal bool IsSetProtectiveEquipmentModelVersion() { return this._protectiveEquipmentModelVersion != null; } /// /// Gets and sets the property Summary. /// /// Summary information for the types of PPE specified in the SummarizationAttributes /// input parameter. /// /// public ProtectiveEquipmentSummary Summary { get { return this._summary; } set { this._summary = value; } } // Check to see if Summary property is set internal bool IsSetSummary() { return this._summary != null; } } }