7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/model/OpenZFSDataCompressionType.h>
10#include <aws/fsx/model/OpenZFSOriginSnapshotConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/fsx/model/OpenZFSCopyStrategy.h>
13#include <aws/fsx/model/OpenZFSNfsExport.h>
14#include <aws/fsx/model/OpenZFSUserOrGroupQuota.h>
55 inline void SetParentVolumeId(
const char* value) { m_parentVolumeIdHasBeenSet =
true; m_parentVolumeId.assign(value); }
70 inline void SetVolumePath(
const char* value) { m_volumePathHasBeenSet =
true; m_volumePath.assign(value); }
108 inline void SetRecordSizeKiB(
int value) { m_recordSizeKiBHasBeenSet =
true; m_recordSizeKiB = value; }
144 inline void SetCopyTagsToSnapshots(
bool value) { m_copyTagsToSnapshotsHasBeenSet =
true; m_copyTagsToSnapshots = value; }
167 inline void SetReadOnly(
bool value) { m_readOnlyHasBeenSet =
true; m_readOnly = value; }
209 inline void SetRestoreToSnapshot(
const char* value) { m_restoreToSnapshotHasBeenSet =
true; m_restoreToSnapshot.assign(value); }
235 inline void SetDeleteClonedVolumes(
bool value) { m_deleteClonedVolumesHasBeenSet =
true; m_deleteClonedVolumes = value; }
257 inline void SetSourceSnapshotARN(
const char* value) { m_sourceSnapshotARNHasBeenSet =
true; m_sourceSnapshotARN.assign(value); }
272 inline void SetDestinationSnapshot(
const char* value) { m_destinationSnapshotHasBeenSet =
true; m_destinationSnapshot.assign(value); }
304 bool m_parentVolumeIdHasBeenSet =
false;
307 bool m_volumePathHasBeenSet =
false;
309 int m_storageCapacityReservationGiB;
310 bool m_storageCapacityReservationGiBHasBeenSet =
false;
312 int m_storageCapacityQuotaGiB;
313 bool m_storageCapacityQuotaGiBHasBeenSet =
false;
316 bool m_recordSizeKiBHasBeenSet =
false;
319 bool m_dataCompressionTypeHasBeenSet =
false;
321 bool m_copyTagsToSnapshots;
322 bool m_copyTagsToSnapshotsHasBeenSet =
false;
325 bool m_originSnapshotHasBeenSet =
false;
328 bool m_readOnlyHasBeenSet =
false;
331 bool m_nfsExportsHasBeenSet =
false;
334 bool m_userAndGroupQuotasHasBeenSet =
false;
337 bool m_restoreToSnapshotHasBeenSet =
false;
339 bool m_deleteIntermediateSnaphots;
340 bool m_deleteIntermediateSnaphotsHasBeenSet =
false;
342 bool m_deleteClonedVolumes;
343 bool m_deleteClonedVolumesHasBeenSet =
false;
345 bool m_deleteIntermediateData;
346 bool m_deleteIntermediateDataHasBeenSet =
false;
349 bool m_sourceSnapshotARNHasBeenSet =
false;
352 bool m_destinationSnapshotHasBeenSet =
false;
355 bool m_copyStrategyHasBeenSet =
false;
void SetParentVolumeId(const Aws::String &value)
OpenZFSVolumeConfiguration & WithRecordSizeKiB(int value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API OpenZFSVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetParentVolumeId() const
OpenZFSVolumeConfiguration & WithDestinationSnapshot(Aws::String &&value)
OpenZFSVolumeConfiguration & WithDeleteIntermediateSnaphots(bool value)
bool UserAndGroupQuotasHasBeenSet() const
void SetRestoreToSnapshot(const char *value)
bool RecordSizeKiBHasBeenSet() const
void SetDeleteIntermediateSnaphots(bool value)
void SetCopyStrategy(const OpenZFSCopyStrategy &value)
OpenZFSVolumeConfiguration & WithDeleteClonedVolumes(bool value)
void SetRestoreToSnapshot(Aws::String &&value)
OpenZFSVolumeConfiguration & WithOriginSnapshot(const OpenZFSOriginSnapshotConfiguration &value)
void SetNfsExports(const Aws::Vector< OpenZFSNfsExport > &value)
void SetUserAndGroupQuotas(const Aws::Vector< OpenZFSUserOrGroupQuota > &value)
OpenZFSVolumeConfiguration & AddNfsExports(const OpenZFSNfsExport &value)
void SetOriginSnapshot(const OpenZFSOriginSnapshotConfiguration &value)
AWS_FSX_API OpenZFSVolumeConfiguration()
bool StorageCapacityReservationGiBHasBeenSet() const
const Aws::Vector< OpenZFSNfsExport > & GetNfsExports() const
void SetParentVolumeId(const char *value)
void SetRestoreToSnapshot(const Aws::String &value)
const Aws::Vector< OpenZFSUserOrGroupQuota > & GetUserAndGroupQuotas() const
OpenZFSVolumeConfiguration & WithDestinationSnapshot(const Aws::String &value)
OpenZFSVolumeConfiguration & WithDataCompressionType(const OpenZFSDataCompressionType &value)
bool CopyStrategyHasBeenSet() const
OpenZFSVolumeConfiguration & WithParentVolumeId(Aws::String &&value)
void SetDataCompressionType(const OpenZFSDataCompressionType &value)
void SetUserAndGroupQuotas(Aws::Vector< OpenZFSUserOrGroupQuota > &&value)
OpenZFSVolumeConfiguration & WithVolumePath(const Aws::String &value)
bool GetCopyTagsToSnapshots() const
OpenZFSVolumeConfiguration & WithSourceSnapshotARN(const Aws::String &value)
OpenZFSVolumeConfiguration & WithCopyTagsToSnapshots(bool value)
bool StorageCapacityQuotaGiBHasBeenSet() const
void SetDestinationSnapshot(const char *value)
OpenZFSVolumeConfiguration & WithVolumePath(const char *value)
bool GetDeleteIntermediateData() const
void SetCopyStrategy(OpenZFSCopyStrategy &&value)
void SetVolumePath(const Aws::String &value)
OpenZFSVolumeConfiguration & WithRestoreToSnapshot(const char *value)
void SetSourceSnapshotARN(Aws::String &&value)
bool DataCompressionTypeHasBeenSet() const
const Aws::String & GetDestinationSnapshot() const
void SetOriginSnapshot(OpenZFSOriginSnapshotConfiguration &&value)
OpenZFSVolumeConfiguration & WithOriginSnapshot(OpenZFSOriginSnapshotConfiguration &&value)
bool DeleteClonedVolumesHasBeenSet() const
bool NfsExportsHasBeenSet() const
int GetStorageCapacityQuotaGiB() const
OpenZFSVolumeConfiguration & WithCopyStrategy(OpenZFSCopyStrategy &&value)
void SetDestinationSnapshot(const Aws::String &value)
bool SourceSnapshotARNHasBeenSet() const
const OpenZFSCopyStrategy & GetCopyStrategy() const
void SetVolumePath(const char *value)
OpenZFSVolumeConfiguration & WithReadOnly(bool value)
OpenZFSVolumeConfiguration & WithRestoreToSnapshot(Aws::String &&value)
bool DeleteIntermediateDataHasBeenSet() const
void SetStorageCapacityReservationGiB(int value)
void SetCopyTagsToSnapshots(bool value)
OpenZFSVolumeConfiguration & WithDeleteIntermediateData(bool value)
bool ReadOnlyHasBeenSet() const
OpenZFSVolumeConfiguration & WithDataCompressionType(OpenZFSDataCompressionType &&value)
void SetStorageCapacityQuotaGiB(int value)
bool OriginSnapshotHasBeenSet() const
void SetDeleteClonedVolumes(bool value)
void SetVolumePath(Aws::String &&value)
OpenZFSVolumeConfiguration & WithVolumePath(Aws::String &&value)
const Aws::String & GetSourceSnapshotARN() const
OpenZFSVolumeConfiguration & WithDestinationSnapshot(const char *value)
void SetDestinationSnapshot(Aws::String &&value)
const OpenZFSDataCompressionType & GetDataCompressionType() const
OpenZFSVolumeConfiguration & WithRestoreToSnapshot(const Aws::String &value)
OpenZFSVolumeConfiguration & WithStorageCapacityQuotaGiB(int value)
const OpenZFSOriginSnapshotConfiguration & GetOriginSnapshot() const
bool DestinationSnapshotHasBeenSet() const
void SetReadOnly(bool value)
void SetRecordSizeKiB(int value)
void SetDeleteIntermediateData(bool value)
int GetRecordSizeKiB() const
OpenZFSVolumeConfiguration & WithNfsExports(Aws::Vector< OpenZFSNfsExport > &&value)
OpenZFSVolumeConfiguration & WithSourceSnapshotARN(Aws::String &&value)
OpenZFSVolumeConfiguration & WithSourceSnapshotARN(const char *value)
OpenZFSVolumeConfiguration & AddUserAndGroupQuotas(OpenZFSUserOrGroupQuota &&value)
bool CopyTagsToSnapshotsHasBeenSet() const
bool RestoreToSnapshotHasBeenSet() const
void SetSourceSnapshotARN(const char *value)
bool VolumePathHasBeenSet() const
OpenZFSVolumeConfiguration & WithParentVolumeId(const Aws::String &value)
void SetNfsExports(Aws::Vector< OpenZFSNfsExport > &&value)
OpenZFSVolumeConfiguration & AddUserAndGroupQuotas(const OpenZFSUserOrGroupQuota &value)
const Aws::String & GetRestoreToSnapshot() const
OpenZFSVolumeConfiguration & WithParentVolumeId(const char *value)
AWS_FSX_API OpenZFSVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DeleteIntermediateSnaphotsHasBeenSet() const
OpenZFSVolumeConfiguration & AddNfsExports(OpenZFSNfsExport &&value)
void SetDataCompressionType(OpenZFSDataCompressionType &&value)
OpenZFSVolumeConfiguration & WithUserAndGroupQuotas(Aws::Vector< OpenZFSUserOrGroupQuota > &&value)
const Aws::String & GetVolumePath() const
bool GetDeleteIntermediateSnaphots() const
void SetSourceSnapshotARN(const Aws::String &value)
OpenZFSVolumeConfiguration & WithStorageCapacityReservationGiB(int value)
OpenZFSVolumeConfiguration & WithUserAndGroupQuotas(const Aws::Vector< OpenZFSUserOrGroupQuota > &value)
bool ParentVolumeIdHasBeenSet() const
OpenZFSVolumeConfiguration & WithCopyStrategy(const OpenZFSCopyStrategy &value)
bool GetDeleteClonedVolumes() const
void SetParentVolumeId(Aws::String &&value)
OpenZFSVolumeConfiguration & WithNfsExports(const Aws::Vector< OpenZFSNfsExport > &value)
int GetStorageCapacityReservationGiB() const
OpenZFSDataCompressionType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue