AWS SDK for C++  1.9.154
AWS SDK for C++
OrcSerDe.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Firehose
25 {
26 namespace Model
27 {
28 
38  {
39  public:
44 
45 
50  inline int GetStripeSizeBytes() const{ return m_stripeSizeBytes; }
51 
56  inline bool StripeSizeBytesHasBeenSet() const { return m_stripeSizeBytesHasBeenSet; }
57 
62  inline void SetStripeSizeBytes(int value) { m_stripeSizeBytesHasBeenSet = true; m_stripeSizeBytes = value; }
63 
68  inline OrcSerDe& WithStripeSizeBytes(int value) { SetStripeSizeBytes(value); return *this;}
69 
70 
77  inline int GetBlockSizeBytes() const{ return m_blockSizeBytes; }
78 
85  inline bool BlockSizeBytesHasBeenSet() const { return m_blockSizeBytesHasBeenSet; }
86 
93  inline void SetBlockSizeBytes(int value) { m_blockSizeBytesHasBeenSet = true; m_blockSizeBytes = value; }
94 
101  inline OrcSerDe& WithBlockSizeBytes(int value) { SetBlockSizeBytes(value); return *this;}
102 
103 
108  inline int GetRowIndexStride() const{ return m_rowIndexStride; }
109 
114  inline bool RowIndexStrideHasBeenSet() const { return m_rowIndexStrideHasBeenSet; }
115 
120  inline void SetRowIndexStride(int value) { m_rowIndexStrideHasBeenSet = true; m_rowIndexStride = value; }
121 
126  inline OrcSerDe& WithRowIndexStride(int value) { SetRowIndexStride(value); return *this;}
127 
128 
134  inline bool GetEnablePadding() const{ return m_enablePadding; }
135 
141  inline bool EnablePaddingHasBeenSet() const { return m_enablePaddingHasBeenSet; }
142 
148  inline void SetEnablePadding(bool value) { m_enablePaddingHasBeenSet = true; m_enablePadding = value; }
149 
155  inline OrcSerDe& WithEnablePadding(bool value) { SetEnablePadding(value); return *this;}
156 
157 
170  inline double GetPaddingTolerance() const{ return m_paddingTolerance; }
171 
184  inline bool PaddingToleranceHasBeenSet() const { return m_paddingToleranceHasBeenSet; }
185 
198  inline void SetPaddingTolerance(double value) { m_paddingToleranceHasBeenSet = true; m_paddingTolerance = value; }
199 
212  inline OrcSerDe& WithPaddingTolerance(double value) { SetPaddingTolerance(value); return *this;}
213 
214 
219  inline const OrcCompression& GetCompression() const{ return m_compression; }
220 
225  inline bool CompressionHasBeenSet() const { return m_compressionHasBeenSet; }
226 
231  inline void SetCompression(const OrcCompression& value) { m_compressionHasBeenSet = true; m_compression = value; }
232 
237  inline void SetCompression(OrcCompression&& value) { m_compressionHasBeenSet = true; m_compression = std::move(value); }
238 
243  inline OrcSerDe& WithCompression(const OrcCompression& value) { SetCompression(value); return *this;}
244 
249  inline OrcSerDe& WithCompression(OrcCompression&& value) { SetCompression(std::move(value)); return *this;}
250 
251 
256  inline const Aws::Vector<Aws::String>& GetBloomFilterColumns() const{ return m_bloomFilterColumns; }
257 
262  inline bool BloomFilterColumnsHasBeenSet() const { return m_bloomFilterColumnsHasBeenSet; }
263 
268  inline void SetBloomFilterColumns(const Aws::Vector<Aws::String>& value) { m_bloomFilterColumnsHasBeenSet = true; m_bloomFilterColumns = value; }
269 
274  inline void SetBloomFilterColumns(Aws::Vector<Aws::String>&& value) { m_bloomFilterColumnsHasBeenSet = true; m_bloomFilterColumns = std::move(value); }
275 
280  inline OrcSerDe& WithBloomFilterColumns(const Aws::Vector<Aws::String>& value) { SetBloomFilterColumns(value); return *this;}
281 
286  inline OrcSerDe& WithBloomFilterColumns(Aws::Vector<Aws::String>&& value) { SetBloomFilterColumns(std::move(value)); return *this;}
287 
292  inline OrcSerDe& AddBloomFilterColumns(const Aws::String& value) { m_bloomFilterColumnsHasBeenSet = true; m_bloomFilterColumns.push_back(value); return *this; }
293 
298  inline OrcSerDe& AddBloomFilterColumns(Aws::String&& value) { m_bloomFilterColumnsHasBeenSet = true; m_bloomFilterColumns.push_back(std::move(value)); return *this; }
299 
304  inline OrcSerDe& AddBloomFilterColumns(const char* value) { m_bloomFilterColumnsHasBeenSet = true; m_bloomFilterColumns.push_back(value); return *this; }
305 
306 
312  inline double GetBloomFilterFalsePositiveProbability() const{ return m_bloomFilterFalsePositiveProbability; }
313 
319  inline bool BloomFilterFalsePositiveProbabilityHasBeenSet() const { return m_bloomFilterFalsePositiveProbabilityHasBeenSet; }
320 
326  inline void SetBloomFilterFalsePositiveProbability(double value) { m_bloomFilterFalsePositiveProbabilityHasBeenSet = true; m_bloomFilterFalsePositiveProbability = value; }
327 
333  inline OrcSerDe& WithBloomFilterFalsePositiveProbability(double value) { SetBloomFilterFalsePositiveProbability(value); return *this;}
334 
335 
342  inline double GetDictionaryKeyThreshold() const{ return m_dictionaryKeyThreshold; }
343 
350  inline bool DictionaryKeyThresholdHasBeenSet() const { return m_dictionaryKeyThresholdHasBeenSet; }
351 
358  inline void SetDictionaryKeyThreshold(double value) { m_dictionaryKeyThresholdHasBeenSet = true; m_dictionaryKeyThreshold = value; }
359 
366  inline OrcSerDe& WithDictionaryKeyThreshold(double value) { SetDictionaryKeyThreshold(value); return *this;}
367 
368 
373  inline const OrcFormatVersion& GetFormatVersion() const{ return m_formatVersion; }
374 
379  inline bool FormatVersionHasBeenSet() const { return m_formatVersionHasBeenSet; }
380 
385  inline void SetFormatVersion(const OrcFormatVersion& value) { m_formatVersionHasBeenSet = true; m_formatVersion = value; }
386 
391  inline void SetFormatVersion(OrcFormatVersion&& value) { m_formatVersionHasBeenSet = true; m_formatVersion = std::move(value); }
392 
397  inline OrcSerDe& WithFormatVersion(const OrcFormatVersion& value) { SetFormatVersion(value); return *this;}
398 
403  inline OrcSerDe& WithFormatVersion(OrcFormatVersion&& value) { SetFormatVersion(std::move(value)); return *this;}
404 
405  private:
406 
407  int m_stripeSizeBytes;
408  bool m_stripeSizeBytesHasBeenSet;
409 
410  int m_blockSizeBytes;
411  bool m_blockSizeBytesHasBeenSet;
412 
413  int m_rowIndexStride;
414  bool m_rowIndexStrideHasBeenSet;
415 
416  bool m_enablePadding;
417  bool m_enablePaddingHasBeenSet;
418 
419  double m_paddingTolerance;
420  bool m_paddingToleranceHasBeenSet;
421 
422  OrcCompression m_compression;
423  bool m_compressionHasBeenSet;
424 
425  Aws::Vector<Aws::String> m_bloomFilterColumns;
426  bool m_bloomFilterColumnsHasBeenSet;
427 
428  double m_bloomFilterFalsePositiveProbability;
429  bool m_bloomFilterFalsePositiveProbabilityHasBeenSet;
430 
431  double m_dictionaryKeyThreshold;
432  bool m_dictionaryKeyThresholdHasBeenSet;
433 
434  OrcFormatVersion m_formatVersion;
435  bool m_formatVersionHasBeenSet;
436  };
437 
438 } // namespace Model
439 } // namespace Firehose
440 } // namespace Aws
Aws::Firehose::Model::OrcSerDe::SetStripeSizeBytes
void SetStripeSizeBytes(int value)
Definition: OrcSerDe.h:62
Aws::Firehose::Model::OrcSerDe::WithBlockSizeBytes
OrcSerDe & WithBlockSizeBytes(int value)
Definition: OrcSerDe.h:101
Aws::Firehose::Model::OrcSerDe::SetBloomFilterFalsePositiveProbability
void SetBloomFilterFalsePositiveProbability(double value)
Definition: OrcSerDe.h:326
Aws::Firehose::Model::OrcCompression
OrcCompression
Definition: OrcCompression.h:17
Aws::Firehose::Model::OrcSerDe::BlockSizeBytesHasBeenSet
bool BlockSizeBytesHasBeenSet() const
Definition: OrcSerDe.h:85
Aws::Firehose::Model::OrcSerDe::OrcSerDe
OrcSerDe()
Aws::Firehose::Model::OrcSerDe::WithCompression
OrcSerDe & WithCompression(OrcCompression &&value)
Definition: OrcSerDe.h:249
Aws::Firehose::Model::OrcSerDe::AddBloomFilterColumns
OrcSerDe & AddBloomFilterColumns(const char *value)
Definition: OrcSerDe.h:304
Aws::Firehose::Model::OrcSerDe::SetFormatVersion
void SetFormatVersion(const OrcFormatVersion &value)
Definition: OrcSerDe.h:385
Aws::Firehose::Model::OrcSerDe::GetDictionaryKeyThreshold
double GetDictionaryKeyThreshold() const
Definition: OrcSerDe.h:342
Aws::Firehose::Model::OrcSerDe::SetCompression
void SetCompression(OrcCompression &&value)
Definition: OrcSerDe.h:237
Aws::Firehose::Model::OrcSerDe::AddBloomFilterColumns
OrcSerDe & AddBloomFilterColumns(const Aws::String &value)
Definition: OrcSerDe.h:292
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Firehose::Model::OrcSerDe::RowIndexStrideHasBeenSet
bool RowIndexStrideHasBeenSet() const
Definition: OrcSerDe.h:114
Aws::Firehose::Model::OrcSerDe::SetFormatVersion
void SetFormatVersion(OrcFormatVersion &&value)
Definition: OrcSerDe.h:391
Aws::Firehose::Model::OrcSerDe::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::OrcSerDe::WithStripeSizeBytes
OrcSerDe & WithStripeSizeBytes(int value)
Definition: OrcSerDe.h:68
Aws::Firehose::Model::OrcSerDe::BloomFilterColumnsHasBeenSet
bool BloomFilterColumnsHasBeenSet() const
Definition: OrcSerDe.h:262
Aws::Firehose::Model::OrcSerDe::SetBlockSizeBytes
void SetBlockSizeBytes(int value)
Definition: OrcSerDe.h:93
Aws::Firehose::Model::OrcFormatVersion
OrcFormatVersion
Definition: OrcFormatVersion.h:17
AWSVector.h
Aws::Firehose::Model::OrcSerDe::WithBloomFilterFalsePositiveProbability
OrcSerDe & WithBloomFilterFalsePositiveProbability(double value)
Definition: OrcSerDe.h:333
Aws::Firehose::Model::OrcSerDe::WithCompression
OrcSerDe & WithCompression(const OrcCompression &value)
Definition: OrcSerDe.h:243
Aws::Firehose::Model::OrcSerDe::WithBloomFilterColumns
OrcSerDe & WithBloomFilterColumns(Aws::Vector< Aws::String > &&value)
Definition: OrcSerDe.h:286
Aws::Firehose::Model::OrcSerDe::CompressionHasBeenSet
bool CompressionHasBeenSet() const
Definition: OrcSerDe.h:225
Aws::Firehose::Model::OrcSerDe::SetRowIndexStride
void SetRowIndexStride(int value)
Definition: OrcSerDe.h:120
Aws::Firehose::Model::OrcSerDe::WithPaddingTolerance
OrcSerDe & WithPaddingTolerance(double value)
Definition: OrcSerDe.h:212
Aws::Firehose::Model::OrcSerDe::SetEnablePadding
void SetEnablePadding(bool value)
Definition: OrcSerDe.h:148
Aws::Firehose::Model::OrcSerDe::PaddingToleranceHasBeenSet
bool PaddingToleranceHasBeenSet() const
Definition: OrcSerDe.h:184
Aws::Firehose::Model::OrcSerDe::WithBloomFilterColumns
OrcSerDe & WithBloomFilterColumns(const Aws::Vector< Aws::String > &value)
Definition: OrcSerDe.h:280
Aws::Firehose::Model::OrcSerDe::WithRowIndexStride
OrcSerDe & WithRowIndexStride(int value)
Definition: OrcSerDe.h:126
Aws::Firehose::Model::OrcSerDe::GetBlockSizeBytes
int GetBlockSizeBytes() const
Definition: OrcSerDe.h:77
Aws::Firehose::Model::OrcSerDe::BloomFilterFalsePositiveProbabilityHasBeenSet
bool BloomFilterFalsePositiveProbabilityHasBeenSet() const
Definition: OrcSerDe.h:319
Aws::Firehose::Model::OrcSerDe::SetDictionaryKeyThreshold
void SetDictionaryKeyThreshold(double value)
Definition: OrcSerDe.h:358
Aws::Firehose::Model::OrcSerDe::AddBloomFilterColumns
OrcSerDe & AddBloomFilterColumns(Aws::String &&value)
Definition: OrcSerDe.h:298
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::OrcSerDe::operator=
OrcSerDe & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::OrcSerDe::WithEnablePadding
OrcSerDe & WithEnablePadding(bool value)
Definition: OrcSerDe.h:155
Aws::Firehose::Model::OrcSerDe::GetBloomFilterColumns
const Aws::Vector< Aws::String > & GetBloomFilterColumns() const
Definition: OrcSerDe.h:256
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Firehose::Model::OrcSerDe::GetStripeSizeBytes
int GetStripeSizeBytes() const
Definition: OrcSerDe.h:50
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::OrcSerDe::SetPaddingTolerance
void SetPaddingTolerance(double value)
Definition: OrcSerDe.h:198
Aws::Firehose::Model::OrcSerDe::SetBloomFilterColumns
void SetBloomFilterColumns(const Aws::Vector< Aws::String > &value)
Definition: OrcSerDe.h:268
Firehose_EXPORTS.h
Aws::Firehose::Model::OrcSerDe::StripeSizeBytesHasBeenSet
bool StripeSizeBytesHasBeenSet() const
Definition: OrcSerDe.h:56
Aws::Firehose::Model::OrcSerDe::OrcSerDe
OrcSerDe(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::OrcSerDe::SetCompression
void SetCompression(const OrcCompression &value)
Definition: OrcSerDe.h:231
Aws::Firehose::Model::OrcSerDe
Definition: OrcSerDe.h:38
Aws::Firehose::Model::OrcSerDe::FormatVersionHasBeenSet
bool FormatVersionHasBeenSet() const
Definition: OrcSerDe.h:379
Aws::Firehose::Model::OrcSerDe::GetFormatVersion
const OrcFormatVersion & GetFormatVersion() const
Definition: OrcSerDe.h:373
Aws::Firehose::Model::OrcSerDe::WithFormatVersion
OrcSerDe & WithFormatVersion(OrcFormatVersion &&value)
Definition: OrcSerDe.h:403
Aws::Firehose::Model::OrcSerDe::GetRowIndexStride
int GetRowIndexStride() const
Definition: OrcSerDe.h:108
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Firehose::Model::OrcSerDe::GetEnablePadding
bool GetEnablePadding() const
Definition: OrcSerDe.h:134
OrcCompression.h
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::OrcSerDe::GetCompression
const OrcCompression & GetCompression() const
Definition: OrcSerDe.h:219
Aws::Firehose::Model::OrcSerDe::WithFormatVersion
OrcSerDe & WithFormatVersion(const OrcFormatVersion &value)
Definition: OrcSerDe.h:397
Aws::Firehose::Model::OrcSerDe::EnablePaddingHasBeenSet
bool EnablePaddingHasBeenSet() const
Definition: OrcSerDe.h:141
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::OrcSerDe::SetBloomFilterColumns
void SetBloomFilterColumns(Aws::Vector< Aws::String > &&value)
Definition: OrcSerDe.h:274
Aws::Firehose::Model::OrcSerDe::WithDictionaryKeyThreshold
OrcSerDe & WithDictionaryKeyThreshold(double value)
Definition: OrcSerDe.h:366
Aws::Firehose::Model::OrcSerDe::DictionaryKeyThresholdHasBeenSet
bool DictionaryKeyThresholdHasBeenSet() const
Definition: OrcSerDe.h:350
Aws::Firehose::Model::OrcSerDe::GetBloomFilterFalsePositiveProbability
double GetBloomFilterFalsePositiveProbability() const
Definition: OrcSerDe.h:312
OrcFormatVersion.h
Aws::Firehose::Model::OrcSerDe::GetPaddingTolerance
double GetPaddingTolerance() const
Definition: OrcSerDe.h:170