615 lines
24 KiB
C++
615 lines
24 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/JobStatus.h>
|
|
#include <aws/core/utils/DateTime.h>
|
|
#include <aws/comprehend/model/InputDataConfig.h>
|
|
#include <aws/comprehend/model/OutputDataConfig.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>Provides information about a topic detection job.</p><p><h3>See Also:</h3>
|
|
* <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/TopicsDetectionJobProperties">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_COMPREHEND_API TopicsDetectionJobProperties
|
|
{
|
|
public:
|
|
TopicsDetectionJobProperties();
|
|
TopicsDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue);
|
|
TopicsDetectionJobProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The identifier assigned to the topic detection job.</p>
|
|
*/
|
|
inline const Aws::String& GetJobId() const{ return m_jobId; }
|
|
|
|
/**
|
|
* <p>The identifier assigned to the topic detection job.</p>
|
|
*/
|
|
inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The identifier assigned to the topic detection job.</p>
|
|
*/
|
|
inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
|
|
|
|
/**
|
|
* <p>The identifier assigned to the topic detection job.</p>
|
|
*/
|
|
inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The identifier assigned to the topic detection job.</p>
|
|
*/
|
|
inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
|
|
|
|
/**
|
|
* <p>The identifier assigned to the topic detection job.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The identifier assigned to the topic detection job.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The identifier assigned to the topic detection job.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithJobId(const char* value) { SetJobId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The name of the topic detection job.</p>
|
|
*/
|
|
inline const Aws::String& GetJobName() const{ return m_jobName; }
|
|
|
|
/**
|
|
* <p>The name of the topic detection job.</p>
|
|
*/
|
|
inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the topic detection job.</p>
|
|
*/
|
|
inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
|
|
|
|
/**
|
|
* <p>The name of the topic detection job.</p>
|
|
*/
|
|
inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the topic detection job.</p>
|
|
*/
|
|
inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the topic detection job.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the topic detection job.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the topic detection job.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithJobName(const char* value) { SetJobName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The current status of the topic detection job. If the status is
|
|
* <code>Failed</code>, the reason for the failure is shown in the
|
|
* <code>Message</code> field.</p>
|
|
*/
|
|
inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
|
|
|
|
/**
|
|
* <p>The current status of the topic detection job. If the status is
|
|
* <code>Failed</code>, the reason for the failure is shown in the
|
|
* <code>Message</code> field.</p>
|
|
*/
|
|
inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The current status of the topic detection job. If the status is
|
|
* <code>Failed</code>, the reason for the failure is shown in the
|
|
* <code>Message</code> field.</p>
|
|
*/
|
|
inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
|
|
|
|
/**
|
|
* <p>The current status of the topic detection job. If the status is
|
|
* <code>Failed</code>, the reason for the failure is shown in the
|
|
* <code>Message</code> field.</p>
|
|
*/
|
|
inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
|
|
|
|
/**
|
|
* <p>The current status of the topic detection job. If the status is
|
|
* <code>Failed</code>, the reason for the failure is shown in the
|
|
* <code>Message</code> field.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
|
|
|
|
/**
|
|
* <p>The current status of the topic detection job. If the status is
|
|
* <code>Failed</code>, the reason for the failure is shown in the
|
|
* <code>Message</code> field.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A description for the status of a job.</p>
|
|
*/
|
|
inline const Aws::String& GetMessage() const{ return m_message; }
|
|
|
|
/**
|
|
* <p>A description for the status of a job.</p>
|
|
*/
|
|
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A description for the status of a job.</p>
|
|
*/
|
|
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
|
|
|
|
/**
|
|
* <p>A description for the status of a job.</p>
|
|
*/
|
|
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
|
|
|
|
/**
|
|
* <p>A description for the status of a job.</p>
|
|
*/
|
|
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
|
|
|
|
/**
|
|
* <p>A description for the status of a job.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
|
|
|
|
/**
|
|
* <p>A description for the status of a job.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A description for the status of a job.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The time that the topic detection job was submitted for processing.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
|
|
|
|
/**
|
|
* <p>The time that the topic detection job was submitted for processing.</p>
|
|
*/
|
|
inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The time that the topic detection job was submitted for processing.</p>
|
|
*/
|
|
inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
|
|
|
|
/**
|
|
* <p>The time that the topic detection job 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 topic detection job was submitted for processing.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;}
|
|
|
|
/**
|
|
* <p>The time that the topic detection job was submitted for processing.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The time that the topic detection job was completed.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
|
|
|
|
/**
|
|
* <p>The time that the topic detection job was completed.</p>
|
|
*/
|
|
inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The time that the topic detection job was completed.</p>
|
|
*/
|
|
inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
|
|
|
|
/**
|
|
* <p>The time that the topic detection job was completed.</p>
|
|
*/
|
|
inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
|
|
|
|
/**
|
|
* <p>The time that the topic detection job was completed.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
|
|
|
|
/**
|
|
* <p>The time that the topic detection job was completed.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The input data configuration supplied when you created the topic detection
|
|
* job.</p>
|
|
*/
|
|
inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
|
|
|
|
/**
|
|
* <p>The input data configuration supplied when you created the topic detection
|
|
* job.</p>
|
|
*/
|
|
inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The input data configuration supplied when you created the topic detection
|
|
* job.</p>
|
|
*/
|
|
inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
|
|
|
|
/**
|
|
* <p>The input data configuration supplied when you created the topic detection
|
|
* job.</p>
|
|
*/
|
|
inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
|
|
|
|
/**
|
|
* <p>The input data configuration supplied when you created the topic detection
|
|
* job.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithInputDataConfig(const InputDataConfig& value) { SetInputDataConfig(value); return *this;}
|
|
|
|
/**
|
|
* <p>The input data configuration supplied when you created the topic detection
|
|
* job.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The output data configuration supplied when you created the topic detection
|
|
* job.</p>
|
|
*/
|
|
inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
|
|
|
|
/**
|
|
* <p>The output data configuration supplied when you created the topic detection
|
|
* job.</p>
|
|
*/
|
|
inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The output data configuration supplied when you created the topic detection
|
|
* job.</p>
|
|
*/
|
|
inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
|
|
|
|
/**
|
|
* <p>The output data configuration supplied when you created the topic detection
|
|
* job.</p>
|
|
*/
|
|
inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
|
|
|
|
/**
|
|
* <p>The output data configuration supplied when you created the topic detection
|
|
* job.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithOutputDataConfig(const OutputDataConfig& value) { SetOutputDataConfig(value); return *this;}
|
|
|
|
/**
|
|
* <p>The output data configuration supplied when you created the topic detection
|
|
* job.</p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithOutputDataConfig(OutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The number of topics to detect supplied when you created the topic detection
|
|
* job. The default is 10. </p>
|
|
*/
|
|
inline int GetNumberOfTopics() const{ return m_numberOfTopics; }
|
|
|
|
/**
|
|
* <p>The number of topics to detect supplied when you created the topic detection
|
|
* job. The default is 10. </p>
|
|
*/
|
|
inline bool NumberOfTopicsHasBeenSet() const { return m_numberOfTopicsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The number of topics to detect supplied when you created the topic detection
|
|
* job. The default is 10. </p>
|
|
*/
|
|
inline void SetNumberOfTopics(int value) { m_numberOfTopicsHasBeenSet = true; m_numberOfTopics = value; }
|
|
|
|
/**
|
|
* <p>The number of topics to detect supplied when you created the topic detection
|
|
* job. The default is 10. </p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithNumberOfTopics(int value) { SetNumberOfTopics(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 job 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 job 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 job 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 job 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 job 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 job data. </p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& 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 job data. </p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& 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 job data. </p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& 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 TopicsDetectionJobProperties& 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 TopicsDetectionJobProperties& 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 TopicsDetectionJobProperties& 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 topic detection job. 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 topic detection job. 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 topic detection job. 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 topic detection job. 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 topic detection job. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
* VPC</a>. </p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& 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 topic detection job. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
* VPC</a>. </p>
|
|
*/
|
|
inline TopicsDetectionJobProperties& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_jobId;
|
|
bool m_jobIdHasBeenSet;
|
|
|
|
Aws::String m_jobName;
|
|
bool m_jobNameHasBeenSet;
|
|
|
|
JobStatus m_jobStatus;
|
|
bool m_jobStatusHasBeenSet;
|
|
|
|
Aws::String m_message;
|
|
bool m_messageHasBeenSet;
|
|
|
|
Aws::Utils::DateTime m_submitTime;
|
|
bool m_submitTimeHasBeenSet;
|
|
|
|
Aws::Utils::DateTime m_endTime;
|
|
bool m_endTimeHasBeenSet;
|
|
|
|
InputDataConfig m_inputDataConfig;
|
|
bool m_inputDataConfigHasBeenSet;
|
|
|
|
OutputDataConfig m_outputDataConfig;
|
|
bool m_outputDataConfigHasBeenSet;
|
|
|
|
int m_numberOfTopics;
|
|
bool m_numberOfTopicsHasBeenSet;
|
|
|
|
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
|