/* * 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 { /// /// Contains all the information about a fraudster registration job. /// public partial class FraudsterRegistrationJob { private DateTime? _createdAt; private string _dataAccessRoleArn; private string _domainId; private DateTime? _endedAt; private FailureDetails _failureDetails; private InputDataConfig _inputDataConfig; private string _jobId; private string _jobName; private JobProgress _jobProgress; private FraudsterRegistrationJobStatus _jobStatus; private OutputDataConfig _outputDataConfig; private RegistrationConfig _registrationConfig; /// /// Gets and sets the property CreatedAt. /// /// A timestamp of when the fraudster registration job was created. /// /// public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// /// 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. /// /// [AWSProperty(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. /// /// [AWSProperty(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 EndedAt. /// /// A timestamp of when the fraudster registration job ended. /// /// public DateTime EndedAt { get { return this._endedAt.GetValueOrDefault(); } set { this._endedAt = value; } } // Check to see if EndedAt property is set internal bool IsSetEndedAt() { return this._endedAt.HasValue; } /// /// Gets and sets the property FailureDetails. /// /// Contains details that are populated when an entire batch job fails. In cases of individual /// registration job failures, the batch job as a whole doesn't fail; it is completed /// with a JobStatus of COMPLETED_WITH_ERRORS. You can use the /// job output file to identify the individual registration requests that failed. /// /// public FailureDetails FailureDetails { get { return this._failureDetails; } set { this._failureDetails = value; } } // Check to see if FailureDetails property is set internal bool IsSetFailureDetails() { return this._failureDetails != 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 job requests. /// /// 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 JobId. /// /// The service-generated identifier for the fraudster registration job. /// /// [AWSProperty(Min=22, Max=22)] 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 JobName. /// /// The client-provided name for the 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 JobProgress. /// /// Shows the completed percentage of registration requests listed in the input file. /// /// public JobProgress JobProgress { get { return this._jobProgress; } set { this._jobProgress = value; } } // Check to see if JobProgress property is set internal bool IsSetJobProgress() { return this._jobProgress != null; } /// /// Gets and sets the property JobStatus. /// /// The current status of the fraudster registration job. /// /// public FraudsterRegistrationJobStatus 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 OutputDataConfig. /// /// The output data config containing the S3 location where you want Voice ID to write /// your job output file; you must also include a KMS key ID in order to encrypt the file. /// /// 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; } } }