AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateFileSystemOntapConfiguration.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/OntapDeploymentType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FSx {
23namespace Model {
24
32 public:
33 AWS_FSX_API CreateFileSystemOntapConfiguration() = default;
37
39
40 inline int GetAutomaticBackupRetentionDays() const { return m_automaticBackupRetentionDays; }
41 inline bool AutomaticBackupRetentionDaysHasBeenSet() const { return m_automaticBackupRetentionDaysHasBeenSet; }
42 inline void SetAutomaticBackupRetentionDays(int value) {
43 m_automaticBackupRetentionDaysHasBeenSet = true;
44 m_automaticBackupRetentionDays = value;
45 }
48 return *this;
49 }
51
53
54 inline const Aws::String& GetDailyAutomaticBackupStartTime() const { return m_dailyAutomaticBackupStartTime; }
55 inline bool DailyAutomaticBackupStartTimeHasBeenSet() const { return m_dailyAutomaticBackupStartTimeHasBeenSet; }
56 template <typename DailyAutomaticBackupStartTimeT = Aws::String>
57 void SetDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT&& value) {
58 m_dailyAutomaticBackupStartTimeHasBeenSet = true;
59 m_dailyAutomaticBackupStartTime = std::forward<DailyAutomaticBackupStartTimeT>(value);
60 }
61 template <typename DailyAutomaticBackupStartTimeT = Aws::String>
63 SetDailyAutomaticBackupStartTime(std::forward<DailyAutomaticBackupStartTimeT>(value));
64 return *this;
65 }
67
69
86 inline OntapDeploymentType GetDeploymentType() const { return m_deploymentType; }
87 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
89 m_deploymentTypeHasBeenSet = true;
90 m_deploymentType = value;
91 }
93 SetDeploymentType(value);
94 return *this;
95 }
97
99
109 inline const Aws::String& GetEndpointIpAddressRange() const { return m_endpointIpAddressRange; }
110 inline bool EndpointIpAddressRangeHasBeenSet() const { return m_endpointIpAddressRangeHasBeenSet; }
111 template <typename EndpointIpAddressRangeT = Aws::String>
112 void SetEndpointIpAddressRange(EndpointIpAddressRangeT&& value) {
113 m_endpointIpAddressRangeHasBeenSet = true;
114 m_endpointIpAddressRange = std::forward<EndpointIpAddressRangeT>(value);
115 }
116 template <typename EndpointIpAddressRangeT = Aws::String>
118 SetEndpointIpAddressRange(std::forward<EndpointIpAddressRangeT>(value));
119 return *this;
120 }
122
124
129 inline const Aws::String& GetFsxAdminPassword() const { return m_fsxAdminPassword; }
130 inline bool FsxAdminPasswordHasBeenSet() const { return m_fsxAdminPasswordHasBeenSet; }
131 template <typename FsxAdminPasswordT = Aws::String>
132 void SetFsxAdminPassword(FsxAdminPasswordT&& value) {
133 m_fsxAdminPasswordHasBeenSet = true;
134 m_fsxAdminPassword = std::forward<FsxAdminPasswordT>(value);
135 }
136 template <typename FsxAdminPasswordT = Aws::String>
138 SetFsxAdminPassword(std::forward<FsxAdminPasswordT>(value));
139 return *this;
140 }
142
144
147 inline const DiskIopsConfiguration& GetDiskIopsConfiguration() const { return m_diskIopsConfiguration; }
148 inline bool DiskIopsConfigurationHasBeenSet() const { return m_diskIopsConfigurationHasBeenSet; }
149 template <typename DiskIopsConfigurationT = DiskIopsConfiguration>
150 void SetDiskIopsConfiguration(DiskIopsConfigurationT&& value) {
151 m_diskIopsConfigurationHasBeenSet = true;
152 m_diskIopsConfiguration = std::forward<DiskIopsConfigurationT>(value);
153 }
154 template <typename DiskIopsConfigurationT = DiskIopsConfiguration>
156 SetDiskIopsConfiguration(std::forward<DiskIopsConfigurationT>(value));
157 return *this;
158 }
160
162
167 inline const Aws::String& GetPreferredSubnetId() const { return m_preferredSubnetId; }
168 inline bool PreferredSubnetIdHasBeenSet() const { return m_preferredSubnetIdHasBeenSet; }
169 template <typename PreferredSubnetIdT = Aws::String>
170 void SetPreferredSubnetId(PreferredSubnetIdT&& value) {
171 m_preferredSubnetIdHasBeenSet = true;
172 m_preferredSubnetId = std::forward<PreferredSubnetIdT>(value);
173 }
174 template <typename PreferredSubnetIdT = Aws::String>
176 SetPreferredSubnetId(std::forward<PreferredSubnetIdT>(value));
177 return *this;
178 }
180
182
193 inline const Aws::Vector<Aws::String>& GetRouteTableIds() const { return m_routeTableIds; }
194 inline bool RouteTableIdsHasBeenSet() const { return m_routeTableIdsHasBeenSet; }
195 template <typename RouteTableIdsT = Aws::Vector<Aws::String>>
196 void SetRouteTableIds(RouteTableIdsT&& value) {
197 m_routeTableIdsHasBeenSet = true;
198 m_routeTableIds = std::forward<RouteTableIdsT>(value);
199 }
200 template <typename RouteTableIdsT = Aws::Vector<Aws::String>>
202 SetRouteTableIds(std::forward<RouteTableIdsT>(value));
203 return *this;
204 }
205 template <typename RouteTableIdsT = Aws::String>
207 m_routeTableIdsHasBeenSet = true;
208 m_routeTableIds.emplace_back(std::forward<RouteTableIdsT>(value));
209 return *this;
210 }
212
214
226 inline int GetThroughputCapacity() const { return m_throughputCapacity; }
227 inline bool ThroughputCapacityHasBeenSet() const { return m_throughputCapacityHasBeenSet; }
228 inline void SetThroughputCapacity(int value) {
229 m_throughputCapacityHasBeenSet = true;
230 m_throughputCapacity = value;
231 }
234 return *this;
235 }
237
239
240 inline const Aws::String& GetWeeklyMaintenanceStartTime() const { return m_weeklyMaintenanceStartTime; }
241 inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; }
242 template <typename WeeklyMaintenanceStartTimeT = Aws::String>
243 void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) {
244 m_weeklyMaintenanceStartTimeHasBeenSet = true;
245 m_weeklyMaintenanceStartTime = std::forward<WeeklyMaintenanceStartTimeT>(value);
246 }
247 template <typename WeeklyMaintenanceStartTimeT = Aws::String>
249 SetWeeklyMaintenanceStartTime(std::forward<WeeklyMaintenanceStartTimeT>(value));
250 return *this;
251 }
253
255
275 inline int GetHAPairs() const { return m_hAPairs; }
276 inline bool HAPairsHasBeenSet() const { return m_hAPairsHasBeenSet; }
277 inline void SetHAPairs(int value) {
278 m_hAPairsHasBeenSet = true;
279 m_hAPairs = value;
280 }
282 SetHAPairs(value);
283 return *this;
284 }
286
288
308 inline int GetThroughputCapacityPerHAPair() const { return m_throughputCapacityPerHAPair; }
309 inline bool ThroughputCapacityPerHAPairHasBeenSet() const { return m_throughputCapacityPerHAPairHasBeenSet; }
310 inline void SetThroughputCapacityPerHAPair(int value) {
311 m_throughputCapacityPerHAPairHasBeenSet = true;
312 m_throughputCapacityPerHAPair = value;
313 }
316 return *this;
317 }
319
321
329 inline const Aws::String& GetEndpointIpv6AddressRange() const { return m_endpointIpv6AddressRange; }
330 inline bool EndpointIpv6AddressRangeHasBeenSet() const { return m_endpointIpv6AddressRangeHasBeenSet; }
331 template <typename EndpointIpv6AddressRangeT = Aws::String>
332 void SetEndpointIpv6AddressRange(EndpointIpv6AddressRangeT&& value) {
333 m_endpointIpv6AddressRangeHasBeenSet = true;
334 m_endpointIpv6AddressRange = std::forward<EndpointIpv6AddressRangeT>(value);
335 }
336 template <typename EndpointIpv6AddressRangeT = Aws::String>
338 SetEndpointIpv6AddressRange(std::forward<EndpointIpv6AddressRangeT>(value));
339 return *this;
340 }
342 private:
343 int m_automaticBackupRetentionDays{0};
344
345 Aws::String m_dailyAutomaticBackupStartTime;
346
348
349 Aws::String m_endpointIpAddressRange;
350
351 Aws::String m_fsxAdminPassword;
352
353 DiskIopsConfiguration m_diskIopsConfiguration;
354
355 Aws::String m_preferredSubnetId;
356
357 Aws::Vector<Aws::String> m_routeTableIds;
358
359 int m_throughputCapacity{0};
360
361 Aws::String m_weeklyMaintenanceStartTime;
362
363 int m_hAPairs{0};
364
365 int m_throughputCapacityPerHAPair{0};
366
367 Aws::String m_endpointIpv6AddressRange;
368 bool m_automaticBackupRetentionDaysHasBeenSet = false;
369 bool m_dailyAutomaticBackupStartTimeHasBeenSet = false;
370 bool m_deploymentTypeHasBeenSet = false;
371 bool m_endpointIpAddressRangeHasBeenSet = false;
372 bool m_fsxAdminPasswordHasBeenSet = false;
373 bool m_diskIopsConfigurationHasBeenSet = false;
374 bool m_preferredSubnetIdHasBeenSet = false;
375 bool m_routeTableIdsHasBeenSet = false;
376 bool m_throughputCapacityHasBeenSet = false;
377 bool m_weeklyMaintenanceStartTimeHasBeenSet = false;
378 bool m_hAPairsHasBeenSet = false;
379 bool m_throughputCapacityPerHAPairHasBeenSet = false;
380 bool m_endpointIpv6AddressRangeHasBeenSet = false;
381};
382
383} // namespace Model
384} // namespace FSx
385} // namespace Aws
AWS_FSX_API CreateFileSystemOntapConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT &&value)
CreateFileSystemOntapConfiguration & WithEndpointIpv6AddressRange(EndpointIpv6AddressRangeT &&value)
CreateFileSystemOntapConfiguration & WithHAPairs(int value)
CreateFileSystemOntapConfiguration & WithThroughputCapacity(int value)
CreateFileSystemOntapConfiguration & WithDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT &&value)
void SetDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT &&value)
CreateFileSystemOntapConfiguration & AddRouteTableIds(RouteTableIdsT &&value)
CreateFileSystemOntapConfiguration & WithRouteTableIds(RouteTableIdsT &&value)
CreateFileSystemOntapConfiguration & WithAutomaticBackupRetentionDays(int value)
AWS_FSX_API CreateFileSystemOntapConfiguration(Aws::Utils::Json::JsonView jsonValue)
CreateFileSystemOntapConfiguration & WithEndpointIpAddressRange(EndpointIpAddressRangeT &&value)
CreateFileSystemOntapConfiguration & WithThroughputCapacityPerHAPair(int value)
CreateFileSystemOntapConfiguration & WithPreferredSubnetId(PreferredSubnetIdT &&value)
CreateFileSystemOntapConfiguration & WithDeploymentType(OntapDeploymentType value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
CreateFileSystemOntapConfiguration & WithDiskIopsConfiguration(DiskIopsConfigurationT &&value)
CreateFileSystemOntapConfiguration & WithFsxAdminPassword(FsxAdminPasswordT &&value)
CreateFileSystemOntapConfiguration & WithWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT &&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