AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrcSerDe.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/model/OrcCompression.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/firehose/model/OrcFormatVersion.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Firehose
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_FIREHOSE_API OrcSerDe();
41 AWS_FIREHOSE_API OrcSerDe(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FIREHOSE_API OrcSerDe& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline int GetStripeSizeBytes() const{ return m_stripeSizeBytes; }
52 inline bool StripeSizeBytesHasBeenSet() const { return m_stripeSizeBytesHasBeenSet; }
53 inline void SetStripeSizeBytes(int value) { m_stripeSizeBytesHasBeenSet = true; m_stripeSizeBytes = value; }
54 inline OrcSerDe& WithStripeSizeBytes(int value) { SetStripeSizeBytes(value); return *this;}
56
58
64 inline int GetBlockSizeBytes() const{ return m_blockSizeBytes; }
65 inline bool BlockSizeBytesHasBeenSet() const { return m_blockSizeBytesHasBeenSet; }
66 inline void SetBlockSizeBytes(int value) { m_blockSizeBytesHasBeenSet = true; m_blockSizeBytes = value; }
67 inline OrcSerDe& WithBlockSizeBytes(int value) { SetBlockSizeBytes(value); return *this;}
69
71
75 inline int GetRowIndexStride() const{ return m_rowIndexStride; }
76 inline bool RowIndexStrideHasBeenSet() const { return m_rowIndexStrideHasBeenSet; }
77 inline void SetRowIndexStride(int value) { m_rowIndexStrideHasBeenSet = true; m_rowIndexStride = value; }
78 inline OrcSerDe& WithRowIndexStride(int value) { SetRowIndexStride(value); return *this;}
80
82
87 inline bool GetEnablePadding() const{ return m_enablePadding; }
88 inline bool EnablePaddingHasBeenSet() const { return m_enablePaddingHasBeenSet; }
89 inline void SetEnablePadding(bool value) { m_enablePaddingHasBeenSet = true; m_enablePadding = value; }
90 inline OrcSerDe& WithEnablePadding(bool value) { SetEnablePadding(value); return *this;}
92
94
106 inline double GetPaddingTolerance() const{ return m_paddingTolerance; }
107 inline bool PaddingToleranceHasBeenSet() const { return m_paddingToleranceHasBeenSet; }
108 inline void SetPaddingTolerance(double value) { m_paddingToleranceHasBeenSet = true; m_paddingTolerance = value; }
109 inline OrcSerDe& WithPaddingTolerance(double value) { SetPaddingTolerance(value); return *this;}
111
113
117 inline const OrcCompression& GetCompression() const{ return m_compression; }
118 inline bool CompressionHasBeenSet() const { return m_compressionHasBeenSet; }
119 inline void SetCompression(const OrcCompression& value) { m_compressionHasBeenSet = true; m_compression = value; }
120 inline void SetCompression(OrcCompression&& value) { m_compressionHasBeenSet = true; m_compression = std::move(value); }
121 inline OrcSerDe& WithCompression(const OrcCompression& value) { SetCompression(value); return *this;}
122 inline OrcSerDe& WithCompression(OrcCompression&& value) { SetCompression(std::move(value)); return *this;}
124
126
130 inline const Aws::Vector<Aws::String>& GetBloomFilterColumns() const{ return m_bloomFilterColumns; }
131 inline bool BloomFilterColumnsHasBeenSet() const { return m_bloomFilterColumnsHasBeenSet; }
132 inline void SetBloomFilterColumns(const Aws::Vector<Aws::String>& value) { m_bloomFilterColumnsHasBeenSet = true; m_bloomFilterColumns = value; }
133 inline void SetBloomFilterColumns(Aws::Vector<Aws::String>&& value) { m_bloomFilterColumnsHasBeenSet = true; m_bloomFilterColumns = std::move(value); }
135 inline OrcSerDe& WithBloomFilterColumns(Aws::Vector<Aws::String>&& value) { SetBloomFilterColumns(std::move(value)); return *this;}
136 inline OrcSerDe& AddBloomFilterColumns(const Aws::String& value) { m_bloomFilterColumnsHasBeenSet = true; m_bloomFilterColumns.push_back(value); return *this; }
137 inline OrcSerDe& AddBloomFilterColumns(Aws::String&& value) { m_bloomFilterColumnsHasBeenSet = true; m_bloomFilterColumns.push_back(std::move(value)); return *this; }
138 inline OrcSerDe& AddBloomFilterColumns(const char* value) { m_bloomFilterColumnsHasBeenSet = true; m_bloomFilterColumns.push_back(value); return *this; }
140
142
147 inline double GetBloomFilterFalsePositiveProbability() const{ return m_bloomFilterFalsePositiveProbability; }
148 inline bool BloomFilterFalsePositiveProbabilityHasBeenSet() const { return m_bloomFilterFalsePositiveProbabilityHasBeenSet; }
149 inline void SetBloomFilterFalsePositiveProbability(double value) { m_bloomFilterFalsePositiveProbabilityHasBeenSet = true; m_bloomFilterFalsePositiveProbability = value; }
152
154
160 inline double GetDictionaryKeyThreshold() const{ return m_dictionaryKeyThreshold; }
161 inline bool DictionaryKeyThresholdHasBeenSet() const { return m_dictionaryKeyThresholdHasBeenSet; }
162 inline void SetDictionaryKeyThreshold(double value) { m_dictionaryKeyThresholdHasBeenSet = true; m_dictionaryKeyThreshold = value; }
163 inline OrcSerDe& WithDictionaryKeyThreshold(double value) { SetDictionaryKeyThreshold(value); return *this;}
165
167
171 inline const OrcFormatVersion& GetFormatVersion() const{ return m_formatVersion; }
172 inline bool FormatVersionHasBeenSet() const { return m_formatVersionHasBeenSet; }
173 inline void SetFormatVersion(const OrcFormatVersion& value) { m_formatVersionHasBeenSet = true; m_formatVersion = value; }
174 inline void SetFormatVersion(OrcFormatVersion&& value) { m_formatVersionHasBeenSet = true; m_formatVersion = std::move(value); }
175 inline OrcSerDe& WithFormatVersion(const OrcFormatVersion& value) { SetFormatVersion(value); return *this;}
176 inline OrcSerDe& WithFormatVersion(OrcFormatVersion&& value) { SetFormatVersion(std::move(value)); return *this;}
178 private:
179
180 int m_stripeSizeBytes;
181 bool m_stripeSizeBytesHasBeenSet = false;
182
183 int m_blockSizeBytes;
184 bool m_blockSizeBytesHasBeenSet = false;
185
186 int m_rowIndexStride;
187 bool m_rowIndexStrideHasBeenSet = false;
188
189 bool m_enablePadding;
190 bool m_enablePaddingHasBeenSet = false;
191
192 double m_paddingTolerance;
193 bool m_paddingToleranceHasBeenSet = false;
194
195 OrcCompression m_compression;
196 bool m_compressionHasBeenSet = false;
197
198 Aws::Vector<Aws::String> m_bloomFilterColumns;
199 bool m_bloomFilterColumnsHasBeenSet = false;
200
201 double m_bloomFilterFalsePositiveProbability;
202 bool m_bloomFilterFalsePositiveProbabilityHasBeenSet = false;
203
204 double m_dictionaryKeyThreshold;
205 bool m_dictionaryKeyThresholdHasBeenSet = false;
206
207 OrcFormatVersion m_formatVersion;
208 bool m_formatVersionHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace Firehose
213} // namespace Aws
OrcSerDe & WithBloomFilterColumns(Aws::Vector< Aws::String > &&value)
Definition OrcSerDe.h:135
OrcSerDe & WithDictionaryKeyThreshold(double value)
Definition OrcSerDe.h:163
const OrcFormatVersion & GetFormatVersion() const
Definition OrcSerDe.h:171
void SetEnablePadding(bool value)
Definition OrcSerDe.h:89
void SetBlockSizeBytes(int value)
Definition OrcSerDe.h:66
OrcSerDe & AddBloomFilterColumns(const char *value)
Definition OrcSerDe.h:138
void SetBloomFilterFalsePositiveProbability(double value)
Definition OrcSerDe.h:149
void SetDictionaryKeyThreshold(double value)
Definition OrcSerDe.h:162
double GetBloomFilterFalsePositiveProbability() const
Definition OrcSerDe.h:147
bool RowIndexStrideHasBeenSet() const
Definition OrcSerDe.h:76
double GetPaddingTolerance() const
Definition OrcSerDe.h:106
void SetCompression(const OrcCompression &value)
Definition OrcSerDe.h:119
bool StripeSizeBytesHasBeenSet() const
Definition OrcSerDe.h:52
OrcSerDe & WithEnablePadding(bool value)
Definition OrcSerDe.h:90
bool DictionaryKeyThresholdHasBeenSet() const
Definition OrcSerDe.h:161
bool CompressionHasBeenSet() const
Definition OrcSerDe.h:118
const OrcCompression & GetCompression() const
Definition OrcSerDe.h:117
void SetBloomFilterColumns(const Aws::Vector< Aws::String > &value)
Definition OrcSerDe.h:132
void SetStripeSizeBytes(int value)
Definition OrcSerDe.h:53
OrcSerDe & WithCompression(const OrcCompression &value)
Definition OrcSerDe.h:121
OrcSerDe & WithBlockSizeBytes(int value)
Definition OrcSerDe.h:67
OrcSerDe & WithCompression(OrcCompression &&value)
Definition OrcSerDe.h:122
OrcSerDe & WithRowIndexStride(int value)
Definition OrcSerDe.h:78
bool BloomFilterColumnsHasBeenSet() const
Definition OrcSerDe.h:131
void SetPaddingTolerance(double value)
Definition OrcSerDe.h:108
double GetDictionaryKeyThreshold() const
Definition OrcSerDe.h:160
OrcSerDe & AddBloomFilterColumns(const Aws::String &value)
Definition OrcSerDe.h:136
bool EnablePaddingHasBeenSet() const
Definition OrcSerDe.h:88
OrcSerDe & WithBloomFilterFalsePositiveProbability(double value)
Definition OrcSerDe.h:150
bool FormatVersionHasBeenSet() const
Definition OrcSerDe.h:172
OrcSerDe & WithStripeSizeBytes(int value)
Definition OrcSerDe.h:54
bool BloomFilterFalsePositiveProbabilityHasBeenSet() const
Definition OrcSerDe.h:148
bool BlockSizeBytesHasBeenSet() const
Definition OrcSerDe.h:65
AWS_FIREHOSE_API OrcSerDe(Aws::Utils::Json::JsonView jsonValue)
bool PaddingToleranceHasBeenSet() const
Definition OrcSerDe.h:107
AWS_FIREHOSE_API OrcSerDe & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCompression(OrcCompression &&value)
Definition OrcSerDe.h:120
OrcSerDe & AddBloomFilterColumns(Aws::String &&value)
Definition OrcSerDe.h:137
OrcSerDe & WithFormatVersion(const OrcFormatVersion &value)
Definition OrcSerDe.h:175
AWS_FIREHOSE_API OrcSerDe()
OrcSerDe & WithPaddingTolerance(double value)
Definition OrcSerDe.h:109
void SetRowIndexStride(int value)
Definition OrcSerDe.h:77
void SetFormatVersion(const OrcFormatVersion &value)
Definition OrcSerDe.h:173
void SetFormatVersion(OrcFormatVersion &&value)
Definition OrcSerDe.h:174
const Aws::Vector< Aws::String > & GetBloomFilterColumns() const
Definition OrcSerDe.h:130
OrcSerDe & WithBloomFilterColumns(const Aws::Vector< Aws::String > &value)
Definition OrcSerDe.h:134
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
OrcSerDe & WithFormatVersion(OrcFormatVersion &&value)
Definition OrcSerDe.h:176
void SetBloomFilterColumns(Aws::Vector< Aws::String > &&value)
Definition OrcSerDe.h:133
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue