AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 private:
74
75 int m_snapshotRetentionPeriodInDays;
76 bool m_snapshotRetentionPeriodInDaysHasBeenSet = false;
77
78 int m_numberOfSnapshotsToRetain;
79 bool m_numberOfSnapshotsToRetainHasBeenSet = false;
80
81 bool m_cleanExpiredFiles;
82 bool m_cleanExpiredFilesHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Glue
87} // namespace Aws
IcebergRetentionConfiguration & WithCleanExpiredFiles(bool 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