/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides configuration parameters for PII entity redaction.See
* Also:
AWS
* API Reference
An array of the types of PII entities that Amazon Comprehend detects in the * input text for your request.
*/ inline const Aws::VectorAn array of the types of PII entities that Amazon Comprehend detects in the * input text for your request.
*/ inline bool PiiEntityTypesHasBeenSet() const { return m_piiEntityTypesHasBeenSet; } /** *An array of the types of PII entities that Amazon Comprehend detects in the * input text for your request.
*/ inline void SetPiiEntityTypes(const Aws::VectorAn array of the types of PII entities that Amazon Comprehend detects in the * input text for your request.
*/ inline void SetPiiEntityTypes(Aws::VectorAn array of the types of PII entities that Amazon Comprehend detects in the * input text for your request.
*/ inline RedactionConfig& WithPiiEntityTypes(const Aws::VectorAn array of the types of PII entities that Amazon Comprehend detects in the * input text for your request.
*/ inline RedactionConfig& WithPiiEntityTypes(Aws::VectorAn array of the types of PII entities that Amazon Comprehend detects in the * input text for your request.
*/ inline RedactionConfig& AddPiiEntityTypes(const PiiEntityType& value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes.push_back(value); return *this; } /** *An array of the types of PII entities that Amazon Comprehend detects in the * input text for your request.
*/ inline RedactionConfig& AddPiiEntityTypes(PiiEntityType&& value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes.push_back(std::move(value)); return *this; } /** *Specifies whether the PII entity is redacted with the mask character or the * entity type.
*/ inline const PiiEntitiesDetectionMaskMode& GetMaskMode() const{ return m_maskMode; } /** *Specifies whether the PII entity is redacted with the mask character or the * entity type.
*/ inline bool MaskModeHasBeenSet() const { return m_maskModeHasBeenSet; } /** *Specifies whether the PII entity is redacted with the mask character or the * entity type.
*/ inline void SetMaskMode(const PiiEntitiesDetectionMaskMode& value) { m_maskModeHasBeenSet = true; m_maskMode = value; } /** *Specifies whether the PII entity is redacted with the mask character or the * entity type.
*/ inline void SetMaskMode(PiiEntitiesDetectionMaskMode&& value) { m_maskModeHasBeenSet = true; m_maskMode = std::move(value); } /** *Specifies whether the PII entity is redacted with the mask character or the * entity type.
*/ inline RedactionConfig& WithMaskMode(const PiiEntitiesDetectionMaskMode& value) { SetMaskMode(value); return *this;} /** *Specifies whether the PII entity is redacted with the mask character or the * entity type.
*/ inline RedactionConfig& WithMaskMode(PiiEntitiesDetectionMaskMode&& value) { SetMaskMode(std::move(value)); return *this;} /** *A character that replaces each character in the redacted PII entity.
*/ inline const Aws::String& GetMaskCharacter() const{ return m_maskCharacter; } /** *A character that replaces each character in the redacted PII entity.
*/ inline bool MaskCharacterHasBeenSet() const { return m_maskCharacterHasBeenSet; } /** *A character that replaces each character in the redacted PII entity.
*/ inline void SetMaskCharacter(const Aws::String& value) { m_maskCharacterHasBeenSet = true; m_maskCharacter = value; } /** *A character that replaces each character in the redacted PII entity.
*/ inline void SetMaskCharacter(Aws::String&& value) { m_maskCharacterHasBeenSet = true; m_maskCharacter = std::move(value); } /** *A character that replaces each character in the redacted PII entity.
*/ inline void SetMaskCharacter(const char* value) { m_maskCharacterHasBeenSet = true; m_maskCharacter.assign(value); } /** *A character that replaces each character in the redacted PII entity.
*/ inline RedactionConfig& WithMaskCharacter(const Aws::String& value) { SetMaskCharacter(value); return *this;} /** *A character that replaces each character in the redacted PII entity.
*/ inline RedactionConfig& WithMaskCharacter(Aws::String&& value) { SetMaskCharacter(std::move(value)); return *this;} /** *A character that replaces each character in the redacted PII entity.
*/ inline RedactionConfig& WithMaskCharacter(const char* value) { SetMaskCharacter(value); return *this;} private: Aws::Vector