/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Comprehend { namespace Model { /** *

Provides configuration parameters for the output of PII entity detection * jobs.

See Also:

AWS * API Reference

*/ class PiiOutputDataConfig { public: AWS_COMPREHEND_API PiiOutputDataConfig(); AWS_COMPREHEND_API PiiOutputDataConfig(Aws::Utils::Json::JsonView jsonValue); AWS_COMPREHEND_API PiiOutputDataConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

When you use the PiiOutputDataConfig object with asynchronous * operations, you specify the Amazon S3 location where you want to write the * output data.

For a PII entity detection job, the output file is plain * text, not a compressed archive. The output file name is the same as the input * file, with .out appended at the end.

*/ inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } /** *

When you use the PiiOutputDataConfig object with asynchronous * operations, you specify the Amazon S3 location where you want to write the * output data.

For a PII entity detection job, the output file is plain * text, not a compressed archive. The output file name is the same as the input * file, with .out appended at the end.

*/ inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } /** *

When you use the PiiOutputDataConfig object with asynchronous * operations, you specify the Amazon S3 location where you want to write the * output data.

For a PII entity detection job, the output file is plain * text, not a compressed archive. The output file name is the same as the input * file, with .out appended at the end.

*/ inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } /** *

When you use the PiiOutputDataConfig object with asynchronous * operations, you specify the Amazon S3 location where you want to write the * output data.

For a PII entity detection job, the output file is plain * text, not a compressed archive. The output file name is the same as the input * file, with .out appended at the end.

*/ inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } /** *

When you use the PiiOutputDataConfig object with asynchronous * operations, you specify the Amazon S3 location where you want to write the * output data.

For a PII entity detection job, the output file is plain * text, not a compressed archive. The output file name is the same as the input * file, with .out appended at the end.

*/ inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } /** *

When you use the PiiOutputDataConfig object with asynchronous * operations, you specify the Amazon S3 location where you want to write the * output data.

For a PII entity detection job, the output file is plain * text, not a compressed archive. The output file name is the same as the input * file, with .out appended at the end.

*/ inline PiiOutputDataConfig& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} /** *

When you use the PiiOutputDataConfig object with asynchronous * operations, you specify the Amazon S3 location where you want to write the * output data.

For a PII entity detection job, the output file is plain * text, not a compressed archive. The output file name is the same as the input * file, with .out appended at the end.

*/ inline PiiOutputDataConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} /** *

When you use the PiiOutputDataConfig object with asynchronous * operations, you specify the Amazon S3 location where you want to write the * output data.

For a PII entity detection job, the output file is plain * text, not a compressed archive. The output file name is the same as the input * file, with .out appended at the end.

*/ inline PiiOutputDataConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} /** *

ID for the Amazon Web Services Key Management Service (KMS) key that Amazon * Comprehend uses to encrypt the output results from an analysis job.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

ID for the Amazon Web Services Key Management Service (KMS) key that Amazon * Comprehend uses to encrypt the output results from an analysis job.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *

ID for the Amazon Web Services Key Management Service (KMS) key that Amazon * Comprehend uses to encrypt the output results from an analysis job.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *

ID for the Amazon Web Services Key Management Service (KMS) key that Amazon * Comprehend uses to encrypt the output results from an analysis job.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *

ID for the Amazon Web Services Key Management Service (KMS) key that Amazon * Comprehend uses to encrypt the output results from an analysis job.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *

ID for the Amazon Web Services Key Management Service (KMS) key that Amazon * Comprehend uses to encrypt the output results from an analysis job.

*/ inline PiiOutputDataConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

ID for the Amazon Web Services Key Management Service (KMS) key that Amazon * Comprehend uses to encrypt the output results from an analysis job.

*/ inline PiiOutputDataConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

ID for the Amazon Web Services Key Management Service (KMS) key that Amazon * Comprehend uses to encrypt the output results from an analysis job.

*/ inline PiiOutputDataConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} private: Aws::String m_s3Uri; bool m_s3UriHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; }; } // namespace Model } // namespace Comprehend } // namespace Aws