/*
* 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
{
///
/// A session settings object. It contains settings for the operation to be performed.
/// It accepts arguments for OutputConfig and AuditImagesLimit.
///
public partial class CreateFaceLivenessSessionRequestSettings
{
private int? _auditImagesLimit;
private LivenessOutputConfig _outputConfig;
///
/// Gets and sets the property AuditImagesLimit.
///
/// Number of audit images to be returned back. Takes an integer between 0-4. Any integer
/// less than 0 will return 0, any integer above 4 will return 4 images in the response.
/// By default, it is set to 0. The limit is best effort and is based on the actual duration
/// of the selfie-video.
///
///
[AWSProperty(Min=0, Max=4)]
public int AuditImagesLimit
{
get { return this._auditImagesLimit.GetValueOrDefault(); }
set { this._auditImagesLimit = value; }
}
// Check to see if AuditImagesLimit property is set
internal bool IsSetAuditImagesLimit()
{
return this._auditImagesLimit.HasValue;
}
///
/// Gets and sets the property OutputConfig.
///
/// Can specify the location of an Amazon S3 bucket, where reference and audit images
/// will be stored. Note that the Amazon S3 bucket must be located in the caller's AWS
/// account and in the same region as the Face Liveness end-point. Additionally, the Amazon
/// S3 object keys are auto-generated by the Face Liveness system. Requires that the caller
/// has the s3:PutObject
permission on the Amazon S3 bucket.
///
///
public LivenessOutputConfig OutputConfig
{
get { return this._outputConfig; }
set { this._outputConfig = value; }
}
// Check to see if OutputConfig property is set
internal bool IsSetOutputConfig()
{
return this._outputConfig != null;
}
}
}