AWS SDK for C++  1.8.126
AWS SDK for C++
ParquetSerDe.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 
36  {
37  public:
42 
43 
50  inline int GetBlockSizeBytes() const{ return m_blockSizeBytes; }
51 
58  inline bool BlockSizeBytesHasBeenSet() const { return m_blockSizeBytesHasBeenSet; }
59 
66  inline void SetBlockSizeBytes(int value) { m_blockSizeBytesHasBeenSet = true; m_blockSizeBytes = value; }
67 
74  inline ParquetSerDe& WithBlockSizeBytes(int value) { SetBlockSizeBytes(value); return *this;}
75 
76 
82  inline int GetPageSizeBytes() const{ return m_pageSizeBytes; }
83 
89  inline bool PageSizeBytesHasBeenSet() const { return m_pageSizeBytesHasBeenSet; }
90 
96  inline void SetPageSizeBytes(int value) { m_pageSizeBytesHasBeenSet = true; m_pageSizeBytes = value; }
97 
103  inline ParquetSerDe& WithPageSizeBytes(int value) { SetPageSizeBytes(value); return *this;}
104 
105 
113  inline const ParquetCompression& GetCompression() const{ return m_compression; }
114 
122  inline bool CompressionHasBeenSet() const { return m_compressionHasBeenSet; }
123 
131  inline void SetCompression(const ParquetCompression& value) { m_compressionHasBeenSet = true; m_compression = value; }
132 
140  inline void SetCompression(ParquetCompression&& value) { m_compressionHasBeenSet = true; m_compression = std::move(value); }
141 
149  inline ParquetSerDe& WithCompression(const ParquetCompression& value) { SetCompression(value); return *this;}
150 
158  inline ParquetSerDe& WithCompression(ParquetCompression&& value) { SetCompression(std::move(value)); return *this;}
159 
160 
164  inline bool GetEnableDictionaryCompression() const{ return m_enableDictionaryCompression; }
165 
169  inline bool EnableDictionaryCompressionHasBeenSet() const { return m_enableDictionaryCompressionHasBeenSet; }
170 
174  inline void SetEnableDictionaryCompression(bool value) { m_enableDictionaryCompressionHasBeenSet = true; m_enableDictionaryCompression = value; }
175 
179  inline ParquetSerDe& WithEnableDictionaryCompression(bool value) { SetEnableDictionaryCompression(value); return *this;}
180 
181 
186  inline int GetMaxPaddingBytes() const{ return m_maxPaddingBytes; }
187 
192  inline bool MaxPaddingBytesHasBeenSet() const { return m_maxPaddingBytesHasBeenSet; }
193 
198  inline void SetMaxPaddingBytes(int value) { m_maxPaddingBytesHasBeenSet = true; m_maxPaddingBytes = value; }
199 
204  inline ParquetSerDe& WithMaxPaddingBytes(int value) { SetMaxPaddingBytes(value); return *this;}
205 
206 
211  inline const ParquetWriterVersion& GetWriterVersion() const{ return m_writerVersion; }
212 
217  inline bool WriterVersionHasBeenSet() const { return m_writerVersionHasBeenSet; }
218 
223  inline void SetWriterVersion(const ParquetWriterVersion& value) { m_writerVersionHasBeenSet = true; m_writerVersion = value; }
224 
229  inline void SetWriterVersion(ParquetWriterVersion&& value) { m_writerVersionHasBeenSet = true; m_writerVersion = std::move(value); }
230 
235  inline ParquetSerDe& WithWriterVersion(const ParquetWriterVersion& value) { SetWriterVersion(value); return *this;}
236 
241  inline ParquetSerDe& WithWriterVersion(ParquetWriterVersion&& value) { SetWriterVersion(std::move(value)); return *this;}
242 
243  private:
244 
245  int m_blockSizeBytes;
246  bool m_blockSizeBytesHasBeenSet;
247 
248  int m_pageSizeBytes;
249  bool m_pageSizeBytesHasBeenSet;
250 
251  ParquetCompression m_compression;
252  bool m_compressionHasBeenSet;
253 
254  bool m_enableDictionaryCompression;
255  bool m_enableDictionaryCompressionHasBeenSet;
256 
257  int m_maxPaddingBytes;
258  bool m_maxPaddingBytesHasBeenSet;
259 
260  ParquetWriterVersion m_writerVersion;
261  bool m_writerVersionHasBeenSet;
262  };
263 
264 } // namespace Model
265 } // namespace Firehose
266 } // namespace Aws
Aws::Firehose::Model::ParquetSerDe::WithWriterVersion
ParquetSerDe & WithWriterVersion(const ParquetWriterVersion &value)
Definition: ParquetSerDe.h:235
Aws::Firehose::Model::ParquetSerDe::GetBlockSizeBytes
int GetBlockSizeBytes() const
Definition: ParquetSerDe.h:50
Aws::Firehose::Model::ParquetSerDe::PageSizeBytesHasBeenSet
bool PageSizeBytesHasBeenSet() const
Definition: ParquetSerDe.h:89
Aws::Firehose::Model::ParquetSerDe::SetEnableDictionaryCompression
void SetEnableDictionaryCompression(bool value)
Definition: ParquetSerDe.h:174
Aws::Firehose::Model::ParquetSerDe::WithMaxPaddingBytes
ParquetSerDe & WithMaxPaddingBytes(int value)
Definition: ParquetSerDe.h:204
Aws::Firehose::Model::ParquetSerDe::GetPageSizeBytes
int GetPageSizeBytes() const
Definition: ParquetSerDe.h:82
Aws::Firehose::Model::ParquetSerDe::BlockSizeBytesHasBeenSet
bool BlockSizeBytesHasBeenSet() const
Definition: ParquetSerDe.h:58
Aws::Firehose::Model::ParquetSerDe::GetCompression
const ParquetCompression & GetCompression() const
Definition: ParquetSerDe.h:113
Aws::Firehose::Model::ParquetSerDe::CompressionHasBeenSet
bool CompressionHasBeenSet() const
Definition: ParquetSerDe.h:122
ParquetCompression.h
Aws::Firehose::Model::ParquetSerDe::MaxPaddingBytesHasBeenSet
bool MaxPaddingBytesHasBeenSet() const
Definition: ParquetSerDe.h:192
ParquetWriterVersion.h
Aws::Firehose::Model::ParquetSerDe::EnableDictionaryCompressionHasBeenSet
bool EnableDictionaryCompressionHasBeenSet() const
Definition: ParquetSerDe.h:169
Aws::Firehose::Model::ParquetSerDe::operator=
ParquetSerDe & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::ParquetSerDe::WithCompression
ParquetSerDe & WithCompression(ParquetCompression &&value)
Definition: ParquetSerDe.h:158
Aws::Firehose::Model::ParquetSerDe::WriterVersionHasBeenSet
bool WriterVersionHasBeenSet() const
Definition: ParquetSerDe.h:217
Aws::Firehose::Model::ParquetSerDe::SetCompression
void SetCompression(const ParquetCompression &value)
Definition: ParquetSerDe.h:131
Aws::Firehose::Model::ParquetSerDe
Definition: ParquetSerDe.h:36
Aws::Firehose::Model::ParquetSerDe::SetMaxPaddingBytes
void SetMaxPaddingBytes(int value)
Definition: ParquetSerDe.h:198
Aws::Firehose::Model::ParquetSerDe::SetBlockSizeBytes
void SetBlockSizeBytes(int value)
Definition: ParquetSerDe.h:66
Aws::Firehose::Model::ParquetSerDe::ParquetSerDe
ParquetSerDe()
Aws::Firehose::Model::ParquetWriterVersion
ParquetWriterVersion
Definition: ParquetWriterVersion.h:17
Aws::Firehose::Model::ParquetSerDe::WithEnableDictionaryCompression
ParquetSerDe & WithEnableDictionaryCompression(bool value)
Definition: ParquetSerDe.h:179
Aws::Firehose::Model::ParquetSerDe::WithCompression
ParquetSerDe & WithCompression(const ParquetCompression &value)
Definition: ParquetSerDe.h:149
Aws::Firehose::Model::ParquetSerDe::ParquetSerDe
ParquetSerDe(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::ParquetSerDe::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::ParquetCompression
ParquetCompression
Definition: ParquetCompression.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Firehose::Model::ParquetSerDe::WithWriterVersion
ParquetSerDe & WithWriterVersion(ParquetWriterVersion &&value)
Definition: ParquetSerDe.h:241
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Firehose_EXPORTS.h
Aws::Firehose::Model::ParquetSerDe::WithBlockSizeBytes
ParquetSerDe & WithBlockSizeBytes(int value)
Definition: ParquetSerDe.h:74
Aws::Firehose::Model::ParquetSerDe::GetMaxPaddingBytes
int GetMaxPaddingBytes() const
Definition: ParquetSerDe.h:186
Aws::Firehose::Model::ParquetSerDe::GetEnableDictionaryCompression
bool GetEnableDictionaryCompression() const
Definition: ParquetSerDe.h:164
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::ParquetSerDe::SetCompression
void SetCompression(ParquetCompression &&value)
Definition: ParquetSerDe.h:140
Aws::Firehose::Model::ParquetSerDe::GetWriterVersion
const ParquetWriterVersion & GetWriterVersion() const
Definition: ParquetSerDe.h:211
Aws::Firehose::Model::ParquetSerDe::SetWriterVersion
void SetWriterVersion(const ParquetWriterVersion &value)
Definition: ParquetSerDe.h:223
Aws::Firehose::Model::ParquetSerDe::SetWriterVersion
void SetWriterVersion(ParquetWriterVersion &&value)
Definition: ParquetSerDe.h:229
Aws::Firehose::Model::ParquetSerDe::SetPageSizeBytes
void SetPageSizeBytes(int value)
Definition: ParquetSerDe.h:96
Aws::Firehose::Model::ParquetSerDe::WithPageSizeBytes
ParquetSerDe & WithPageSizeBytes(int value)
Definition: ParquetSerDe.h:103