AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateFileSystemWindowsConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/fsx/FSx_EXPORTS.h>
10#include <aws/fsx/model/DiskIopsConfiguration.h>
11#include <aws/fsx/model/SelfManagedActiveDirectoryConfiguration.h>
12#include <aws/fsx/model/WindowsAuditLogCreateConfiguration.h>
13#include <aws/fsx/model/WindowsDeploymentType.h>
14#include <aws/fsx/model/WindowsFsrmConfiguration.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
36 public:
37 AWS_FSX_API CreateFileSystemWindowsConfiguration() = default;
41
43
47 inline const Aws::String& GetActiveDirectoryId() const { return m_activeDirectoryId; }
48 inline bool ActiveDirectoryIdHasBeenSet() const { return m_activeDirectoryIdHasBeenSet; }
49 template <typename ActiveDirectoryIdT = Aws::String>
50 void SetActiveDirectoryId(ActiveDirectoryIdT&& value) {
51 m_activeDirectoryIdHasBeenSet = true;
52 m_activeDirectoryId = std::forward<ActiveDirectoryIdT>(value);
53 }
54 template <typename ActiveDirectoryIdT = Aws::String>
56 SetActiveDirectoryId(std::forward<ActiveDirectoryIdT>(value));
57 return *this;
58 }
60
62
64 return m_selfManagedActiveDirectoryConfiguration;
65 }
66 inline bool SelfManagedActiveDirectoryConfigurationHasBeenSet() const { return m_selfManagedActiveDirectoryConfigurationHasBeenSet; }
67 template <typename SelfManagedActiveDirectoryConfigurationT = SelfManagedActiveDirectoryConfiguration>
68 void SetSelfManagedActiveDirectoryConfiguration(SelfManagedActiveDirectoryConfigurationT&& value) {
69 m_selfManagedActiveDirectoryConfigurationHasBeenSet = true;
70 m_selfManagedActiveDirectoryConfiguration = std::forward<SelfManagedActiveDirectoryConfigurationT>(value);
71 }
72 template <typename SelfManagedActiveDirectoryConfigurationT = SelfManagedActiveDirectoryConfiguration>
73 CreateFileSystemWindowsConfiguration& WithSelfManagedActiveDirectoryConfiguration(SelfManagedActiveDirectoryConfigurationT&& value) {
74 SetSelfManagedActiveDirectoryConfiguration(std::forward<SelfManagedActiveDirectoryConfigurationT>(value));
75 return *this;
76 }
78
80
95 inline WindowsDeploymentType GetDeploymentType() const { return m_deploymentType; }
96 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
98 m_deploymentTypeHasBeenSet = true;
99 m_deploymentType = value;
100 }
102 SetDeploymentType(value);
103 return *this;
104 }
106
108
115 inline const Aws::String& GetPreferredSubnetId() const { return m_preferredSubnetId; }
116 inline bool PreferredSubnetIdHasBeenSet() const { return m_preferredSubnetIdHasBeenSet; }
117 template <typename PreferredSubnetIdT = Aws::String>
118 void SetPreferredSubnetId(PreferredSubnetIdT&& value) {
119 m_preferredSubnetIdHasBeenSet = true;
120 m_preferredSubnetId = std::forward<PreferredSubnetIdT>(value);
121 }
122 template <typename PreferredSubnetIdT = Aws::String>
124 SetPreferredSubnetId(std::forward<PreferredSubnetIdT>(value));
125 return *this;
126 }
128
130
135 inline int GetThroughputCapacity() const { return m_throughputCapacity; }
136 inline bool ThroughputCapacityHasBeenSet() const { return m_throughputCapacityHasBeenSet; }
137 inline void SetThroughputCapacity(int value) {
138 m_throughputCapacityHasBeenSet = true;
139 m_throughputCapacity = value;
140 }
143 return *this;
144 }
146
148
153 inline const Aws::String& GetWeeklyMaintenanceStartTime() const { return m_weeklyMaintenanceStartTime; }
154 inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; }
155 template <typename WeeklyMaintenanceStartTimeT = Aws::String>
156 void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) {
157 m_weeklyMaintenanceStartTimeHasBeenSet = true;
158 m_weeklyMaintenanceStartTime = std::forward<WeeklyMaintenanceStartTimeT>(value);
159 }
160 template <typename WeeklyMaintenanceStartTimeT = Aws::String>
162 SetWeeklyMaintenanceStartTime(std::forward<WeeklyMaintenanceStartTimeT>(value));
163 return *this;
164 }
166
168
172 inline const Aws::String& GetDailyAutomaticBackupStartTime() const { return m_dailyAutomaticBackupStartTime; }
173 inline bool DailyAutomaticBackupStartTimeHasBeenSet() const { return m_dailyAutomaticBackupStartTimeHasBeenSet; }
174 template <typename DailyAutomaticBackupStartTimeT = Aws::String>
175 void SetDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT&& value) {
176 m_dailyAutomaticBackupStartTimeHasBeenSet = true;
177 m_dailyAutomaticBackupStartTime = std::forward<DailyAutomaticBackupStartTimeT>(value);
178 }
179 template <typename DailyAutomaticBackupStartTimeT = Aws::String>
181 SetDailyAutomaticBackupStartTime(std::forward<DailyAutomaticBackupStartTimeT>(value));
182 return *this;
183 }
185
187
192 inline int GetAutomaticBackupRetentionDays() const { return m_automaticBackupRetentionDays; }
193 inline bool AutomaticBackupRetentionDaysHasBeenSet() const { return m_automaticBackupRetentionDaysHasBeenSet; }
194 inline void SetAutomaticBackupRetentionDays(int value) {
195 m_automaticBackupRetentionDaysHasBeenSet = true;
196 m_automaticBackupRetentionDays = value;
197 }
200 return *this;
201 }
203
205
214 inline bool GetCopyTagsToBackups() const { return m_copyTagsToBackups; }
215 inline bool CopyTagsToBackupsHasBeenSet() const { return m_copyTagsToBackupsHasBeenSet; }
216 inline void SetCopyTagsToBackups(bool value) {
217 m_copyTagsToBackupsHasBeenSet = true;
218 m_copyTagsToBackups = value;
219 }
222 return *this;
223 }
225
227
249 inline const Aws::Vector<Aws::String>& GetAliases() const { return m_aliases; }
250 inline bool AliasesHasBeenSet() const { return m_aliasesHasBeenSet; }
251 template <typename AliasesT = Aws::Vector<Aws::String>>
252 void SetAliases(AliasesT&& value) {
253 m_aliasesHasBeenSet = true;
254 m_aliases = std::forward<AliasesT>(value);
255 }
256 template <typename AliasesT = Aws::Vector<Aws::String>>
258 SetAliases(std::forward<AliasesT>(value));
259 return *this;
260 }
261 template <typename AliasesT = Aws::String>
263 m_aliasesHasBeenSet = true;
264 m_aliases.emplace_back(std::forward<AliasesT>(value));
265 return *this;
266 }
268
270
275 inline const WindowsAuditLogCreateConfiguration& GetAuditLogConfiguration() const { return m_auditLogConfiguration; }
276 inline bool AuditLogConfigurationHasBeenSet() const { return m_auditLogConfigurationHasBeenSet; }
277 template <typename AuditLogConfigurationT = WindowsAuditLogCreateConfiguration>
278 void SetAuditLogConfiguration(AuditLogConfigurationT&& value) {
279 m_auditLogConfigurationHasBeenSet = true;
280 m_auditLogConfiguration = std::forward<AuditLogConfigurationT>(value);
281 }
282 template <typename AuditLogConfigurationT = WindowsAuditLogCreateConfiguration>
284 SetAuditLogConfiguration(std::forward<AuditLogConfigurationT>(value));
285 return *this;
286 }
288
290
297 inline const DiskIopsConfiguration& GetDiskIopsConfiguration() const { return m_diskIopsConfiguration; }
298 inline bool DiskIopsConfigurationHasBeenSet() const { return m_diskIopsConfigurationHasBeenSet; }
299 template <typename DiskIopsConfigurationT = DiskIopsConfiguration>
300 void SetDiskIopsConfiguration(DiskIopsConfigurationT&& value) {
301 m_diskIopsConfigurationHasBeenSet = true;
302 m_diskIopsConfiguration = std::forward<DiskIopsConfigurationT>(value);
303 }
304 template <typename DiskIopsConfigurationT = DiskIopsConfiguration>
306 SetDiskIopsConfiguration(std::forward<DiskIopsConfigurationT>(value));
307 return *this;
308 }
310
312
316 inline const WindowsFsrmConfiguration& GetFsrmConfiguration() const { return m_fsrmConfiguration; }
317 inline bool FsrmConfigurationHasBeenSet() const { return m_fsrmConfigurationHasBeenSet; }
318 template <typename FsrmConfigurationT = WindowsFsrmConfiguration>
319 void SetFsrmConfiguration(FsrmConfigurationT&& value) {
320 m_fsrmConfigurationHasBeenSet = true;
321 m_fsrmConfiguration = std::forward<FsrmConfigurationT>(value);
322 }
323 template <typename FsrmConfigurationT = WindowsFsrmConfiguration>
325 SetFsrmConfiguration(std::forward<FsrmConfigurationT>(value));
326 return *this;
327 }
329 private:
330 Aws::String m_activeDirectoryId;
331
332 SelfManagedActiveDirectoryConfiguration m_selfManagedActiveDirectoryConfiguration;
333
335
336 Aws::String m_preferredSubnetId;
337
338 int m_throughputCapacity{0};
339
340 Aws::String m_weeklyMaintenanceStartTime;
341
342 Aws::String m_dailyAutomaticBackupStartTime;
343
344 int m_automaticBackupRetentionDays{0};
345
346 bool m_copyTagsToBackups{false};
347
348 Aws::Vector<Aws::String> m_aliases;
349
350 WindowsAuditLogCreateConfiguration m_auditLogConfiguration;
351
352 DiskIopsConfiguration m_diskIopsConfiguration;
353
354 WindowsFsrmConfiguration m_fsrmConfiguration;
355 bool m_activeDirectoryIdHasBeenSet = false;
356 bool m_selfManagedActiveDirectoryConfigurationHasBeenSet = false;
357 bool m_deploymentTypeHasBeenSet = false;
358 bool m_preferredSubnetIdHasBeenSet = false;
359 bool m_throughputCapacityHasBeenSet = false;
360 bool m_weeklyMaintenanceStartTimeHasBeenSet = false;
361 bool m_dailyAutomaticBackupStartTimeHasBeenSet = false;
362 bool m_automaticBackupRetentionDaysHasBeenSet = false;
363 bool m_copyTagsToBackupsHasBeenSet = false;
364 bool m_aliasesHasBeenSet = false;
365 bool m_auditLogConfigurationHasBeenSet = false;
366 bool m_diskIopsConfigurationHasBeenSet = false;
367 bool m_fsrmConfigurationHasBeenSet = false;
368};
369
370} // namespace Model
371} // namespace FSx
372} // namespace Aws
CreateFileSystemWindowsConfiguration & WithAuditLogConfiguration(AuditLogConfigurationT &&value)
const SelfManagedActiveDirectoryConfiguration & GetSelfManagedActiveDirectoryConfiguration() const
CreateFileSystemWindowsConfiguration & WithDiskIopsConfiguration(DiskIopsConfigurationT &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
CreateFileSystemWindowsConfiguration & WithThroughputCapacity(int value)
CreateFileSystemWindowsConfiguration & WithDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT &&value)
const WindowsAuditLogCreateConfiguration & GetAuditLogConfiguration() const
AWS_FSX_API CreateFileSystemWindowsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSelfManagedActiveDirectoryConfiguration(SelfManagedActiveDirectoryConfigurationT &&value)
AWS_FSX_API CreateFileSystemWindowsConfiguration(Aws::Utils::Json::JsonView jsonValue)
CreateFileSystemWindowsConfiguration & WithCopyTagsToBackups(bool value)
CreateFileSystemWindowsConfiguration & WithPreferredSubnetId(PreferredSubnetIdT &&value)
CreateFileSystemWindowsConfiguration & WithActiveDirectoryId(ActiveDirectoryIdT &&value)
CreateFileSystemWindowsConfiguration & WithFsrmConfiguration(FsrmConfigurationT &&value)
CreateFileSystemWindowsConfiguration & AddAliases(AliasesT &&value)
CreateFileSystemWindowsConfiguration & WithWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT &&value)
CreateFileSystemWindowsConfiguration & WithAliases(AliasesT &&value)
CreateFileSystemWindowsConfiguration & WithAutomaticBackupRetentionDays(int value)
void SetDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT &&value)
CreateFileSystemWindowsConfiguration & WithSelfManagedActiveDirectoryConfiguration(SelfManagedActiveDirectoryConfigurationT &&value)
CreateFileSystemWindowsConfiguration & WithDeploymentType(WindowsDeploymentType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue