/*
* 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 DescribeCollection operation.
///
public partial class DescribeCollectionResponse : AmazonWebServiceResponse
{
private string _collectionARN;
private DateTime? _creationTimestamp;
private long? _faceCount;
private string _faceModelVersion;
private long? _userCount;
///
/// Gets and sets the property CollectionARN.
///
/// The Amazon Resource Name (ARN) of the collection.
///
///
public string CollectionARN
{
get { return this._collectionARN; }
set { this._collectionARN = value; }
}
// Check to see if CollectionARN property is set
internal bool IsSetCollectionARN()
{
return this._collectionARN != null;
}
///
/// Gets and sets the property CreationTimestamp.
///
/// The number of milliseconds since the Unix epoch time until the creation of the collection.
/// The Unix epoch time is 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January
/// 1970.
///
///
public DateTime CreationTimestamp
{
get { return this._creationTimestamp.GetValueOrDefault(); }
set { this._creationTimestamp = value; }
}
// Check to see if CreationTimestamp property is set
internal bool IsSetCreationTimestamp()
{
return this._creationTimestamp.HasValue;
}
///
/// Gets and sets the property FaceCount.
///
/// The number of faces that are indexed into the collection. To index faces into a collection,
/// use IndexFaces.
///
///
[AWSProperty(Min=0)]
public long FaceCount
{
get { return this._faceCount.GetValueOrDefault(); }
set { this._faceCount = value; }
}
// Check to see if FaceCount property is set
internal bool IsSetFaceCount()
{
return this._faceCount.HasValue;
}
///
/// Gets and sets the property FaceModelVersion.
///
/// The version of the face model that's used by the collection for face detection.
///
///
///
/// For more information, see Model versioning in the Amazon Rekognition Developer Guide.
///
///
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 UserCount.
///
/// The number of UserIDs assigned to the specified colleciton.
///
///
[AWSProperty(Min=0)]
public long UserCount
{
get { return this._userCount.GetValueOrDefault(); }
set { this._userCount = value; }
}
// Check to see if UserCount property is set
internal bool IsSetUserCount()
{
return this._userCount.HasValue;
}
}
}