/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Contains a set of
* transcription results from one or more audio segments, along with additional
* information per your request parameters. This can include information relating
* to alternative transcriptions, channel identification, partial result
* stabilization, language identification, and other transcription-related
* data.Result
associated with a .
See Also:
AWS
* API Reference
Provides a unique identifier for the Result
.
Provides a unique identifier for the Result
.
Provides a unique identifier for the Result
.
Provides a unique identifier for the Result
.
Provides a unique identifier for the Result
.
Provides a unique identifier for the Result
.
Provides a unique identifier for the Result
.
Provides a unique identifier for the Result
.
The start time, in milliseconds, of the Result
.
The start time, in milliseconds, of the Result
.
The start time, in milliseconds, of the Result
.
The start time, in milliseconds, of the Result
.
The end time, in milliseconds, of the Result
.
The end time, in milliseconds, of the Result
.
The end time, in milliseconds, of the Result
.
The end time, in milliseconds, of the Result
.
Indicates if the segment is complete.
If IsPartial
is
* true
, the segment is not complete. If IsPartial
is
* false
, the segment is complete.
Indicates if the segment is complete.
If IsPartial
is
* true
, the segment is not complete. If IsPartial
is
* false
, the segment is complete.
Indicates if the segment is complete.
If IsPartial
is
* true
, the segment is not complete. If IsPartial
is
* false
, the segment is complete.
Indicates if the segment is complete.
If IsPartial
is
* true
, the segment is not complete. If IsPartial
is
* false
, the segment is complete.
A list of possible alternative transcriptions for the input audio. Each
* alternative may contain one or more of Items
,
* Entities
, or Transcript
.
A list of possible alternative transcriptions for the input audio. Each
* alternative may contain one or more of Items
,
* Entities
, or Transcript
.
A list of possible alternative transcriptions for the input audio. Each
* alternative may contain one or more of Items
,
* Entities
, or Transcript
.
A list of possible alternative transcriptions for the input audio. Each
* alternative may contain one or more of Items
,
* Entities
, or Transcript
.
A list of possible alternative transcriptions for the input audio. Each
* alternative may contain one or more of Items
,
* Entities
, or Transcript
.
A list of possible alternative transcriptions for the input audio. Each
* alternative may contain one or more of Items
,
* Entities
, or Transcript
.
A list of possible alternative transcriptions for the input audio. Each
* alternative may contain one or more of Items
,
* Entities
, or Transcript
.
A list of possible alternative transcriptions for the input audio. Each
* alternative may contain one or more of Items
,
* Entities
, or Transcript
.
Indicates which audio channel is associated with the Result
.
Indicates which audio channel is associated with the Result
.
Indicates which audio channel is associated with the Result
.
Indicates which audio channel is associated with the Result
.
Indicates which audio channel is associated with the Result
.
Indicates which audio channel is associated with the Result
.
Indicates which audio channel is associated with the Result
.
Indicates which audio channel is associated with the Result
.
The language code that represents the language spoken in your audio * stream.
*/ inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; } /** *The language code that represents the language spoken in your audio * stream.
*/ inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; } /** *The language code that represents the language spoken in your audio * stream.
*/ inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; } /** *The language code that represents the language spoken in your audio * stream.
*/ inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); } /** *The language code that represents the language spoken in your audio * stream.
*/ inline Result& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;} /** *The language code that represents the language spoken in your audio * stream.
*/ inline Result& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;} /** *The language code of the dominant language identified in your stream.
*If you enabled channel identification and each channel of your audio contains * a different language, you may have more than one result.
*/ inline const Aws::VectorThe language code of the dominant language identified in your stream.
*If you enabled channel identification and each channel of your audio contains * a different language, you may have more than one result.
*/ inline bool LanguageIdentificationHasBeenSet() const { return m_languageIdentificationHasBeenSet; } /** *The language code of the dominant language identified in your stream.
*If you enabled channel identification and each channel of your audio contains * a different language, you may have more than one result.
*/ inline void SetLanguageIdentification(const Aws::VectorThe language code of the dominant language identified in your stream.
*If you enabled channel identification and each channel of your audio contains * a different language, you may have more than one result.
*/ inline void SetLanguageIdentification(Aws::VectorThe language code of the dominant language identified in your stream.
*If you enabled channel identification and each channel of your audio contains * a different language, you may have more than one result.
*/ inline Result& WithLanguageIdentification(const Aws::VectorThe language code of the dominant language identified in your stream.
*If you enabled channel identification and each channel of your audio contains * a different language, you may have more than one result.
*/ inline Result& WithLanguageIdentification(Aws::VectorThe language code of the dominant language identified in your stream.
*If you enabled channel identification and each channel of your audio contains * a different language, you may have more than one result.
*/ inline Result& AddLanguageIdentification(const LanguageWithScore& value) { m_languageIdentificationHasBeenSet = true; m_languageIdentification.push_back(value); return *this; } /** *The language code of the dominant language identified in your stream.
*If you enabled channel identification and each channel of your audio contains * a different language, you may have more than one result.
*/ inline Result& AddLanguageIdentification(LanguageWithScore&& value) { m_languageIdentificationHasBeenSet = true; m_languageIdentification.push_back(std::move(value)); return *this; } private: Aws::String m_resultId; bool m_resultIdHasBeenSet = false; double m_startTime; bool m_startTimeHasBeenSet = false; double m_endTime; bool m_endTimeHasBeenSet = false; bool m_isPartial; bool m_isPartialHasBeenSet = false; Aws::Vector