/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Comprehend { namespace Model { /** *

Provides information about a document classifier.

See Also:

* AWS * API Reference

*/ class AWS_COMPREHEND_API DocumentClassifierProperties { public: DocumentClassifierProperties(); DocumentClassifierProperties(Aws::Utils::Json::JsonView jsonValue); DocumentClassifierProperties& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) that identifies the document classifier.

*/ inline const Aws::String& GetDocumentClassifierArn() const{ return m_documentClassifierArn; } /** *

The Amazon Resource Name (ARN) that identifies the document classifier.

*/ inline bool DocumentClassifierArnHasBeenSet() const { return m_documentClassifierArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) that identifies the document classifier.

*/ inline void SetDocumentClassifierArn(const Aws::String& value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn = value; } /** *

The Amazon Resource Name (ARN) that identifies the document classifier.

*/ inline void SetDocumentClassifierArn(Aws::String&& value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn = std::move(value); } /** *

The Amazon Resource Name (ARN) that identifies the document classifier.

*/ inline void SetDocumentClassifierArn(const char* value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn.assign(value); } /** *

The Amazon Resource Name (ARN) that identifies the document classifier.

*/ inline DocumentClassifierProperties& WithDocumentClassifierArn(const Aws::String& value) { SetDocumentClassifierArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the document classifier.

*/ inline DocumentClassifierProperties& WithDocumentClassifierArn(Aws::String&& value) { SetDocumentClassifierArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the document classifier.

*/ inline DocumentClassifierProperties& WithDocumentClassifierArn(const char* value) { SetDocumentClassifierArn(value); return *this;} /** *

The language code for the language of the documents that the classifier was * trained on.

*/ inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; } /** *

The language code for the language of the documents that the classifier was * trained on.

*/ inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; } /** *

The language code for the language of the documents that the classifier was * trained on.

*/ inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; } /** *

The language code for the language of the documents that the classifier was * trained on.

*/ inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); } /** *

The language code for the language of the documents that the classifier was * trained on.

*/ inline DocumentClassifierProperties& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;} /** *

The language code for the language of the documents that the classifier was * trained on.

*/ inline DocumentClassifierProperties& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;} /** *

The status of the document classifier. If the status is TRAINED * the classifier is ready to use. If the status is FAILED you can see * additional information about why the classifier wasn't trained in the * Message field.

*/ inline const ModelStatus& GetStatus() const{ return m_status; } /** *

The status of the document classifier. If the status is TRAINED * the classifier is ready to use. If the status is FAILED you can see * additional information about why the classifier wasn't trained in the * Message field.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the document classifier. If the status is TRAINED * the classifier is ready to use. If the status is FAILED you can see * additional information about why the classifier wasn't trained in the * Message field.

*/ inline void SetStatus(const ModelStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the document classifier. If the status is TRAINED * the classifier is ready to use. If the status is FAILED you can see * additional information about why the classifier wasn't trained in the * Message field.

*/ inline void SetStatus(ModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the document classifier. If the status is TRAINED * the classifier is ready to use. If the status is FAILED you can see * additional information about why the classifier wasn't trained in the * Message field.

*/ inline DocumentClassifierProperties& WithStatus(const ModelStatus& value) { SetStatus(value); return *this;} /** *

The status of the document classifier. If the status is TRAINED * the classifier is ready to use. If the status is FAILED you can see * additional information about why the classifier wasn't trained in the * Message field.

*/ inline DocumentClassifierProperties& WithStatus(ModelStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Additional information about the status of the classifier.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

Additional information about the status of the classifier.

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *

Additional information about the status of the classifier.

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *

Additional information about the status of the classifier.

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *

Additional information about the status of the classifier.

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *

Additional information about the status of the classifier.

*/ inline DocumentClassifierProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

Additional information about the status of the classifier.

*/ inline DocumentClassifierProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

Additional information about the status of the classifier.

*/ inline DocumentClassifierProperties& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

The time that the document classifier was submitted for training.

*/ inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; } /** *

The time that the document classifier was submitted for training.

*/ inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; } /** *

The time that the document classifier was submitted for training.

*/ inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; } /** *

The time that the document classifier was submitted for training.

*/ inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); } /** *

The time that the document classifier was submitted for training.

*/ inline DocumentClassifierProperties& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;} /** *

The time that the document classifier was submitted for training.

*/ inline DocumentClassifierProperties& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;} /** *

The time that training the document classifier completed.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The time that training the document classifier completed.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The time that training the document classifier completed.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The time that training the document classifier completed.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The time that training the document classifier completed.

*/ inline DocumentClassifierProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The time that training the document classifier completed.

*/ inline DocumentClassifierProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

Indicates the time when the training starts on documentation classifiers. You * are billed for the time interval between this time and the value of * TrainingEndTime.

*/ inline const Aws::Utils::DateTime& GetTrainingStartTime() const{ return m_trainingStartTime; } /** *

Indicates the time when the training starts on documentation classifiers. You * are billed for the time interval between this time and the value of * TrainingEndTime.

*/ inline bool TrainingStartTimeHasBeenSet() const { return m_trainingStartTimeHasBeenSet; } /** *

Indicates the time when the training starts on documentation classifiers. You * are billed for the time interval between this time and the value of * TrainingEndTime.

*/ inline void SetTrainingStartTime(const Aws::Utils::DateTime& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = value; } /** *

Indicates the time when the training starts on documentation classifiers. You * are billed for the time interval between this time and the value of * TrainingEndTime.

*/ inline void SetTrainingStartTime(Aws::Utils::DateTime&& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = std::move(value); } /** *

Indicates the time when the training starts on documentation classifiers. You * are billed for the time interval between this time and the value of * TrainingEndTime.

*/ inline DocumentClassifierProperties& WithTrainingStartTime(const Aws::Utils::DateTime& value) { SetTrainingStartTime(value); return *this;} /** *

Indicates the time when the training starts on documentation classifiers. You * are billed for the time interval between this time and the value of * TrainingEndTime.

*/ inline DocumentClassifierProperties& WithTrainingStartTime(Aws::Utils::DateTime&& value) { SetTrainingStartTime(std::move(value)); return *this;} /** *

The time that training of the document classifier was completed. Indicates * the time when the training completes on documentation classifiers. You are * billed for the time interval between this time and the value of * TrainingStartTime.

*/ inline const Aws::Utils::DateTime& GetTrainingEndTime() const{ return m_trainingEndTime; } /** *

The time that training of the document classifier was completed. Indicates * the time when the training completes on documentation classifiers. You are * billed for the time interval between this time and the value of * TrainingStartTime.

*/ inline bool TrainingEndTimeHasBeenSet() const { return m_trainingEndTimeHasBeenSet; } /** *

The time that training of the document classifier was completed. Indicates * the time when the training completes on documentation classifiers. You are * billed for the time interval between this time and the value of * TrainingStartTime.

*/ inline void SetTrainingEndTime(const Aws::Utils::DateTime& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = value; } /** *

The time that training of the document classifier was completed. Indicates * the time when the training completes on documentation classifiers. You are * billed for the time interval between this time and the value of * TrainingStartTime.

*/ inline void SetTrainingEndTime(Aws::Utils::DateTime&& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = std::move(value); } /** *

The time that training of the document classifier was completed. Indicates * the time when the training completes on documentation classifiers. You are * billed for the time interval between this time and the value of * TrainingStartTime.

*/ inline DocumentClassifierProperties& WithTrainingEndTime(const Aws::Utils::DateTime& value) { SetTrainingEndTime(value); return *this;} /** *

The time that training of the document classifier was completed. Indicates * the time when the training completes on documentation classifiers. You are * billed for the time interval between this time and the value of * TrainingStartTime.

*/ inline DocumentClassifierProperties& WithTrainingEndTime(Aws::Utils::DateTime&& value) { SetTrainingEndTime(std::move(value)); return *this;} /** *

The input data configuration that you supplied when you created the document * classifier for training.

*/ inline const DocumentClassifierInputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; } /** *

The input data configuration that you supplied when you created the document * classifier for training.

*/ inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; } /** *

The input data configuration that you supplied when you created the document * classifier for training.

*/ inline void SetInputDataConfig(const DocumentClassifierInputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; } /** *

The input data configuration that you supplied when you created the document * classifier for training.

*/ inline void SetInputDataConfig(DocumentClassifierInputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); } /** *

The input data configuration that you supplied when you created the document * classifier for training.

*/ inline DocumentClassifierProperties& WithInputDataConfig(const DocumentClassifierInputDataConfig& value) { SetInputDataConfig(value); return *this;} /** *

The input data configuration that you supplied when you created the document * classifier for training.

*/ inline DocumentClassifierProperties& WithInputDataConfig(DocumentClassifierInputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;} /** *

Provides output results configuration parameters for custom classifier * jobs.

*/ inline const DocumentClassifierOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; } /** *

Provides output results configuration parameters for custom classifier * jobs.

*/ inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; } /** *

Provides output results configuration parameters for custom classifier * jobs.

*/ inline void SetOutputDataConfig(const DocumentClassifierOutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; } /** *

Provides output results configuration parameters for custom classifier * jobs.

*/ inline void SetOutputDataConfig(DocumentClassifierOutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); } /** *

Provides output results configuration parameters for custom classifier * jobs.

*/ inline DocumentClassifierProperties& WithOutputDataConfig(const DocumentClassifierOutputDataConfig& value) { SetOutputDataConfig(value); return *this;} /** *

Provides output results configuration parameters for custom classifier * jobs.

*/ inline DocumentClassifierProperties& WithOutputDataConfig(DocumentClassifierOutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} /** *

Information about the document classifier, including the number of documents * used for training the classifier, the number of documents used for test the * classifier, and an accuracy rating.

*/ inline const ClassifierMetadata& GetClassifierMetadata() const{ return m_classifierMetadata; } /** *

Information about the document classifier, including the number of documents * used for training the classifier, the number of documents used for test the * classifier, and an accuracy rating.

*/ inline bool ClassifierMetadataHasBeenSet() const { return m_classifierMetadataHasBeenSet; } /** *

Information about the document classifier, including the number of documents * used for training the classifier, the number of documents used for test the * classifier, and an accuracy rating.

*/ inline void SetClassifierMetadata(const ClassifierMetadata& value) { m_classifierMetadataHasBeenSet = true; m_classifierMetadata = value; } /** *

Information about the document classifier, including the number of documents * used for training the classifier, the number of documents used for test the * classifier, and an accuracy rating.

*/ inline void SetClassifierMetadata(ClassifierMetadata&& value) { m_classifierMetadataHasBeenSet = true; m_classifierMetadata = std::move(value); } /** *

Information about the document classifier, including the number of documents * used for training the classifier, the number of documents used for test the * classifier, and an accuracy rating.

*/ inline DocumentClassifierProperties& WithClassifierMetadata(const ClassifierMetadata& value) { SetClassifierMetadata(value); return *this;} /** *

Information about the document classifier, including the number of documents * used for training the classifier, the number of documents used for test the * classifier, and an accuracy rating.

*/ inline DocumentClassifierProperties& WithClassifierMetadata(ClassifierMetadata&& value) { SetClassifierMetadata(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role * that grants Amazon Comprehend read access to your input data.

*/ inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role * that grants Amazon Comprehend read access to your input data.

*/ inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role * that grants Amazon Comprehend read access to your input data.

*/ inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role * that grants Amazon Comprehend read access to your input data.

*/ inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role * that grants Amazon Comprehend read access to your input data.

*/ inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role * that grants Amazon Comprehend read access to your input data.

*/ inline DocumentClassifierProperties& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role * that grants Amazon Comprehend read access to your input data.

*/ inline DocumentClassifierProperties& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role * that grants Amazon Comprehend read access to your input data.

*/ inline DocumentClassifierProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;} /** *

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses * to encrypt data on the storage volume attached to the ML compute instance(s) * that process the analysis job. The VolumeKmsKeyId can be either of the following * formats:

  • KMS Key ID: * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • Amazon * Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; } /** *

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses * to encrypt data on the storage volume attached to the ML compute instance(s) * that process the analysis job. The VolumeKmsKeyId can be either of the following * formats:

  • KMS Key ID: * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • Amazon * Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; } /** *

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses * to encrypt data on the storage volume attached to the ML compute instance(s) * that process the analysis job. The VolumeKmsKeyId can be either of the following * formats:

  • KMS Key ID: * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • Amazon * Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; } /** *

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses * to encrypt data on the storage volume attached to the ML compute instance(s) * that process the analysis job. The VolumeKmsKeyId can be either of the following * formats:

  • KMS Key ID: * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • Amazon * Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); } /** *

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses * to encrypt data on the storage volume attached to the ML compute instance(s) * that process the analysis job. The VolumeKmsKeyId can be either of the following * formats:

  • KMS Key ID: * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • Amazon * Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); } /** *

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses * to encrypt data on the storage volume attached to the ML compute instance(s) * that process the analysis job. The VolumeKmsKeyId can be either of the following * formats:

  • KMS Key ID: * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • Amazon * Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline DocumentClassifierProperties& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;} /** *

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses * to encrypt data on the storage volume attached to the ML compute instance(s) * that process the analysis job. The VolumeKmsKeyId can be either of the following * formats:

  • KMS Key ID: * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • Amazon * Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline DocumentClassifierProperties& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;} /** *

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses * to encrypt data on the storage volume attached to the ML compute instance(s) * that process the analysis job. The VolumeKmsKeyId can be either of the following * formats:

  • KMS Key ID: * "1234abcd-12ab-34cd-56ef-1234567890ab"

  • Amazon * Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

*/ inline DocumentClassifierProperties& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;} /** *

Configuration parameters for a private Virtual Private Cloud (VPC) * containing the resources you are using for your custom classifier. For more * information, see Amazon * VPC.

*/ inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; } /** *

Configuration parameters for a private Virtual Private Cloud (VPC) * containing the resources you are using for your custom classifier. For more * information, see Amazon * VPC.

*/ inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } /** *

Configuration parameters for a private Virtual Private Cloud (VPC) * containing the resources you are using for your custom classifier. For more * information, see Amazon * VPC.

*/ inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; } /** *

Configuration parameters for a private Virtual Private Cloud (VPC) * containing the resources you are using for your custom classifier. For more * information, see Amazon * VPC.

*/ inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); } /** *

Configuration parameters for a private Virtual Private Cloud (VPC) * containing the resources you are using for your custom classifier. For more * information, see Amazon * VPC.

*/ inline DocumentClassifierProperties& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;} /** *

Configuration parameters for a private Virtual Private Cloud (VPC) * containing the resources you are using for your custom classifier. For more * information, see Amazon * VPC.

*/ inline DocumentClassifierProperties& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} /** *

Indicates the mode in which the specific classifier was trained. This also * indicates the format of input documents and the format of the confusion matrix. * Each classifier can only be trained in one mode and this cannot be changed once * the classifier is trained.

*/ inline const DocumentClassifierMode& GetMode() const{ return m_mode; } /** *

Indicates the mode in which the specific classifier was trained. This also * indicates the format of input documents and the format of the confusion matrix. * Each classifier can only be trained in one mode and this cannot be changed once * the classifier is trained.

*/ inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } /** *

Indicates the mode in which the specific classifier was trained. This also * indicates the format of input documents and the format of the confusion matrix. * Each classifier can only be trained in one mode and this cannot be changed once * the classifier is trained.

*/ inline void SetMode(const DocumentClassifierMode& value) { m_modeHasBeenSet = true; m_mode = value; } /** *

Indicates the mode in which the specific classifier was trained. This also * indicates the format of input documents and the format of the confusion matrix. * Each classifier can only be trained in one mode and this cannot be changed once * the classifier is trained.

*/ inline void SetMode(DocumentClassifierMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } /** *

Indicates the mode in which the specific classifier was trained. This also * indicates the format of input documents and the format of the confusion matrix. * Each classifier can only be trained in one mode and this cannot be changed once * the classifier is trained.

*/ inline DocumentClassifierProperties& WithMode(const DocumentClassifierMode& value) { SetMode(value); return *this;} /** *

Indicates the mode in which the specific classifier was trained. This also * indicates the format of input documents and the format of the confusion matrix. * Each classifier can only be trained in one mode and this cannot be changed once * the classifier is trained.

*/ inline DocumentClassifierProperties& WithMode(DocumentClassifierMode&& value) { SetMode(std::move(value)); return *this;} private: Aws::String m_documentClassifierArn; bool m_documentClassifierArnHasBeenSet; LanguageCode m_languageCode; bool m_languageCodeHasBeenSet; ModelStatus m_status; bool m_statusHasBeenSet; Aws::String m_message; bool m_messageHasBeenSet; Aws::Utils::DateTime m_submitTime; bool m_submitTimeHasBeenSet; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet; Aws::Utils::DateTime m_trainingStartTime; bool m_trainingStartTimeHasBeenSet; Aws::Utils::DateTime m_trainingEndTime; bool m_trainingEndTimeHasBeenSet; DocumentClassifierInputDataConfig m_inputDataConfig; bool m_inputDataConfigHasBeenSet; DocumentClassifierOutputDataConfig m_outputDataConfig; bool m_outputDataConfigHasBeenSet; ClassifierMetadata m_classifierMetadata; bool m_classifierMetadataHasBeenSet; Aws::String m_dataAccessRoleArn; bool m_dataAccessRoleArnHasBeenSet; Aws::String m_volumeKmsKeyId; bool m_volumeKmsKeyIdHasBeenSet; VpcConfig m_vpcConfig; bool m_vpcConfigHasBeenSet; DocumentClassifierMode m_mode; bool m_modeHasBeenSet; }; } // namespace Model } // namespace Comprehend } // namespace Aws