/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies settings that are unique to a locale. For example, you can use
* different Lambda function depending on the bot's locale.See
* Also:
AWS
* API Reference
Determines whether the locale is enabled for the bot. If the value is
* false
, the locale isn't available for use.
Determines whether the locale is enabled for the bot. If the value is
* false
, the locale isn't available for use.
Determines whether the locale is enabled for the bot. If the value is
* false
, the locale isn't available for use.
Determines whether the locale is enabled for the bot. If the value is
* false
, the locale isn't available for use.
Specifies the Lambda function that should be used in the locale.
*/ inline const CodeHookSpecification& GetCodeHookSpecification() const{ return m_codeHookSpecification; } /** *Specifies the Lambda function that should be used in the locale.
*/ inline bool CodeHookSpecificationHasBeenSet() const { return m_codeHookSpecificationHasBeenSet; } /** *Specifies the Lambda function that should be used in the locale.
*/ inline void SetCodeHookSpecification(const CodeHookSpecification& value) { m_codeHookSpecificationHasBeenSet = true; m_codeHookSpecification = value; } /** *Specifies the Lambda function that should be used in the locale.
*/ inline void SetCodeHookSpecification(CodeHookSpecification&& value) { m_codeHookSpecificationHasBeenSet = true; m_codeHookSpecification = std::move(value); } /** *Specifies the Lambda function that should be used in the locale.
*/ inline BotAliasLocaleSettings& WithCodeHookSpecification(const CodeHookSpecification& value) { SetCodeHookSpecification(value); return *this;} /** *Specifies the Lambda function that should be used in the locale.
*/ inline BotAliasLocaleSettings& WithCodeHookSpecification(CodeHookSpecification&& value) { SetCodeHookSpecification(std::move(value)); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; CodeHookSpecification m_codeHookSpecification; bool m_codeHookSpecificationHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws