/* * 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 SearchFaces operation. /// public partial class SearchFacesResponse : AmazonWebServiceResponse { private List _faceMatches = new List(); private string _faceModelVersion; private string _searchedFaceId; /// /// Gets and sets the property FaceMatches. /// /// An array of faces that matched the input face, along with the confidence in the match. /// /// public List FaceMatches { get { return this._faceMatches; } set { this._faceMatches = value; } } // Check to see if FaceMatches property is set internal bool IsSetFaceMatches() { return this._faceMatches != null && this._faceMatches.Count > 0; } /// /// Gets and sets the property FaceModelVersion. /// /// Version number of the face detection model associated with the input collection (CollectionId). /// /// public string FaceModelVersion { get { return this._faceModelVersion; } set { this._faceModelVersion = value; } } // Check to see if FaceModelVersion property is set internal bool IsSetFaceModelVersion() { return this._faceModelVersion != null; } /// /// Gets and sets the property SearchedFaceId. /// /// ID of the face that was searched for matches in a collection. /// /// public string SearchedFaceId { get { return this._searchedFaceId; } set { this._searchedFaceId = value; } } // Check to see if SearchedFaceId property is set internal bool IsSetSearchedFaceId() { return this._searchedFaceId != null; } } }