AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateFileSystemLustreConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fsx/FSx_EXPORTS.h>
9#include <aws/fsx/model/AutoImportPolicyType.h>
10#include <aws/fsx/model/DataCompressionType.h>
11#include <aws/fsx/model/LustreLogCreateConfiguration.h>
12#include <aws/fsx/model/LustreReadCacheConfiguration.h>
13#include <aws/fsx/model/LustreRootSquashConfiguration.h>
14#include <aws/fsx/model/UpdateFileSystemLustreMetadataConfiguration.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace FSx {
26namespace Model {
27
35 public:
36 AWS_FSX_API UpdateFileSystemLustreConfiguration() = default;
40
42
47 inline const Aws::String& GetWeeklyMaintenanceStartTime() const { return m_weeklyMaintenanceStartTime; }
48 inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; }
49 template <typename WeeklyMaintenanceStartTimeT = Aws::String>
50 void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) {
51 m_weeklyMaintenanceStartTimeHasBeenSet = true;
52 m_weeklyMaintenanceStartTime = std::forward<WeeklyMaintenanceStartTimeT>(value);
53 }
54 template <typename WeeklyMaintenanceStartTimeT = Aws::String>
56 SetWeeklyMaintenanceStartTime(std::forward<WeeklyMaintenanceStartTimeT>(value));
57 return *this;
58 }
60
62
63 inline const Aws::String& GetDailyAutomaticBackupStartTime() const { return m_dailyAutomaticBackupStartTime; }
64 inline bool DailyAutomaticBackupStartTimeHasBeenSet() const { return m_dailyAutomaticBackupStartTimeHasBeenSet; }
65 template <typename DailyAutomaticBackupStartTimeT = Aws::String>
66 void SetDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT&& value) {
67 m_dailyAutomaticBackupStartTimeHasBeenSet = true;
68 m_dailyAutomaticBackupStartTime = std::forward<DailyAutomaticBackupStartTimeT>(value);
69 }
70 template <typename DailyAutomaticBackupStartTimeT = Aws::String>
72 SetDailyAutomaticBackupStartTime(std::forward<DailyAutomaticBackupStartTimeT>(value));
73 return *this;
74 }
76
78
83 inline int GetAutomaticBackupRetentionDays() const { return m_automaticBackupRetentionDays; }
84 inline bool AutomaticBackupRetentionDaysHasBeenSet() const { return m_automaticBackupRetentionDaysHasBeenSet; }
85 inline void SetAutomaticBackupRetentionDays(int value) {
86 m_automaticBackupRetentionDaysHasBeenSet = true;
87 m_automaticBackupRetentionDays = value;
88 }
91 return *this;
92 }
94
96
118 inline AutoImportPolicyType GetAutoImportPolicy() const { return m_autoImportPolicy; }
119 inline bool AutoImportPolicyHasBeenSet() const { return m_autoImportPolicyHasBeenSet; }
121 m_autoImportPolicyHasBeenSet = true;
122 m_autoImportPolicy = value;
123 }
125 SetAutoImportPolicy(value);
126 return *this;
127 }
129
131
142 inline DataCompressionType GetDataCompressionType() const { return m_dataCompressionType; }
143 inline bool DataCompressionTypeHasBeenSet() const { return m_dataCompressionTypeHasBeenSet; }
145 m_dataCompressionTypeHasBeenSet = true;
146 m_dataCompressionType = value;
147 }
150 return *this;
151 }
153
155
161 inline const LustreLogCreateConfiguration& GetLogConfiguration() const { return m_logConfiguration; }
162 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
163 template <typename LogConfigurationT = LustreLogCreateConfiguration>
164 void SetLogConfiguration(LogConfigurationT&& value) {
165 m_logConfigurationHasBeenSet = true;
166 m_logConfiguration = std::forward<LogConfigurationT>(value);
167 }
168 template <typename LogConfigurationT = LustreLogCreateConfiguration>
170 SetLogConfiguration(std::forward<LogConfigurationT>(value));
171 return *this;
172 }
174
176
181 inline const LustreRootSquashConfiguration& GetRootSquashConfiguration() const { return m_rootSquashConfiguration; }
182 inline bool RootSquashConfigurationHasBeenSet() const { return m_rootSquashConfigurationHasBeenSet; }
183 template <typename RootSquashConfigurationT = LustreRootSquashConfiguration>
184 void SetRootSquashConfiguration(RootSquashConfigurationT&& value) {
185 m_rootSquashConfigurationHasBeenSet = true;
186 m_rootSquashConfiguration = std::forward<RootSquashConfigurationT>(value);
187 }
188 template <typename RootSquashConfigurationT = LustreRootSquashConfiguration>
190 SetRootSquashConfiguration(std::forward<RootSquashConfigurationT>(value));
191 return *this;
192 }
194
196
208 inline int GetPerUnitStorageThroughput() const { return m_perUnitStorageThroughput; }
209 inline bool PerUnitStorageThroughputHasBeenSet() const { return m_perUnitStorageThroughputHasBeenSet; }
210 inline void SetPerUnitStorageThroughput(int value) {
211 m_perUnitStorageThroughputHasBeenSet = true;
212 m_perUnitStorageThroughput = value;
213 }
216 return *this;
217 }
219
221
227 inline const UpdateFileSystemLustreMetadataConfiguration& GetMetadataConfiguration() const { return m_metadataConfiguration; }
228 inline bool MetadataConfigurationHasBeenSet() const { return m_metadataConfigurationHasBeenSet; }
229 template <typename MetadataConfigurationT = UpdateFileSystemLustreMetadataConfiguration>
230 void SetMetadataConfiguration(MetadataConfigurationT&& value) {
231 m_metadataConfigurationHasBeenSet = true;
232 m_metadataConfiguration = std::forward<MetadataConfigurationT>(value);
233 }
234 template <typename MetadataConfigurationT = UpdateFileSystemLustreMetadataConfiguration>
236 SetMetadataConfiguration(std::forward<MetadataConfigurationT>(value));
237 return *this;
238 }
240
242
248 inline int GetThroughputCapacity() const { return m_throughputCapacity; }
249 inline bool ThroughputCapacityHasBeenSet() const { return m_throughputCapacityHasBeenSet; }
250 inline void SetThroughputCapacity(int value) {
251 m_throughputCapacityHasBeenSet = true;
252 m_throughputCapacity = value;
253 }
256 return *this;
257 }
259
261
265 inline const LustreReadCacheConfiguration& GetDataReadCacheConfiguration() const { return m_dataReadCacheConfiguration; }
266 inline bool DataReadCacheConfigurationHasBeenSet() const { return m_dataReadCacheConfigurationHasBeenSet; }
267 template <typename DataReadCacheConfigurationT = LustreReadCacheConfiguration>
268 void SetDataReadCacheConfiguration(DataReadCacheConfigurationT&& value) {
269 m_dataReadCacheConfigurationHasBeenSet = true;
270 m_dataReadCacheConfiguration = std::forward<DataReadCacheConfigurationT>(value);
271 }
272 template <typename DataReadCacheConfigurationT = LustreReadCacheConfiguration>
274 SetDataReadCacheConfiguration(std::forward<DataReadCacheConfigurationT>(value));
275 return *this;
276 }
278 private:
279 Aws::String m_weeklyMaintenanceStartTime;
280
281 Aws::String m_dailyAutomaticBackupStartTime;
282
283 int m_automaticBackupRetentionDays{0};
284
286
288
289 LustreLogCreateConfiguration m_logConfiguration;
290
291 LustreRootSquashConfiguration m_rootSquashConfiguration;
292
293 int m_perUnitStorageThroughput{0};
294
295 UpdateFileSystemLustreMetadataConfiguration m_metadataConfiguration;
296
297 int m_throughputCapacity{0};
298
299 LustreReadCacheConfiguration m_dataReadCacheConfiguration;
300 bool m_weeklyMaintenanceStartTimeHasBeenSet = false;
301 bool m_dailyAutomaticBackupStartTimeHasBeenSet = false;
302 bool m_automaticBackupRetentionDaysHasBeenSet = false;
303 bool m_autoImportPolicyHasBeenSet = false;
304 bool m_dataCompressionTypeHasBeenSet = false;
305 bool m_logConfigurationHasBeenSet = false;
306 bool m_rootSquashConfigurationHasBeenSet = false;
307 bool m_perUnitStorageThroughputHasBeenSet = false;
308 bool m_metadataConfigurationHasBeenSet = false;
309 bool m_throughputCapacityHasBeenSet = false;
310 bool m_dataReadCacheConfigurationHasBeenSet = false;
311};
312
313} // namespace Model
314} // namespace FSx
315} // namespace Aws
AWS_FSX_API UpdateFileSystemLustreConfiguration(Aws::Utils::Json::JsonView jsonValue)
UpdateFileSystemLustreConfiguration & WithDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT &&value)
UpdateFileSystemLustreConfiguration & WithPerUnitStorageThroughput(int value)
const UpdateFileSystemLustreMetadataConfiguration & GetMetadataConfiguration() const
UpdateFileSystemLustreConfiguration & WithThroughputCapacity(int value)
UpdateFileSystemLustreConfiguration & WithWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT &&value)
const LustreReadCacheConfiguration & GetDataReadCacheConfiguration() const
void SetDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT &&value)
const LustreRootSquashConfiguration & GetRootSquashConfiguration() const
UpdateFileSystemLustreConfiguration & WithDataReadCacheConfiguration(DataReadCacheConfigurationT &&value)
UpdateFileSystemLustreConfiguration & WithLogConfiguration(LogConfigurationT &&value)
UpdateFileSystemLustreConfiguration & WithAutoImportPolicy(AutoImportPolicyType value)
AWS_FSX_API UpdateFileSystemLustreConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateFileSystemLustreConfiguration & WithAutomaticBackupRetentionDays(int value)
void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT &&value)
UpdateFileSystemLustreConfiguration & WithRootSquashConfiguration(RootSquashConfigurationT &&value)
UpdateFileSystemLustreConfiguration & WithMetadataConfiguration(MetadataConfigurationT &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateFileSystemLustreConfiguration & WithDataCompressionType(DataCompressionType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue