AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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 S3Tables
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_S3TABLES_API IcebergCompactionSettings() = default;
38 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetTargetFileSizeMB() const { return m_targetFileSizeMB; }
46 inline bool TargetFileSizeMBHasBeenSet() const { return m_targetFileSizeMBHasBeenSet; }
47 inline void SetTargetFileSizeMB(int value) { m_targetFileSizeMBHasBeenSet = true; m_targetFileSizeMB = value; }
48 inline IcebergCompactionSettings& WithTargetFileSizeMB(int value) { SetTargetFileSizeMB(value); return *this;}
50
52
56 inline IcebergCompactionStrategy GetStrategy() const { return m_strategy; }
57 inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; }
58 inline void SetStrategy(IcebergCompactionStrategy value) { m_strategyHasBeenSet = true; m_strategy = value; }
61 private:
62
63 int m_targetFileSizeMB{0};
64 bool m_targetFileSizeMBHasBeenSet = false;
65
67 bool m_strategyHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace S3Tables
72} // 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