AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
45
46
48
53 inline const Aws::String& GetJunctionPath() const{ return m_junctionPath; }
54 inline bool JunctionPathHasBeenSet() const { return m_junctionPathHasBeenSet; }
55 inline void SetJunctionPath(const Aws::String& value) { m_junctionPathHasBeenSet = true; m_junctionPath = value; }
56 inline void SetJunctionPath(Aws::String&& value) { m_junctionPathHasBeenSet = true; m_junctionPath = std::move(value); }
57 inline void SetJunctionPath(const char* value) { m_junctionPathHasBeenSet = true; m_junctionPath.assign(value); }
58 inline CreateOntapVolumeConfiguration& WithJunctionPath(const Aws::String& value) { SetJunctionPath(value); return *this;}
59 inline CreateOntapVolumeConfiguration& WithJunctionPath(Aws::String&& value) { SetJunctionPath(std::move(value)); return *this;}
60 inline CreateOntapVolumeConfiguration& WithJunctionPath(const char* value) { SetJunctionPath(value); return *this;}
62
64
82 inline const SecurityStyle& GetSecurityStyle() const{ return m_securityStyle; }
83 inline bool SecurityStyleHasBeenSet() const { return m_securityStyleHasBeenSet; }
84 inline void SetSecurityStyle(const SecurityStyle& value) { m_securityStyleHasBeenSet = true; m_securityStyle = value; }
85 inline void SetSecurityStyle(SecurityStyle&& value) { m_securityStyleHasBeenSet = true; m_securityStyle = std::move(value); }
87 inline CreateOntapVolumeConfiguration& WithSecurityStyle(SecurityStyle&& value) { SetSecurityStyle(std::move(value)); return *this;}
89
91
98 inline bool GetStorageEfficiencyEnabled() const{ return m_storageEfficiencyEnabled; }
99 inline bool StorageEfficiencyEnabledHasBeenSet() const { return m_storageEfficiencyEnabledHasBeenSet; }
100 inline void SetStorageEfficiencyEnabled(bool value) { m_storageEfficiencyEnabledHasBeenSet = true; m_storageEfficiencyEnabled = value; }
103
105
108 inline const Aws::String& GetStorageVirtualMachineId() const{ return m_storageVirtualMachineId; }
109 inline bool StorageVirtualMachineIdHasBeenSet() const { return m_storageVirtualMachineIdHasBeenSet; }
110 inline void SetStorageVirtualMachineId(const Aws::String& value) { m_storageVirtualMachineIdHasBeenSet = true; m_storageVirtualMachineId = value; }
111 inline void SetStorageVirtualMachineId(Aws::String&& value) { m_storageVirtualMachineIdHasBeenSet = true; m_storageVirtualMachineId = std::move(value); }
112 inline void SetStorageVirtualMachineId(const char* value) { m_storageVirtualMachineIdHasBeenSet = true; m_storageVirtualMachineId.assign(value); }
117
119
120 inline const TieringPolicy& GetTieringPolicy() const{ return m_tieringPolicy; }
121 inline bool TieringPolicyHasBeenSet() const { return m_tieringPolicyHasBeenSet; }
122 inline void SetTieringPolicy(const TieringPolicy& value) { m_tieringPolicyHasBeenSet = true; m_tieringPolicy = value; }
123 inline void SetTieringPolicy(TieringPolicy&& value) { m_tieringPolicyHasBeenSet = true; m_tieringPolicy = std::move(value); }
125 inline CreateOntapVolumeConfiguration& WithTieringPolicy(TieringPolicy&& value) { SetTieringPolicy(std::move(value)); return *this;}
127
129
139 inline const InputOntapVolumeType& GetOntapVolumeType() const{ return m_ontapVolumeType; }
140 inline bool OntapVolumeTypeHasBeenSet() const { return m_ontapVolumeTypeHasBeenSet; }
141 inline void SetOntapVolumeType(const InputOntapVolumeType& value) { m_ontapVolumeTypeHasBeenSet = true; m_ontapVolumeType = value; }
142 inline void SetOntapVolumeType(InputOntapVolumeType&& value) { m_ontapVolumeTypeHasBeenSet = true; m_ontapVolumeType = std::move(value); }
146
148
164 inline const Aws::String& GetSnapshotPolicy() const{ return m_snapshotPolicy; }
165 inline bool SnapshotPolicyHasBeenSet() const { return m_snapshotPolicyHasBeenSet; }
166 inline void SetSnapshotPolicy(const Aws::String& value) { m_snapshotPolicyHasBeenSet = true; m_snapshotPolicy = value; }
167 inline void SetSnapshotPolicy(Aws::String&& value) { m_snapshotPolicyHasBeenSet = true; m_snapshotPolicy = std::move(value); }
168 inline void SetSnapshotPolicy(const char* value) { m_snapshotPolicyHasBeenSet = true; m_snapshotPolicy.assign(value); }
170 inline CreateOntapVolumeConfiguration& WithSnapshotPolicy(Aws::String&& value) { SetSnapshotPolicy(std::move(value)); return *this;}
171 inline CreateOntapVolumeConfiguration& WithSnapshotPolicy(const char* value) { SetSnapshotPolicy(value); return *this;}
173
175
184 inline bool GetCopyTagsToBackups() const{ return m_copyTagsToBackups; }
185 inline bool CopyTagsToBackupsHasBeenSet() const { return m_copyTagsToBackupsHasBeenSet; }
186 inline void SetCopyTagsToBackups(bool value) { m_copyTagsToBackupsHasBeenSet = true; m_copyTagsToBackups = value; }
189
191
194 inline const CreateSnaplockConfiguration& GetSnaplockConfiguration() const{ return m_snaplockConfiguration; }
195 inline bool SnaplockConfigurationHasBeenSet() const { return m_snaplockConfigurationHasBeenSet; }
196 inline void SetSnaplockConfiguration(const CreateSnaplockConfiguration& value) { m_snaplockConfigurationHasBeenSet = true; m_snaplockConfiguration = value; }
197 inline void SetSnaplockConfiguration(CreateSnaplockConfiguration&& value) { m_snaplockConfigurationHasBeenSet = true; m_snaplockConfiguration = std::move(value); }
201
203
210 inline const VolumeStyle& GetVolumeStyle() const{ return m_volumeStyle; }
211 inline bool VolumeStyleHasBeenSet() const { return m_volumeStyleHasBeenSet; }
212 inline void SetVolumeStyle(const VolumeStyle& value) { m_volumeStyleHasBeenSet = true; m_volumeStyle = value; }
213 inline void SetVolumeStyle(VolumeStyle&& value) { m_volumeStyleHasBeenSet = true; m_volumeStyle = std::move(value); }
214 inline CreateOntapVolumeConfiguration& WithVolumeStyle(const VolumeStyle& value) { SetVolumeStyle(value); return *this;}
215 inline CreateOntapVolumeConfiguration& WithVolumeStyle(VolumeStyle&& value) { SetVolumeStyle(std::move(value)); return *this;}
217
219
223 inline const CreateAggregateConfiguration& GetAggregateConfiguration() const{ return m_aggregateConfiguration; }
224 inline bool AggregateConfigurationHasBeenSet() const { return m_aggregateConfigurationHasBeenSet; }
225 inline void SetAggregateConfiguration(const CreateAggregateConfiguration& value) { m_aggregateConfigurationHasBeenSet = true; m_aggregateConfiguration = value; }
226 inline void SetAggregateConfiguration(CreateAggregateConfiguration&& value) { m_aggregateConfigurationHasBeenSet = true; m_aggregateConfiguration = std::move(value); }
230
232
235 inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
236 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
237 inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
238 inline CreateOntapVolumeConfiguration& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
240 private:
241
242 Aws::String m_junctionPath;
243 bool m_junctionPathHasBeenSet = false;
244
245 SecurityStyle m_securityStyle;
246 bool m_securityStyleHasBeenSet = false;
247
248 bool m_storageEfficiencyEnabled;
249 bool m_storageEfficiencyEnabledHasBeenSet = false;
250
251 Aws::String m_storageVirtualMachineId;
252 bool m_storageVirtualMachineIdHasBeenSet = false;
253
254 TieringPolicy m_tieringPolicy;
255 bool m_tieringPolicyHasBeenSet = false;
256
257 InputOntapVolumeType m_ontapVolumeType;
258 bool m_ontapVolumeTypeHasBeenSet = false;
259
260 Aws::String m_snapshotPolicy;
261 bool m_snapshotPolicyHasBeenSet = false;
262
263 bool m_copyTagsToBackups;
264 bool m_copyTagsToBackupsHasBeenSet = false;
265
266 CreateSnaplockConfiguration m_snaplockConfiguration;
267 bool m_snaplockConfigurationHasBeenSet = false;
268
269 VolumeStyle m_volumeStyle;
270 bool m_volumeStyleHasBeenSet = false;
271
272 CreateAggregateConfiguration m_aggregateConfiguration;
273 bool m_aggregateConfigurationHasBeenSet = false;
274
275 long long m_sizeInBytes;
276 bool m_sizeInBytesHasBeenSet = false;
277 };
278
279} // namespace Model
280} // namespace FSx
281} // namespace Aws
CreateOntapVolumeConfiguration & WithJunctionPath(Aws::String &&value)
CreateOntapVolumeConfiguration & WithAggregateConfiguration(CreateAggregateConfiguration &&value)
CreateOntapVolumeConfiguration & WithOntapVolumeType(const InputOntapVolumeType &value)
CreateOntapVolumeConfiguration & WithStorageVirtualMachineId(const Aws::String &value)
CreateOntapVolumeConfiguration & WithVolumeStyle(VolumeStyle &&value)
const CreateSnaplockConfiguration & GetSnaplockConfiguration() const
CreateOntapVolumeConfiguration & WithJunctionPath(const Aws::String &value)
CreateOntapVolumeConfiguration & WithSecurityStyle(SecurityStyle &&value)
CreateOntapVolumeConfiguration & WithTieringPolicy(const TieringPolicy &value)
CreateOntapVolumeConfiguration & WithAggregateConfiguration(const CreateAggregateConfiguration &value)
CreateOntapVolumeConfiguration & WithStorageVirtualMachineId(const char *value)
CreateOntapVolumeConfiguration & WithJunctionPath(const char *value)
CreateOntapVolumeConfiguration & WithSizeInBytes(long long value)
void SetSnaplockConfiguration(const CreateSnaplockConfiguration &value)
CreateOntapVolumeConfiguration & WithSnapshotPolicy(const char *value)
CreateOntapVolumeConfiguration & WithSnapshotPolicy(Aws::String &&value)
CreateOntapVolumeConfiguration & WithStorageEfficiencyEnabled(bool value)
AWS_FSX_API CreateOntapVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
CreateOntapVolumeConfiguration & WithTieringPolicy(TieringPolicy &&value)
CreateOntapVolumeConfiguration & WithVolumeStyle(const VolumeStyle &value)
void SetOntapVolumeType(const InputOntapVolumeType &value)
const CreateAggregateConfiguration & GetAggregateConfiguration() const
CreateOntapVolumeConfiguration & WithSnaplockConfiguration(CreateSnaplockConfiguration &&value)
void SetAggregateConfiguration(const CreateAggregateConfiguration &value)
CreateOntapVolumeConfiguration & WithSnapshotPolicy(const Aws::String &value)
void SetAggregateConfiguration(CreateAggregateConfiguration &&value)
CreateOntapVolumeConfiguration & WithStorageVirtualMachineId(Aws::String &&value)
CreateOntapVolumeConfiguration & WithOntapVolumeType(InputOntapVolumeType &&value)
CreateOntapVolumeConfiguration & WithSecurityStyle(const 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 SetSnaplockConfiguration(CreateSnaplockConfiguration &&value)
CreateOntapVolumeConfiguration & WithSnaplockConfiguration(const CreateSnaplockConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue