/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A sample utterance that invokes an intent or respond to a slot elicitation
* prompt.See Also:
AWS
* API Reference
The sample utterance that Amazon Lex uses to build its machine-learning model * to recognize intents.
*/ inline const Aws::String& GetUtterance() const{ return m_utterance; } /** *The sample utterance that Amazon Lex uses to build its machine-learning model * to recognize intents.
*/ inline bool UtteranceHasBeenSet() const { return m_utteranceHasBeenSet; } /** *The sample utterance that Amazon Lex uses to build its machine-learning model * to recognize intents.
*/ inline void SetUtterance(const Aws::String& value) { m_utteranceHasBeenSet = true; m_utterance = value; } /** *The sample utterance that Amazon Lex uses to build its machine-learning model * to recognize intents.
*/ inline void SetUtterance(Aws::String&& value) { m_utteranceHasBeenSet = true; m_utterance = std::move(value); } /** *The sample utterance that Amazon Lex uses to build its machine-learning model * to recognize intents.
*/ inline void SetUtterance(const char* value) { m_utteranceHasBeenSet = true; m_utterance.assign(value); } /** *The sample utterance that Amazon Lex uses to build its machine-learning model * to recognize intents.
*/ inline SampleUtterance& WithUtterance(const Aws::String& value) { SetUtterance(value); return *this;} /** *The sample utterance that Amazon Lex uses to build its machine-learning model * to recognize intents.
*/ inline SampleUtterance& WithUtterance(Aws::String&& value) { SetUtterance(std::move(value)); return *this;} /** *The sample utterance that Amazon Lex uses to build its machine-learning model * to recognize intents.
*/ inline SampleUtterance& WithUtterance(const char* value) { SetUtterance(value); return *this;} private: Aws::String m_utterance; bool m_utteranceHasBeenSet; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws