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

Settings for content redaction within a transcription job.

See * Also:

AWS * API Reference

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

Request parameter that defines the entities to be redacted. The only accepted * value is PII.

*/ inline const RedactionType& GetRedactionType() const{ return m_redactionType; } /** *

Request parameter that defines the entities to be redacted. The only accepted * value is PII.

*/ inline bool RedactionTypeHasBeenSet() const { return m_redactionTypeHasBeenSet; } /** *

Request parameter that defines the entities to be redacted. The only accepted * value is PII.

*/ inline void SetRedactionType(const RedactionType& value) { m_redactionTypeHasBeenSet = true; m_redactionType = value; } /** *

Request parameter that defines the entities to be redacted. The only accepted * value is PII.

*/ inline void SetRedactionType(RedactionType&& value) { m_redactionTypeHasBeenSet = true; m_redactionType = std::move(value); } /** *

Request parameter that defines the entities to be redacted. The only accepted * value is PII.

*/ inline ContentRedaction& WithRedactionType(const RedactionType& value) { SetRedactionType(value); return *this;} /** *

Request parameter that defines the entities to be redacted. The only accepted * value is PII.

*/ inline ContentRedaction& WithRedactionType(RedactionType&& value) { SetRedactionType(std::move(value)); return *this;} /** *

The output transcript file stored in either the default S3 bucket or in a * bucket you specify.

When you choose redacted Amazon * Transcribe outputs only the redacted transcript.

When you choose * redacted_and_unredacted Amazon Transcribe outputs both the redacted * and unredacted transcripts.

*/ inline const RedactionOutput& GetRedactionOutput() const{ return m_redactionOutput; } /** *

The output transcript file stored in either the default S3 bucket or in a * bucket you specify.

When you choose redacted Amazon * Transcribe outputs only the redacted transcript.

When you choose * redacted_and_unredacted Amazon Transcribe outputs both the redacted * and unredacted transcripts.

*/ inline bool RedactionOutputHasBeenSet() const { return m_redactionOutputHasBeenSet; } /** *

The output transcript file stored in either the default S3 bucket or in a * bucket you specify.

When you choose redacted Amazon * Transcribe outputs only the redacted transcript.

When you choose * redacted_and_unredacted Amazon Transcribe outputs both the redacted * and unredacted transcripts.

*/ inline void SetRedactionOutput(const RedactionOutput& value) { m_redactionOutputHasBeenSet = true; m_redactionOutput = value; } /** *

The output transcript file stored in either the default S3 bucket or in a * bucket you specify.

When you choose redacted Amazon * Transcribe outputs only the redacted transcript.

When you choose * redacted_and_unredacted Amazon Transcribe outputs both the redacted * and unredacted transcripts.

*/ inline void SetRedactionOutput(RedactionOutput&& value) { m_redactionOutputHasBeenSet = true; m_redactionOutput = std::move(value); } /** *

The output transcript file stored in either the default S3 bucket or in a * bucket you specify.

When you choose redacted Amazon * Transcribe outputs only the redacted transcript.

When you choose * redacted_and_unredacted Amazon Transcribe outputs both the redacted * and unredacted transcripts.

*/ inline ContentRedaction& WithRedactionOutput(const RedactionOutput& value) { SetRedactionOutput(value); return *this;} /** *

The output transcript file stored in either the default S3 bucket or in a * bucket you specify.

When you choose redacted Amazon * Transcribe outputs only the redacted transcript.

When you choose * redacted_and_unredacted Amazon Transcribe outputs both the redacted * and unredacted transcripts.

*/ inline ContentRedaction& WithRedactionOutput(RedactionOutput&& value) { SetRedactionOutput(std::move(value)); return *this;} private: RedactionType m_redactionType; bool m_redactionTypeHasBeenSet; RedactionOutput m_redactionOutput; bool m_redactionOutputHasBeenSet; }; } // namespace Model } // namespace TranscribeService } // namespace Aws