AWS SDK for C++

AWS SDK for C++ Version 1.11.887

Loading...
Searching...
No Matches
MapSerializer.h
1#pragma once
2
3#include <aws/core/utils/memory/stl/AWSString.h>
4#include <smithy/Smithy_EXPORTS.h>
5
6#include <functional>
7
8namespace smithy {
9namespace schema {
10
11class ShapeSerializer;
12
13// Handed to the WriteMap consumer; writes each entry's key then its value.
14class SMITHY_API MapSerializer {
15 public:
16 virtual ~MapSerializer() = default;
17
18 virtual void WriteEntry(const Aws::String& key, const std::function<void(ShapeSerializer&)>& value) = 0;
19};
20
21} // namespace schema
22} // namespace smithy
virtual void WriteEntry(const Aws::String &key, const std::function< void(ShapeSerializer &)> &value)=0
virtual ~MapSerializer()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition AWSString.h:97