AWS SDK for C++

AWS SDK for C++ Version 1.11.860

Loading...
Searching...
No Matches
SerdeTraits.h
1
5#pragma once
6
7#include <smithy/client/schema/Trait.h>
8#include <smithy/client/schema/TraitKey.h>
9
10namespace smithy {
11namespace schema {
12
14 public:
16
17 explicit TimestampFormatTrait(Format format) : m_format(format) {}
18 Format GetFormat() const { return m_format; }
20
21 private:
22 Format m_format;
23};
24
25extern template class TraitKey<TimestampFormatTrait>;
26
27} // namespace schema
28} // namespace smithy
static const TraitKey< TimestampFormatTrait > & KEY()
Definition SerdeTraits.h:19
static const TraitKey & Instance()