/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about input of an utterance.See Also:
* AWS
* API Reference
A text input transcription of the utterance. It is only applicable for * test-sets containing text data.
*/ inline const Aws::String& GetTextInput() const{ return m_textInput; } /** *A text input transcription of the utterance. It is only applicable for * test-sets containing text data.
*/ inline bool TextInputHasBeenSet() const { return m_textInputHasBeenSet; } /** *A text input transcription of the utterance. It is only applicable for * test-sets containing text data.
*/ inline void SetTextInput(const Aws::String& value) { m_textInputHasBeenSet = true; m_textInput = value; } /** *A text input transcription of the utterance. It is only applicable for * test-sets containing text data.
*/ inline void SetTextInput(Aws::String&& value) { m_textInputHasBeenSet = true; m_textInput = std::move(value); } /** *A text input transcription of the utterance. It is only applicable for * test-sets containing text data.
*/ inline void SetTextInput(const char* value) { m_textInputHasBeenSet = true; m_textInput.assign(value); } /** *A text input transcription of the utterance. It is only applicable for * test-sets containing text data.
*/ inline UtteranceInputSpecification& WithTextInput(const Aws::String& value) { SetTextInput(value); return *this;} /** *A text input transcription of the utterance. It is only applicable for * test-sets containing text data.
*/ inline UtteranceInputSpecification& WithTextInput(Aws::String&& value) { SetTextInput(std::move(value)); return *this;} /** *A text input transcription of the utterance. It is only applicable for * test-sets containing text data.
*/ inline UtteranceInputSpecification& WithTextInput(const char* value) { SetTextInput(value); return *this;} /** *Contains information about the audio input for an utterance.
*/ inline const UtteranceAudioInputSpecification& GetAudioInput() const{ return m_audioInput; } /** *Contains information about the audio input for an utterance.
*/ inline bool AudioInputHasBeenSet() const { return m_audioInputHasBeenSet; } /** *Contains information about the audio input for an utterance.
*/ inline void SetAudioInput(const UtteranceAudioInputSpecification& value) { m_audioInputHasBeenSet = true; m_audioInput = value; } /** *Contains information about the audio input for an utterance.
*/ inline void SetAudioInput(UtteranceAudioInputSpecification&& value) { m_audioInputHasBeenSet = true; m_audioInput = std::move(value); } /** *Contains information about the audio input for an utterance.
*/ inline UtteranceInputSpecification& WithAudioInput(const UtteranceAudioInputSpecification& value) { SetAudioInput(value); return *this;} /** *Contains information about the audio input for an utterance.
*/ inline UtteranceInputSpecification& WithAudioInput(UtteranceAudioInputSpecification&& value) { SetAudioInput(std::move(value)); return *this;} private: Aws::String m_textInput; bool m_textInputHasBeenSet = false; UtteranceAudioInputSpecification m_audioInput; bool m_audioInputHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws