/* * 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 comprehend-2017-11-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.Comprehend.Model { /// /// Describes information about an entity recognizer. /// public partial class EntityRecognizerProperties { private string _dataAccessRoleArn; private DateTime? _endTime; private string _entityRecognizerArn; private string _flywheelArn; private EntityRecognizerInputDataConfig _inputDataConfig; private LanguageCode _languageCode; private string _message; private string _modelKmsKeyId; private EntityRecognizerOutputDataConfig _outputDataConfig; private EntityRecognizerMetadata _recognizerMetadata; private string _sourceModelArn; private ModelStatus _status; private DateTime? _submitTime; private DateTime? _trainingEndTime; private DateTime? _trainingStartTime; private string _versionName; private string _volumeKmsKeyId; private VpcConfig _vpcConfig; /// /// Gets and sets the property DataAccessRoleArn. /// /// The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read /// access to your input data. /// /// [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 EndTime. /// /// The time that the recognizer creation completed. /// /// public DateTime EndTime { get { return this._endTime.GetValueOrDefault(); } set { this._endTime = value; } } // Check to see if EndTime property is set internal bool IsSetEndTime() { return this._endTime.HasValue; } /// /// Gets and sets the property EntityRecognizerArn. /// /// The Amazon Resource Name (ARN) that identifies the entity recognizer. /// /// [AWSProperty(Max=256)] public string EntityRecognizerArn { get { return this._entityRecognizerArn; } set { this._entityRecognizerArn = value; } } // Check to see if EntityRecognizerArn property is set internal bool IsSetEntityRecognizerArn() { return this._entityRecognizerArn != null; } /// /// Gets and sets the property FlywheelArn. /// /// The Amazon Resource Number (ARN) of the flywheel /// /// [AWSProperty(Max=256)] public string FlywheelArn { get { return this._flywheelArn; } set { this._flywheelArn = value; } } // Check to see if FlywheelArn property is set internal bool IsSetFlywheelArn() { return this._flywheelArn != null; } /// /// Gets and sets the property InputDataConfig. /// /// The input data properties of an entity recognizer. /// /// public EntityRecognizerInputDataConfig 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 LanguageCode. /// /// The language of the input documents. All documents must be in the same language. /// Only English ("en") is currently supported. /// /// public LanguageCode LanguageCode { get { return this._languageCode; } set { this._languageCode = value; } } // Check to see if LanguageCode property is set internal bool IsSetLanguageCode() { return this._languageCode != null; } /// /// Gets and sets the property Message. /// /// A description of the status of the recognizer. /// /// public string Message { get { return this._message; } set { this._message = value; } } // Check to see if Message property is set internal bool IsSetMessage() { return this._message != null; } /// /// Gets and sets the property ModelKmsKeyId. /// /// ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The /// ModelKmsKeyId can be either of the following formats: /// /// /// [AWSProperty(Max=2048)] public string ModelKmsKeyId { get { return this._modelKmsKeyId; } set { this._modelKmsKeyId = value; } } // Check to see if ModelKmsKeyId property is set internal bool IsSetModelKmsKeyId() { return this._modelKmsKeyId != null; } /// /// Gets and sets the property OutputDataConfig. /// /// Output data configuration. /// /// public EntityRecognizerOutputDataConfig 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 RecognizerMetadata. /// /// Provides information about an entity recognizer. /// /// [AWSProperty(Sensitive=true)] public EntityRecognizerMetadata RecognizerMetadata { get { return this._recognizerMetadata; } set { this._recognizerMetadata = value; } } // Check to see if RecognizerMetadata property is set internal bool IsSetRecognizerMetadata() { return this._recognizerMetadata != null; } /// /// Gets and sets the property SourceModelArn. /// /// The Amazon Resource Name (ARN) of the source model. This model was imported from a /// different Amazon Web Services account to create the entity recognizer model in your /// Amazon Web Services account. /// /// [AWSProperty(Max=256)] public string SourceModelArn { get { return this._sourceModelArn; } set { this._sourceModelArn = value; } } // Check to see if SourceModelArn property is set internal bool IsSetSourceModelArn() { return this._sourceModelArn != null; } /// /// Gets and sets the property Status. /// /// Provides the status of the entity recognizer. /// /// public ModelStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property SubmitTime. /// /// The time that the recognizer was submitted for processing. /// /// public DateTime SubmitTime { get { return this._submitTime.GetValueOrDefault(); } set { this._submitTime = value; } } // Check to see if SubmitTime property is set internal bool IsSetSubmitTime() { return this._submitTime.HasValue; } /// /// Gets and sets the property TrainingEndTime. /// /// The time that training of the entity recognizer was completed. /// /// public DateTime TrainingEndTime { get { return this._trainingEndTime.GetValueOrDefault(); } set { this._trainingEndTime = value; } } // Check to see if TrainingEndTime property is set internal bool IsSetTrainingEndTime() { return this._trainingEndTime.HasValue; } /// /// Gets and sets the property TrainingStartTime. /// /// The time that training of the entity recognizer started. /// /// public DateTime TrainingStartTime { get { return this._trainingStartTime.GetValueOrDefault(); } set { this._trainingStartTime = value; } } // Check to see if TrainingStartTime property is set internal bool IsSetTrainingStartTime() { return this._trainingStartTime.HasValue; } /// /// Gets and sets the property VersionName. /// /// The version name you assigned to the entity recognizer. /// /// [AWSProperty(Max=63)] public string VersionName { get { return this._versionName; } set { this._versionName = value; } } // Check to see if VersionName property is set internal bool IsSetVersionName() { return this._versionName != null; } /// /// Gets and sets the property VolumeKmsKeyId. /// /// ID for the Amazon Web Services 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: /// /// /// [AWSProperty(Max=2048)] public string VolumeKmsKeyId { get { return this._volumeKmsKeyId; } set { this._volumeKmsKeyId = value; } } // Check to see if VolumeKmsKeyId property is set internal bool IsSetVolumeKmsKeyId() { return this._volumeKmsKeyId != null; } /// /// Gets and sets the property VpcConfig. /// /// Configuration parameters for a private Virtual Private Cloud (VPC) containing the /// resources you are using for your custom entity recognizer. For more information, see /// Amazon /// VPC. /// /// public VpcConfig VpcConfig { get { return this._vpcConfig; } set { this._vpcConfig = value; } } // Check to see if VpcConfig property is set internal bool IsSetVpcConfig() { return this._vpcConfig != null; } } }