/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of transcribing a portion of the input audio stream.
* See Also:
AWS
* API Reference
A unique identifier for the result.
*/ inline const Aws::String& GetResultId() const{ return m_resultId; } /** *A unique identifier for the result.
*/ inline bool ResultIdHasBeenSet() const { return m_resultIdHasBeenSet; } /** *A unique identifier for the result.
*/ inline void SetResultId(const Aws::String& value) { m_resultIdHasBeenSet = true; m_resultId = value; } /** *A unique identifier for the result.
*/ inline void SetResultId(Aws::String&& value) { m_resultIdHasBeenSet = true; m_resultId = std::move(value); } /** *A unique identifier for the result.
*/ inline void SetResultId(const char* value) { m_resultIdHasBeenSet = true; m_resultId.assign(value); } /** *A unique identifier for the result.
*/ inline Result& WithResultId(const Aws::String& value) { SetResultId(value); return *this;} /** *A unique identifier for the result.
*/ inline Result& WithResultId(Aws::String&& value) { SetResultId(std::move(value)); return *this;} /** *A unique identifier for the result.
*/ inline Result& WithResultId(const char* value) { SetResultId(value); return *this;} /** *The offset in seconds from the beginning of the audio stream to the beginning * of the result.
*/ inline double GetStartTime() const{ return m_startTime; } /** *The offset in seconds from the beginning of the audio stream to the beginning * of the result.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The offset in seconds from the beginning of the audio stream to the beginning * of the result.
*/ inline void SetStartTime(double value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The offset in seconds from the beginning of the audio stream to the beginning * of the result.
*/ inline Result& WithStartTime(double value) { SetStartTime(value); return *this;} /** *The offset in seconds from the beginning of the audio stream to the end of * the result.
*/ inline double GetEndTime() const{ return m_endTime; } /** *The offset in seconds from the beginning of the audio stream to the end of * the result.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The offset in seconds from the beginning of the audio stream to the end of * the result.
*/ inline void SetEndTime(double value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The offset in seconds from the beginning of the audio stream to the end of * the result.
*/ inline Result& WithEndTime(double value) { SetEndTime(value); return *this;} /** *Amazon Transcribe divides the incoming audio stream into segments at natural * points in the audio. Transcription results are returned based on these segments. *
The IsPartial field is true to indicate that
* Amazon Transcribe has additional transcription data to send, false
* to indicate that this is the last transcription result for the segment.
Amazon Transcribe divides the incoming audio stream into segments at natural * points in the audio. Transcription results are returned based on these segments. *
The IsPartial field is true to indicate that
* Amazon Transcribe has additional transcription data to send, false
* to indicate that this is the last transcription result for the segment.
Amazon Transcribe divides the incoming audio stream into segments at natural * points in the audio. Transcription results are returned based on these segments. *
The IsPartial field is true to indicate that
* Amazon Transcribe has additional transcription data to send, false
* to indicate that this is the last transcription result for the segment.
Amazon Transcribe divides the incoming audio stream into segments at natural * points in the audio. Transcription results are returned based on these segments. *
The IsPartial field is true to indicate that
* Amazon Transcribe has additional transcription data to send, false
* to indicate that this is the last transcription result for the segment.
A list of possible transcriptions for the audio. Each alternative typically
* contains one item that contains the result of the
* transcription.
A list of possible transcriptions for the audio. Each alternative typically
* contains one item that contains the result of the
* transcription.
A list of possible transcriptions for the audio. Each alternative typically
* contains one item that contains the result of the
* transcription.
A list of possible transcriptions for the audio. Each alternative typically
* contains one item that contains the result of the
* transcription.
A list of possible transcriptions for the audio. Each alternative typically
* contains one item that contains the result of the
* transcription.
A list of possible transcriptions for the audio. Each alternative typically
* contains one item that contains the result of the
* transcription.
A list of possible transcriptions for the audio. Each alternative typically
* contains one item that contains the result of the
* transcription.
A list of possible transcriptions for the audio. Each alternative typically
* contains one item that contains the result of the
* transcription.