/*
* 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 AssociateFaces operation.
///
public partial class AssociateFacesResponse : AmazonWebServiceResponse
{
private List _associatedFaces = new List();
private List _unsuccessfulFaceAssociations = new List();
private UserStatus _userStatus;
///
/// Gets and sets the property AssociatedFaces.
///
/// An array of AssociatedFace objects containing FaceIDs that are successfully associated
/// with the UserID is returned. Returned if the AssociateFaces action is successful.
///
///
[AWSProperty(Min=0, Max=100)]
public List AssociatedFaces
{
get { return this._associatedFaces; }
set { this._associatedFaces = value; }
}
// Check to see if AssociatedFaces property is set
internal bool IsSetAssociatedFaces()
{
return this._associatedFaces != null && this._associatedFaces.Count > 0;
}
///
/// Gets and sets the property UnsuccessfulFaceAssociations.
///
/// An array of UnsuccessfulAssociation objects containing FaceIDs that are not successfully
/// associated along with the reasons. Returned if the AssociateFaces action is successful.
///
///
[AWSProperty(Min=0, Max=500)]
public List UnsuccessfulFaceAssociations
{
get { return this._unsuccessfulFaceAssociations; }
set { this._unsuccessfulFaceAssociations = value; }
}
// Check to see if UnsuccessfulFaceAssociations property is set
internal bool IsSetUnsuccessfulFaceAssociations()
{
return this._unsuccessfulFaceAssociations != null && this._unsuccessfulFaceAssociations.Count > 0;
}
///
/// Gets and sets the property UserStatus.
///
/// The status of an update made to a UserID. Reflects if the UserID has been updated
/// for every requested change.
///
///
public UserStatus UserStatus
{
get { return this._userStatus; }
set { this._userStatus = value; }
}
// Check to see if UserStatus property is set
internal bool IsSetUserStatus()
{
return this._userStatus != null;
}
}
}