AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TableMaintenanceSettings.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_EXPORTS.h>
8#include <aws/s3tables/model/IcebergCompactionSettings.h>
9#include <aws/s3tables/model/IcebergSnapshotManagementSettings.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace S3Tables
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_S3TABLES_API TableMaintenanceSettings() = default;
39 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const IcebergCompactionSettings& GetIcebergCompaction() const { return m_icebergCompaction; }
47 inline bool IcebergCompactionHasBeenSet() const { return m_icebergCompactionHasBeenSet; }
48 template<typename IcebergCompactionT = IcebergCompactionSettings>
49 void SetIcebergCompaction(IcebergCompactionT&& value) { m_icebergCompactionHasBeenSet = true; m_icebergCompaction = std::forward<IcebergCompactionT>(value); }
50 template<typename IcebergCompactionT = IcebergCompactionSettings>
51 TableMaintenanceSettings& WithIcebergCompaction(IcebergCompactionT&& value) { SetIcebergCompaction(std::forward<IcebergCompactionT>(value)); return *this;}
53
55
59 inline const IcebergSnapshotManagementSettings& GetIcebergSnapshotManagement() const { return m_icebergSnapshotManagement; }
60 inline bool IcebergSnapshotManagementHasBeenSet() const { return m_icebergSnapshotManagementHasBeenSet; }
61 template<typename IcebergSnapshotManagementT = IcebergSnapshotManagementSettings>
62 void SetIcebergSnapshotManagement(IcebergSnapshotManagementT&& value) { m_icebergSnapshotManagementHasBeenSet = true; m_icebergSnapshotManagement = std::forward<IcebergSnapshotManagementT>(value); }
63 template<typename IcebergSnapshotManagementT = IcebergSnapshotManagementSettings>
64 TableMaintenanceSettings& WithIcebergSnapshotManagement(IcebergSnapshotManagementT&& value) { SetIcebergSnapshotManagement(std::forward<IcebergSnapshotManagementT>(value)); return *this;}
66 private:
67
68 IcebergCompactionSettings m_icebergCompaction;
69 bool m_icebergCompactionHasBeenSet = false;
70
71 IcebergSnapshotManagementSettings m_icebergSnapshotManagement;
72 bool m_icebergSnapshotManagementHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace S3Tables
77} // namespace Aws
AWS_S3TABLES_API TableMaintenanceSettings()=default
AWS_S3TABLES_API TableMaintenanceSettings(Aws::Utils::Json::JsonView jsonValue)
TableMaintenanceSettings & WithIcebergSnapshotManagement(IcebergSnapshotManagementT &&value)
AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIcebergSnapshotManagement(IcebergSnapshotManagementT &&value)
const IcebergSnapshotManagementSettings & GetIcebergSnapshotManagement() const
AWS_S3TABLES_API TableMaintenanceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
TableMaintenanceSettings & WithIcebergCompaction(IcebergCompactionT &&value)
const IcebergCompactionSettings & GetIcebergCompaction() const
Aws::Utils::Json::JsonValue JsonValue