AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParquetSerDe.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/model/ParquetCompression.h>
9#include <aws/firehose/model/ParquetWriterVersion.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
36 {
37 public:
38 AWS_FIREHOSE_API ParquetSerDe();
39 AWS_FIREHOSE_API ParquetSerDe(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline int GetBlockSizeBytes() const{ return m_blockSizeBytes; }
52 inline bool BlockSizeBytesHasBeenSet() const { return m_blockSizeBytesHasBeenSet; }
53 inline void SetBlockSizeBytes(int value) { m_blockSizeBytesHasBeenSet = true; m_blockSizeBytes = value; }
54 inline ParquetSerDe& WithBlockSizeBytes(int value) { SetBlockSizeBytes(value); return *this;}
56
58
63 inline int GetPageSizeBytes() const{ return m_pageSizeBytes; }
64 inline bool PageSizeBytesHasBeenSet() const { return m_pageSizeBytesHasBeenSet; }
65 inline void SetPageSizeBytes(int value) { m_pageSizeBytesHasBeenSet = true; m_pageSizeBytes = value; }
66 inline ParquetSerDe& WithPageSizeBytes(int value) { SetPageSizeBytes(value); return *this;}
68
70
77 inline const ParquetCompression& GetCompression() const{ return m_compression; }
78 inline bool CompressionHasBeenSet() const { return m_compressionHasBeenSet; }
79 inline void SetCompression(const ParquetCompression& value) { m_compressionHasBeenSet = true; m_compression = value; }
80 inline void SetCompression(ParquetCompression&& value) { m_compressionHasBeenSet = true; m_compression = std::move(value); }
81 inline ParquetSerDe& WithCompression(const ParquetCompression& value) { SetCompression(value); return *this;}
82 inline ParquetSerDe& WithCompression(ParquetCompression&& value) { SetCompression(std::move(value)); return *this;}
84
86
89 inline bool GetEnableDictionaryCompression() const{ return m_enableDictionaryCompression; }
90 inline bool EnableDictionaryCompressionHasBeenSet() const { return m_enableDictionaryCompressionHasBeenSet; }
91 inline void SetEnableDictionaryCompression(bool value) { m_enableDictionaryCompressionHasBeenSet = true; m_enableDictionaryCompression = value; }
94
96
100 inline int GetMaxPaddingBytes() const{ return m_maxPaddingBytes; }
101 inline bool MaxPaddingBytesHasBeenSet() const { return m_maxPaddingBytesHasBeenSet; }
102 inline void SetMaxPaddingBytes(int value) { m_maxPaddingBytesHasBeenSet = true; m_maxPaddingBytes = value; }
103 inline ParquetSerDe& WithMaxPaddingBytes(int value) { SetMaxPaddingBytes(value); return *this;}
105
107
111 inline const ParquetWriterVersion& GetWriterVersion() const{ return m_writerVersion; }
112 inline bool WriterVersionHasBeenSet() const { return m_writerVersionHasBeenSet; }
113 inline void SetWriterVersion(const ParquetWriterVersion& value) { m_writerVersionHasBeenSet = true; m_writerVersion = value; }
114 inline void SetWriterVersion(ParquetWriterVersion&& value) { m_writerVersionHasBeenSet = true; m_writerVersion = std::move(value); }
115 inline ParquetSerDe& WithWriterVersion(const ParquetWriterVersion& value) { SetWriterVersion(value); return *this;}
116 inline ParquetSerDe& WithWriterVersion(ParquetWriterVersion&& value) { SetWriterVersion(std::move(value)); return *this;}
118 private:
119
120 int m_blockSizeBytes;
121 bool m_blockSizeBytesHasBeenSet = false;
122
123 int m_pageSizeBytes;
124 bool m_pageSizeBytesHasBeenSet = false;
125
126 ParquetCompression m_compression;
127 bool m_compressionHasBeenSet = false;
128
129 bool m_enableDictionaryCompression;
130 bool m_enableDictionaryCompressionHasBeenSet = false;
131
132 int m_maxPaddingBytes;
133 bool m_maxPaddingBytesHasBeenSet = false;
134
135 ParquetWriterVersion m_writerVersion;
136 bool m_writerVersionHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace Firehose
141} // namespace Aws
ParquetSerDe & WithWriterVersion(ParquetWriterVersion &&value)
ParquetSerDe & WithWriterVersion(const ParquetWriterVersion &value)
ParquetSerDe & WithEnableDictionaryCompression(bool value)
void SetCompression(const ParquetCompression &value)
ParquetSerDe & WithMaxPaddingBytes(int value)
AWS_FIREHOSE_API ParquetSerDe(Aws::Utils::Json::JsonView jsonValue)
bool EnableDictionaryCompressionHasBeenSet() const
void SetWriterVersion(ParquetWriterVersion &&value)
ParquetSerDe & WithPageSizeBytes(int value)
void SetCompression(ParquetCompression &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
ParquetSerDe & WithCompression(ParquetCompression &&value)
const ParquetCompression & GetCompression() const
AWS_FIREHOSE_API ParquetSerDe & operator=(Aws::Utils::Json::JsonView jsonValue)
ParquetSerDe & WithCompression(const ParquetCompression &value)
const ParquetWriterVersion & GetWriterVersion() const
void SetEnableDictionaryCompression(bool value)
ParquetSerDe & WithBlockSizeBytes(int value)
void SetWriterVersion(const ParquetWriterVersion &value)
Aws::Utils::Json::JsonValue JsonValue