AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
30 public:
31 AWS_GLUE_API IcebergCompactionConfiguration() = default;
35
37
56 inline CompactionStrategy GetStrategy() const { return m_strategy; }
57 inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; }
58 inline void SetStrategy(CompactionStrategy value) {
59 m_strategyHasBeenSet = true;
60 m_strategy = value;
61 }
63 SetStrategy(value);
64 return *this;
65 }
67
69
76 inline int GetMinInputFiles() const { return m_minInputFiles; }
77 inline bool MinInputFilesHasBeenSet() const { return m_minInputFilesHasBeenSet; }
78 inline void SetMinInputFiles(int value) {
79 m_minInputFilesHasBeenSet = true;
80 m_minInputFiles = value;
81 }
83 SetMinInputFiles(value);
84 return *this;
85 }
87
89
96 inline int GetDeleteFileThreshold() const { return m_deleteFileThreshold; }
97 inline bool DeleteFileThresholdHasBeenSet() const { return m_deleteFileThresholdHasBeenSet; }
98 inline void SetDeleteFileThreshold(int value) {
99 m_deleteFileThresholdHasBeenSet = true;
100 m_deleteFileThreshold = value;
101 }
104 return *this;
105 }
107 private:
109
110 int m_minInputFiles{0};
111
112 int m_deleteFileThreshold{0};
113 bool m_strategyHasBeenSet = false;
114 bool m_minInputFilesHasBeenSet = false;
115 bool m_deleteFileThresholdHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace Glue
120} // 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