1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/lexv2-models/LexModelsV2_EXPORTS.h> 8 #include <aws/lexv2-models/model/ObfuscationSettingType.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 namespace Utils 14 { 15 namespace Json 16 { 17 class JsonValue; 18 class JsonView; 19 } // namespace Json 20 } // namespace Utils 21 namespace LexModelsV2 22 { 23 namespace Model 24 { 25 26 /** 27 * <p>Determines whether Amazon Lex obscures slot values in conversation logs. 28 * </p><p><h3>See Also:</h3> <a 29 * href="http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ObfuscationSetting">AWS 30 * API Reference</a></p> 31 */ 32 class AWS_LEXMODELSV2_API ObfuscationSetting 33 { 34 public: 35 ObfuscationSetting(); 36 ObfuscationSetting(Aws::Utils::Json::JsonView jsonValue); 37 ObfuscationSetting& operator=(Aws::Utils::Json::JsonView jsonValue); 38 Aws::Utils::Json::JsonValue Jsonize() const; 39 40 41 /** 42 * <p>Value that determines whether Amazon Lex obscures slot values in conversation 43 * logs. The default is to obscure the values.</p> 44 */ GetObfuscationSettingType()45 inline const ObfuscationSettingType& GetObfuscationSettingType() const{ return m_obfuscationSettingType; } 46 47 /** 48 * <p>Value that determines whether Amazon Lex obscures slot values in conversation 49 * logs. The default is to obscure the values.</p> 50 */ ObfuscationSettingTypeHasBeenSet()51 inline bool ObfuscationSettingTypeHasBeenSet() const { return m_obfuscationSettingTypeHasBeenSet; } 52 53 /** 54 * <p>Value that determines whether Amazon Lex obscures slot values in conversation 55 * logs. The default is to obscure the values.</p> 56 */ SetObfuscationSettingType(const ObfuscationSettingType & value)57 inline void SetObfuscationSettingType(const ObfuscationSettingType& value) { m_obfuscationSettingTypeHasBeenSet = true; m_obfuscationSettingType = value; } 58 59 /** 60 * <p>Value that determines whether Amazon Lex obscures slot values in conversation 61 * logs. The default is to obscure the values.</p> 62 */ SetObfuscationSettingType(ObfuscationSettingType && value)63 inline void SetObfuscationSettingType(ObfuscationSettingType&& value) { m_obfuscationSettingTypeHasBeenSet = true; m_obfuscationSettingType = std::move(value); } 64 65 /** 66 * <p>Value that determines whether Amazon Lex obscures slot values in conversation 67 * logs. The default is to obscure the values.</p> 68 */ WithObfuscationSettingType(const ObfuscationSettingType & value)69 inline ObfuscationSetting& WithObfuscationSettingType(const ObfuscationSettingType& value) { SetObfuscationSettingType(value); return *this;} 70 71 /** 72 * <p>Value that determines whether Amazon Lex obscures slot values in conversation 73 * logs. The default is to obscure the values.</p> 74 */ WithObfuscationSettingType(ObfuscationSettingType && value)75 inline ObfuscationSetting& WithObfuscationSettingType(ObfuscationSettingType&& value) { SetObfuscationSettingType(std::move(value)); return *this;} 76 77 private: 78 79 ObfuscationSettingType m_obfuscationSettingType; 80 bool m_obfuscationSettingTypeHasBeenSet; 81 }; 82 83 } // namespace Model 84 } // namespace LexModelsV2 85 } // namespace Aws 86