AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSnaplockConfiguration.h
1
6#pragma once
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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FSx
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
53 inline bool GetAuditLogVolume() const{ return m_auditLogVolume; }
54 inline bool AuditLogVolumeHasBeenSet() const { return m_auditLogVolumeHasBeenSet; }
55 inline void SetAuditLogVolume(bool value) { m_auditLogVolumeHasBeenSet = true; m_auditLogVolume = value; }
56 inline UpdateSnaplockConfiguration& WithAuditLogVolume(bool value) { SetAuditLogVolume(value); return *this;}
58
60
64 inline const AutocommitPeriod& GetAutocommitPeriod() const{ return m_autocommitPeriod; }
65 inline bool AutocommitPeriodHasBeenSet() const { return m_autocommitPeriodHasBeenSet; }
66 inline void SetAutocommitPeriod(const AutocommitPeriod& value) { m_autocommitPeriodHasBeenSet = true; m_autocommitPeriod = value; }
67 inline void SetAutocommitPeriod(AutocommitPeriod&& value) { m_autocommitPeriodHasBeenSet = true; m_autocommitPeriod = std::move(value); }
69 inline UpdateSnaplockConfiguration& WithAutocommitPeriod(AutocommitPeriod&& value) { SetAutocommitPeriod(std::move(value)); return *this;}
71
73
84 inline const PrivilegedDelete& GetPrivilegedDelete() const{ return m_privilegedDelete; }
85 inline bool PrivilegedDeleteHasBeenSet() const { return m_privilegedDeleteHasBeenSet; }
86 inline void SetPrivilegedDelete(const PrivilegedDelete& value) { m_privilegedDeleteHasBeenSet = true; m_privilegedDelete = value; }
87 inline void SetPrivilegedDelete(PrivilegedDelete&& value) { m_privilegedDeleteHasBeenSet = true; m_privilegedDelete = std::move(value); }
89 inline UpdateSnaplockConfiguration& WithPrivilegedDelete(PrivilegedDelete&& value) { SetPrivilegedDelete(std::move(value)); return *this;}
91
93
96 inline const SnaplockRetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
97 inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; }
98 inline void SetRetentionPeriod(const SnaplockRetentionPeriod& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; }
99 inline void SetRetentionPeriod(SnaplockRetentionPeriod&& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = std::move(value); }
103
105
113 inline bool GetVolumeAppendModeEnabled() const{ return m_volumeAppendModeEnabled; }
114 inline bool VolumeAppendModeEnabledHasBeenSet() const { return m_volumeAppendModeEnabledHasBeenSet; }
115 inline void SetVolumeAppendModeEnabled(bool value) { m_volumeAppendModeEnabledHasBeenSet = true; m_volumeAppendModeEnabled = value; }
118 private:
119
120 bool m_auditLogVolume;
121 bool m_auditLogVolumeHasBeenSet = false;
122
123 AutocommitPeriod m_autocommitPeriod;
124 bool m_autocommitPeriodHasBeenSet = false;
125
126 PrivilegedDelete m_privilegedDelete;
127 bool m_privilegedDeleteHasBeenSet = false;
128
129 SnaplockRetentionPeriod m_retentionPeriod;
130 bool m_retentionPeriodHasBeenSet = false;
131
132 bool m_volumeAppendModeEnabled;
133 bool m_volumeAppendModeEnabledHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace FSx
138} // namespace Aws
UpdateSnaplockConfiguration & WithRetentionPeriod(SnaplockRetentionPeriod &&value)
void SetPrivilegedDelete(const PrivilegedDelete &value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateSnaplockConfiguration & WithAuditLogVolume(bool value)
void SetRetentionPeriod(SnaplockRetentionPeriod &&value)
UpdateSnaplockConfiguration & WithVolumeAppendModeEnabled(bool value)
void SetAutocommitPeriod(const AutocommitPeriod &value)
UpdateSnaplockConfiguration & WithRetentionPeriod(const SnaplockRetentionPeriod &value)
AWS_FSX_API UpdateSnaplockConfiguration(Aws::Utils::Json::JsonView jsonValue)
UpdateSnaplockConfiguration & WithPrivilegedDelete(PrivilegedDelete &&value)
UpdateSnaplockConfiguration & WithPrivilegedDelete(const PrivilegedDelete &value)
const SnaplockRetentionPeriod & GetRetentionPeriod() const
AWS_FSX_API UpdateSnaplockConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateSnaplockConfiguration & WithAutocommitPeriod(const AutocommitPeriod &value)
void SetRetentionPeriod(const SnaplockRetentionPeriod &value)
UpdateSnaplockConfiguration & WithAutocommitPeriod(AutocommitPeriod &&value)
Aws::Utils::Json::JsonValue JsonValue