628 lines
26 KiB
C++
628 lines
26 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/comprehend/Comprehend_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/comprehend/model/LanguageCode.h>
|
|
#include <aws/comprehend/model/ModelStatus.h>
|
|
#include <aws/core/utils/DateTime.h>
|
|
#include <aws/comprehend/model/EntityRecognizerInputDataConfig.h>
|
|
#include <aws/comprehend/model/EntityRecognizerMetadata.h>
|
|
#include <aws/comprehend/model/VpcConfig.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Comprehend
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Describes information about an entity recognizer.</p><p><h3>See Also:</h3>
|
|
* <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/EntityRecognizerProperties">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_COMPREHEND_API EntityRecognizerProperties
|
|
{
|
|
public:
|
|
EntityRecognizerProperties();
|
|
EntityRecognizerProperties(Aws::Utils::Json::JsonView jsonValue);
|
|
EntityRecognizerProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
|
|
*/
|
|
inline const Aws::String& GetEntityRecognizerArn() const{ return m_entityRecognizerArn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
|
|
*/
|
|
inline bool EntityRecognizerArnHasBeenSet() const { return m_entityRecognizerArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
|
|
*/
|
|
inline void SetEntityRecognizerArn(const Aws::String& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
|
|
*/
|
|
inline void SetEntityRecognizerArn(Aws::String&& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
|
|
*/
|
|
inline void SetEntityRecognizerArn(const char* value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithEntityRecognizerArn(const Aws::String& value) { SetEntityRecognizerArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithEntityRecognizerArn(Aws::String&& value) { SetEntityRecognizerArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithEntityRecognizerArn(const char* value) { SetEntityRecognizerArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p> The language of the input documents. All documents must be in the same
|
|
* language. Only English ("en") is currently supported.</p>
|
|
*/
|
|
inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
|
|
|
|
/**
|
|
* <p> The language of the input documents. All documents must be in the same
|
|
* language. Only English ("en") is currently supported.</p>
|
|
*/
|
|
inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
|
|
|
|
/**
|
|
* <p> The language of the input documents. All documents must be in the same
|
|
* language. Only English ("en") is currently supported.</p>
|
|
*/
|
|
inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
|
|
|
|
/**
|
|
* <p> The language of the input documents. All documents must be in the same
|
|
* language. Only English ("en") is currently supported.</p>
|
|
*/
|
|
inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
|
|
|
|
/**
|
|
* <p> The language of the input documents. All documents must be in the same
|
|
* language. Only English ("en") is currently supported.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
|
|
|
|
/**
|
|
* <p> The language of the input documents. All documents must be in the same
|
|
* language. Only English ("en") is currently supported.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Provides the status of the entity recognizer.</p>
|
|
*/
|
|
inline const ModelStatus& GetStatus() const{ return m_status; }
|
|
|
|
/**
|
|
* <p>Provides the status of the entity recognizer.</p>
|
|
*/
|
|
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Provides the status of the entity recognizer.</p>
|
|
*/
|
|
inline void SetStatus(const ModelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
|
|
|
|
/**
|
|
* <p>Provides the status of the entity recognizer.</p>
|
|
*/
|
|
inline void SetStatus(ModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
|
|
|
|
/**
|
|
* <p>Provides the status of the entity recognizer.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithStatus(const ModelStatus& value) { SetStatus(value); return *this;}
|
|
|
|
/**
|
|
* <p>Provides the status of the entity recognizer.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithStatus(ModelStatus&& value) { SetStatus(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p> A description of the status of the recognizer.</p>
|
|
*/
|
|
inline const Aws::String& GetMessage() const{ return m_message; }
|
|
|
|
/**
|
|
* <p> A description of the status of the recognizer.</p>
|
|
*/
|
|
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
|
|
|
|
/**
|
|
* <p> A description of the status of the recognizer.</p>
|
|
*/
|
|
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
|
|
|
|
/**
|
|
* <p> A description of the status of the recognizer.</p>
|
|
*/
|
|
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
|
|
|
|
/**
|
|
* <p> A description of the status of the recognizer.</p>
|
|
*/
|
|
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
|
|
|
|
/**
|
|
* <p> A description of the status of the recognizer.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
|
|
|
|
/**
|
|
* <p> A description of the status of the recognizer.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p> A description of the status of the recognizer.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The time that the recognizer was submitted for processing.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
|
|
|
|
/**
|
|
* <p>The time that the recognizer was submitted for processing.</p>
|
|
*/
|
|
inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The time that the recognizer was submitted for processing.</p>
|
|
*/
|
|
inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
|
|
|
|
/**
|
|
* <p>The time that the recognizer was submitted for processing.</p>
|
|
*/
|
|
inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); }
|
|
|
|
/**
|
|
* <p>The time that the recognizer was submitted for processing.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;}
|
|
|
|
/**
|
|
* <p>The time that the recognizer was submitted for processing.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The time that the recognizer creation completed.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
|
|
|
|
/**
|
|
* <p>The time that the recognizer creation completed.</p>
|
|
*/
|
|
inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The time that the recognizer creation completed.</p>
|
|
*/
|
|
inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
|
|
|
|
/**
|
|
* <p>The time that the recognizer creation completed.</p>
|
|
*/
|
|
inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
|
|
|
|
/**
|
|
* <p>The time that the recognizer creation completed.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
|
|
|
|
/**
|
|
* <p>The time that the recognizer creation completed.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The time that training of the entity recognizer started.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetTrainingStartTime() const{ return m_trainingStartTime; }
|
|
|
|
/**
|
|
* <p>The time that training of the entity recognizer started.</p>
|
|
*/
|
|
inline bool TrainingStartTimeHasBeenSet() const { return m_trainingStartTimeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The time that training of the entity recognizer started.</p>
|
|
*/
|
|
inline void SetTrainingStartTime(const Aws::Utils::DateTime& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = value; }
|
|
|
|
/**
|
|
* <p>The time that training of the entity recognizer started.</p>
|
|
*/
|
|
inline void SetTrainingStartTime(Aws::Utils::DateTime&& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = std::move(value); }
|
|
|
|
/**
|
|
* <p>The time that training of the entity recognizer started.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithTrainingStartTime(const Aws::Utils::DateTime& value) { SetTrainingStartTime(value); return *this;}
|
|
|
|
/**
|
|
* <p>The time that training of the entity recognizer started.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithTrainingStartTime(Aws::Utils::DateTime&& value) { SetTrainingStartTime(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The time that training of the entity recognizer was completed.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetTrainingEndTime() const{ return m_trainingEndTime; }
|
|
|
|
/**
|
|
* <p>The time that training of the entity recognizer was completed.</p>
|
|
*/
|
|
inline bool TrainingEndTimeHasBeenSet() const { return m_trainingEndTimeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The time that training of the entity recognizer was completed.</p>
|
|
*/
|
|
inline void SetTrainingEndTime(const Aws::Utils::DateTime& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = value; }
|
|
|
|
/**
|
|
* <p>The time that training of the entity recognizer was completed.</p>
|
|
*/
|
|
inline void SetTrainingEndTime(Aws::Utils::DateTime&& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = std::move(value); }
|
|
|
|
/**
|
|
* <p>The time that training of the entity recognizer was completed.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithTrainingEndTime(const Aws::Utils::DateTime& value) { SetTrainingEndTime(value); return *this;}
|
|
|
|
/**
|
|
* <p>The time that training of the entity recognizer was completed.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithTrainingEndTime(Aws::Utils::DateTime&& value) { SetTrainingEndTime(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The input data properties of an entity recognizer.</p>
|
|
*/
|
|
inline const EntityRecognizerInputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
|
|
|
|
/**
|
|
* <p>The input data properties of an entity recognizer.</p>
|
|
*/
|
|
inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The input data properties of an entity recognizer.</p>
|
|
*/
|
|
inline void SetInputDataConfig(const EntityRecognizerInputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
|
|
|
|
/**
|
|
* <p>The input data properties of an entity recognizer.</p>
|
|
*/
|
|
inline void SetInputDataConfig(EntityRecognizerInputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
|
|
|
|
/**
|
|
* <p>The input data properties of an entity recognizer.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithInputDataConfig(const EntityRecognizerInputDataConfig& value) { SetInputDataConfig(value); return *this;}
|
|
|
|
/**
|
|
* <p>The input data properties of an entity recognizer.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithInputDataConfig(EntityRecognizerInputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p> Provides information about an entity recognizer.</p>
|
|
*/
|
|
inline const EntityRecognizerMetadata& GetRecognizerMetadata() const{ return m_recognizerMetadata; }
|
|
|
|
/**
|
|
* <p> Provides information about an entity recognizer.</p>
|
|
*/
|
|
inline bool RecognizerMetadataHasBeenSet() const { return m_recognizerMetadataHasBeenSet; }
|
|
|
|
/**
|
|
* <p> Provides information about an entity recognizer.</p>
|
|
*/
|
|
inline void SetRecognizerMetadata(const EntityRecognizerMetadata& value) { m_recognizerMetadataHasBeenSet = true; m_recognizerMetadata = value; }
|
|
|
|
/**
|
|
* <p> Provides information about an entity recognizer.</p>
|
|
*/
|
|
inline void SetRecognizerMetadata(EntityRecognizerMetadata&& value) { m_recognizerMetadataHasBeenSet = true; m_recognizerMetadata = std::move(value); }
|
|
|
|
/**
|
|
* <p> Provides information about an entity recognizer.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithRecognizerMetadata(const EntityRecognizerMetadata& value) { SetRecognizerMetadata(value); return *this;}
|
|
|
|
/**
|
|
* <p> Provides information about an entity recognizer.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithRecognizerMetadata(EntityRecognizerMetadata&& value) { SetRecognizerMetadata(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p> The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role
|
|
* that grants Amazon Comprehend read access to your input data.</p>
|
|
*/
|
|
inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
|
|
|
|
/**
|
|
* <p> The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role
|
|
* that grants Amazon Comprehend read access to your input data.</p>
|
|
*/
|
|
inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p> The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role
|
|
* that grants Amazon Comprehend read access to your input data.</p>
|
|
*/
|
|
inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
|
|
|
|
/**
|
|
* <p> The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role
|
|
* that grants Amazon Comprehend read access to your input data.</p>
|
|
*/
|
|
inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
|
|
|
|
/**
|
|
* <p> The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role
|
|
* that grants Amazon Comprehend read access to your input data.</p>
|
|
*/
|
|
inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
|
|
|
|
/**
|
|
* <p> The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role
|
|
* that grants Amazon Comprehend read access to your input data.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;}
|
|
|
|
/**
|
|
* <p> The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role
|
|
* that grants Amazon Comprehend read access to your input data.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p> The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role
|
|
* that grants Amazon Comprehend read access to your input data.</p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>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:</p> <ul> <li> <p>KMS Key ID:
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon
|
|
* Resource Name (ARN) of a KMS Key:
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
|
|
|
|
/**
|
|
* <p>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:</p> <ul> <li> <p>KMS Key ID:
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon
|
|
* Resource Name (ARN) of a KMS Key:
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>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:</p> <ul> <li> <p>KMS Key ID:
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon
|
|
* Resource Name (ARN) of a KMS Key:
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
|
|
|
|
/**
|
|
* <p>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:</p> <ul> <li> <p>KMS Key ID:
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon
|
|
* Resource Name (ARN) of a KMS Key:
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
|
|
|
|
/**
|
|
* <p>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:</p> <ul> <li> <p>KMS Key ID:
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon
|
|
* Resource Name (ARN) of a KMS Key:
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
|
|
|
|
/**
|
|
* <p>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:</p> <ul> <li> <p>KMS Key ID:
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon
|
|
* Resource Name (ARN) of a KMS Key:
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline EntityRecognizerProperties& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
|
|
|
|
/**
|
|
* <p>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:</p> <ul> <li> <p>KMS Key ID:
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon
|
|
* Resource Name (ARN) of a KMS Key:
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline EntityRecognizerProperties& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>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:</p> <ul> <li> <p>KMS Key ID:
|
|
* <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code> </p> </li> <li> <p>Amazon
|
|
* Resource Name (ARN) of a KMS Key:
|
|
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
* </p> </li> </ul>
|
|
*/
|
|
inline EntityRecognizerProperties& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p> Configuration parameters for a private Virtual Private Cloud (VPC)
|
|
* containing the resources you are using for your custom entity recognizer. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
* VPC</a>. </p>
|
|
*/
|
|
inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
|
|
|
|
/**
|
|
* <p> Configuration parameters for a private Virtual Private Cloud (VPC)
|
|
* containing the resources you are using for your custom entity recognizer. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
* VPC</a>. </p>
|
|
*/
|
|
inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
|
|
|
|
/**
|
|
* <p> Configuration parameters for a private Virtual Private Cloud (VPC)
|
|
* containing the resources you are using for your custom entity recognizer. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
* VPC</a>. </p>
|
|
*/
|
|
inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
|
|
|
|
/**
|
|
* <p> Configuration parameters for a private Virtual Private Cloud (VPC)
|
|
* containing the resources you are using for your custom entity recognizer. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
* VPC</a>. </p>
|
|
*/
|
|
inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
|
|
|
|
/**
|
|
* <p> Configuration parameters for a private Virtual Private Cloud (VPC)
|
|
* containing the resources you are using for your custom entity recognizer. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
* VPC</a>. </p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
|
|
|
|
/**
|
|
* <p> Configuration parameters for a private Virtual Private Cloud (VPC)
|
|
* containing the resources you are using for your custom entity recognizer. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
* VPC</a>. </p>
|
|
*/
|
|
inline EntityRecognizerProperties& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_entityRecognizerArn;
|
|
bool m_entityRecognizerArnHasBeenSet;
|
|
|
|
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;
|
|
|
|
EntityRecognizerInputDataConfig m_inputDataConfig;
|
|
bool m_inputDataConfigHasBeenSet;
|
|
|
|
EntityRecognizerMetadata m_recognizerMetadata;
|
|
bool m_recognizerMetadataHasBeenSet;
|
|
|
|
Aws::String m_dataAccessRoleArn;
|
|
bool m_dataAccessRoleArnHasBeenSet;
|
|
|
|
Aws::String m_volumeKmsKeyId;
|
|
bool m_volumeKmsKeyIdHasBeenSet;
|
|
|
|
VpcConfig m_vpcConfig;
|
|
bool m_vpcConfigHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Comprehend
|
|
} // namespace Aws
|