AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
IcebergCompactionSettings.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_EXPORTS.h>
8#include <aws/s3tables/model/IcebergCompactionStrategy.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace S3Tables {
20namespace Model {
21
29 public:
30 AWS_S3TABLES_API IcebergCompactionSettings() = default;
33 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline int GetTargetFileSizeMB() const { return m_targetFileSizeMB; }
40 inline bool TargetFileSizeMBHasBeenSet() const { return m_targetFileSizeMBHasBeenSet; }
41 inline void SetTargetFileSizeMB(int value) {
42 m_targetFileSizeMBHasBeenSet = true;
43 m_targetFileSizeMB = value;
44 }
47 return *this;
48 }
50
52
56 inline IcebergCompactionStrategy GetStrategy() const { return m_strategy; }
57 inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; }
59 m_strategyHasBeenSet = true;
60 m_strategy = value;
61 }
63 SetStrategy(value);
64 return *this;
65 }
67 private:
68 int m_targetFileSizeMB{0};
69
71 bool m_targetFileSizeMBHasBeenSet = false;
72 bool m_strategyHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace S3Tables
77} // namespace Aws
IcebergCompactionSettings & WithStrategy(IcebergCompactionStrategy value)
void SetStrategy(IcebergCompactionStrategy value)
AWS_S3TABLES_API IcebergCompactionSettings()=default
IcebergCompactionSettings & WithTargetFileSizeMB(int value)
AWS_S3TABLES_API IcebergCompactionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_S3TABLES_API IcebergCompactionSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue