7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/model/SecurityStyle.h>
10#include <aws/fsx/model/TieringPolicy.h>
11#include <aws/fsx/model/InputOntapVolumeType.h>
12#include <aws/fsx/model/CreateSnaplockConfiguration.h>
13#include <aws/fsx/model/VolumeStyle.h>
14#include <aws/fsx/model/CreateAggregateConfiguration.h>
55 template<
typename JunctionPathT = Aws::String>
56 void SetJunctionPath(JunctionPathT&& value) { m_junctionPathHasBeenSet =
true; m_junctionPath = std::forward<JunctionPathT>(value); }
57 template<
typename JunctionPathT = Aws::String>
106 template<
typename StorageVirtualMachineIdT = Aws::String>
107 void SetStorageVirtualMachineId(StorageVirtualMachineIdT&& value) { m_storageVirtualMachineIdHasBeenSet =
true; m_storageVirtualMachineId = std::forward<StorageVirtualMachineIdT>(value); }
108 template<
typename StorageVirtualMachineIdT = Aws::String>
116 template<
typename TieringPolicyT = TieringPolicy>
117 void SetTieringPolicy(TieringPolicyT&& value) { m_tieringPolicyHasBeenSet =
true; m_tieringPolicy = std::forward<TieringPolicyT>(value); }
118 template<
typename TieringPolicyT = TieringPolicy>
158 template<
typename SnapshotPolicyT = Aws::String>
159 void SetSnapshotPolicy(SnapshotPolicyT&& value) { m_snapshotPolicyHasBeenSet =
true; m_snapshotPolicy = std::forward<SnapshotPolicyT>(value); }
160 template<
typename SnapshotPolicyT = Aws::String>
176 inline void SetCopyTagsToBackups(
bool value) { m_copyTagsToBackupsHasBeenSet =
true; m_copyTagsToBackups = value; }
186 template<
typename SnaplockConfigurationT = CreateSnaplockConfiguration>
187 void SetSnaplockConfiguration(SnaplockConfigurationT&& value) { m_snaplockConfigurationHasBeenSet =
true; m_snaplockConfiguration = std::forward<SnaplockConfigurationT>(value); }
188 template<
typename SnaplockConfigurationT = CreateSnaplockConfiguration>
213 template<
typename AggregateConfigurationT = CreateAggregateConfiguration>
214 void SetAggregateConfiguration(AggregateConfigurationT&& value) { m_aggregateConfigurationHasBeenSet =
true; m_aggregateConfiguration = std::forward<AggregateConfigurationT>(value); }
215 template<
typename AggregateConfigurationT = CreateAggregateConfiguration>
225 inline void SetSizeInBytes(
long long value) { m_sizeInBytesHasBeenSet =
true; m_sizeInBytes = value; }
231 bool m_junctionPathHasBeenSet =
false;
234 bool m_securityStyleHasBeenSet =
false;
236 bool m_storageEfficiencyEnabled{
false};
237 bool m_storageEfficiencyEnabledHasBeenSet =
false;
240 bool m_storageVirtualMachineIdHasBeenSet =
false;
242 TieringPolicy m_tieringPolicy;
243 bool m_tieringPolicyHasBeenSet =
false;
246 bool m_ontapVolumeTypeHasBeenSet =
false;
249 bool m_snapshotPolicyHasBeenSet =
false;
251 bool m_copyTagsToBackups{
false};
252 bool m_copyTagsToBackupsHasBeenSet =
false;
254 CreateSnaplockConfiguration m_snaplockConfiguration;
255 bool m_snaplockConfigurationHasBeenSet =
false;
258 bool m_volumeStyleHasBeenSet =
false;
260 CreateAggregateConfiguration m_aggregateConfiguration;
261 bool m_aggregateConfigurationHasBeenSet =
false;
263 long long m_sizeInBytes{0};
264 bool m_sizeInBytesHasBeenSet =
false;
void SetTieringPolicy(TieringPolicyT &&value)
bool SnaplockConfigurationHasBeenSet() const
bool OntapVolumeTypeHasBeenSet() const
long long GetSizeInBytes() const
CreateOntapVolumeConfiguration & WithJunctionPath(JunctionPathT &&value)
CreateOntapVolumeConfiguration & WithAggregateConfiguration(AggregateConfigurationT &&value)
const CreateSnaplockConfiguration & GetSnaplockConfiguration() const
const Aws::String & GetSnapshotPolicy() const
bool StorageVirtualMachineIdHasBeenSet() const
bool GetCopyTagsToBackups() const
const Aws::String & GetJunctionPath() const
CreateOntapVolumeConfiguration & WithSnaplockConfiguration(SnaplockConfigurationT &&value)
bool AggregateConfigurationHasBeenSet() const
CreateOntapVolumeConfiguration & WithVolumeStyle(VolumeStyle value)
VolumeStyle GetVolumeStyle() const
bool TieringPolicyHasBeenSet() const
CreateOntapVolumeConfiguration & WithSizeInBytes(long long value)
bool GetStorageEfficiencyEnabled() const
bool SecurityStyleHasBeenSet() const
void SetSizeInBytes(long long value)
CreateOntapVolumeConfiguration & WithStorageVirtualMachineId(StorageVirtualMachineIdT &&value)
void SetStorageEfficiencyEnabled(bool value)
CreateOntapVolumeConfiguration & WithStorageEfficiencyEnabled(bool value)
AWS_FSX_API CreateOntapVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetJunctionPath(JunctionPathT &&value)
InputOntapVolumeType GetOntapVolumeType() const
SecurityStyle GetSecurityStyle() const
void SetStorageVirtualMachineId(StorageVirtualMachineIdT &&value)
const CreateAggregateConfiguration & GetAggregateConfiguration() const
void SetVolumeStyle(VolumeStyle value)
CreateOntapVolumeConfiguration & WithSnapshotPolicy(SnapshotPolicyT &&value)
bool SnapshotPolicyHasBeenSet() const
AWS_FSX_API CreateOntapVolumeConfiguration()=default
void SetOntapVolumeType(InputOntapVolumeType value)
void SetCopyTagsToBackups(bool value)
bool SizeInBytesHasBeenSet() const
CreateOntapVolumeConfiguration & WithSecurityStyle(SecurityStyle value)
bool VolumeStyleHasBeenSet() const
CreateOntapVolumeConfiguration & WithOntapVolumeType(InputOntapVolumeType value)
bool JunctionPathHasBeenSet() const
void SetSnapshotPolicy(SnapshotPolicyT &&value)
bool CopyTagsToBackupsHasBeenSet() const
const TieringPolicy & GetTieringPolicy() const
const Aws::String & GetStorageVirtualMachineId() const
bool StorageEfficiencyEnabledHasBeenSet() const
CreateOntapVolumeConfiguration & WithTieringPolicy(TieringPolicyT &&value)
void SetSecurityStyle(SecurityStyle value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API CreateOntapVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateOntapVolumeConfiguration & WithCopyTagsToBackups(bool value)
void SetAggregateConfiguration(AggregateConfigurationT &&value)
void SetSnaplockConfiguration(SnaplockConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue