/*
* 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 GetCelebrityRecognition operation.
///
public partial class GetCelebrityRecognitionResponse : AmazonWebServiceResponse
{
private List _celebrities = new List();
private string _jobId;
private VideoJobStatus _jobStatus;
private string _jobTag;
private string _nextToken;
private string _statusMessage;
private Video _video;
private VideoMetadata _videoMetadata;
///
/// Gets and sets the property Celebrities.
///
/// Array of celebrities recognized in the video.
///
///
public List Celebrities
{
get { return this._celebrities; }
set { this._celebrities = value; }
}
// Check to see if Celebrities property is set
internal bool IsSetCelebrities()
{
return this._celebrities != null && this._celebrities.Count > 0;
}
///
/// Gets and sets the property JobId.
///
/// Job identifier for the celebrity recognition operation for which you want to obtain
/// results. The job identifer is returned by an initial call to StartCelebrityRecognition.
///
///
[AWSProperty(Min=1, Max=64)]
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
///
/// Gets and sets the property JobStatus.
///
/// The current status of the celebrity recognition job.
///
///
public VideoJobStatus JobStatus
{
get { return this._jobStatus; }
set { this._jobStatus = value; }
}
// Check to see if JobStatus property is set
internal bool IsSetJobStatus()
{
return this._jobStatus != null;
}
///
/// Gets and sets the property JobTag.
///
/// A job identifier specified in the call to StartCelebrityRecognition and returned in
/// the job completion notification sent to your Amazon Simple Notification Service topic.
///
///
[AWSProperty(Min=1, Max=1024)]
public string JobTag
{
get { return this._jobTag; }
set { this._jobTag = value; }
}
// Check to see if JobTag property is set
internal bool IsSetJobTag()
{
return this._jobTag != null;
}
///
/// Gets and sets the property NextToken.
///
/// If the response is truncated, Amazon Rekognition Video returns this token that you
/// can use in the subsequent request to retrieve the next set of celebrities.
///
///
[AWSProperty(Max=255)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
///
/// Gets and sets the property StatusMessage.
///
/// If the job fails, StatusMessage
provides a descriptive error message.
///
///
public string StatusMessage
{
get { return this._statusMessage; }
set { this._statusMessage = value; }
}
// Check to see if StatusMessage property is set
internal bool IsSetStatusMessage()
{
return this._statusMessage != null;
}
///
/// Gets and sets the property Video.
///
public Video Video
{
get { return this._video; }
set { this._video = value; }
}
// Check to see if Video property is set
internal bool IsSetVideo()
{
return this._video != null;
}
///
/// Gets and sets the property VideoMetadata.
///
/// Information about a video that Amazon Rekognition Video analyzed. Videometadata
/// is returned in every page of paginated responses from a Amazon Rekognition Video operation.
///
///
public VideoMetadata VideoMetadata
{
get { return this._videoMetadata; }
set { this._videoMetadata = value; }
}
// Check to see if VideoMetadata property is set
internal bool IsSetVideoMetadata()
{
return this._videoMetadata != null;
}
}
}