AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Serializer.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/model/ParquetSerDe.h>
9#include <aws/firehose/model/OrcSerDe.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Firehose
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_FIREHOSE_API Serializer();
42 AWS_FIREHOSE_API Serializer(Aws::Utils::Json::JsonView jsonValue);
43 AWS_FIREHOSE_API Serializer& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
53 inline const ParquetSerDe& GetParquetSerDe() const{ return m_parquetSerDe; }
54 inline bool ParquetSerDeHasBeenSet() const { return m_parquetSerDeHasBeenSet; }
55 inline void SetParquetSerDe(const ParquetSerDe& value) { m_parquetSerDeHasBeenSet = true; m_parquetSerDe = value; }
56 inline void SetParquetSerDe(ParquetSerDe&& value) { m_parquetSerDeHasBeenSet = true; m_parquetSerDe = std::move(value); }
57 inline Serializer& WithParquetSerDe(const ParquetSerDe& value) { SetParquetSerDe(value); return *this;}
58 inline Serializer& WithParquetSerDe(ParquetSerDe&& value) { SetParquetSerDe(std::move(value)); return *this;}
60
62
67 inline const OrcSerDe& GetOrcSerDe() const{ return m_orcSerDe; }
68 inline bool OrcSerDeHasBeenSet() const { return m_orcSerDeHasBeenSet; }
69 inline void SetOrcSerDe(const OrcSerDe& value) { m_orcSerDeHasBeenSet = true; m_orcSerDe = value; }
70 inline void SetOrcSerDe(OrcSerDe&& value) { m_orcSerDeHasBeenSet = true; m_orcSerDe = std::move(value); }
71 inline Serializer& WithOrcSerDe(const OrcSerDe& value) { SetOrcSerDe(value); return *this;}
72 inline Serializer& WithOrcSerDe(OrcSerDe&& value) { SetOrcSerDe(std::move(value)); return *this;}
74 private:
75
76 ParquetSerDe m_parquetSerDe;
77 bool m_parquetSerDeHasBeenSet = false;
78
79 OrcSerDe m_orcSerDe;
80 bool m_orcSerDeHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Firehose
85} // namespace Aws
Serializer & WithParquetSerDe(const ParquetSerDe &value)
Definition Serializer.h:57
const OrcSerDe & GetOrcSerDe() const
Definition Serializer.h:67
Serializer & WithParquetSerDe(ParquetSerDe &&value)
Definition Serializer.h:58
AWS_FIREHOSE_API Serializer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOrcSerDe(const OrcSerDe &value)
Definition Serializer.h:69
Serializer & WithOrcSerDe(OrcSerDe &&value)
Definition Serializer.h:72
Serializer & WithOrcSerDe(const OrcSerDe &value)
Definition Serializer.h:71
const ParquetSerDe & GetParquetSerDe() const
Definition Serializer.h:53
AWS_FIREHOSE_API Serializer(Aws::Utils::Json::JsonView jsonValue)
void SetParquetSerDe(const ParquetSerDe &value)
Definition Serializer.h:55
void SetParquetSerDe(ParquetSerDe &&value)
Definition Serializer.h:56
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOrcSerDe(OrcSerDe &&value)
Definition Serializer.h:70
Aws::Utils::Json::JsonValue JsonValue