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/lambda/Lambda_EXPORTS.h>
11#include <aws/lambda/LambdaErrors.h>
13#include <aws/lambda/model/InvokeWithResponseStreamInitialResponse.h>
14#include <aws/lambda/model/InvokeResponseStreamUpdate.h>
15#include <aws/lambda/model/InvokeWithResponseStreamCompleteEvent.h>
43 AWS_LAMBDA_API
virtual void OnEvent()
override;
68 AWS_LAMBDA_API
void HandleEventInMessage();
69 AWS_LAMBDA_API
void HandleErrorInMessage();
72 InvokeWithResponseStreamInitialResponseCallbackEx m_onInitialResponse;
73 InvokeResponseStreamUpdateCallback m_onInvokeResponseStreamUpdate;
74 InvokeWithResponseStreamCompleteEventCallback m_onInvokeWithResponseStreamCompleteEvent;
75 ErrorCallback m_onError;
78namespace InvokeWithResponseStreamEventMapper
void SetInitialResponseCallback(const InvokeWithResponseStreamInitialResponseCallback &noArgCallback)
void SetInitialResponseCallbackEx(const InvokeWithResponseStreamInitialResponseCallbackEx &callback)
InvokeWithResponseStreamInitialResponseCallbackEx & GetInitialResponseCallbackEx()
AWS_LAMBDA_API InvokeWithResponseStreamHandler & operator=(const InvokeWithResponseStreamHandler &)=default
void SetInvokeResponseStreamUpdateCallback(const InvokeResponseStreamUpdateCallback &callback)
virtual AWS_LAMBDA_API void OnEvent() override
void SetInvokeWithResponseStreamCompleteEventCallback(const InvokeWithResponseStreamCompleteEventCallback &callback)
AWS_LAMBDA_API InvokeWithResponseStreamHandler()
void SetOnErrorCallback(const ErrorCallback &callback)
AWS_LAMBDA_API Aws::String GetNameForInvokeWithResponseStreamEventType(InvokeWithResponseStreamEventType value)
AWS_LAMBDA_API InvokeWithResponseStreamEventType GetInvokeWithResponseStreamEventTypeForName(const Aws::String &name)
InvokeWithResponseStreamEventType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String