7#include <aws/core/utils/HashingUtils.h>
8#include <aws/core/utils/event/EventStreamHandler.h>
9#include <aws/core/client/AWSError.h>
10#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
11#include <aws/transcribestreaming/TranscribeStreamingServiceErrors.h>
13#include <aws/transcribestreaming/model/StartMedicalStreamTranscriptionInitialResponse.h>
14#include <aws/transcribestreaming/model/MedicalTranscriptEvent.h>
18namespace TranscribeStreamingService
40 AWS_TRANSCRIBESTREAMINGSERVICE_API
virtual void OnEvent()
override;
49 inline void SetInitialResponseCallbackEx(
const StartMedicalStreamTranscriptionInitialResponseCallbackEx& callback) { m_onInitialResponse = callback; }
64 AWS_TRANSCRIBESTREAMINGSERVICE_API
void HandleEventInMessage();
65 AWS_TRANSCRIBESTREAMINGSERVICE_API
void HandleErrorInMessage();
66 AWS_TRANSCRIBESTREAMINGSERVICE_API
void MarshallError(
const Aws::String& errorCode,
const Aws::String& errorMessage);
68 StartMedicalStreamTranscriptionInitialResponseCallbackEx m_onInitialResponse;
69 MedicalTranscriptEventCallback m_onMedicalTranscriptEvent;
70 ErrorCallback m_onError;
73namespace StartMedicalStreamTranscriptionEventMapper
AWS_TRANSCRIBESTREAMINGSERVICE_API StartMedicalStreamTranscriptionHandler & operator=(const StartMedicalStreamTranscriptionHandler &)=default
virtual AWS_TRANSCRIBESTREAMINGSERVICE_API void OnEvent() override
void SetMedicalTranscriptEventCallback(const MedicalTranscriptEventCallback &callback)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartMedicalStreamTranscriptionHandler()
void SetOnErrorCallback(const ErrorCallback &callback)
void SetInitialResponseCallbackEx(const StartMedicalStreamTranscriptionInitialResponseCallbackEx &callback)
StartMedicalStreamTranscriptionInitialResponseCallbackEx & GetInitialResponseCallbackEx()
void SetInitialResponseCallback(const StartMedicalStreamTranscriptionInitialResponseCallback &noArgCallback)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::String GetNameForStartMedicalStreamTranscriptionEventType(StartMedicalStreamTranscriptionEventType value)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartMedicalStreamTranscriptionEventType GetStartMedicalStreamTranscriptionEventTypeForName(const Aws::String &name)
StartMedicalStreamTranscriptionEventType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String