AWS SDK for C++  1.9.159
AWS SDK for C++
Serializer.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Firehose
23 {
24 namespace Model
25 {
26 
39  {
40  public:
45 
46 
52  inline const ParquetSerDe& GetParquetSerDe() const{ return m_parquetSerDe; }
53 
59  inline bool ParquetSerDeHasBeenSet() const { return m_parquetSerDeHasBeenSet; }
60 
66  inline void SetParquetSerDe(const ParquetSerDe& value) { m_parquetSerDeHasBeenSet = true; m_parquetSerDe = value; }
67 
73  inline void SetParquetSerDe(ParquetSerDe&& value) { m_parquetSerDeHasBeenSet = true; m_parquetSerDe = std::move(value); }
74 
80  inline Serializer& WithParquetSerDe(const ParquetSerDe& value) { SetParquetSerDe(value); return *this;}
81 
87  inline Serializer& WithParquetSerDe(ParquetSerDe&& value) { SetParquetSerDe(std::move(value)); return *this;}
88 
89 
95  inline const OrcSerDe& GetOrcSerDe() const{ return m_orcSerDe; }
96 
102  inline bool OrcSerDeHasBeenSet() const { return m_orcSerDeHasBeenSet; }
103 
109  inline void SetOrcSerDe(const OrcSerDe& value) { m_orcSerDeHasBeenSet = true; m_orcSerDe = value; }
110 
116  inline void SetOrcSerDe(OrcSerDe&& value) { m_orcSerDeHasBeenSet = true; m_orcSerDe = std::move(value); }
117 
123  inline Serializer& WithOrcSerDe(const OrcSerDe& value) { SetOrcSerDe(value); return *this;}
124 
130  inline Serializer& WithOrcSerDe(OrcSerDe&& value) { SetOrcSerDe(std::move(value)); return *this;}
131 
132  private:
133 
134  ParquetSerDe m_parquetSerDe;
135  bool m_parquetSerDeHasBeenSet;
136 
137  OrcSerDe m_orcSerDe;
138  bool m_orcSerDeHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace Firehose
143 } // namespace Aws
OrcSerDe.h
Aws::Firehose::Model::Serializer::SetParquetSerDe
void SetParquetSerDe(const ParquetSerDe &value)
Definition: Serializer.h:66
Aws::Firehose::Model::Serializer::SetOrcSerDe
void SetOrcSerDe(OrcSerDe &&value)
Definition: Serializer.h:116
Aws::Firehose::Model::ParquetSerDe
Definition: ParquetSerDe.h:36
Aws::Firehose::Model::Serializer::OrcSerDeHasBeenSet
bool OrcSerDeHasBeenSet() const
Definition: Serializer.h:102
Aws::Firehose::Model::Serializer::WithOrcSerDe
Serializer & WithOrcSerDe(OrcSerDe &&value)
Definition: Serializer.h:130
Aws::Firehose::Model::Serializer
Definition: Serializer.h:39
Aws::Firehose::Model::Serializer::WithOrcSerDe
Serializer & WithOrcSerDe(const OrcSerDe &value)
Definition: Serializer.h:123
Aws::Firehose::Model::Serializer::Serializer
Serializer(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::Serializer::ParquetSerDeHasBeenSet
bool ParquetSerDeHasBeenSet() const
Definition: Serializer.h:59
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::Serializer::WithParquetSerDe
Serializer & WithParquetSerDe(const ParquetSerDe &value)
Definition: Serializer.h:80
Firehose_EXPORTS.h
ParquetSerDe.h
Aws::Firehose::Model::Serializer::Serializer
Serializer()
Aws::Firehose::Model::OrcSerDe
Definition: OrcSerDe.h:38
Aws::Firehose::Model::Serializer::SetParquetSerDe
void SetParquetSerDe(ParquetSerDe &&value)
Definition: Serializer.h:73
Aws::Firehose::Model::Serializer::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::Serializer::GetParquetSerDe
const ParquetSerDe & GetParquetSerDe() const
Definition: Serializer.h:52
Aws::Firehose::Model::Serializer::GetOrcSerDe
const OrcSerDe & GetOrcSerDe() const
Definition: Serializer.h:95
Aws::Firehose::Model::Serializer::SetOrcSerDe
void SetOrcSerDe(const OrcSerDe &value)
Definition: Serializer.h:109
Aws::Firehose::Model::Serializer::operator=
Serializer & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::Serializer::WithParquetSerDe
Serializer & WithParquetSerDe(ParquetSerDe &&value)
Definition: Serializer.h:87