AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
IcebergRetentionConfiguration.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Glue {
17namespace Model {
18
26 public:
27 AWS_GLUE_API IcebergRetentionConfiguration() = default;
31
33
38 inline int GetSnapshotRetentionPeriodInDays() const { return m_snapshotRetentionPeriodInDays; }
39 inline bool SnapshotRetentionPeriodInDaysHasBeenSet() const { return m_snapshotRetentionPeriodInDaysHasBeenSet; }
40 inline void SetSnapshotRetentionPeriodInDays(int value) {
41 m_snapshotRetentionPeriodInDaysHasBeenSet = true;
42 m_snapshotRetentionPeriodInDays = value;
43 }
46 return *this;
47 }
49
51
56 inline int GetNumberOfSnapshotsToRetain() const { return m_numberOfSnapshotsToRetain; }
57 inline bool NumberOfSnapshotsToRetainHasBeenSet() const { return m_numberOfSnapshotsToRetainHasBeenSet; }
58 inline void SetNumberOfSnapshotsToRetain(int value) {
59 m_numberOfSnapshotsToRetainHasBeenSet = true;
60 m_numberOfSnapshotsToRetain = value;
61 }
64 return *this;
65 }
67
69
73 inline bool GetCleanExpiredFiles() const { return m_cleanExpiredFiles; }
74 inline bool CleanExpiredFilesHasBeenSet() const { return m_cleanExpiredFilesHasBeenSet; }
75 inline void SetCleanExpiredFiles(bool value) {
76 m_cleanExpiredFilesHasBeenSet = true;
77 m_cleanExpiredFiles = value;
78 }
81 return *this;
82 }
84
86
92 inline int GetRunRateInHours() const { return m_runRateInHours; }
93 inline bool RunRateInHoursHasBeenSet() const { return m_runRateInHoursHasBeenSet; }
94 inline void SetRunRateInHours(int value) {
95 m_runRateInHoursHasBeenSet = true;
96 m_runRateInHours = value;
97 }
99 SetRunRateInHours(value);
100 return *this;
101 }
103 private:
104 int m_snapshotRetentionPeriodInDays{0};
105
106 int m_numberOfSnapshotsToRetain{0};
107
108 bool m_cleanExpiredFiles{false};
109
110 int m_runRateInHours{0};
111 bool m_snapshotRetentionPeriodInDaysHasBeenSet = false;
112 bool m_numberOfSnapshotsToRetainHasBeenSet = false;
113 bool m_cleanExpiredFilesHasBeenSet = false;
114 bool m_runRateInHoursHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace Glue
119} // 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