/*
* 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 voice-id-2021-09-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.VoiceID.Model
{
///
/// Container for the parameters to the StartSpeakerEnrollmentJob operation.
/// Starts a new batch speaker enrollment job using specified details.
///
public partial class StartSpeakerEnrollmentJobRequest : AmazonVoiceIDRequest
{
private string _clientToken;
private string _dataAccessRoleArn;
private string _domainId;
private EnrollmentConfig _enrollmentConfig;
private InputDataConfig _inputDataConfig;
private string _jobName;
private OutputDataConfig _outputDataConfig;
///
/// Gets and sets the property ClientToken.
///
/// A unique, case-sensitive identifier that you provide to ensure the idempotency of
/// the request. If not provided, the Amazon Web Services SDK populates this field. For
/// more information about idempotency, see Making
/// retries safe with idempotent APIs.
///
///
[AWSProperty(Min=1, Max=64)]
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
///
/// Gets and sets the property DataAccessRoleArn.
///
/// The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to access
/// customer's buckets to read the input manifest file and write the job output file.
/// Refer to Batch
/// enrollment using audio data from prior calls for the permissions needed in this
/// role.
///
///
[AWSProperty(Required=true, Min=20, Max=2048)]
public string DataAccessRoleArn
{
get { return this._dataAccessRoleArn; }
set { this._dataAccessRoleArn = value; }
}
// Check to see if DataAccessRoleArn property is set
internal bool IsSetDataAccessRoleArn()
{
return this._dataAccessRoleArn != null;
}
///
/// Gets and sets the property DomainId.
///
/// The identifier of the domain that contains the speaker enrollment job and in which
/// the speakers are enrolled.
///
///
[AWSProperty(Required=true, Min=22, Max=22)]
public string DomainId
{
get { return this._domainId; }
set { this._domainId = value; }
}
// Check to see if DomainId property is set
internal bool IsSetDomainId()
{
return this._domainId != null;
}
///
/// Gets and sets the property EnrollmentConfig.
///
/// The enrollment config that contains details such as the action to take when a speaker
/// is already enrolled in Voice ID or when a speaker is identified as a fraudster.
///
///
public EnrollmentConfig EnrollmentConfig
{
get { return this._enrollmentConfig; }
set { this._enrollmentConfig = value; }
}
// Check to see if EnrollmentConfig property is set
internal bool IsSetEnrollmentConfig()
{
return this._enrollmentConfig != null;
}
///
/// Gets and sets the property InputDataConfig.
///
/// The input data config containing the S3 location for the input manifest file that
/// contains the list of speaker enrollment requests.
///
///
[AWSProperty(Required=true)]
public InputDataConfig InputDataConfig
{
get { return this._inputDataConfig; }
set { this._inputDataConfig = value; }
}
// Check to see if InputDataConfig property is set
internal bool IsSetInputDataConfig()
{
return this._inputDataConfig != null;
}
///
/// Gets and sets the property JobName.
///
/// A name for your speaker enrollment job.
///
///
[AWSProperty(Sensitive=true, Min=1, Max=256)]
public string JobName
{
get { return this._jobName; }
set { this._jobName = value; }
}
// Check to see if JobName property is set
internal bool IsSetJobName()
{
return this._jobName != null;
}
///
/// Gets and sets the property OutputDataConfig.
///
/// The output data config containing the S3 location where Voice ID writes the job output
/// file; you must also include a KMS key ID to encrypt the file.
///
///
[AWSProperty(Required=true)]
public OutputDataConfig OutputDataConfig
{
get { return this._outputDataConfig; }
set { this._outputDataConfig = value; }
}
// Check to see if OutputDataConfig property is set
internal bool IsSetOutputDataConfig()
{
return this._outputDataConfig != null;
}
}
}