/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the external source of the slot type's
* definition.See Also:
AWS
* API Reference
Settings required for a slot type based on a grammar that you provide.
*/ inline const GrammarSlotTypeSetting& GetGrammarSlotTypeSetting() const{ return m_grammarSlotTypeSetting; } /** *Settings required for a slot type based on a grammar that you provide.
*/ inline bool GrammarSlotTypeSettingHasBeenSet() const { return m_grammarSlotTypeSettingHasBeenSet; } /** *Settings required for a slot type based on a grammar that you provide.
*/ inline void SetGrammarSlotTypeSetting(const GrammarSlotTypeSetting& value) { m_grammarSlotTypeSettingHasBeenSet = true; m_grammarSlotTypeSetting = value; } /** *Settings required for a slot type based on a grammar that you provide.
*/ inline void SetGrammarSlotTypeSetting(GrammarSlotTypeSetting&& value) { m_grammarSlotTypeSettingHasBeenSet = true; m_grammarSlotTypeSetting = std::move(value); } /** *Settings required for a slot type based on a grammar that you provide.
*/ inline ExternalSourceSetting& WithGrammarSlotTypeSetting(const GrammarSlotTypeSetting& value) { SetGrammarSlotTypeSetting(value); return *this;} /** *Settings required for a slot type based on a grammar that you provide.
*/ inline ExternalSourceSetting& WithGrammarSlotTypeSetting(GrammarSlotTypeSetting&& value) { SetGrammarSlotTypeSetting(std::move(value)); return *this;} private: GrammarSlotTypeSetting m_grammarSlotTypeSetting; bool m_grammarSlotTypeSettingHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws