7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/model/TranscriptEvent.h>
21namespace TranscribeStreamingService
49 template<
typename TranscriptEventT = TranscriptEvent>
50 void SetTranscriptEvent(TranscriptEventT&& value) { m_transcriptEventHasBeenSet =
true; m_transcriptEvent = std::forward<TranscriptEventT>(value); }
51 template<
typename TranscriptEventT = TranscriptEvent>
62 template<
typename BadRequestExceptionT = TranscribeStreamingServiceError>
63 void SetBadRequestException(BadRequestExceptionT&& value) { m_badRequestExceptionHasBeenSet =
true; m_badRequestException = std::forward<BadRequestExceptionT>(value); }
64 template<
typename BadRequestExceptionT = TranscribeStreamingServiceError>
76 template<
typename LimitExceededExceptionT = TranscribeStreamingServiceError>
77 void SetLimitExceededException(LimitExceededExceptionT&& value) { m_limitExceededExceptionHasBeenSet =
true; m_limitExceededException = std::forward<LimitExceededExceptionT>(value); }
78 template<
typename LimitExceededExceptionT = TranscribeStreamingServiceError>
89 template<
typename InternalFailureExceptionT = TranscribeStreamingServiceError>
90 void SetInternalFailureException(InternalFailureExceptionT&& value) { m_internalFailureExceptionHasBeenSet =
true; m_internalFailureException = std::forward<InternalFailureExceptionT>(value); }
91 template<
typename InternalFailureExceptionT = TranscribeStreamingServiceError>
102 template<
typename ConflictExceptionT = TranscribeStreamingServiceError>
103 void SetConflictException(ConflictExceptionT&& value) { m_conflictExceptionHasBeenSet =
true; m_conflictException = std::forward<ConflictExceptionT>(value); }
104 template<
typename ConflictExceptionT = TranscribeStreamingServiceError>
114 template<
typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
115 void SetServiceUnavailableException(ServiceUnavailableExceptionT&& value) { m_serviceUnavailableExceptionHasBeenSet =
true; m_serviceUnavailableException = std::forward<ServiceUnavailableExceptionT>(value); }
116 template<
typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
122 bool m_transcriptEventHasBeenSet =
false;
125 bool m_badRequestExceptionHasBeenSet =
false;
128 bool m_limitExceededExceptionHasBeenSet =
false;
131 bool m_internalFailureExceptionHasBeenSet =
false;
134 bool m_conflictExceptionHasBeenSet =
false;
137 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