/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains all the information about a speaker enrollment job.See
* Also:
AWS
* API Reference
A timestamp of when the speaker enrollment job was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *A timestamp of when the speaker enrollment job was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *A timestamp of when the speaker enrollment job was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *A timestamp of when the speaker enrollment job was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *A timestamp of when the speaker enrollment job was created.
*/ inline SpeakerEnrollmentJob& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *A timestamp of when the speaker enrollment job was created.
*/ inline SpeakerEnrollmentJob& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *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.
*/ inline const Aws::String& GetDataAccessRoleArn() const{ return m_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.
*/ inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; } /** *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.
*/ inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; } /** *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.
*/ inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); } /** *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.
*/ inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); } /** *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.
*/ inline SpeakerEnrollmentJob& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;} /** *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.
*/ inline SpeakerEnrollmentJob& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;} /** *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.
*/ inline SpeakerEnrollmentJob& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;} /** *The identifier of the domain that contains the speaker enrollment job.
*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *The identifier of the domain that contains the speaker enrollment job.
*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *The identifier of the domain that contains the speaker enrollment job.
*/ inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } /** *The identifier of the domain that contains the speaker enrollment job.
*/ inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } /** *The identifier of the domain that contains the speaker enrollment job.
*/ inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } /** *The identifier of the domain that contains the speaker enrollment job.
*/ inline SpeakerEnrollmentJob& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *The identifier of the domain that contains the speaker enrollment job.
*/ inline SpeakerEnrollmentJob& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *The identifier of the domain that contains the speaker enrollment job.
*/ inline SpeakerEnrollmentJob& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *A timestamp of when the speaker enrollment job ended.
*/ inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } /** *A timestamp of when the speaker enrollment job ended.
*/ inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } /** *A timestamp of when the speaker enrollment job ended.
*/ inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } /** *A timestamp of when the speaker enrollment job ended.
*/ inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } /** *A timestamp of when the speaker enrollment job ended.
*/ inline SpeakerEnrollmentJob& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} /** *A timestamp of when the speaker enrollment job ended.
*/ inline SpeakerEnrollmentJob& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} /** *The configuration that defines the action to take when the speaker is already
* enrolled in Voice ID, and the FraudDetectionConfig
to use.
The configuration that defines the action to take when the speaker is already
* enrolled in Voice ID, and the FraudDetectionConfig
to use.
The configuration that defines the action to take when the speaker is already
* enrolled in Voice ID, and the FraudDetectionConfig
to use.
The configuration that defines the action to take when the speaker is already
* enrolled in Voice ID, and the FraudDetectionConfig
to use.
The configuration that defines the action to take when the speaker is already
* enrolled in Voice ID, and the FraudDetectionConfig
to use.
The configuration that defines the action to take when the speaker is already
* enrolled in Voice ID, and the FraudDetectionConfig
to use.
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.
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.
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.
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.
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.
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.
The input data config containing an S3 URI for the input manifest file that * contains the list of speaker enrollment job requests.
*/ inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; } /** *The input data config containing an S3 URI for the input manifest file that * contains the list of speaker enrollment job requests.
*/ inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; } /** *The input data config containing an S3 URI for the input manifest file that * contains the list of speaker enrollment job requests.
*/ inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; } /** *The input data config containing an S3 URI for the input manifest file that * contains the list of speaker enrollment job requests.
*/ inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); } /** *The input data config containing an S3 URI for the input manifest file that * contains the list of speaker enrollment job requests.
*/ inline SpeakerEnrollmentJob& WithInputDataConfig(const InputDataConfig& value) { SetInputDataConfig(value); return *this;} /** *The input data config containing an S3 URI for the input manifest file that * contains the list of speaker enrollment job requests.
*/ inline SpeakerEnrollmentJob& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;} /** *The service-generated identifier for the speaker enrollment job.
*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *The service-generated identifier for the speaker enrollment job.
*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *The service-generated identifier for the speaker enrollment job.
*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *The service-generated identifier for the speaker enrollment job.
*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *The service-generated identifier for the speaker enrollment job.
*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *The service-generated identifier for the speaker enrollment job.
*/ inline SpeakerEnrollmentJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *The service-generated identifier for the speaker enrollment job.
*/ inline SpeakerEnrollmentJob& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *The service-generated identifier for the speaker enrollment job.
*/ inline SpeakerEnrollmentJob& WithJobId(const char* value) { SetJobId(value); return *this;} /** *The client-provided name for the speaker enrollment job.
*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *The client-provided name for the speaker enrollment job.
*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *The client-provided name for the speaker enrollment job.
*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *The client-provided name for the speaker enrollment job.
*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *The client-provided name for the speaker enrollment job.
*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *The client-provided name for the speaker enrollment job.
*/ inline SpeakerEnrollmentJob& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *The client-provided name for the speaker enrollment job.
*/ inline SpeakerEnrollmentJob& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *The client-provided name for the speaker enrollment job.
*/ inline SpeakerEnrollmentJob& WithJobName(const char* value) { SetJobName(value); return *this;} /** *Provides details on job progress. This field shows the completed percentage * of registration requests listed in the input file.
*/ inline const JobProgress& GetJobProgress() const{ return m_jobProgress; } /** *Provides details on job progress. This field shows the completed percentage * of registration requests listed in the input file.
*/ inline bool JobProgressHasBeenSet() const { return m_jobProgressHasBeenSet; } /** *Provides details on job progress. This field shows the completed percentage * of registration requests listed in the input file.
*/ inline void SetJobProgress(const JobProgress& value) { m_jobProgressHasBeenSet = true; m_jobProgress = value; } /** *Provides details on job progress. This field shows the completed percentage * of registration requests listed in the input file.
*/ inline void SetJobProgress(JobProgress&& value) { m_jobProgressHasBeenSet = true; m_jobProgress = std::move(value); } /** *Provides details on job progress. This field shows the completed percentage * of registration requests listed in the input file.
*/ inline SpeakerEnrollmentJob& WithJobProgress(const JobProgress& value) { SetJobProgress(value); return *this;} /** *Provides details on job progress. This field shows the completed percentage * of registration requests listed in the input file.
*/ inline SpeakerEnrollmentJob& WithJobProgress(JobProgress&& value) { SetJobProgress(std::move(value)); return *this;} /** *The current status of the speaker enrollment job.
*/ inline const SpeakerEnrollmentJobStatus& GetJobStatus() const{ return m_jobStatus; } /** *The current status of the speaker enrollment job.
*/ inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; } /** *The current status of the speaker enrollment job.
*/ inline void SetJobStatus(const SpeakerEnrollmentJobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; } /** *The current status of the speaker enrollment job.
*/ inline void SetJobStatus(SpeakerEnrollmentJobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); } /** *The current status of the speaker enrollment job.
*/ inline SpeakerEnrollmentJob& WithJobStatus(const SpeakerEnrollmentJobStatus& value) { SetJobStatus(value); return *this;} /** *The current status of the speaker enrollment job.
*/ inline SpeakerEnrollmentJob& WithJobStatus(SpeakerEnrollmentJobStatus&& value) { SetJobStatus(std::move(value)); return *this;} /** *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.
*/ inline const OutputDataConfig& GetOutputDataConfig() const{ return m_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.
*/ inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; } /** *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.
*/ inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; } /** *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.
*/ inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); } /** *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.
*/ inline SpeakerEnrollmentJob& WithOutputDataConfig(const OutputDataConfig& value) { SetOutputDataConfig(value); return *this;} /** *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.
*/ inline SpeakerEnrollmentJob& WithOutputDataConfig(OutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} private: Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_dataAccessRoleArn; bool m_dataAccessRoleArnHasBeenSet = false; Aws::String m_domainId; bool m_domainIdHasBeenSet = false; Aws::Utils::DateTime m_endedAt; bool m_endedAtHasBeenSet = false; EnrollmentConfig m_enrollmentConfig; bool m_enrollmentConfigHasBeenSet = false; FailureDetails m_failureDetails; bool m_failureDetailsHasBeenSet = false; InputDataConfig m_inputDataConfig; bool m_inputDataConfigHasBeenSet = false; Aws::String m_jobId; bool m_jobIdHasBeenSet = false; Aws::String m_jobName; bool m_jobNameHasBeenSet = false; JobProgress m_jobProgress; bool m_jobProgressHasBeenSet = false; SpeakerEnrollmentJobStatus m_jobStatus; bool m_jobStatusHasBeenSet = false; OutputDataConfig m_outputDataConfig; bool m_outputDataConfigHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws