AWS SDK for C++

AWS SDK for C++ Version 1.11.634

Loading...
Searching...
No Matches
IcebergCompactionConfiguration.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/CompactionStrategy.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_GLUE_API IcebergCompactionConfiguration() = default;
40
41
43
62 inline CompactionStrategy GetStrategy() const { return m_strategy; }
63 inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; }
64 inline void SetStrategy(CompactionStrategy value) { m_strategyHasBeenSet = true; m_strategy = value; }
67
69
76 inline int GetMinInputFiles() const { return m_minInputFiles; }
77 inline bool MinInputFilesHasBeenSet() const { return m_minInputFilesHasBeenSet; }
78 inline void SetMinInputFiles(int value) { m_minInputFilesHasBeenSet = true; m_minInputFiles = value; }
79 inline IcebergCompactionConfiguration& WithMinInputFiles(int value) { SetMinInputFiles(value); return *this;}
81
83
90 inline int GetDeleteFileThreshold() const { return m_deleteFileThreshold; }
91 inline bool DeleteFileThresholdHasBeenSet() const { return m_deleteFileThresholdHasBeenSet; }
92 inline void SetDeleteFileThreshold(int value) { m_deleteFileThresholdHasBeenSet = true; m_deleteFileThreshold = value; }
95 private:
96
98 bool m_strategyHasBeenSet = false;
99
100 int m_minInputFiles{0};
101 bool m_minInputFilesHasBeenSet = false;
102
103 int m_deleteFileThreshold{0};
104 bool m_deleteFileThresholdHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Glue
109} // namespace Aws
IcebergCompactionConfiguration & WithStrategy(CompactionStrategy value)
AWS_GLUE_API IcebergCompactionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API IcebergCompactionConfiguration(Aws::Utils::Json::JsonView jsonValue)
IcebergCompactionConfiguration & WithMinInputFiles(int value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
IcebergCompactionConfiguration & WithDeleteFileThreshold(int value)
Aws::Utils::Json::JsonValue JsonValue