/** * 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 LexModelsV2 { namespace Model { /** *

Determines whether Amazon Lex obscures slot values in conversation logs. *

See Also:

AWS * API Reference

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

Value that determines whether Amazon Lex obscures slot values in conversation * logs. The default is to obscure the values.

*/ inline const ObfuscationSettingType& GetObfuscationSettingType() const{ return m_obfuscationSettingType; } /** *

Value that determines whether Amazon Lex obscures slot values in conversation * logs. The default is to obscure the values.

*/ inline bool ObfuscationSettingTypeHasBeenSet() const { return m_obfuscationSettingTypeHasBeenSet; } /** *

Value that determines whether Amazon Lex obscures slot values in conversation * logs. The default is to obscure the values.

*/ inline void SetObfuscationSettingType(const ObfuscationSettingType& value) { m_obfuscationSettingTypeHasBeenSet = true; m_obfuscationSettingType = value; } /** *

Value that determines whether Amazon Lex obscures slot values in conversation * logs. The default is to obscure the values.

*/ inline void SetObfuscationSettingType(ObfuscationSettingType&& value) { m_obfuscationSettingTypeHasBeenSet = true; m_obfuscationSettingType = std::move(value); } /** *

Value that determines whether Amazon Lex obscures slot values in conversation * logs. The default is to obscure the values.

*/ inline ObfuscationSetting& WithObfuscationSettingType(const ObfuscationSettingType& value) { SetObfuscationSettingType(value); return *this;} /** *

Value that determines whether Amazon Lex obscures slot values in conversation * logs. The default is to obscure the values.

*/ inline ObfuscationSetting& WithObfuscationSettingType(ObfuscationSettingType&& value) { SetObfuscationSettingType(std::move(value)); return *this;} private: ObfuscationSettingType m_obfuscationSettingType; bool m_obfuscationSettingTypeHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws