8#include <aws/core/Core_EXPORTS.h>
9#include <aws/core/utils/event/EventHeader.h>
37 REQUEST_LEVEL_EXCEPTION
43 APPLICATION_OCTET_STREAM,
65 m_totalLength = length;
66 m_eventPayload.reserve(length);
112 size_t m_totalLength = 0;
113 size_t m_headersLength = 0;
114 size_t m_payloadLength = 0;
const Aws::Vector< unsigned char > & GetEventPayload() const
void SetHeadersLength(size_t length)
void SetTotalLength(size_t length)
void WriteEventPayload(const unsigned char *data, size_t length)
size_t GetTotalLength() const
Aws::Vector< unsigned char > && GetEventPayloadWithOwnership()
void InsertEventHeader(const Aws::String &headerName, const EventHeaderValue &eventHeaderValue)
size_t GetPayloadLength() const
static MessageType GetMessageTypeForName(const Aws::String &name)
static ContentType GetContentTypeForName(const Aws::String &name)
size_t GetHeadersLength() const
void SetPayloadLength(size_t length)
const Aws::Utils::Event::EventHeaderValueCollection & GetEventHeaders() const
static Aws::String GetNameForContentType(ContentType value)
static Aws::String GetNameForMessageType(MessageType value)
Aws::Vector< unsigned char > & GetEventPayload()
Aws::String GetEventPayloadAsString()
void WriteEventPayload(const Aws::String &bits)
void WriteEventPayload(const Aws::Vector< unsigned char > &bits)
AWS_CORE_API const char EXCEPTION_TYPE_HEADER[]
AWS_CORE_API const char MESSAGE_TYPE_HEADER[]
AWS_CORE_API const char CONTENT_TYPE_HEADER[]
Aws::Map< Aws::String, EventHeaderValue > EventHeaderValueCollection
std::pair< Aws::String, EventHeaderValue > EventHeaderValuePair
AWS_CORE_API const char ERROR_CODE_HEADER[]
AWS_CORE_API const char EVENT_TYPE_HEADER[]
AWS_CORE_API const char ERROR_MESSAGE_HEADER[]
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector