AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDailyAutomaticBackupStartTime(const Aws::String& value) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime = value; }
57 inline void SetDailyAutomaticBackupStartTime(Aws::String&& value) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime = std::move(value); }
58 inline void SetDailyAutomaticBackupStartTime(const char* value) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime.assign(value); }
63
65
82 inline const OntapDeploymentType& GetDeploymentType() const{ return m_deploymentType; }
83 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
84 inline void SetDeploymentType(const OntapDeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
85 inline void SetDeploymentType(OntapDeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); }
89
91
101 inline const Aws::String& GetEndpointIpAddressRange() const{ return m_endpointIpAddressRange; }
102 inline bool EndpointIpAddressRangeHasBeenSet() const { return m_endpointIpAddressRangeHasBeenSet; }
103 inline void SetEndpointIpAddressRange(const Aws::String& value) { m_endpointIpAddressRangeHasBeenSet = true; m_endpointIpAddressRange = value; }
104 inline void SetEndpointIpAddressRange(Aws::String&& value) { m_endpointIpAddressRangeHasBeenSet = true; m_endpointIpAddressRange = std::move(value); }
105 inline void SetEndpointIpAddressRange(const char* value) { m_endpointIpAddressRangeHasBeenSet = true; m_endpointIpAddressRange.assign(value); }
110
112
117 inline const Aws::String& GetFsxAdminPassword() const{ return m_fsxAdminPassword; }
118 inline bool FsxAdminPasswordHasBeenSet() const { return m_fsxAdminPasswordHasBeenSet; }
119 inline void SetFsxAdminPassword(const Aws::String& value) { m_fsxAdminPasswordHasBeenSet = true; m_fsxAdminPassword = value; }
120 inline void SetFsxAdminPassword(Aws::String&& value) { m_fsxAdminPasswordHasBeenSet = true; m_fsxAdminPassword = std::move(value); }
121 inline void SetFsxAdminPassword(const char* value) { m_fsxAdminPasswordHasBeenSet = true; m_fsxAdminPassword.assign(value); }
124 inline CreateFileSystemOntapConfiguration& WithFsxAdminPassword(const char* value) { SetFsxAdminPassword(value); return *this;}
126
128
131 inline const DiskIopsConfiguration& GetDiskIopsConfiguration() const{ return m_diskIopsConfiguration; }
132 inline bool DiskIopsConfigurationHasBeenSet() const { return m_diskIopsConfigurationHasBeenSet; }
133 inline void SetDiskIopsConfiguration(const DiskIopsConfiguration& value) { m_diskIopsConfigurationHasBeenSet = true; m_diskIopsConfiguration = value; }
134 inline void SetDiskIopsConfiguration(DiskIopsConfiguration&& value) { m_diskIopsConfigurationHasBeenSet = true; m_diskIopsConfiguration = std::move(value); }
138
140
145 inline const Aws::String& GetPreferredSubnetId() const{ return m_preferredSubnetId; }
146 inline bool PreferredSubnetIdHasBeenSet() const { return m_preferredSubnetIdHasBeenSet; }
147 inline void SetPreferredSubnetId(const Aws::String& value) { m_preferredSubnetIdHasBeenSet = true; m_preferredSubnetId = value; }
148 inline void SetPreferredSubnetId(Aws::String&& value) { m_preferredSubnetIdHasBeenSet = true; m_preferredSubnetId = std::move(value); }
149 inline void SetPreferredSubnetId(const char* value) { m_preferredSubnetIdHasBeenSet = true; m_preferredSubnetId.assign(value); }
152 inline CreateFileSystemOntapConfiguration& WithPreferredSubnetId(const char* value) { SetPreferredSubnetId(value); return *this;}
154
156
167 inline const Aws::Vector<Aws::String>& GetRouteTableIds() const{ return m_routeTableIds; }
168 inline bool RouteTableIdsHasBeenSet() const { return m_routeTableIdsHasBeenSet; }
169 inline void SetRouteTableIds(const Aws::Vector<Aws::String>& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds = value; }
170 inline void SetRouteTableIds(Aws::Vector<Aws::String>&& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds = std::move(value); }
173 inline CreateFileSystemOntapConfiguration& AddRouteTableIds(const Aws::String& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds.push_back(value); return *this; }
174 inline CreateFileSystemOntapConfiguration& AddRouteTableIds(Aws::String&& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds.push_back(std::move(value)); return *this; }
175 inline CreateFileSystemOntapConfiguration& AddRouteTableIds(const char* value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds.push_back(value); return *this; }
177
179
191 inline int GetThroughputCapacity() const{ return m_throughputCapacity; }
192 inline bool ThroughputCapacityHasBeenSet() const { return m_throughputCapacityHasBeenSet; }
193 inline void SetThroughputCapacity(int value) { m_throughputCapacityHasBeenSet = true; m_throughputCapacity = value; }
196
198
199 inline const Aws::String& GetWeeklyMaintenanceStartTime() const{ return m_weeklyMaintenanceStartTime; }
200 inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; }
201 inline void SetWeeklyMaintenanceStartTime(const Aws::String& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = value; }
202 inline void SetWeeklyMaintenanceStartTime(Aws::String&& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = std::move(value); }
203 inline void SetWeeklyMaintenanceStartTime(const char* value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime.assign(value); }
208
210
230 inline int GetHAPairs() const{ return m_hAPairs; }
231 inline bool HAPairsHasBeenSet() const { return m_hAPairsHasBeenSet; }
232 inline void SetHAPairs(int value) { m_hAPairsHasBeenSet = true; m_hAPairs = value; }
233 inline CreateFileSystemOntapConfiguration& WithHAPairs(int value) { SetHAPairs(value); return *this;}
235
237
257 inline int GetThroughputCapacityPerHAPair() const{ return m_throughputCapacityPerHAPair; }
258 inline bool ThroughputCapacityPerHAPairHasBeenSet() const { return m_throughputCapacityPerHAPairHasBeenSet; }
259 inline void SetThroughputCapacityPerHAPair(int value) { m_throughputCapacityPerHAPairHasBeenSet = true; m_throughputCapacityPerHAPair = value; }
262 private:
263
264 int m_automaticBackupRetentionDays;
265 bool m_automaticBackupRetentionDaysHasBeenSet = false;
266
267 Aws::String m_dailyAutomaticBackupStartTime;
268 bool m_dailyAutomaticBackupStartTimeHasBeenSet = false;
269
270 OntapDeploymentType m_deploymentType;
271 bool m_deploymentTypeHasBeenSet = false;
272
273 Aws::String m_endpointIpAddressRange;
274 bool m_endpointIpAddressRangeHasBeenSet = false;
275
276 Aws::String m_fsxAdminPassword;
277 bool m_fsxAdminPasswordHasBeenSet = false;
278
279 DiskIopsConfiguration m_diskIopsConfiguration;
280 bool m_diskIopsConfigurationHasBeenSet = false;
281
282 Aws::String m_preferredSubnetId;
283 bool m_preferredSubnetIdHasBeenSet = false;
284
285 Aws::Vector<Aws::String> m_routeTableIds;
286 bool m_routeTableIdsHasBeenSet = false;
287
288 int m_throughputCapacity;
289 bool m_throughputCapacityHasBeenSet = false;
290
291 Aws::String m_weeklyMaintenanceStartTime;
292 bool m_weeklyMaintenanceStartTimeHasBeenSet = false;
293
294 int m_hAPairs;
295 bool m_hAPairsHasBeenSet = false;
296
297 int m_throughputCapacityPerHAPair;
298 bool m_throughputCapacityPerHAPairHasBeenSet = false;
299 };
300
301} // namespace Model
302} // namespace FSx
303} // namespace Aws
AWS_FSX_API CreateFileSystemOntapConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRouteTableIds(const Aws::Vector< Aws::String > &value)
CreateFileSystemOntapConfiguration & WithHAPairs(int value)
CreateFileSystemOntapConfiguration & WithFsxAdminPassword(const char *value)
CreateFileSystemOntapConfiguration & WithPreferredSubnetId(const Aws::String &value)
CreateFileSystemOntapConfiguration & WithThroughputCapacity(int value)
CreateFileSystemOntapConfiguration & AddRouteTableIds(const Aws::String &value)
CreateFileSystemOntapConfiguration & WithDailyAutomaticBackupStartTime(Aws::String &&value)
CreateFileSystemOntapConfiguration & WithDiskIopsConfiguration(DiskIopsConfiguration &&value)
CreateFileSystemOntapConfiguration & WithDailyAutomaticBackupStartTime(const Aws::String &value)
CreateFileSystemOntapConfiguration & WithEndpointIpAddressRange(const char *value)
CreateFileSystemOntapConfiguration & WithDeploymentType(const OntapDeploymentType &value)
CreateFileSystemOntapConfiguration & WithWeeklyMaintenanceStartTime(const char *value)
CreateFileSystemOntapConfiguration & WithAutomaticBackupRetentionDays(int value)
AWS_FSX_API CreateFileSystemOntapConfiguration(Aws::Utils::Json::JsonView jsonValue)
CreateFileSystemOntapConfiguration & WithEndpointIpAddressRange(const Aws::String &value)
CreateFileSystemOntapConfiguration & AddRouteTableIds(const char *value)
CreateFileSystemOntapConfiguration & WithDailyAutomaticBackupStartTime(const char *value)
CreateFileSystemOntapConfiguration & WithThroughputCapacityPerHAPair(int value)
CreateFileSystemOntapConfiguration & WithWeeklyMaintenanceStartTime(Aws::String &&value)
CreateFileSystemOntapConfiguration & WithFsxAdminPassword(const Aws::String &value)
CreateFileSystemOntapConfiguration & WithRouteTableIds(Aws::Vector< Aws::String > &&value)
CreateFileSystemOntapConfiguration & WithEndpointIpAddressRange(Aws::String &&value)
CreateFileSystemOntapConfiguration & WithFsxAdminPassword(Aws::String &&value)
CreateFileSystemOntapConfiguration & WithRouteTableIds(const Aws::Vector< Aws::String > &value)
CreateFileSystemOntapConfiguration & AddRouteTableIds(Aws::String &&value)
CreateFileSystemOntapConfiguration & WithDeploymentType(OntapDeploymentType &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
CreateFileSystemOntapConfiguration & WithPreferredSubnetId(const char *value)
CreateFileSystemOntapConfiguration & WithWeeklyMaintenanceStartTime(const Aws::String &value)
CreateFileSystemOntapConfiguration & WithPreferredSubnetId(Aws::String &&value)
CreateFileSystemOntapConfiguration & WithDiskIopsConfiguration(const DiskIopsConfiguration &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