AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OntapVolumeConfiguration.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/FlexCacheEndpointType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fsx/model/SecurityStyle.h>
11#include <aws/fsx/model/TieringPolicy.h>
12#include <aws/fsx/model/OntapVolumeType.h>
13#include <aws/fsx/model/SnaplockConfiguration.h>
14#include <aws/fsx/model/VolumeStyle.h>
15#include <aws/fsx/model/AggregateConfiguration.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace FSx
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_FSX_API OntapVolumeConfiguration() = default;
46
47
49
57 inline FlexCacheEndpointType GetFlexCacheEndpointType() const { return m_flexCacheEndpointType; }
58 inline bool FlexCacheEndpointTypeHasBeenSet() const { return m_flexCacheEndpointTypeHasBeenSet; }
59 inline void SetFlexCacheEndpointType(FlexCacheEndpointType value) { m_flexCacheEndpointTypeHasBeenSet = true; m_flexCacheEndpointType = value; }
62
64
73 inline const Aws::String& GetJunctionPath() const { return m_junctionPath; }
74 inline bool JunctionPathHasBeenSet() const { return m_junctionPathHasBeenSet; }
75 template<typename JunctionPathT = Aws::String>
76 void SetJunctionPath(JunctionPathT&& value) { m_junctionPathHasBeenSet = true; m_junctionPath = std::forward<JunctionPathT>(value); }
77 template<typename JunctionPathT = Aws::String>
78 OntapVolumeConfiguration& WithJunctionPath(JunctionPathT&& value) { SetJunctionPath(std::forward<JunctionPathT>(value)); return *this;}
80
82
86 inline SecurityStyle GetSecurityStyle() const { return m_securityStyle; }
87 inline bool SecurityStyleHasBeenSet() const { return m_securityStyleHasBeenSet; }
88 inline void SetSecurityStyle(SecurityStyle value) { m_securityStyleHasBeenSet = true; m_securityStyle = value; }
91
93
96 inline int GetSizeInMegabytes() const { return m_sizeInMegabytes; }
97 inline bool SizeInMegabytesHasBeenSet() const { return m_sizeInMegabytesHasBeenSet; }
98 inline void SetSizeInMegabytes(int value) { m_sizeInMegabytesHasBeenSet = true; m_sizeInMegabytes = value; }
99 inline OntapVolumeConfiguration& WithSizeInMegabytes(int value) { SetSizeInMegabytes(value); return *this;}
101
103
106 inline bool GetStorageEfficiencyEnabled() const { return m_storageEfficiencyEnabled; }
107 inline bool StorageEfficiencyEnabledHasBeenSet() const { return m_storageEfficiencyEnabledHasBeenSet; }
108 inline void SetStorageEfficiencyEnabled(bool value) { m_storageEfficiencyEnabledHasBeenSet = true; m_storageEfficiencyEnabled = value; }
111
113
116 inline const Aws::String& GetStorageVirtualMachineId() const { return m_storageVirtualMachineId; }
117 inline bool StorageVirtualMachineIdHasBeenSet() const { return m_storageVirtualMachineIdHasBeenSet; }
118 template<typename StorageVirtualMachineIdT = Aws::String>
119 void SetStorageVirtualMachineId(StorageVirtualMachineIdT&& value) { m_storageVirtualMachineIdHasBeenSet = true; m_storageVirtualMachineId = std::forward<StorageVirtualMachineIdT>(value); }
120 template<typename StorageVirtualMachineIdT = Aws::String>
121 OntapVolumeConfiguration& WithStorageVirtualMachineId(StorageVirtualMachineIdT&& value) { SetStorageVirtualMachineId(std::forward<StorageVirtualMachineIdT>(value)); return *this;}
123
125
134 inline bool GetStorageVirtualMachineRoot() const { return m_storageVirtualMachineRoot; }
135 inline bool StorageVirtualMachineRootHasBeenSet() const { return m_storageVirtualMachineRootHasBeenSet; }
136 inline void SetStorageVirtualMachineRoot(bool value) { m_storageVirtualMachineRootHasBeenSet = true; m_storageVirtualMachineRoot = value; }
139
141
144 inline const TieringPolicy& GetTieringPolicy() const { return m_tieringPolicy; }
145 inline bool TieringPolicyHasBeenSet() const { return m_tieringPolicyHasBeenSet; }
146 template<typename TieringPolicyT = TieringPolicy>
147 void SetTieringPolicy(TieringPolicyT&& value) { m_tieringPolicyHasBeenSet = true; m_tieringPolicy = std::forward<TieringPolicyT>(value); }
148 template<typename TieringPolicyT = TieringPolicy>
149 OntapVolumeConfiguration& WithTieringPolicy(TieringPolicyT&& value) { SetTieringPolicy(std::forward<TieringPolicyT>(value)); return *this;}
151
153
156 inline const Aws::String& GetUUID() const { return m_uUID; }
157 inline bool UUIDHasBeenSet() const { return m_uUIDHasBeenSet; }
158 template<typename UUIDT = Aws::String>
159 void SetUUID(UUIDT&& value) { m_uUIDHasBeenSet = true; m_uUID = std::forward<UUIDT>(value); }
160 template<typename UUIDT = Aws::String>
161 OntapVolumeConfiguration& WithUUID(UUIDT&& value) { SetUUID(std::forward<UUIDT>(value)); return *this;}
163
165
175 inline OntapVolumeType GetOntapVolumeType() const { return m_ontapVolumeType; }
176 inline bool OntapVolumeTypeHasBeenSet() const { return m_ontapVolumeTypeHasBeenSet; }
177 inline void SetOntapVolumeType(OntapVolumeType value) { m_ontapVolumeTypeHasBeenSet = true; m_ontapVolumeType = value; }
180
182
198 inline const Aws::String& GetSnapshotPolicy() const { return m_snapshotPolicy; }
199 inline bool SnapshotPolicyHasBeenSet() const { return m_snapshotPolicyHasBeenSet; }
200 template<typename SnapshotPolicyT = Aws::String>
201 void SetSnapshotPolicy(SnapshotPolicyT&& value) { m_snapshotPolicyHasBeenSet = true; m_snapshotPolicy = std::forward<SnapshotPolicyT>(value); }
202 template<typename SnapshotPolicyT = Aws::String>
203 OntapVolumeConfiguration& WithSnapshotPolicy(SnapshotPolicyT&& value) { SetSnapshotPolicy(std::forward<SnapshotPolicyT>(value)); return *this;}
205
207
216 inline bool GetCopyTagsToBackups() const { return m_copyTagsToBackups; }
217 inline bool CopyTagsToBackupsHasBeenSet() const { return m_copyTagsToBackupsHasBeenSet; }
218 inline void SetCopyTagsToBackups(bool value) { m_copyTagsToBackupsHasBeenSet = true; m_copyTagsToBackups = value; }
219 inline OntapVolumeConfiguration& WithCopyTagsToBackups(bool value) { SetCopyTagsToBackups(value); return *this;}
221
223
226 inline const SnaplockConfiguration& GetSnaplockConfiguration() const { return m_snaplockConfiguration; }
227 inline bool SnaplockConfigurationHasBeenSet() const { return m_snaplockConfigurationHasBeenSet; }
228 template<typename SnaplockConfigurationT = SnaplockConfiguration>
229 void SetSnaplockConfiguration(SnaplockConfigurationT&& value) { m_snaplockConfigurationHasBeenSet = true; m_snaplockConfiguration = std::forward<SnaplockConfigurationT>(value); }
230 template<typename SnaplockConfigurationT = SnaplockConfiguration>
231 OntapVolumeConfiguration& WithSnaplockConfiguration(SnaplockConfigurationT&& value) { SetSnaplockConfiguration(std::forward<SnaplockConfigurationT>(value)); return *this;}
233
235
241 inline VolumeStyle GetVolumeStyle() const { return m_volumeStyle; }
242 inline bool VolumeStyleHasBeenSet() const { return m_volumeStyleHasBeenSet; }
243 inline void SetVolumeStyle(VolumeStyle value) { m_volumeStyleHasBeenSet = true; m_volumeStyle = value; }
246
248
252 inline const AggregateConfiguration& GetAggregateConfiguration() const { return m_aggregateConfiguration; }
253 inline bool AggregateConfigurationHasBeenSet() const { return m_aggregateConfigurationHasBeenSet; }
254 template<typename AggregateConfigurationT = AggregateConfiguration>
255 void SetAggregateConfiguration(AggregateConfigurationT&& value) { m_aggregateConfigurationHasBeenSet = true; m_aggregateConfiguration = std::forward<AggregateConfigurationT>(value); }
256 template<typename AggregateConfigurationT = AggregateConfiguration>
257 OntapVolumeConfiguration& WithAggregateConfiguration(AggregateConfigurationT&& value) { SetAggregateConfiguration(std::forward<AggregateConfigurationT>(value)); return *this;}
259
261
264 inline long long GetSizeInBytes() const { return m_sizeInBytes; }
265 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
266 inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
267 inline OntapVolumeConfiguration& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
269 private:
270
272 bool m_flexCacheEndpointTypeHasBeenSet = false;
273
274 Aws::String m_junctionPath;
275 bool m_junctionPathHasBeenSet = false;
276
277 SecurityStyle m_securityStyle{SecurityStyle::NOT_SET};
278 bool m_securityStyleHasBeenSet = false;
279
280 int m_sizeInMegabytes{0};
281 bool m_sizeInMegabytesHasBeenSet = false;
282
283 bool m_storageEfficiencyEnabled{false};
284 bool m_storageEfficiencyEnabledHasBeenSet = false;
285
286 Aws::String m_storageVirtualMachineId;
287 bool m_storageVirtualMachineIdHasBeenSet = false;
288
289 bool m_storageVirtualMachineRoot{false};
290 bool m_storageVirtualMachineRootHasBeenSet = false;
291
292 TieringPolicy m_tieringPolicy;
293 bool m_tieringPolicyHasBeenSet = false;
294
295 Aws::String m_uUID;
296 bool m_uUIDHasBeenSet = false;
297
298 OntapVolumeType m_ontapVolumeType{OntapVolumeType::NOT_SET};
299 bool m_ontapVolumeTypeHasBeenSet = false;
300
301 Aws::String m_snapshotPolicy;
302 bool m_snapshotPolicyHasBeenSet = false;
303
304 bool m_copyTagsToBackups{false};
305 bool m_copyTagsToBackupsHasBeenSet = false;
306
307 SnaplockConfiguration m_snaplockConfiguration;
308 bool m_snaplockConfigurationHasBeenSet = false;
309
310 VolumeStyle m_volumeStyle{VolumeStyle::NOT_SET};
311 bool m_volumeStyleHasBeenSet = false;
312
313 AggregateConfiguration m_aggregateConfiguration;
314 bool m_aggregateConfigurationHasBeenSet = false;
315
316 long long m_sizeInBytes{0};
317 bool m_sizeInBytesHasBeenSet = false;
318 };
319
320} // namespace Model
321} // namespace FSx
322} // namespace Aws
const AggregateConfiguration & GetAggregateConfiguration() const
OntapVolumeConfiguration & WithStorageVirtualMachineRoot(bool value)
OntapVolumeConfiguration & WithAggregateConfiguration(AggregateConfigurationT &&value)
OntapVolumeConfiguration & WithVolumeStyle(VolumeStyle value)
OntapVolumeConfiguration & WithTieringPolicy(TieringPolicyT &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
OntapVolumeConfiguration & WithSizeInBytes(long long value)
OntapVolumeConfiguration & WithOntapVolumeType(OntapVolumeType value)
OntapVolumeConfiguration & WithJunctionPath(JunctionPathT &&value)
OntapVolumeConfiguration & WithUUID(UUIDT &&value)
void SetAggregateConfiguration(AggregateConfigurationT &&value)
OntapVolumeConfiguration & WithStorageEfficiencyEnabled(bool value)
OntapVolumeConfiguration & WithCopyTagsToBackups(bool value)
OntapVolumeConfiguration & WithSnaplockConfiguration(SnaplockConfigurationT &&value)
void SetSnaplockConfiguration(SnaplockConfigurationT &&value)
void SetFlexCacheEndpointType(FlexCacheEndpointType value)
OntapVolumeConfiguration & WithSnapshotPolicy(SnapshotPolicyT &&value)
AWS_FSX_API OntapVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetStorageVirtualMachineId(StorageVirtualMachineIdT &&value)
AWS_FSX_API OntapVolumeConfiguration()=default
const SnaplockConfiguration & GetSnaplockConfiguration() const
AWS_FSX_API OntapVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
OntapVolumeConfiguration & WithSizeInMegabytes(int value)
OntapVolumeConfiguration & WithSecurityStyle(SecurityStyle value)
OntapVolumeConfiguration & WithStorageVirtualMachineId(StorageVirtualMachineIdT &&value)
FlexCacheEndpointType GetFlexCacheEndpointType() const
OntapVolumeConfiguration & WithFlexCacheEndpointType(FlexCacheEndpointType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue