AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
OntapFileSystemConfiguration.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/FileSystemEndpoints.h>
12#include <aws/fsx/model/OntapDeploymentType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FSx {
24namespace Model {
25
33 public:
34 AWS_FSX_API OntapFileSystemConfiguration() = default;
38
40
41 inline int GetAutomaticBackupRetentionDays() const { return m_automaticBackupRetentionDays; }
42 inline bool AutomaticBackupRetentionDaysHasBeenSet() const { return m_automaticBackupRetentionDaysHasBeenSet; }
43 inline void SetAutomaticBackupRetentionDays(int value) {
44 m_automaticBackupRetentionDaysHasBeenSet = true;
45 m_automaticBackupRetentionDays = value;
46 }
49 return *this;
50 }
52
54
55 inline const Aws::String& GetDailyAutomaticBackupStartTime() const { return m_dailyAutomaticBackupStartTime; }
56 inline bool DailyAutomaticBackupStartTimeHasBeenSet() const { return m_dailyAutomaticBackupStartTimeHasBeenSet; }
57 template <typename DailyAutomaticBackupStartTimeT = Aws::String>
58 void SetDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT&& value) {
59 m_dailyAutomaticBackupStartTimeHasBeenSet = true;
60 m_dailyAutomaticBackupStartTime = std::forward<DailyAutomaticBackupStartTimeT>(value);
61 }
62 template <typename DailyAutomaticBackupStartTimeT = Aws::String>
63 OntapFileSystemConfiguration& WithDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT&& value) {
64 SetDailyAutomaticBackupStartTime(std::forward<DailyAutomaticBackupStartTimeT>(value));
65 return *this;
66 }
68
70
87 inline OntapDeploymentType GetDeploymentType() const { return m_deploymentType; }
88 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
90 m_deploymentTypeHasBeenSet = true;
91 m_deploymentType = value;
92 }
94 SetDeploymentType(value);
95 return *this;
96 }
98
100
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 FileSystemEndpoints& GetEndpoints() const { return m_endpoints; }
130 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
131 template <typename EndpointsT = FileSystemEndpoints>
132 void SetEndpoints(EndpointsT&& value) {
133 m_endpointsHasBeenSet = true;
134 m_endpoints = std::forward<EndpointsT>(value);
135 }
136 template <typename EndpointsT = FileSystemEndpoints>
138 SetEndpoints(std::forward<EndpointsT>(value));
139 return *this;
140 }
142
144
148 inline const DiskIopsConfiguration& GetDiskIopsConfiguration() const { return m_diskIopsConfiguration; }
149 inline bool DiskIopsConfigurationHasBeenSet() const { return m_diskIopsConfigurationHasBeenSet; }
150 template <typename DiskIopsConfigurationT = DiskIopsConfiguration>
151 void SetDiskIopsConfiguration(DiskIopsConfigurationT&& value) {
152 m_diskIopsConfigurationHasBeenSet = true;
153 m_diskIopsConfiguration = std::forward<DiskIopsConfigurationT>(value);
154 }
155 template <typename DiskIopsConfigurationT = DiskIopsConfiguration>
157 SetDiskIopsConfiguration(std::forward<DiskIopsConfigurationT>(value));
158 return *this;
159 }
161
163
164 inline const Aws::String& GetPreferredSubnetId() const { return m_preferredSubnetId; }
165 inline bool PreferredSubnetIdHasBeenSet() const { return m_preferredSubnetIdHasBeenSet; }
166 template <typename PreferredSubnetIdT = Aws::String>
167 void SetPreferredSubnetId(PreferredSubnetIdT&& value) {
168 m_preferredSubnetIdHasBeenSet = true;
169 m_preferredSubnetId = std::forward<PreferredSubnetIdT>(value);
170 }
171 template <typename PreferredSubnetIdT = Aws::String>
173 SetPreferredSubnetId(std::forward<PreferredSubnetIdT>(value));
174 return *this;
175 }
177
179
183 inline const Aws::Vector<Aws::String>& GetRouteTableIds() const { return m_routeTableIds; }
184 inline bool RouteTableIdsHasBeenSet() const { return m_routeTableIdsHasBeenSet; }
185 template <typename RouteTableIdsT = Aws::Vector<Aws::String>>
186 void SetRouteTableIds(RouteTableIdsT&& value) {
187 m_routeTableIdsHasBeenSet = true;
188 m_routeTableIds = std::forward<RouteTableIdsT>(value);
189 }
190 template <typename RouteTableIdsT = Aws::Vector<Aws::String>>
192 SetRouteTableIds(std::forward<RouteTableIdsT>(value));
193 return *this;
194 }
195 template <typename RouteTableIdsT = Aws::String>
197 m_routeTableIdsHasBeenSet = true;
198 m_routeTableIds.emplace_back(std::forward<RouteTableIdsT>(value));
199 return *this;
200 }
202
204
205 inline int GetThroughputCapacity() const { return m_throughputCapacity; }
206 inline bool ThroughputCapacityHasBeenSet() const { return m_throughputCapacityHasBeenSet; }
207 inline void SetThroughputCapacity(int value) {
208 m_throughputCapacityHasBeenSet = true;
209 m_throughputCapacity = value;
210 }
213 return *this;
214 }
216
218
219 inline const Aws::String& GetWeeklyMaintenanceStartTime() const { return m_weeklyMaintenanceStartTime; }
220 inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; }
221 template <typename WeeklyMaintenanceStartTimeT = Aws::String>
222 void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) {
223 m_weeklyMaintenanceStartTimeHasBeenSet = true;
224 m_weeklyMaintenanceStartTime = std::forward<WeeklyMaintenanceStartTimeT>(value);
225 }
226 template <typename WeeklyMaintenanceStartTimeT = Aws::String>
227 OntapFileSystemConfiguration& WithWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) {
228 SetWeeklyMaintenanceStartTime(std::forward<WeeklyMaintenanceStartTimeT>(value));
229 return *this;
230 }
232
234
238 inline const Aws::String& GetFsxAdminPassword() const { return m_fsxAdminPassword; }
239 inline bool FsxAdminPasswordHasBeenSet() const { return m_fsxAdminPasswordHasBeenSet; }
240 template <typename FsxAdminPasswordT = Aws::String>
241 void SetFsxAdminPassword(FsxAdminPasswordT&& value) {
242 m_fsxAdminPasswordHasBeenSet = true;
243 m_fsxAdminPassword = std::forward<FsxAdminPasswordT>(value);
244 }
245 template <typename FsxAdminPasswordT = Aws::String>
247 SetFsxAdminPassword(std::forward<FsxAdminPasswordT>(value));
248 return *this;
249 }
251
253
266 inline int GetHAPairs() const { return m_hAPairs; }
267 inline bool HAPairsHasBeenSet() const { return m_hAPairsHasBeenSet; }
268 inline void SetHAPairs(int value) {
269 m_hAPairsHasBeenSet = true;
270 m_hAPairs = value;
271 }
273 SetHAPairs(value);
274 return *this;
275 }
277
279
299 inline int GetThroughputCapacityPerHAPair() const { return m_throughputCapacityPerHAPair; }
300 inline bool ThroughputCapacityPerHAPairHasBeenSet() const { return m_throughputCapacityPerHAPairHasBeenSet; }
301 inline void SetThroughputCapacityPerHAPair(int value) {
302 m_throughputCapacityPerHAPairHasBeenSet = true;
303 m_throughputCapacityPerHAPair = value;
304 }
307 return *this;
308 }
310
312
320 inline const Aws::String& GetEndpointIpv6AddressRange() const { return m_endpointIpv6AddressRange; }
321 inline bool EndpointIpv6AddressRangeHasBeenSet() const { return m_endpointIpv6AddressRangeHasBeenSet; }
322 template <typename EndpointIpv6AddressRangeT = Aws::String>
323 void SetEndpointIpv6AddressRange(EndpointIpv6AddressRangeT&& value) {
324 m_endpointIpv6AddressRangeHasBeenSet = true;
325 m_endpointIpv6AddressRange = std::forward<EndpointIpv6AddressRangeT>(value);
326 }
327 template <typename EndpointIpv6AddressRangeT = Aws::String>
328 OntapFileSystemConfiguration& WithEndpointIpv6AddressRange(EndpointIpv6AddressRangeT&& value) {
329 SetEndpointIpv6AddressRange(std::forward<EndpointIpv6AddressRangeT>(value));
330 return *this;
331 }
333 private:
334 int m_automaticBackupRetentionDays{0};
335
336 Aws::String m_dailyAutomaticBackupStartTime;
337
339
340 Aws::String m_endpointIpAddressRange;
341
342 FileSystemEndpoints m_endpoints;
343
344 DiskIopsConfiguration m_diskIopsConfiguration;
345
346 Aws::String m_preferredSubnetId;
347
348 Aws::Vector<Aws::String> m_routeTableIds;
349
350 int m_throughputCapacity{0};
351
352 Aws::String m_weeklyMaintenanceStartTime;
353
354 Aws::String m_fsxAdminPassword;
355
356 int m_hAPairs{0};
357
358 int m_throughputCapacityPerHAPair{0};
359
360 Aws::String m_endpointIpv6AddressRange;
361 bool m_automaticBackupRetentionDaysHasBeenSet = false;
362 bool m_dailyAutomaticBackupStartTimeHasBeenSet = false;
363 bool m_deploymentTypeHasBeenSet = false;
364 bool m_endpointIpAddressRangeHasBeenSet = false;
365 bool m_endpointsHasBeenSet = false;
366 bool m_diskIopsConfigurationHasBeenSet = false;
367 bool m_preferredSubnetIdHasBeenSet = false;
368 bool m_routeTableIdsHasBeenSet = false;
369 bool m_throughputCapacityHasBeenSet = false;
370 bool m_weeklyMaintenanceStartTimeHasBeenSet = false;
371 bool m_fsxAdminPasswordHasBeenSet = false;
372 bool m_hAPairsHasBeenSet = false;
373 bool m_throughputCapacityPerHAPairHasBeenSet = false;
374 bool m_endpointIpv6AddressRangeHasBeenSet = false;
375};
376
377} // namespace Model
378} // namespace FSx
379} // namespace Aws
void SetEndpointIpv6AddressRange(EndpointIpv6AddressRangeT &&value)
OntapFileSystemConfiguration & WithPreferredSubnetId(PreferredSubnetIdT &&value)
AWS_FSX_API OntapFileSystemConfiguration(Aws::Utils::Json::JsonView jsonValue)
OntapFileSystemConfiguration & WithWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT &&value)
OntapFileSystemConfiguration & WithThroughputCapacityPerHAPair(int value)
OntapFileSystemConfiguration & WithEndpointIpv6AddressRange(EndpointIpv6AddressRangeT &&value)
OntapFileSystemConfiguration & WithRouteTableIds(RouteTableIdsT &&value)
const DiskIopsConfiguration & GetDiskIopsConfiguration() const
OntapFileSystemConfiguration & WithFsxAdminPassword(FsxAdminPasswordT &&value)
void SetDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT &&value)
OntapFileSystemConfiguration & WithAutomaticBackupRetentionDays(int value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDiskIopsConfiguration(DiskIopsConfigurationT &&value)
void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT &&value)
OntapFileSystemConfiguration & WithDiskIopsConfiguration(DiskIopsConfigurationT &&value)
OntapFileSystemConfiguration & WithHAPairs(int value)
OntapFileSystemConfiguration & WithEndpointIpAddressRange(EndpointIpAddressRangeT &&value)
void SetEndpointIpAddressRange(EndpointIpAddressRangeT &&value)
OntapFileSystemConfiguration & AddRouteTableIds(RouteTableIdsT &&value)
OntapFileSystemConfiguration & WithDeploymentType(OntapDeploymentType value)
AWS_FSX_API OntapFileSystemConfiguration()=default
OntapFileSystemConfiguration & WithEndpoints(EndpointsT &&value)
AWS_FSX_API OntapFileSystemConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
OntapFileSystemConfiguration & WithThroughputCapacity(int value)
OntapFileSystemConfiguration & WithDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT &&value)
const Aws::Vector< Aws::String > & GetRouteTableIds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue