AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateFileSystemOntapConfiguration.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/DiskIopsConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace FSx
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_FSX_API CreateFileSystemOntapConfiguration() = default;
42
43
45
46 inline int GetAutomaticBackupRetentionDays() const { return m_automaticBackupRetentionDays; }
47 inline bool AutomaticBackupRetentionDaysHasBeenSet() const { return m_automaticBackupRetentionDaysHasBeenSet; }
48 inline void SetAutomaticBackupRetentionDays(int value) { m_automaticBackupRetentionDaysHasBeenSet = true; m_automaticBackupRetentionDays = value; }
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) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime = std::forward<DailyAutomaticBackupStartTimeT>(value); }
58 template<typename DailyAutomaticBackupStartTimeT = Aws::String>
59 CreateFileSystemOntapConfiguration& WithDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT&& value) { SetDailyAutomaticBackupStartTime(std::forward<DailyAutomaticBackupStartTimeT>(value)); return *this;}
61
63
80 inline OntapDeploymentType GetDeploymentType() const { return m_deploymentType; }
81 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
82 inline void SetDeploymentType(OntapDeploymentType value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
85
87
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 CreateFileSystemOntapConfiguration& WithEndpointIpAddressRange(EndpointIpAddressRangeT&& value) { SetEndpointIpAddressRange(std::forward<EndpointIpAddressRangeT>(value)); return *this;}
104
106
111 inline const Aws::String& GetFsxAdminPassword() const { return m_fsxAdminPassword; }
112 inline bool FsxAdminPasswordHasBeenSet() const { return m_fsxAdminPasswordHasBeenSet; }
113 template<typename FsxAdminPasswordT = Aws::String>
114 void SetFsxAdminPassword(FsxAdminPasswordT&& value) { m_fsxAdminPasswordHasBeenSet = true; m_fsxAdminPassword = std::forward<FsxAdminPasswordT>(value); }
115 template<typename FsxAdminPasswordT = Aws::String>
116 CreateFileSystemOntapConfiguration& WithFsxAdminPassword(FsxAdminPasswordT&& value) { SetFsxAdminPassword(std::forward<FsxAdminPasswordT>(value)); return *this;}
118
120
123 inline const DiskIopsConfiguration& GetDiskIopsConfiguration() const { return m_diskIopsConfiguration; }
124 inline bool DiskIopsConfigurationHasBeenSet() const { return m_diskIopsConfigurationHasBeenSet; }
125 template<typename DiskIopsConfigurationT = DiskIopsConfiguration>
126 void SetDiskIopsConfiguration(DiskIopsConfigurationT&& value) { m_diskIopsConfigurationHasBeenSet = true; m_diskIopsConfiguration = std::forward<DiskIopsConfigurationT>(value); }
127 template<typename DiskIopsConfigurationT = DiskIopsConfiguration>
128 CreateFileSystemOntapConfiguration& WithDiskIopsConfiguration(DiskIopsConfigurationT&& value) { SetDiskIopsConfiguration(std::forward<DiskIopsConfigurationT>(value)); return *this;}
130
132
137 inline const Aws::String& GetPreferredSubnetId() const { return m_preferredSubnetId; }
138 inline bool PreferredSubnetIdHasBeenSet() const { return m_preferredSubnetIdHasBeenSet; }
139 template<typename PreferredSubnetIdT = Aws::String>
140 void SetPreferredSubnetId(PreferredSubnetIdT&& value) { m_preferredSubnetIdHasBeenSet = true; m_preferredSubnetId = std::forward<PreferredSubnetIdT>(value); }
141 template<typename PreferredSubnetIdT = Aws::String>
142 CreateFileSystemOntapConfiguration& WithPreferredSubnetId(PreferredSubnetIdT&& value) { SetPreferredSubnetId(std::forward<PreferredSubnetIdT>(value)); return *this;}
144
146
157 inline const Aws::Vector<Aws::String>& GetRouteTableIds() const { return m_routeTableIds; }
158 inline bool RouteTableIdsHasBeenSet() const { return m_routeTableIdsHasBeenSet; }
159 template<typename RouteTableIdsT = Aws::Vector<Aws::String>>
160 void SetRouteTableIds(RouteTableIdsT&& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds = std::forward<RouteTableIdsT>(value); }
161 template<typename RouteTableIdsT = Aws::Vector<Aws::String>>
162 CreateFileSystemOntapConfiguration& WithRouteTableIds(RouteTableIdsT&& value) { SetRouteTableIds(std::forward<RouteTableIdsT>(value)); return *this;}
163 template<typename RouteTableIdsT = Aws::String>
164 CreateFileSystemOntapConfiguration& AddRouteTableIds(RouteTableIdsT&& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds.emplace_back(std::forward<RouteTableIdsT>(value)); return *this; }
166
168
180 inline int GetThroughputCapacity() const { return m_throughputCapacity; }
181 inline bool ThroughputCapacityHasBeenSet() const { return m_throughputCapacityHasBeenSet; }
182 inline void SetThroughputCapacity(int value) { m_throughputCapacityHasBeenSet = true; m_throughputCapacity = value; }
185
187
188 inline const Aws::String& GetWeeklyMaintenanceStartTime() const { return m_weeklyMaintenanceStartTime; }
189 inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; }
190 template<typename WeeklyMaintenanceStartTimeT = Aws::String>
191 void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = std::forward<WeeklyMaintenanceStartTimeT>(value); }
192 template<typename WeeklyMaintenanceStartTimeT = Aws::String>
193 CreateFileSystemOntapConfiguration& WithWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) { SetWeeklyMaintenanceStartTime(std::forward<WeeklyMaintenanceStartTimeT>(value)); return *this;}
195
197
217 inline int GetHAPairs() const { return m_hAPairs; }
218 inline bool HAPairsHasBeenSet() const { return m_hAPairsHasBeenSet; }
219 inline void SetHAPairs(int value) { m_hAPairsHasBeenSet = true; m_hAPairs = value; }
220 inline CreateFileSystemOntapConfiguration& WithHAPairs(int value) { SetHAPairs(value); return *this;}
222
224
244 inline int GetThroughputCapacityPerHAPair() const { return m_throughputCapacityPerHAPair; }
245 inline bool ThroughputCapacityPerHAPairHasBeenSet() const { return m_throughputCapacityPerHAPairHasBeenSet; }
246 inline void SetThroughputCapacityPerHAPair(int value) { m_throughputCapacityPerHAPairHasBeenSet = true; m_throughputCapacityPerHAPair = value; }
249 private:
250
251 int m_automaticBackupRetentionDays{0};
252 bool m_automaticBackupRetentionDaysHasBeenSet = false;
253
254 Aws::String m_dailyAutomaticBackupStartTime;
255 bool m_dailyAutomaticBackupStartTimeHasBeenSet = false;
256
258 bool m_deploymentTypeHasBeenSet = false;
259
260 Aws::String m_endpointIpAddressRange;
261 bool m_endpointIpAddressRangeHasBeenSet = false;
262
263 Aws::String m_fsxAdminPassword;
264 bool m_fsxAdminPasswordHasBeenSet = false;
265
266 DiskIopsConfiguration m_diskIopsConfiguration;
267 bool m_diskIopsConfigurationHasBeenSet = false;
268
269 Aws::String m_preferredSubnetId;
270 bool m_preferredSubnetIdHasBeenSet = false;
271
272 Aws::Vector<Aws::String> m_routeTableIds;
273 bool m_routeTableIdsHasBeenSet = false;
274
275 int m_throughputCapacity{0};
276 bool m_throughputCapacityHasBeenSet = false;
277
278 Aws::String m_weeklyMaintenanceStartTime;
279 bool m_weeklyMaintenanceStartTimeHasBeenSet = false;
280
281 int m_hAPairs{0};
282 bool m_hAPairsHasBeenSet = false;
283
284 int m_throughputCapacityPerHAPair{0};
285 bool m_throughputCapacityPerHAPairHasBeenSet = false;
286 };
287
288} // namespace Model
289} // namespace FSx
290} // namespace Aws
AWS_FSX_API CreateFileSystemOntapConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT &&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