This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-comprehend/include/aws/comprehend/model/StartTopicsDetectionJobRequest.h

478 lines
22 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/comprehend/ComprehendRequest.h>
#include <aws/comprehend/model/InputDataConfig.h>
#include <aws/comprehend/model/OutputDataConfig.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/comprehend/model/VpcConfig.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace Comprehend
{
namespace Model
{
/**
*/
class AWS_COMPREHEND_API StartTopicsDetectionJobRequest : public ComprehendRequest
{
public:
StartTopicsDetectionJobRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "StartTopicsDetectionJob"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Specifies the format and location of the input data for the job.</p>
*/
inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
/**
* <p>Specifies the format and location of the input data for the job.</p>
*/
inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
/**
* <p>Specifies the format and location of the input data for the job.</p>
*/
inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
/**
* <p>Specifies the format and location of the input data for the job.</p>
*/
inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
/**
* <p>Specifies the format and location of the input data for the job.</p>
*/
inline StartTopicsDetectionJobRequest& WithInputDataConfig(const InputDataConfig& value) { SetInputDataConfig(value); return *this;}
/**
* <p>Specifies the format and location of the input data for the job.</p>
*/
inline StartTopicsDetectionJobRequest& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;}
/**
* <p>Specifies where to send the output files. The output is a compressed archive
* with two files, <code>topic-terms.csv</code> that lists the terms associated
* with each topic, and <code>doc-topics.csv</code> that lists the documents
* associated with each topic</p>
*/
inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
/**
* <p>Specifies where to send the output files. The output is a compressed archive
* with two files, <code>topic-terms.csv</code> that lists the terms associated
* with each topic, and <code>doc-topics.csv</code> that lists the documents
* associated with each topic</p>
*/
inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
/**
* <p>Specifies where to send the output files. The output is a compressed archive
* with two files, <code>topic-terms.csv</code> that lists the terms associated
* with each topic, and <code>doc-topics.csv</code> that lists the documents
* associated with each topic</p>
*/
inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
/**
* <p>Specifies where to send the output files. The output is a compressed archive
* with two files, <code>topic-terms.csv</code> that lists the terms associated
* with each topic, and <code>doc-topics.csv</code> that lists the documents
* associated with each topic</p>
*/
inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
/**
* <p>Specifies where to send the output files. The output is a compressed archive
* with two files, <code>topic-terms.csv</code> that lists the terms associated
* with each topic, and <code>doc-topics.csv</code> that lists the documents
* associated with each topic</p>
*/
inline StartTopicsDetectionJobRequest& WithOutputDataConfig(const OutputDataConfig& value) { SetOutputDataConfig(value); return *this;}
/**
* <p>Specifies where to send the output files. The output is a compressed archive
* with two files, <code>topic-terms.csv</code> that lists the terms associated
* with each topic, and <code>doc-topics.csv</code> that lists the documents
* associated with each topic</p>
*/
inline StartTopicsDetectionJobRequest& WithOutputDataConfig(OutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management
* (IAM) role that grants Amazon Comprehend read access to your input data. For
* more information, see <a
* href="https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions">https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions</a>.</p>
*/
inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
/**
* <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management
* (IAM) role that grants Amazon Comprehend read access to your input data. For
* more information, see <a
* href="https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions">https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions</a>.</p>
*/
inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management
* (IAM) role that grants Amazon Comprehend read access to your input data. For
* more information, see <a
* href="https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions">https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions</a>.</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 Access Management
* (IAM) role that grants Amazon Comprehend read access to your input data. For
* more information, see <a
* href="https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions">https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions</a>.</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 Access Management
* (IAM) role that grants Amazon Comprehend read access to your input data. For
* more information, see <a
* href="https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions">https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions</a>.</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 Access Management
* (IAM) role that grants Amazon Comprehend read access to your input data. For
* more information, see <a
* href="https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions">https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions</a>.</p>
*/
inline StartTopicsDetectionJobRequest& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management
* (IAM) role that grants Amazon Comprehend read access to your input data. For
* more information, see <a
* href="https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions">https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions</a>.</p>
*/
inline StartTopicsDetectionJobRequest& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management
* (IAM) role that grants Amazon Comprehend read access to your input data. For
* more information, see <a
* href="https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions">https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions</a>.</p>
*/
inline StartTopicsDetectionJobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
/**
* <p>The identifier of the job.</p>
*/
inline const Aws::String& GetJobName() const{ return m_jobName; }
/**
* <p>The identifier of the job.</p>
*/
inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
/**
* <p>The identifier of the job.</p>
*/
inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
/**
* <p>The identifier of the job.</p>
*/
inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
/**
* <p>The identifier of the job.</p>
*/
inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
/**
* <p>The identifier of the job.</p>
*/
inline StartTopicsDetectionJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
/**
* <p>The identifier of the job.</p>
*/
inline StartTopicsDetectionJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
/**
* <p>The identifier of the job.</p>
*/
inline StartTopicsDetectionJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
/**
* <p>The number of topics to detect.</p>
*/
inline int GetNumberOfTopics() const{ return m_numberOfTopics; }
/**
* <p>The number of topics to detect.</p>
*/
inline bool NumberOfTopicsHasBeenSet() const { return m_numberOfTopicsHasBeenSet; }
/**
* <p>The number of topics to detect.</p>
*/
inline void SetNumberOfTopics(int value) { m_numberOfTopicsHasBeenSet = true; m_numberOfTopics = value; }
/**
* <p>The number of topics to detect.</p>
*/
inline StartTopicsDetectionJobRequest& WithNumberOfTopics(int value) { SetNumberOfTopics(value); return *this;}
/**
* <p>A unique identifier for the request. If you do not set the client request
* token, Amazon Comprehend generates one.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>A unique identifier for the request. If you do not set the client request
* token, Amazon Comprehend generates one.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>A unique identifier for the request. If you do not set the client request
* token, Amazon Comprehend generates one.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>A unique identifier for the request. If you do not set the client request
* token, Amazon Comprehend generates one.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>A unique identifier for the request. If you do not set the client request
* token, Amazon Comprehend generates one.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>A unique identifier for the request. If you do not set the client request
* token, Amazon Comprehend generates one.</p>
*/
inline StartTopicsDetectionJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>A unique identifier for the request. If you do not set the client request
* token, Amazon Comprehend generates one.</p>
*/
inline StartTopicsDetectionJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>A unique identifier for the request. If you do not set the client request
* token, Amazon Comprehend generates one.</p>
*/
inline StartTopicsDetectionJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(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 StartTopicsDetectionJobRequest& 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 StartTopicsDetectionJobRequest& 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 StartTopicsDetectionJobRequest& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
/**
* <p>Configuration parameters for an optional 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 an optional 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 an optional 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 an optional 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 an optional 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 StartTopicsDetectionJobRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
/**
* <p>Configuration parameters for an optional 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 StartTopicsDetectionJobRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
private:
InputDataConfig m_inputDataConfig;
bool m_inputDataConfigHasBeenSet;
OutputDataConfig m_outputDataConfig;
bool m_outputDataConfigHasBeenSet;
Aws::String m_dataAccessRoleArn;
bool m_dataAccessRoleArnHasBeenSet;
Aws::String m_jobName;
bool m_jobNameHasBeenSet;
int m_numberOfTopics;
bool m_numberOfTopicsHasBeenSet;
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
Aws::String m_volumeKmsKeyId;
bool m_volumeKmsKeyIdHasBeenSet;
VpcConfig m_vpcConfig;
bool m_vpcConfigHasBeenSet;
};
} // namespace Model
} // namespace Comprehend
} // namespace Aws