/*
* 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 SearchUsers operation.
///
public partial class SearchUsersResponse : AmazonWebServiceResponse
{
private string _faceModelVersion;
private SearchedFace _searchedFace;
private SearchedUser _searchedUser;
private List _userMatches = new List();
///
/// Gets and sets the property FaceModelVersion.
///
/// Version number of the face detection model associated with the input 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.
///
/// Contains the ID of a face that was used to search for matches in a collection.
///
///
public SearchedFace 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 SearchedUser.
///
/// Contains the ID of the UserID that was used to search for matches in a collection.
///
///
public SearchedUser SearchedUser
{
get { return this._searchedUser; }
set { this._searchedUser = value; }
}
// Check to see if SearchedUser property is set
internal bool IsSetSearchedUser()
{
return this._searchedUser != null;
}
///
/// Gets and sets the property UserMatches.
///
/// An array of UserMatch objects that matched the input face along with the confidence
/// in the match. Array will be empty if there are no matches.
///
///
[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;
}
}
}