/** * 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 { /** *

Provides the phrase that Amazon Lex should look for in the user's input to * the bot.

See Also:

AWS * API Reference

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

The phrase that Amazon Lex should look for in the user's input to the * bot.

*/ inline const Aws::String& GetPhrase() const{ return m_phrase; } /** *

The phrase that Amazon Lex should look for in the user's input to the * bot.

*/ inline bool PhraseHasBeenSet() const { return m_phraseHasBeenSet; } /** *

The phrase that Amazon Lex should look for in the user's input to the * bot.

*/ inline void SetPhrase(const Aws::String& value) { m_phraseHasBeenSet = true; m_phrase = value; } /** *

The phrase that Amazon Lex should look for in the user's input to the * bot.

*/ inline void SetPhrase(Aws::String&& value) { m_phraseHasBeenSet = true; m_phrase = std::move(value); } /** *

The phrase that Amazon Lex should look for in the user's input to the * bot.

*/ inline void SetPhrase(const char* value) { m_phraseHasBeenSet = true; m_phrase.assign(value); } /** *

The phrase that Amazon Lex should look for in the user's input to the * bot.

*/ inline RuntimeHintValue& WithPhrase(const Aws::String& value) { SetPhrase(value); return *this;} /** *

The phrase that Amazon Lex should look for in the user's input to the * bot.

*/ inline RuntimeHintValue& WithPhrase(Aws::String&& value) { SetPhrase(std::move(value)); return *this;} /** *

The phrase that Amazon Lex should look for in the user's input to the * bot.

*/ inline RuntimeHintValue& WithPhrase(const char* value) { SetPhrase(value); return *this;} private: Aws::String m_phrase; bool m_phraseHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws