/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a set of transcription results from the server to the client. It
* contains one or more segments of the transcription.See Also:
* AWS
* API Reference
The transcription of the audio stream. The transcription is composed of all * of the items in the results list.
*/ inline const Transcript& GetTranscript() const{ return m_transcript; } /** *The transcription of the audio stream. The transcription is composed of all * of the items in the results list.
*/ inline bool TranscriptHasBeenSet() const { return m_transcriptHasBeenSet; } /** *The transcription of the audio stream. The transcription is composed of all * of the items in the results list.
*/ inline void SetTranscript(const Transcript& value) { m_transcriptHasBeenSet = true; m_transcript = value; } /** *The transcription of the audio stream. The transcription is composed of all * of the items in the results list.
*/ inline void SetTranscript(Transcript&& value) { m_transcriptHasBeenSet = true; m_transcript = std::move(value); } /** *The transcription of the audio stream. The transcription is composed of all * of the items in the results list.
*/ inline TranscriptEvent& WithTranscript(const Transcript& value) { SetTranscript(value); return *this;} /** *The transcription of the audio stream. The transcription is composed of all * of the items in the results list.
*/ inline TranscriptEvent& WithTranscript(Transcript&& value) { SetTranscript(std::move(value)); return *this;} private: Transcript m_transcript; bool m_transcriptHasBeenSet; }; } // namespace Model } // namespace TranscribeStreamingService } // namespace Aws