AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
46
47
49
57 inline const FlexCacheEndpointType& GetFlexCacheEndpointType() const{ return m_flexCacheEndpointType; }
58 inline bool FlexCacheEndpointTypeHasBeenSet() const { return m_flexCacheEndpointTypeHasBeenSet; }
59 inline void SetFlexCacheEndpointType(const FlexCacheEndpointType& value) { m_flexCacheEndpointTypeHasBeenSet = true; m_flexCacheEndpointType = value; }
60 inline void SetFlexCacheEndpointType(FlexCacheEndpointType&& value) { m_flexCacheEndpointTypeHasBeenSet = true; m_flexCacheEndpointType = std::move(value); }
64
66
75 inline const Aws::String& GetJunctionPath() const{ return m_junctionPath; }
76 inline bool JunctionPathHasBeenSet() const { return m_junctionPathHasBeenSet; }
77 inline void SetJunctionPath(const Aws::String& value) { m_junctionPathHasBeenSet = true; m_junctionPath = value; }
78 inline void SetJunctionPath(Aws::String&& value) { m_junctionPathHasBeenSet = true; m_junctionPath = std::move(value); }
79 inline void SetJunctionPath(const char* value) { m_junctionPathHasBeenSet = true; m_junctionPath.assign(value); }
80 inline OntapVolumeConfiguration& WithJunctionPath(const Aws::String& value) { SetJunctionPath(value); return *this;}
81 inline OntapVolumeConfiguration& WithJunctionPath(Aws::String&& value) { SetJunctionPath(std::move(value)); return *this;}
82 inline OntapVolumeConfiguration& WithJunctionPath(const char* value) { SetJunctionPath(value); return *this;}
84
86
90 inline const SecurityStyle& GetSecurityStyle() const{ return m_securityStyle; }
91 inline bool SecurityStyleHasBeenSet() const { return m_securityStyleHasBeenSet; }
92 inline void SetSecurityStyle(const SecurityStyle& value) { m_securityStyleHasBeenSet = true; m_securityStyle = value; }
93 inline void SetSecurityStyle(SecurityStyle&& value) { m_securityStyleHasBeenSet = true; m_securityStyle = std::move(value); }
94 inline OntapVolumeConfiguration& WithSecurityStyle(const SecurityStyle& value) { SetSecurityStyle(value); return *this;}
95 inline OntapVolumeConfiguration& WithSecurityStyle(SecurityStyle&& value) { SetSecurityStyle(std::move(value)); return *this;}
97
99
102 inline int GetSizeInMegabytes() const{ return m_sizeInMegabytes; }
103 inline bool SizeInMegabytesHasBeenSet() const { return m_sizeInMegabytesHasBeenSet; }
104 inline void SetSizeInMegabytes(int value) { m_sizeInMegabytesHasBeenSet = true; m_sizeInMegabytes = value; }
105 inline OntapVolumeConfiguration& WithSizeInMegabytes(int value) { SetSizeInMegabytes(value); return *this;}
107
109
112 inline bool GetStorageEfficiencyEnabled() const{ return m_storageEfficiencyEnabled; }
113 inline bool StorageEfficiencyEnabledHasBeenSet() const { return m_storageEfficiencyEnabledHasBeenSet; }
114 inline void SetStorageEfficiencyEnabled(bool value) { m_storageEfficiencyEnabledHasBeenSet = true; m_storageEfficiencyEnabled = value; }
117
119
122 inline const Aws::String& GetStorageVirtualMachineId() const{ return m_storageVirtualMachineId; }
123 inline bool StorageVirtualMachineIdHasBeenSet() const { return m_storageVirtualMachineIdHasBeenSet; }
124 inline void SetStorageVirtualMachineId(const Aws::String& value) { m_storageVirtualMachineIdHasBeenSet = true; m_storageVirtualMachineId = value; }
125 inline void SetStorageVirtualMachineId(Aws::String&& value) { m_storageVirtualMachineIdHasBeenSet = true; m_storageVirtualMachineId = std::move(value); }
126 inline void SetStorageVirtualMachineId(const char* value) { m_storageVirtualMachineIdHasBeenSet = true; m_storageVirtualMachineId.assign(value); }
129 inline OntapVolumeConfiguration& WithStorageVirtualMachineId(const char* value) { SetStorageVirtualMachineId(value); return *this;}
131
133
142 inline bool GetStorageVirtualMachineRoot() const{ return m_storageVirtualMachineRoot; }
143 inline bool StorageVirtualMachineRootHasBeenSet() const { return m_storageVirtualMachineRootHasBeenSet; }
144 inline void SetStorageVirtualMachineRoot(bool value) { m_storageVirtualMachineRootHasBeenSet = true; m_storageVirtualMachineRoot = value; }
147
149
152 inline const TieringPolicy& GetTieringPolicy() const{ return m_tieringPolicy; }
153 inline bool TieringPolicyHasBeenSet() const { return m_tieringPolicyHasBeenSet; }
154 inline void SetTieringPolicy(const TieringPolicy& value) { m_tieringPolicyHasBeenSet = true; m_tieringPolicy = value; }
155 inline void SetTieringPolicy(TieringPolicy&& value) { m_tieringPolicyHasBeenSet = true; m_tieringPolicy = std::move(value); }
156 inline OntapVolumeConfiguration& WithTieringPolicy(const TieringPolicy& value) { SetTieringPolicy(value); return *this;}
157 inline OntapVolumeConfiguration& WithTieringPolicy(TieringPolicy&& value) { SetTieringPolicy(std::move(value)); return *this;}
159
161
164 inline const Aws::String& GetUUID() const{ return m_uUID; }
165 inline bool UUIDHasBeenSet() const { return m_uUIDHasBeenSet; }
166 inline void SetUUID(const Aws::String& value) { m_uUIDHasBeenSet = true; m_uUID = value; }
167 inline void SetUUID(Aws::String&& value) { m_uUIDHasBeenSet = true; m_uUID = std::move(value); }
168 inline void SetUUID(const char* value) { m_uUIDHasBeenSet = true; m_uUID.assign(value); }
169 inline OntapVolumeConfiguration& WithUUID(const Aws::String& value) { SetUUID(value); return *this;}
170 inline OntapVolumeConfiguration& WithUUID(Aws::String&& value) { SetUUID(std::move(value)); return *this;}
171 inline OntapVolumeConfiguration& WithUUID(const char* value) { SetUUID(value); return *this;}
173
175
185 inline const OntapVolumeType& GetOntapVolumeType() const{ return m_ontapVolumeType; }
186 inline bool OntapVolumeTypeHasBeenSet() const { return m_ontapVolumeTypeHasBeenSet; }
187 inline void SetOntapVolumeType(const OntapVolumeType& value) { m_ontapVolumeTypeHasBeenSet = true; m_ontapVolumeType = value; }
188 inline void SetOntapVolumeType(OntapVolumeType&& value) { m_ontapVolumeTypeHasBeenSet = true; m_ontapVolumeType = std::move(value); }
190 inline OntapVolumeConfiguration& WithOntapVolumeType(OntapVolumeType&& value) { SetOntapVolumeType(std::move(value)); return *this;}
192
194
210 inline const Aws::String& GetSnapshotPolicy() const{ return m_snapshotPolicy; }
211 inline bool SnapshotPolicyHasBeenSet() const { return m_snapshotPolicyHasBeenSet; }
212 inline void SetSnapshotPolicy(const Aws::String& value) { m_snapshotPolicyHasBeenSet = true; m_snapshotPolicy = value; }
213 inline void SetSnapshotPolicy(Aws::String&& value) { m_snapshotPolicyHasBeenSet = true; m_snapshotPolicy = std::move(value); }
214 inline void SetSnapshotPolicy(const char* value) { m_snapshotPolicyHasBeenSet = true; m_snapshotPolicy.assign(value); }
215 inline OntapVolumeConfiguration& WithSnapshotPolicy(const Aws::String& value) { SetSnapshotPolicy(value); return *this;}
216 inline OntapVolumeConfiguration& WithSnapshotPolicy(Aws::String&& value) { SetSnapshotPolicy(std::move(value)); return *this;}
217 inline OntapVolumeConfiguration& WithSnapshotPolicy(const char* value) { SetSnapshotPolicy(value); return *this;}
219
221
230 inline bool GetCopyTagsToBackups() const{ return m_copyTagsToBackups; }
231 inline bool CopyTagsToBackupsHasBeenSet() const { return m_copyTagsToBackupsHasBeenSet; }
232 inline void SetCopyTagsToBackups(bool value) { m_copyTagsToBackupsHasBeenSet = true; m_copyTagsToBackups = value; }
233 inline OntapVolumeConfiguration& WithCopyTagsToBackups(bool value) { SetCopyTagsToBackups(value); return *this;}
235
237
240 inline const SnaplockConfiguration& GetSnaplockConfiguration() const{ return m_snaplockConfiguration; }
241 inline bool SnaplockConfigurationHasBeenSet() const { return m_snaplockConfigurationHasBeenSet; }
242 inline void SetSnaplockConfiguration(const SnaplockConfiguration& value) { m_snaplockConfigurationHasBeenSet = true; m_snaplockConfiguration = value; }
243 inline void SetSnaplockConfiguration(SnaplockConfiguration&& value) { m_snaplockConfigurationHasBeenSet = true; m_snaplockConfiguration = std::move(value); }
247
249
255 inline const VolumeStyle& GetVolumeStyle() const{ return m_volumeStyle; }
256 inline bool VolumeStyleHasBeenSet() const { return m_volumeStyleHasBeenSet; }
257 inline void SetVolumeStyle(const VolumeStyle& value) { m_volumeStyleHasBeenSet = true; m_volumeStyle = value; }
258 inline void SetVolumeStyle(VolumeStyle&& value) { m_volumeStyleHasBeenSet = true; m_volumeStyle = std::move(value); }
259 inline OntapVolumeConfiguration& WithVolumeStyle(const VolumeStyle& value) { SetVolumeStyle(value); return *this;}
260 inline OntapVolumeConfiguration& WithVolumeStyle(VolumeStyle&& value) { SetVolumeStyle(std::move(value)); return *this;}
262
264
268 inline const AggregateConfiguration& GetAggregateConfiguration() const{ return m_aggregateConfiguration; }
269 inline bool AggregateConfigurationHasBeenSet() const { return m_aggregateConfigurationHasBeenSet; }
270 inline void SetAggregateConfiguration(const AggregateConfiguration& value) { m_aggregateConfigurationHasBeenSet = true; m_aggregateConfiguration = value; }
271 inline void SetAggregateConfiguration(AggregateConfiguration&& value) { m_aggregateConfigurationHasBeenSet = true; m_aggregateConfiguration = std::move(value); }
275
277
280 inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
281 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
282 inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
283 inline OntapVolumeConfiguration& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
285 private:
286
287 FlexCacheEndpointType m_flexCacheEndpointType;
288 bool m_flexCacheEndpointTypeHasBeenSet = false;
289
290 Aws::String m_junctionPath;
291 bool m_junctionPathHasBeenSet = false;
292
293 SecurityStyle m_securityStyle;
294 bool m_securityStyleHasBeenSet = false;
295
296 int m_sizeInMegabytes;
297 bool m_sizeInMegabytesHasBeenSet = false;
298
299 bool m_storageEfficiencyEnabled;
300 bool m_storageEfficiencyEnabledHasBeenSet = false;
301
302 Aws::String m_storageVirtualMachineId;
303 bool m_storageVirtualMachineIdHasBeenSet = false;
304
305 bool m_storageVirtualMachineRoot;
306 bool m_storageVirtualMachineRootHasBeenSet = false;
307
308 TieringPolicy m_tieringPolicy;
309 bool m_tieringPolicyHasBeenSet = false;
310
311 Aws::String m_uUID;
312 bool m_uUIDHasBeenSet = false;
313
314 OntapVolumeType m_ontapVolumeType;
315 bool m_ontapVolumeTypeHasBeenSet = false;
316
317 Aws::String m_snapshotPolicy;
318 bool m_snapshotPolicyHasBeenSet = false;
319
320 bool m_copyTagsToBackups;
321 bool m_copyTagsToBackupsHasBeenSet = false;
322
323 SnaplockConfiguration m_snaplockConfiguration;
324 bool m_snaplockConfigurationHasBeenSet = false;
325
326 VolumeStyle m_volumeStyle;
327 bool m_volumeStyleHasBeenSet = false;
328
329 AggregateConfiguration m_aggregateConfiguration;
330 bool m_aggregateConfigurationHasBeenSet = false;
331
332 long long m_sizeInBytes;
333 bool m_sizeInBytesHasBeenSet = false;
334 };
335
336} // namespace Model
337} // namespace FSx
338} // namespace Aws
const AggregateConfiguration & GetAggregateConfiguration() const
OntapVolumeConfiguration & WithStorageVirtualMachineRoot(bool value)
void SetOntapVolumeType(const OntapVolumeType &value)
const FlexCacheEndpointType & GetFlexCacheEndpointType() const
OntapVolumeConfiguration & WithSnapshotPolicy(const Aws::String &value)
OntapVolumeConfiguration & WithJunctionPath(const Aws::String &value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
OntapVolumeConfiguration & WithSizeInBytes(long long value)
OntapVolumeConfiguration & WithUUID(const Aws::String &value)
OntapVolumeConfiguration & WithVolumeStyle(const VolumeStyle &value)
void SetAggregateConfiguration(const AggregateConfiguration &value)
OntapVolumeConfiguration & WithAggregateConfiguration(const AggregateConfiguration &value)
OntapVolumeConfiguration & WithFlexCacheEndpointType(FlexCacheEndpointType &&value)
OntapVolumeConfiguration & WithAggregateConfiguration(AggregateConfiguration &&value)
OntapVolumeConfiguration & WithVolumeStyle(VolumeStyle &&value)
void SetStorageVirtualMachineId(const Aws::String &value)
OntapVolumeConfiguration & WithStorageEfficiencyEnabled(bool value)
OntapVolumeConfiguration & WithStorageVirtualMachineId(const Aws::String &value)
OntapVolumeConfiguration & WithCopyTagsToBackups(bool value)
OntapVolumeConfiguration & WithSnaplockConfiguration(SnaplockConfiguration &&value)
OntapVolumeConfiguration & WithTieringPolicy(const TieringPolicy &value)
OntapVolumeConfiguration & WithUUID(const char *value)
void SetSnaplockConfiguration(SnaplockConfiguration &&value)
OntapVolumeConfiguration & WithFlexCacheEndpointType(const FlexCacheEndpointType &value)
OntapVolumeConfiguration & WithStorageVirtualMachineId(Aws::String &&value)
OntapVolumeConfiguration & WithSnaplockConfiguration(const SnaplockConfiguration &value)
AWS_FSX_API OntapVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetFlexCacheEndpointType(const FlexCacheEndpointType &value)
void SetAggregateConfiguration(AggregateConfiguration &&value)
OntapVolumeConfiguration & WithUUID(Aws::String &&value)
OntapVolumeConfiguration & WithJunctionPath(const char *value)
void SetTieringPolicy(const TieringPolicy &value)
OntapVolumeConfiguration & WithOntapVolumeType(const OntapVolumeType &value)
OntapVolumeConfiguration & WithSnapshotPolicy(const char *value)
const SnaplockConfiguration & GetSnaplockConfiguration() const
void SetSecurityStyle(const SecurityStyle &value)
AWS_FSX_API OntapVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
OntapVolumeConfiguration & WithSnapshotPolicy(Aws::String &&value)
OntapVolumeConfiguration & WithSecurityStyle(const SecurityStyle &value)
OntapVolumeConfiguration & WithSecurityStyle(SecurityStyle &&value)
OntapVolumeConfiguration & WithOntapVolumeType(OntapVolumeType &&value)
OntapVolumeConfiguration & WithSizeInMegabytes(int value)
const OntapVolumeType & GetOntapVolumeType() const
void SetFlexCacheEndpointType(FlexCacheEndpointType &&value)
void SetSnaplockConfiguration(const SnaplockConfiguration &value)
OntapVolumeConfiguration & WithTieringPolicy(TieringPolicy &&value)
OntapVolumeConfiguration & WithJunctionPath(Aws::String &&value)
OntapVolumeConfiguration & WithStorageVirtualMachineId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue