AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
IcebergRetentionConfiguration.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_GLUE_API IcebergRetentionConfiguration() = default;
37
38
40
45 inline int GetSnapshotRetentionPeriodInDays() const { return m_snapshotRetentionPeriodInDays; }
46 inline bool SnapshotRetentionPeriodInDaysHasBeenSet() const { return m_snapshotRetentionPeriodInDaysHasBeenSet; }
47 inline void SetSnapshotRetentionPeriodInDays(int value) { m_snapshotRetentionPeriodInDaysHasBeenSet = true; m_snapshotRetentionPeriodInDays = value; }
50
52
57 inline int GetNumberOfSnapshotsToRetain() const { return m_numberOfSnapshotsToRetain; }
58 inline bool NumberOfSnapshotsToRetainHasBeenSet() const { return m_numberOfSnapshotsToRetainHasBeenSet; }
59 inline void SetNumberOfSnapshotsToRetain(int value) { m_numberOfSnapshotsToRetainHasBeenSet = true; m_numberOfSnapshotsToRetain = value; }
62
64
68 inline bool GetCleanExpiredFiles() const { return m_cleanExpiredFiles; }
69 inline bool CleanExpiredFilesHasBeenSet() const { return m_cleanExpiredFilesHasBeenSet; }
70 inline void SetCleanExpiredFiles(bool value) { m_cleanExpiredFilesHasBeenSet = true; m_cleanExpiredFiles = value; }
73
75
81 inline int GetRunRateInHours() const { return m_runRateInHours; }
82 inline bool RunRateInHoursHasBeenSet() const { return m_runRateInHoursHasBeenSet; }
83 inline void SetRunRateInHours(int value) { m_runRateInHoursHasBeenSet = true; m_runRateInHours = value; }
84 inline IcebergRetentionConfiguration& WithRunRateInHours(int value) { SetRunRateInHours(value); return *this;}
86 private:
87
88 int m_snapshotRetentionPeriodInDays{0};
89 bool m_snapshotRetentionPeriodInDaysHasBeenSet = false;
90
91 int m_numberOfSnapshotsToRetain{0};
92 bool m_numberOfSnapshotsToRetainHasBeenSet = false;
93
94 bool m_cleanExpiredFiles{false};
95 bool m_cleanExpiredFilesHasBeenSet = false;
96
97 int m_runRateInHours{0};
98 bool m_runRateInHoursHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Glue
103} // namespace Aws
AWS_GLUE_API IcebergRetentionConfiguration()=default
IcebergRetentionConfiguration & WithCleanExpiredFiles(bool value)
IcebergRetentionConfiguration & WithRunRateInHours(int value)
IcebergRetentionConfiguration & WithNumberOfSnapshotsToRetain(int value)
IcebergRetentionConfiguration & WithSnapshotRetentionPeriodInDays(int value)
AWS_GLUE_API IcebergRetentionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API IcebergRetentionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue