/** * 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 namespace Aws { namespace ComprehendMedical { namespace Model { /** */ class StartPHIDetectionJobRequest : public ComprehendMedicalRequest { public: AWS_COMPREHENDMEDICAL_API StartPHIDetectionJobRequest(); // 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 "StartPHIDetectionJob"; } AWS_COMPREHENDMEDICAL_API Aws::String SerializePayload() const override; AWS_COMPREHENDMEDICAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Specifies the format and location of the input data for the job.

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

Specifies the format and location of the input data for the job.

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

Specifies the format and location of the input data for the job.

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

Specifies the format and location of the input data for the job.

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

Specifies the format and location of the input data for the job.

*/ inline StartPHIDetectionJobRequest& WithInputDataConfig(const InputDataConfig& value) { SetInputDataConfig(value); return *this;} /** *

Specifies the format and location of the input data for the job.

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

Specifies where to send the output files.

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

Specifies where to send the output files.

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

Specifies where to send the output files.

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

Specifies where to send the output files.

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

Specifies where to send the output files.

*/ inline StartPHIDetectionJobRequest& WithOutputDataConfig(const OutputDataConfig& value) { SetOutputDataConfig(value); return *this;} /** *

Specifies where to send the output files.

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

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that grants Amazon Comprehend Medical read access to your input data. * For more information, see * Role-Based Permissions Required for Asynchronous Operations.

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

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that grants Amazon Comprehend Medical read access to your input data. * For more information, see * Role-Based Permissions Required for Asynchronous Operations.

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

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that grants Amazon Comprehend Medical read access to your input data. * For more information, see * Role-Based Permissions Required for Asynchronous Operations.

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

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that grants Amazon Comprehend Medical read access to your input data. * For more information, see * Role-Based Permissions Required for Asynchronous Operations.

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

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that grants Amazon Comprehend Medical read access to your input data. * For more information, see * Role-Based Permissions Required for Asynchronous Operations.

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

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that grants Amazon Comprehend Medical read access to your input data. * For more information, see * Role-Based Permissions Required for Asynchronous Operations.

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

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that grants Amazon Comprehend Medical read access to your input data. * For more information, see * Role-Based Permissions Required for Asynchronous Operations.

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

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that grants Amazon Comprehend Medical read access to your input data. * For more information, see * Role-Based Permissions Required for Asynchronous Operations.

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

The identifier of the job.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The identifier of the job.

*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *

The identifier of the job.

*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *

The identifier of the job.

*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *

The identifier of the job.

*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *

The identifier of the job.

*/ inline StartPHIDetectionJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The identifier of the job.

*/ inline StartPHIDetectionJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The identifier of the job.

*/ inline StartPHIDetectionJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

A unique identifier for the request. If you don't set the client request * token, Amazon Comprehend Medical generates one.

*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *

A unique identifier for the request. If you don't set the client request * token, Amazon Comprehend Medical generates one.

*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *

A unique identifier for the request. If you don't set the client request * token, Amazon Comprehend Medical generates one.

*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *

A unique identifier for the request. If you don't set the client request * token, Amazon Comprehend Medical generates one.

*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *

A unique identifier for the request. If you don't set the client request * token, Amazon Comprehend Medical generates one.

*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *

A unique identifier for the request. If you don't set the client request * token, Amazon Comprehend Medical generates one.

*/ inline StartPHIDetectionJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

A unique identifier for the request. If you don't set the client request * token, Amazon Comprehend Medical generates one.

*/ inline StartPHIDetectionJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *

A unique identifier for the request. If you don't set the client request * token, Amazon Comprehend Medical generates one.

*/ inline StartPHIDetectionJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

An AWS Key Management Service key to encrypt your output files. If you do not * specify a key, the files are written in plain text.

*/ inline const Aws::String& GetKMSKey() const{ return m_kMSKey; } /** *

An AWS Key Management Service key to encrypt your output files. If you do not * specify a key, the files are written in plain text.

*/ inline bool KMSKeyHasBeenSet() const { return m_kMSKeyHasBeenSet; } /** *

An AWS Key Management Service key to encrypt your output files. If you do not * specify a key, the files are written in plain text.

*/ inline void SetKMSKey(const Aws::String& value) { m_kMSKeyHasBeenSet = true; m_kMSKey = value; } /** *

An AWS Key Management Service key to encrypt your output files. If you do not * specify a key, the files are written in plain text.

*/ inline void SetKMSKey(Aws::String&& value) { m_kMSKeyHasBeenSet = true; m_kMSKey = std::move(value); } /** *

An AWS Key Management Service key to encrypt your output files. If you do not * specify a key, the files are written in plain text.

*/ inline void SetKMSKey(const char* value) { m_kMSKeyHasBeenSet = true; m_kMSKey.assign(value); } /** *

An AWS Key Management Service key to encrypt your output files. If you do not * specify a key, the files are written in plain text.

*/ inline StartPHIDetectionJobRequest& WithKMSKey(const Aws::String& value) { SetKMSKey(value); return *this;} /** *

An AWS Key Management Service key to encrypt your output files. If you do not * specify a key, the files are written in plain text.

*/ inline StartPHIDetectionJobRequest& WithKMSKey(Aws::String&& value) { SetKMSKey(std::move(value)); return *this;} /** *

An AWS Key Management Service key to encrypt your output files. If you do not * specify a key, the files are written in plain text.

*/ inline StartPHIDetectionJobRequest& WithKMSKey(const char* value) { SetKMSKey(value); return *this;} /** *

The language of the input documents. All documents must be in the same * language.

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

The language of the input documents. All documents must be in the same * language.

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

The language of the input documents. All documents must be in the same * language.

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

The language of the input documents. All documents must be in the same * language.

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

The language of the input documents. All documents must be in the same * language.

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

The language of the input documents. All documents must be in the same * language.

*/ inline StartPHIDetectionJobRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;} private: InputDataConfig m_inputDataConfig; bool m_inputDataConfigHasBeenSet = false; OutputDataConfig m_outputDataConfig; bool m_outputDataConfigHasBeenSet = false; Aws::String m_dataAccessRoleArn; bool m_dataAccessRoleArnHasBeenSet = false; Aws::String m_jobName; bool m_jobNameHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; Aws::String m_kMSKey; bool m_kMSKeyHasBeenSet = false; LanguageCode m_languageCode; bool m_languageCodeHasBeenSet = false; }; } // namespace Model } // namespace ComprehendMedical } // namespace Aws