7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/AutocommitPeriod.h>
9#include <aws/fsx/model/PrivilegedDelete.h>
10#include <aws/fsx/model/SnaplockRetentionPeriod.h>
11#include <aws/fsx/model/SnaplockType.h>
56 inline void SetAuditLogVolume(
bool value) { m_auditLogVolumeHasBeenSet =
true; m_auditLogVolume = value; }
147 bool m_auditLogVolume;
148 bool m_auditLogVolumeHasBeenSet =
false;
151 bool m_autocommitPeriodHasBeenSet =
false;
154 bool m_privilegedDeleteHasBeenSet =
false;
157 bool m_retentionPeriodHasBeenSet =
false;
160 bool m_snaplockTypeHasBeenSet =
false;
162 bool m_volumeAppendModeEnabled;
163 bool m_volumeAppendModeEnabledHasBeenSet =
false;
bool GetAuditLogVolume() const
AWS_FSX_API CreateSnaplockConfiguration()
void SetAutocommitPeriod(AutocommitPeriod &&value)
CreateSnaplockConfiguration & WithSnaplockType(const SnaplockType &value)
void SetAuditLogVolume(bool value)
void SetPrivilegedDelete(PrivilegedDelete &&value)
void SetAutocommitPeriod(const AutocommitPeriod &value)
void SetRetentionPeriod(const SnaplockRetentionPeriod &value)
bool AutocommitPeriodHasBeenSet() const
const AutocommitPeriod & GetAutocommitPeriod() const
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrivilegedDelete(const PrivilegedDelete &value)
CreateSnaplockConfiguration & WithRetentionPeriod(SnaplockRetentionPeriod &&value)
CreateSnaplockConfiguration & WithPrivilegedDelete(PrivilegedDelete &&value)
bool PrivilegedDeleteHasBeenSet() const
bool AuditLogVolumeHasBeenSet() const
const SnaplockType & GetSnaplockType() const
bool SnaplockTypeHasBeenSet() const
void SetSnaplockType(SnaplockType &&value)
CreateSnaplockConfiguration & WithAutocommitPeriod(const AutocommitPeriod &value)
bool VolumeAppendModeEnabledHasBeenSet() const
const PrivilegedDelete & GetPrivilegedDelete() const
AWS_FSX_API CreateSnaplockConfiguration(Aws::Utils::Json::JsonView jsonValue)
CreateSnaplockConfiguration & WithAutocommitPeriod(AutocommitPeriod &&value)
CreateSnaplockConfiguration & WithSnaplockType(SnaplockType &&value)
CreateSnaplockConfiguration & WithRetentionPeriod(const SnaplockRetentionPeriod &value)
void SetSnaplockType(const SnaplockType &value)
CreateSnaplockConfiguration & WithPrivilegedDelete(const PrivilegedDelete &value)
bool RetentionPeriodHasBeenSet() const
AWS_FSX_API CreateSnaplockConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const SnaplockRetentionPeriod & GetRetentionPeriod() const
void SetVolumeAppendModeEnabled(bool value)
CreateSnaplockConfiguration & WithVolumeAppendModeEnabled(bool value)
CreateSnaplockConfiguration & WithAuditLogVolume(bool value)
bool GetVolumeAppendModeEnabled() const
void SetRetentionPeriod(SnaplockRetentionPeriod &&value)
Aws::Utils::Json::JsonValue JsonValue