/* * 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 StartFraudsterRegistrationJob operation. /// Starts a new batch fraudster registration job using provided details. /// public partial class StartFraudsterRegistrationJobRequest : AmazonVoiceIDRequest { private string _clientToken; private string _dataAccessRoleArn; private string _domainId; private InputDataConfig _inputDataConfig; private string _jobName; private OutputDataConfig _outputDataConfig; private RegistrationConfig _registrationConfig; /// /// 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 the Create /// and edit a fraudster watchlist documentation 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 fraudster registration job and in which /// the fraudsters are registered. /// /// [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 InputDataConfig. /// /// The input data config containing an S3 URI for the input manifest file that contains /// the list of fraudster registration 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. /// /// The name of the new fraudster registration 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; } /// /// Gets and sets the property RegistrationConfig. /// /// The registration config containing details such as the action to take when a duplicate /// fraudster is detected, and the similarity threshold to use for detecting a duplicate /// fraudster. /// /// public RegistrationConfig RegistrationConfig { get { return this._registrationConfig; } set { this._registrationConfig = value; } } // Check to see if RegistrationConfig property is set internal bool IsSetRegistrationConfig() { return this._registrationConfig != null; } } }