/*
* 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 SearchUsersByImage operation.
///
public partial class SearchUsersByImageResponse : AmazonWebServiceResponse
{
private string _faceModelVersion;
private SearchedFaceDetails _searchedFace;
private List _unsearchedFaces = new List();
private List _userMatches = new List();
///
/// 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 SearchedFace.
///
/// A list of FaceDetail objects containing the BoundingBox for the largest face in image,
/// as well as the confidence in the bounding box, that was searched for matches. If no
/// valid face is detected in the image the response will contain no SearchedFace object.
///
///
public SearchedFaceDetails SearchedFace
{
get { return this._searchedFace; }
set { this._searchedFace = value; }
}
// Check to see if SearchedFace property is set
internal bool IsSetSearchedFace()
{
return this._searchedFace != null;
}
///
/// Gets and sets the property UnsearchedFaces.
///
/// List of UnsearchedFace objects. Contains the face details infered from the specified
/// image but not used for search. Contains reasons that describe why a face wasn't used
/// for Search.
///
///
public List UnsearchedFaces
{
get { return this._unsearchedFaces; }
set { this._unsearchedFaces = value; }
}
// Check to see if UnsearchedFaces property is set
internal bool IsSetUnsearchedFaces()
{
return this._unsearchedFaces != null && this._unsearchedFaces.Count > 0;
}
///
/// Gets and sets the property UserMatches.
///
/// An array of UserID objects that matched the input face, along with the confidence
/// in the match. The returned structure will be empty if there are no matches. Returned
/// if the SearchUsersByImageResponse action is successful.
///
///
[AWSProperty(Max=500)]
public List UserMatches
{
get { return this._userMatches; }
set { this._userMatches = value; }
}
// Check to see if UserMatches property is set
internal bool IsSetUserMatches()
{
return this._userMatches != null && this._userMatches.Count > 0;
}
}
}