AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
OutputFormatConfiguration.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/model/Serializer.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Firehose {
20namespace Model {
21
30 public:
31 AWS_FIREHOSE_API OutputFormatConfiguration() = default;
34 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Serializer& GetSerializer() const { return m_serializer; }
42 inline bool SerializerHasBeenSet() const { return m_serializerHasBeenSet; }
43 template <typename SerializerT = Serializer>
44 void SetSerializer(SerializerT&& value) {
45 m_serializerHasBeenSet = true;
46 m_serializer = std::forward<SerializerT>(value);
47 }
48 template <typename SerializerT = Serializer>
50 SetSerializer(std::forward<SerializerT>(value));
51 return *this;
52 }
54 private:
55 Serializer m_serializer;
56 bool m_serializerHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace Firehose
61} // namespace Aws
AWS_FIREHOSE_API OutputFormatConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API OutputFormatConfiguration()=default
AWS_FIREHOSE_API OutputFormatConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
OutputFormatConfiguration & WithSerializer(SerializerT &&value)
Aws::Utils::Json::JsonValue JsonValue