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

Settings that determine the Lambda function that Amazon Lex uses for * processing user responses.

See Also:

AWS * API Reference

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

Enables the dialog code hook so that it processes user requests.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Enables the dialog code hook so that it processes user requests.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Enables the dialog code hook so that it processes user requests.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Enables the dialog code hook so that it processes user requests.

*/ inline DialogCodeHookSettings& WithEnabled(bool value) { SetEnabled(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws