/*
* 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 GetLabelDetection operation.
///
public partial class GetLabelDetectionResponse : AmazonWebServiceResponse
{
private GetLabelDetectionRequestMetadata _getRequestMetadata;
private string _jobId;
private VideoJobStatus _jobStatus;
private string _jobTag;
private string _labelModelVersion;
private List _labels = new List();
private string _nextToken;
private string _statusMessage;
private Video _video;
private VideoMetadata _videoMetadata;
///
/// Gets and sets the property GetRequestMetadata.
///
/// Information about the paramters used when getting a response. Includes information
/// on aggregation and sorting methods.
///
///
public GetLabelDetectionRequestMetadata GetRequestMetadata
{
get { return this._getRequestMetadata; }
set { this._getRequestMetadata = value; }
}
// Check to see if GetRequestMetadata property is set
internal bool IsSetGetRequestMetadata()
{
return this._getRequestMetadata != null;
}
///
/// Gets and sets the property JobId.
///
/// Job identifier for the label detection operation for which you want to obtain results.
/// The job identifer is returned by an initial call to StartLabelDetection.
///
///
[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 label detection 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 StartLabelDetection 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 LabelModelVersion.
///
/// Version number of the label detection model that was used to detect labels.
///
///
public string LabelModelVersion
{
get { return this._labelModelVersion; }
set { this._labelModelVersion = value; }
}
// Check to see if LabelModelVersion property is set
internal bool IsSetLabelModelVersion()
{
return this._labelModelVersion != null;
}
///
/// Gets and sets the property Labels.
///
/// An array of labels detected in the video. Each element contains the detected label
/// and the time, in milliseconds from the start of the video, that the label was detected.
///
///
///
public List Labels
{
get { return this._labels; }
set { this._labels = value; }
}
// Check to see if Labels property is set
internal bool IsSetLabels()
{
return this._labels != null && this._labels.Count > 0;
}
///
/// 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 labels.
///
///
[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;
}
}
}