/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains detailed information about your streaming session.See
* Also:
AWS
* API Reference
Contains Transcript
, which contains Results
. The
* object contains a set of transcription results from one or more audio
* segments, along with additional information per your request parameters.
Contains Transcript
, which contains Results
. The
* object contains a set of transcription results from one or more audio
* segments, along with additional information per your request parameters.
Contains Transcript
, which contains Results
. The
* object contains a set of transcription results from one or more audio
* segments, along with additional information per your request parameters.
Contains Transcript
, which contains Results
. The
* object contains a set of transcription results from one or more audio
* segments, along with additional information per your request parameters.
Contains Transcript
, which contains Results
. The
* object contains a set of transcription results from one or more audio
* segments, along with additional information per your request parameters.
Contains Transcript
, which contains Results
. The
* object contains a set of transcription results from one or more audio
* segments, along with additional information per your request parameters.
A client error occurred when the stream was created. Check the parameters of * the request and try your request again.
*/ inline const BadRequestException& GetBadRequestException() const{ return m_badRequestException; } /** *A client error occurred when the stream was created. Check the parameters of * the request and try your request again.
*/ inline bool BadRequestExceptionHasBeenSet() const { return m_badRequestExceptionHasBeenSet; } /** *A client error occurred when the stream was created. Check the parameters of * the request and try your request again.
*/ inline void SetBadRequestException(const BadRequestException& value) { m_badRequestExceptionHasBeenSet = true; m_badRequestException = value; } /** *A client error occurred when the stream was created. Check the parameters of * the request and try your request again.
*/ inline void SetBadRequestException(BadRequestException&& value) { m_badRequestExceptionHasBeenSet = true; m_badRequestException = std::move(value); } /** *A client error occurred when the stream was created. Check the parameters of * the request and try your request again.
*/ inline TranscriptResultStream& WithBadRequestException(const BadRequestException& value) { SetBadRequestException(value); return *this;} /** *A client error occurred when the stream was created. Check the parameters of * the request and try your request again.
*/ inline TranscriptResultStream& WithBadRequestException(BadRequestException&& value) { SetBadRequestException(std::move(value)); return *this;} /** *Your client has exceeded one of the Amazon Transcribe limits. This is * typically the audio length limit. Break your audio stream into smaller chunks * and try your request again.
*/ inline const LimitExceededException& GetLimitExceededException() const{ return m_limitExceededException; } /** *Your client has exceeded one of the Amazon Transcribe limits. This is * typically the audio length limit. Break your audio stream into smaller chunks * and try your request again.
*/ inline bool LimitExceededExceptionHasBeenSet() const { return m_limitExceededExceptionHasBeenSet; } /** *Your client has exceeded one of the Amazon Transcribe limits. This is * typically the audio length limit. Break your audio stream into smaller chunks * and try your request again.
*/ inline void SetLimitExceededException(const LimitExceededException& value) { m_limitExceededExceptionHasBeenSet = true; m_limitExceededException = value; } /** *Your client has exceeded one of the Amazon Transcribe limits. This is * typically the audio length limit. Break your audio stream into smaller chunks * and try your request again.
*/ inline void SetLimitExceededException(LimitExceededException&& value) { m_limitExceededExceptionHasBeenSet = true; m_limitExceededException = std::move(value); } /** *Your client has exceeded one of the Amazon Transcribe limits. This is * typically the audio length limit. Break your audio stream into smaller chunks * and try your request again.
*/ inline TranscriptResultStream& WithLimitExceededException(const LimitExceededException& value) { SetLimitExceededException(value); return *this;} /** *Your client has exceeded one of the Amazon Transcribe limits. This is * typically the audio length limit. Break your audio stream into smaller chunks * and try your request again.
*/ inline TranscriptResultStream& WithLimitExceededException(LimitExceededException&& value) { SetLimitExceededException(std::move(value)); return *this;} /** *A problem occurred while processing the audio. Amazon Transcribe terminated * processing.
*/ inline const InternalFailureException& GetInternalFailureException() const{ return m_internalFailureException; } /** *A problem occurred while processing the audio. Amazon Transcribe terminated * processing.
*/ inline bool InternalFailureExceptionHasBeenSet() const { return m_internalFailureExceptionHasBeenSet; } /** *A problem occurred while processing the audio. Amazon Transcribe terminated * processing.
*/ inline void SetInternalFailureException(const InternalFailureException& value) { m_internalFailureExceptionHasBeenSet = true; m_internalFailureException = value; } /** *A problem occurred while processing the audio. Amazon Transcribe terminated * processing.
*/ inline void SetInternalFailureException(InternalFailureException&& value) { m_internalFailureExceptionHasBeenSet = true; m_internalFailureException = std::move(value); } /** *A problem occurred while processing the audio. Amazon Transcribe terminated * processing.
*/ inline TranscriptResultStream& WithInternalFailureException(const InternalFailureException& value) { SetInternalFailureException(value); return *this;} /** *A problem occurred while processing the audio. Amazon Transcribe terminated * processing.
*/ inline TranscriptResultStream& WithInternalFailureException(InternalFailureException&& value) { SetInternalFailureException(std::move(value)); return *this;} /** *A new stream started with the same session ID. The current stream has been * terminated.
*/ inline const ConflictException& GetConflictException() const{ return m_conflictException; } /** *A new stream started with the same session ID. The current stream has been * terminated.
*/ inline bool ConflictExceptionHasBeenSet() const { return m_conflictExceptionHasBeenSet; } /** *A new stream started with the same session ID. The current stream has been * terminated.
*/ inline void SetConflictException(const ConflictException& value) { m_conflictExceptionHasBeenSet = true; m_conflictException = value; } /** *A new stream started with the same session ID. The current stream has been * terminated.
*/ inline void SetConflictException(ConflictException&& value) { m_conflictExceptionHasBeenSet = true; m_conflictException = std::move(value); } /** *A new stream started with the same session ID. The current stream has been * terminated.
*/ inline TranscriptResultStream& WithConflictException(const ConflictException& value) { SetConflictException(value); return *this;} /** *A new stream started with the same session ID. The current stream has been * terminated.
*/ inline TranscriptResultStream& WithConflictException(ConflictException&& value) { SetConflictException(std::move(value)); return *this;} /** *The service is currently unavailable. Try your request later.
*/ inline const ServiceUnavailableException& GetServiceUnavailableException() const{ return m_serviceUnavailableException; } /** *The service is currently unavailable. Try your request later.
*/ inline bool ServiceUnavailableExceptionHasBeenSet() const { return m_serviceUnavailableExceptionHasBeenSet; } /** *The service is currently unavailable. Try your request later.
*/ inline void SetServiceUnavailableException(const ServiceUnavailableException& value) { m_serviceUnavailableExceptionHasBeenSet = true; m_serviceUnavailableException = value; } /** *The service is currently unavailable. Try your request later.
*/ inline void SetServiceUnavailableException(ServiceUnavailableException&& value) { m_serviceUnavailableExceptionHasBeenSet = true; m_serviceUnavailableException = std::move(value); } /** *The service is currently unavailable. Try your request later.
*/ inline TranscriptResultStream& WithServiceUnavailableException(const ServiceUnavailableException& value) { SetServiceUnavailableException(value); return *this;} /** *The service is currently unavailable. Try your request later.
*/ inline TranscriptResultStream& WithServiceUnavailableException(ServiceUnavailableException&& value) { SetServiceUnavailableException(std::move(value)); return *this;} private: TranscriptEvent m_transcriptEvent; bool m_transcriptEventHasBeenSet = false; BadRequestException m_badRequestException; bool m_badRequestExceptionHasBeenSet = false; LimitExceededException m_limitExceededException; bool m_limitExceededExceptionHasBeenSet = false; InternalFailureException m_internalFailureException; bool m_internalFailureExceptionHasBeenSet = false; ConflictException m_conflictException; bool m_conflictExceptionHasBeenSet = false; ServiceUnavailableException m_serviceUnavailableException; bool m_serviceUnavailableExceptionHasBeenSet = false; }; } // namespace Model } // namespace TranscribeStreamingService } // namespace Aws