AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateOntapVolumeConfiguration.h
1
6#pragma once
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>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace FSx
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_FSX_API CreateOntapVolumeConfiguration() = default;
45
46
48
53 inline const Aws::String& GetJunctionPath() const { return m_junctionPath; }
54 inline bool JunctionPathHasBeenSet() const { return m_junctionPathHasBeenSet; }
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>
58 CreateOntapVolumeConfiguration& WithJunctionPath(JunctionPathT&& value) { SetJunctionPath(std::forward<JunctionPathT>(value)); return *this;}
60
62
80 inline SecurityStyle GetSecurityStyle() const { return m_securityStyle; }
81 inline bool SecurityStyleHasBeenSet() const { return m_securityStyleHasBeenSet; }
82 inline void SetSecurityStyle(SecurityStyle value) { m_securityStyleHasBeenSet = true; m_securityStyle = value; }
85
87
94 inline bool GetStorageEfficiencyEnabled() const { return m_storageEfficiencyEnabled; }
95 inline bool StorageEfficiencyEnabledHasBeenSet() const { return m_storageEfficiencyEnabledHasBeenSet; }
96 inline void SetStorageEfficiencyEnabled(bool value) { m_storageEfficiencyEnabledHasBeenSet = true; m_storageEfficiencyEnabled = value; }
99
101
104 inline const Aws::String& GetStorageVirtualMachineId() const { return m_storageVirtualMachineId; }
105 inline bool StorageVirtualMachineIdHasBeenSet() const { return m_storageVirtualMachineIdHasBeenSet; }
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>
109 CreateOntapVolumeConfiguration& WithStorageVirtualMachineId(StorageVirtualMachineIdT&& value) { SetStorageVirtualMachineId(std::forward<StorageVirtualMachineIdT>(value)); return *this;}
111
113
114 inline const TieringPolicy& GetTieringPolicy() const { return m_tieringPolicy; }
115 inline bool TieringPolicyHasBeenSet() const { return m_tieringPolicyHasBeenSet; }
116 template<typename TieringPolicyT = TieringPolicy>
117 void SetTieringPolicy(TieringPolicyT&& value) { m_tieringPolicyHasBeenSet = true; m_tieringPolicy = std::forward<TieringPolicyT>(value); }
118 template<typename TieringPolicyT = TieringPolicy>
119 CreateOntapVolumeConfiguration& WithTieringPolicy(TieringPolicyT&& value) { SetTieringPolicy(std::forward<TieringPolicyT>(value)); return *this;}
121
123
133 inline InputOntapVolumeType GetOntapVolumeType() const { return m_ontapVolumeType; }
134 inline bool OntapVolumeTypeHasBeenSet() const { return m_ontapVolumeTypeHasBeenSet; }
135 inline void SetOntapVolumeType(InputOntapVolumeType value) { m_ontapVolumeTypeHasBeenSet = true; m_ontapVolumeType = value; }
138
140
156 inline const Aws::String& GetSnapshotPolicy() const { return m_snapshotPolicy; }
157 inline bool SnapshotPolicyHasBeenSet() const { return m_snapshotPolicyHasBeenSet; }
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>
161 CreateOntapVolumeConfiguration& WithSnapshotPolicy(SnapshotPolicyT&& value) { SetSnapshotPolicy(std::forward<SnapshotPolicyT>(value)); return *this;}
163
165
174 inline bool GetCopyTagsToBackups() const { return m_copyTagsToBackups; }
175 inline bool CopyTagsToBackupsHasBeenSet() const { return m_copyTagsToBackupsHasBeenSet; }
176 inline void SetCopyTagsToBackups(bool value) { m_copyTagsToBackupsHasBeenSet = true; m_copyTagsToBackups = value; }
179
181
184 inline const CreateSnaplockConfiguration& GetSnaplockConfiguration() const { return m_snaplockConfiguration; }
185 inline bool SnaplockConfigurationHasBeenSet() const { return m_snaplockConfigurationHasBeenSet; }
186 template<typename SnaplockConfigurationT = CreateSnaplockConfiguration>
187 void SetSnaplockConfiguration(SnaplockConfigurationT&& value) { m_snaplockConfigurationHasBeenSet = true; m_snaplockConfiguration = std::forward<SnaplockConfigurationT>(value); }
188 template<typename SnaplockConfigurationT = CreateSnaplockConfiguration>
189 CreateOntapVolumeConfiguration& WithSnaplockConfiguration(SnaplockConfigurationT&& value) { SetSnaplockConfiguration(std::forward<SnaplockConfigurationT>(value)); return *this;}
191
193
200 inline VolumeStyle GetVolumeStyle() const { return m_volumeStyle; }
201 inline bool VolumeStyleHasBeenSet() const { return m_volumeStyleHasBeenSet; }
202 inline void SetVolumeStyle(VolumeStyle value) { m_volumeStyleHasBeenSet = true; m_volumeStyle = value; }
205
207
211 inline const CreateAggregateConfiguration& GetAggregateConfiguration() const { return m_aggregateConfiguration; }
212 inline bool AggregateConfigurationHasBeenSet() const { return m_aggregateConfigurationHasBeenSet; }
213 template<typename AggregateConfigurationT = CreateAggregateConfiguration>
214 void SetAggregateConfiguration(AggregateConfigurationT&& value) { m_aggregateConfigurationHasBeenSet = true; m_aggregateConfiguration = std::forward<AggregateConfigurationT>(value); }
215 template<typename AggregateConfigurationT = CreateAggregateConfiguration>
216 CreateOntapVolumeConfiguration& WithAggregateConfiguration(AggregateConfigurationT&& value) { SetAggregateConfiguration(std::forward<AggregateConfigurationT>(value)); return *this;}
218
220
223 inline long long GetSizeInBytes() const { return m_sizeInBytes; }
224 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
225 inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
226 inline CreateOntapVolumeConfiguration& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
228 private:
229
230 Aws::String m_junctionPath;
231 bool m_junctionPathHasBeenSet = false;
232
233 SecurityStyle m_securityStyle{SecurityStyle::NOT_SET};
234 bool m_securityStyleHasBeenSet = false;
235
236 bool m_storageEfficiencyEnabled{false};
237 bool m_storageEfficiencyEnabledHasBeenSet = false;
238
239 Aws::String m_storageVirtualMachineId;
240 bool m_storageVirtualMachineIdHasBeenSet = false;
241
242 TieringPolicy m_tieringPolicy;
243 bool m_tieringPolicyHasBeenSet = false;
244
246 bool m_ontapVolumeTypeHasBeenSet = false;
247
248 Aws::String m_snapshotPolicy;
249 bool m_snapshotPolicyHasBeenSet = false;
250
251 bool m_copyTagsToBackups{false};
252 bool m_copyTagsToBackupsHasBeenSet = false;
253
254 CreateSnaplockConfiguration m_snaplockConfiguration;
255 bool m_snaplockConfigurationHasBeenSet = false;
256
257 VolumeStyle m_volumeStyle{VolumeStyle::NOT_SET};
258 bool m_volumeStyleHasBeenSet = false;
259
260 CreateAggregateConfiguration m_aggregateConfiguration;
261 bool m_aggregateConfigurationHasBeenSet = false;
262
263 long long m_sizeInBytes{0};
264 bool m_sizeInBytesHasBeenSet = false;
265 };
266
267} // namespace Model
268} // namespace FSx
269} // namespace Aws
CreateOntapVolumeConfiguration & WithJunctionPath(JunctionPathT &&value)
CreateOntapVolumeConfiguration & WithAggregateConfiguration(AggregateConfigurationT &&value)
const CreateSnaplockConfiguration & GetSnaplockConfiguration() const
CreateOntapVolumeConfiguration & WithSnaplockConfiguration(SnaplockConfigurationT &&value)
CreateOntapVolumeConfiguration & WithVolumeStyle(VolumeStyle value)
CreateOntapVolumeConfiguration & WithSizeInBytes(long long value)
CreateOntapVolumeConfiguration & WithStorageVirtualMachineId(StorageVirtualMachineIdT &&value)
CreateOntapVolumeConfiguration & WithStorageEfficiencyEnabled(bool value)
AWS_FSX_API CreateOntapVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetStorageVirtualMachineId(StorageVirtualMachineIdT &&value)
const CreateAggregateConfiguration & GetAggregateConfiguration() const
CreateOntapVolumeConfiguration & WithSnapshotPolicy(SnapshotPolicyT &&value)
CreateOntapVolumeConfiguration & WithSecurityStyle(SecurityStyle value)
CreateOntapVolumeConfiguration & WithOntapVolumeType(InputOntapVolumeType value)
CreateOntapVolumeConfiguration & WithTieringPolicy(TieringPolicyT &&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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue