/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A word or phrase transcribed from the input audio.See Also:
* AWS
* API Reference
The offset from the beginning of the audio stream to the beginning of the * audio that resulted in the item.
*/ inline double GetStartTime() const{ return m_startTime; } /** *The offset from the beginning of the audio stream to the beginning of the * audio that resulted in the item.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The offset from the beginning of the audio stream to the beginning of the * audio that resulted in the item.
*/ inline void SetStartTime(double value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The offset from the beginning of the audio stream to the beginning of the * audio that resulted in the item.
*/ inline Item& WithStartTime(double value) { SetStartTime(value); return *this;} /** *The offset from the beginning of the audio stream to the end of the audio * that resulted in the item.
*/ inline double GetEndTime() const{ return m_endTime; } /** *The offset from the beginning of the audio stream to the end of the audio * that resulted in the item.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The offset from the beginning of the audio stream to the end of the audio * that resulted in the item.
*/ inline void SetEndTime(double value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The offset from the beginning of the audio stream to the end of the audio * that resulted in the item.
*/ inline Item& WithEndTime(double value) { SetEndTime(value); return *this;} /** *The type of the item. PRONUNCIATION indicates that the item is a
* word that was recognized in the input audio. PUNCTUATION indicates
* that the item was interpreted as a pause in the input audio.
The type of the item. PRONUNCIATION indicates that the item is a
* word that was recognized in the input audio. PUNCTUATION indicates
* that the item was interpreted as a pause in the input audio.
The type of the item. PRONUNCIATION indicates that the item is a
* word that was recognized in the input audio. PUNCTUATION indicates
* that the item was interpreted as a pause in the input audio.
The type of the item. PRONUNCIATION indicates that the item is a
* word that was recognized in the input audio. PUNCTUATION indicates
* that the item was interpreted as a pause in the input audio.
The type of the item. PRONUNCIATION indicates that the item is a
* word that was recognized in the input audio. PUNCTUATION indicates
* that the item was interpreted as a pause in the input audio.
The type of the item. PRONUNCIATION indicates that the item is a
* word that was recognized in the input audio. PUNCTUATION indicates
* that the item was interpreted as a pause in the input audio.
The word or punctuation that was recognized in the input audio.
*/ inline const Aws::String& GetContent() const{ return m_content; } /** *The word or punctuation that was recognized in the input audio.
*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *The word or punctuation that was recognized in the input audio.
*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *The word or punctuation that was recognized in the input audio.
*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *The word or punctuation that was recognized in the input audio.
*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *The word or punctuation that was recognized in the input audio.
*/ inline Item& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *The word or punctuation that was recognized in the input audio.
*/ inline Item& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *The word or punctuation that was recognized in the input audio.
*/ inline Item& WithContent(const char* value) { SetContent(value); return *this;} /** *Indicates whether a word in the item matches a word in the vocabulary filter
* you've chosen for your real-time stream. If true then a word in the
* item matches your vocabulary filter.
Indicates whether a word in the item matches a word in the vocabulary filter
* you've chosen for your real-time stream. If true then a word in the
* item matches your vocabulary filter.
Indicates whether a word in the item matches a word in the vocabulary filter
* you've chosen for your real-time stream. If true then a word in the
* item matches your vocabulary filter.
Indicates whether a word in the item matches a word in the vocabulary filter
* you've chosen for your real-time stream. If true then a word in the
* item matches your vocabulary filter.
If speaker identification is enabled, shows the speakers identified in the * real-time stream.
*/ inline const Aws::String& GetSpeaker() const{ return m_speaker; } /** *If speaker identification is enabled, shows the speakers identified in the * real-time stream.
*/ inline bool SpeakerHasBeenSet() const { return m_speakerHasBeenSet; } /** *If speaker identification is enabled, shows the speakers identified in the * real-time stream.
*/ inline void SetSpeaker(const Aws::String& value) { m_speakerHasBeenSet = true; m_speaker = value; } /** *If speaker identification is enabled, shows the speakers identified in the * real-time stream.
*/ inline void SetSpeaker(Aws::String&& value) { m_speakerHasBeenSet = true; m_speaker = std::move(value); } /** *If speaker identification is enabled, shows the speakers identified in the * real-time stream.
*/ inline void SetSpeaker(const char* value) { m_speakerHasBeenSet = true; m_speaker.assign(value); } /** *If speaker identification is enabled, shows the speakers identified in the * real-time stream.
*/ inline Item& WithSpeaker(const Aws::String& value) { SetSpeaker(value); return *this;} /** *If speaker identification is enabled, shows the speakers identified in the * real-time stream.
*/ inline Item& WithSpeaker(Aws::String&& value) { SetSpeaker(std::move(value)); return *this;} /** *If speaker identification is enabled, shows the speakers identified in the * real-time stream.
*/ inline Item& WithSpeaker(const char* value) { SetSpeaker(value); return *this;} private: double m_startTime; bool m_startTimeHasBeenSet; double m_endTime; bool m_endTimeHasBeenSet; ItemType m_type; bool m_typeHasBeenSet; Aws::String m_content; bool m_contentHasBeenSet; bool m_vocabularyFilterMatch; bool m_vocabularyFilterMatchHasBeenSet; Aws::String m_speaker; bool m_speakerHasBeenSet; }; } // namespace Model } // namespace TranscribeStreamingService } // namespace Aws