7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/model/TranscriptEvent.h>
19namespace TranscribeStreamingService {
43 template <
typename TranscriptEventT = TranscriptEvent>
45 m_transcriptEventHasBeenSet =
true;
46 m_transcriptEvent = std::forward<TranscriptEventT>(value);
48 template <
typename TranscriptEventT = TranscriptEvent>
62 template <
typename BadRequestExceptionT = TranscribeStreamingServiceError>
64 m_badRequestExceptionHasBeenSet =
true;
65 m_badRequestException = std::forward<BadRequestExceptionT>(value);
67 template <
typename BadRequestExceptionT = TranscribeStreamingServiceError>
82 template <
typename LimitExceededExceptionT = TranscribeStreamingServiceError>
84 m_limitExceededExceptionHasBeenSet =
true;
85 m_limitExceededException = std::forward<LimitExceededExceptionT>(value);
87 template <
typename LimitExceededExceptionT = TranscribeStreamingServiceError>
101 template <
typename InternalFailureExceptionT = TranscribeStreamingServiceError>
103 m_internalFailureExceptionHasBeenSet =
true;
104 m_internalFailureException = std::forward<InternalFailureExceptionT>(value);
106 template <
typename InternalFailureExceptionT = TranscribeStreamingServiceError>
120 template <
typename ConflictExceptionT = TranscribeStreamingServiceError>
122 m_conflictExceptionHasBeenSet =
true;
123 m_conflictException = std::forward<ConflictExceptionT>(value);
125 template <
typename ConflictExceptionT = TranscribeStreamingServiceError>
138 template <
typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
140 m_serviceUnavailableExceptionHasBeenSet =
true;
141 m_serviceUnavailableException = std::forward<ServiceUnavailableExceptionT>(value);
143 template <
typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
161 bool m_transcriptEventHasBeenSet =
false;
162 bool m_badRequestExceptionHasBeenSet =
false;
163 bool m_limitExceededExceptionHasBeenSet =
false;
164 bool m_internalFailureExceptionHasBeenSet =
false;
165 bool m_conflictExceptionHasBeenSet =
false;
166 bool m_serviceUnavailableExceptionHasBeenSet =
false;
TranscriptResultStream & WithInternalFailureException(InternalFailureExceptionT &&value)
TranscriptResultStream & WithTranscriptEvent(TranscriptEventT &&value)
void SetBadRequestException(BadRequestExceptionT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptResultStream & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServiceUnavailableException(ServiceUnavailableExceptionT &&value)
void SetTranscriptEvent(TranscriptEventT &&value)
const TranscribeStreamingServiceError & GetConflictException() const
bool LimitExceededExceptionHasBeenSet() const
void SetConflictException(ConflictExceptionT &&value)
bool TranscriptEventHasBeenSet() const
TranscriptResultStream & WithLimitExceededException(LimitExceededExceptionT &&value)
void SetLimitExceededException(LimitExceededExceptionT &&value)
bool BadRequestExceptionHasBeenSet() const
TranscriptResultStream & WithBadRequestException(BadRequestExceptionT &&value)
const TranscribeStreamingServiceError & GetServiceUnavailableException() const
bool InternalFailureExceptionHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptResultStream()=default
const TranscribeStreamingServiceError & GetInternalFailureException() const
void SetInternalFailureException(InternalFailureExceptionT &&value)
const TranscribeStreamingServiceError & GetLimitExceededException() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const TranscriptEvent & GetTranscriptEvent() const
const TranscribeStreamingServiceError & GetBadRequestException() const
AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptResultStream(Aws::Utils::Json::JsonView jsonValue)
bool ConflictExceptionHasBeenSet() const
bool ServiceUnavailableExceptionHasBeenSet() const
TranscriptResultStream & WithServiceUnavailableException(ServiceUnavailableExceptionT &&value)
TranscriptResultStream & WithConflictException(ConflictExceptionT &&value)
Aws::Utils::Json::JsonValue JsonValue