AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OntapFileSystemConfiguration.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/OntapDeploymentType.h>
10#include <aws/fsx/model/FileSystemEndpoints.h>
11#include <aws/fsx/model/DiskIopsConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace FSx
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_FSX_API OntapFileSystemConfiguration() = default;
43
44
46
47 inline int GetAutomaticBackupRetentionDays() const { return m_automaticBackupRetentionDays; }
48 inline bool AutomaticBackupRetentionDaysHasBeenSet() const { return m_automaticBackupRetentionDaysHasBeenSet; }
49 inline void SetAutomaticBackupRetentionDays(int value) { m_automaticBackupRetentionDaysHasBeenSet = true; m_automaticBackupRetentionDays = value; }
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) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime = std::forward<DailyAutomaticBackupStartTimeT>(value); }
59 template<typename DailyAutomaticBackupStartTimeT = Aws::String>
60 OntapFileSystemConfiguration& WithDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT&& value) { SetDailyAutomaticBackupStartTime(std::forward<DailyAutomaticBackupStartTimeT>(value)); return *this;}
62
64
81 inline OntapDeploymentType GetDeploymentType() const { return m_deploymentType; }
82 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
83 inline void SetDeploymentType(OntapDeploymentType value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
86
88
97 inline const Aws::String& GetEndpointIpAddressRange() const { return m_endpointIpAddressRange; }
98 inline bool EndpointIpAddressRangeHasBeenSet() const { return m_endpointIpAddressRangeHasBeenSet; }
99 template<typename EndpointIpAddressRangeT = Aws::String>
100 void SetEndpointIpAddressRange(EndpointIpAddressRangeT&& value) { m_endpointIpAddressRangeHasBeenSet = true; m_endpointIpAddressRange = std::forward<EndpointIpAddressRangeT>(value); }
101 template<typename EndpointIpAddressRangeT = Aws::String>
102 OntapFileSystemConfiguration& WithEndpointIpAddressRange(EndpointIpAddressRangeT&& value) { SetEndpointIpAddressRange(std::forward<EndpointIpAddressRangeT>(value)); return *this;}
104
106
111 inline const FileSystemEndpoints& GetEndpoints() const { return m_endpoints; }
112 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
113 template<typename EndpointsT = FileSystemEndpoints>
114 void SetEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::forward<EndpointsT>(value); }
115 template<typename EndpointsT = FileSystemEndpoints>
116 OntapFileSystemConfiguration& WithEndpoints(EndpointsT&& value) { SetEndpoints(std::forward<EndpointsT>(value)); return *this;}
118
120
124 inline const DiskIopsConfiguration& GetDiskIopsConfiguration() const { return m_diskIopsConfiguration; }
125 inline bool DiskIopsConfigurationHasBeenSet() const { return m_diskIopsConfigurationHasBeenSet; }
126 template<typename DiskIopsConfigurationT = DiskIopsConfiguration>
127 void SetDiskIopsConfiguration(DiskIopsConfigurationT&& value) { m_diskIopsConfigurationHasBeenSet = true; m_diskIopsConfiguration = std::forward<DiskIopsConfigurationT>(value); }
128 template<typename DiskIopsConfigurationT = DiskIopsConfiguration>
129 OntapFileSystemConfiguration& WithDiskIopsConfiguration(DiskIopsConfigurationT&& value) { SetDiskIopsConfiguration(std::forward<DiskIopsConfigurationT>(value)); return *this;}
131
133
134 inline const Aws::String& GetPreferredSubnetId() const { return m_preferredSubnetId; }
135 inline bool PreferredSubnetIdHasBeenSet() const { return m_preferredSubnetIdHasBeenSet; }
136 template<typename PreferredSubnetIdT = Aws::String>
137 void SetPreferredSubnetId(PreferredSubnetIdT&& value) { m_preferredSubnetIdHasBeenSet = true; m_preferredSubnetId = std::forward<PreferredSubnetIdT>(value); }
138 template<typename PreferredSubnetIdT = Aws::String>
139 OntapFileSystemConfiguration& WithPreferredSubnetId(PreferredSubnetIdT&& value) { SetPreferredSubnetId(std::forward<PreferredSubnetIdT>(value)); return *this;}
141
143
147 inline const Aws::Vector<Aws::String>& GetRouteTableIds() const { return m_routeTableIds; }
148 inline bool RouteTableIdsHasBeenSet() const { return m_routeTableIdsHasBeenSet; }
149 template<typename RouteTableIdsT = Aws::Vector<Aws::String>>
150 void SetRouteTableIds(RouteTableIdsT&& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds = std::forward<RouteTableIdsT>(value); }
151 template<typename RouteTableIdsT = Aws::Vector<Aws::String>>
152 OntapFileSystemConfiguration& WithRouteTableIds(RouteTableIdsT&& value) { SetRouteTableIds(std::forward<RouteTableIdsT>(value)); return *this;}
153 template<typename RouteTableIdsT = Aws::String>
154 OntapFileSystemConfiguration& AddRouteTableIds(RouteTableIdsT&& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds.emplace_back(std::forward<RouteTableIdsT>(value)); return *this; }
156
158
159 inline int GetThroughputCapacity() const { return m_throughputCapacity; }
160 inline bool ThroughputCapacityHasBeenSet() const { return m_throughputCapacityHasBeenSet; }
161 inline void SetThroughputCapacity(int value) { m_throughputCapacityHasBeenSet = true; m_throughputCapacity = value; }
164
166
167 inline const Aws::String& GetWeeklyMaintenanceStartTime() const { return m_weeklyMaintenanceStartTime; }
168 inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; }
169 template<typename WeeklyMaintenanceStartTimeT = Aws::String>
170 void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = std::forward<WeeklyMaintenanceStartTimeT>(value); }
171 template<typename WeeklyMaintenanceStartTimeT = Aws::String>
172 OntapFileSystemConfiguration& WithWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) { SetWeeklyMaintenanceStartTime(std::forward<WeeklyMaintenanceStartTimeT>(value)); return *this;}
174
176
180 inline const Aws::String& GetFsxAdminPassword() const { return m_fsxAdminPassword; }
181 inline bool FsxAdminPasswordHasBeenSet() const { return m_fsxAdminPasswordHasBeenSet; }
182 template<typename FsxAdminPasswordT = Aws::String>
183 void SetFsxAdminPassword(FsxAdminPasswordT&& value) { m_fsxAdminPasswordHasBeenSet = true; m_fsxAdminPassword = std::forward<FsxAdminPasswordT>(value); }
184 template<typename FsxAdminPasswordT = Aws::String>
185 OntapFileSystemConfiguration& WithFsxAdminPassword(FsxAdminPasswordT&& value) { SetFsxAdminPassword(std::forward<FsxAdminPasswordT>(value)); return *this;}
187
189
202 inline int GetHAPairs() const { return m_hAPairs; }
203 inline bool HAPairsHasBeenSet() const { return m_hAPairsHasBeenSet; }
204 inline void SetHAPairs(int value) { m_hAPairsHasBeenSet = true; m_hAPairs = value; }
205 inline OntapFileSystemConfiguration& WithHAPairs(int value) { SetHAPairs(value); return *this;}
207
209
229 inline int GetThroughputCapacityPerHAPair() const { return m_throughputCapacityPerHAPair; }
230 inline bool ThroughputCapacityPerHAPairHasBeenSet() const { return m_throughputCapacityPerHAPairHasBeenSet; }
231 inline void SetThroughputCapacityPerHAPair(int value) { m_throughputCapacityPerHAPairHasBeenSet = true; m_throughputCapacityPerHAPair = value; }
234 private:
235
236 int m_automaticBackupRetentionDays{0};
237 bool m_automaticBackupRetentionDaysHasBeenSet = false;
238
239 Aws::String m_dailyAutomaticBackupStartTime;
240 bool m_dailyAutomaticBackupStartTimeHasBeenSet = false;
241
243 bool m_deploymentTypeHasBeenSet = false;
244
245 Aws::String m_endpointIpAddressRange;
246 bool m_endpointIpAddressRangeHasBeenSet = false;
247
248 FileSystemEndpoints m_endpoints;
249 bool m_endpointsHasBeenSet = false;
250
251 DiskIopsConfiguration m_diskIopsConfiguration;
252 bool m_diskIopsConfigurationHasBeenSet = false;
253
254 Aws::String m_preferredSubnetId;
255 bool m_preferredSubnetIdHasBeenSet = false;
256
257 Aws::Vector<Aws::String> m_routeTableIds;
258 bool m_routeTableIdsHasBeenSet = false;
259
260 int m_throughputCapacity{0};
261 bool m_throughputCapacityHasBeenSet = false;
262
263 Aws::String m_weeklyMaintenanceStartTime;
264 bool m_weeklyMaintenanceStartTimeHasBeenSet = false;
265
266 Aws::String m_fsxAdminPassword;
267 bool m_fsxAdminPasswordHasBeenSet = false;
268
269 int m_hAPairs{0};
270 bool m_hAPairsHasBeenSet = false;
271
272 int m_throughputCapacityPerHAPair{0};
273 bool m_throughputCapacityPerHAPairHasBeenSet = false;
274 };
275
276} // namespace Model
277} // namespace FSx
278} // namespace Aws
OntapFileSystemConfiguration & WithPreferredSubnetId(PreferredSubnetIdT &&value)
AWS_FSX_API OntapFileSystemConfiguration(Aws::Utils::Json::JsonView jsonValue)
OntapFileSystemConfiguration & WithWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT &&value)
OntapFileSystemConfiguration & WithThroughputCapacityPerHAPair(int 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