AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IcebergSnapshotManagementSettings.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_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 S3Tables
20{
21namespace Model
22{
23
34 {
35 public:
36 AWS_S3TABLES_API IcebergSnapshotManagementSettings() = default;
39 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline int GetMinSnapshotsToKeep() const { return m_minSnapshotsToKeep; }
47 inline bool MinSnapshotsToKeepHasBeenSet() const { return m_minSnapshotsToKeepHasBeenSet; }
48 inline void SetMinSnapshotsToKeep(int value) { m_minSnapshotsToKeepHasBeenSet = true; m_minSnapshotsToKeep = value; }
51
53
56 inline int GetMaxSnapshotAgeHours() const { return m_maxSnapshotAgeHours; }
57 inline bool MaxSnapshotAgeHoursHasBeenSet() const { return m_maxSnapshotAgeHoursHasBeenSet; }
58 inline void SetMaxSnapshotAgeHours(int value) { m_maxSnapshotAgeHoursHasBeenSet = true; m_maxSnapshotAgeHours = value; }
61 private:
62
63 int m_minSnapshotsToKeep{0};
64 bool m_minSnapshotsToKeepHasBeenSet = false;
65
66 int m_maxSnapshotAgeHours{0};
67 bool m_maxSnapshotAgeHoursHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace S3Tables
72} // namespace Aws
IcebergSnapshotManagementSettings & WithMinSnapshotsToKeep(int value)
AWS_S3TABLES_API IcebergSnapshotManagementSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_S3TABLES_API IcebergSnapshotManagementSettings()=default
AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const
IcebergSnapshotManagementSettings & WithMaxSnapshotAgeHours(int value)
AWS_S3TABLES_API IcebergSnapshotManagementSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue