AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateFileSystemOntapConfiguration.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/DiskIopsConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FSx
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_FSX_API UpdateFileSystemOntapConfiguration() = default;
41
42
44
45 inline int GetAutomaticBackupRetentionDays() const { return m_automaticBackupRetentionDays; }
46 inline bool AutomaticBackupRetentionDaysHasBeenSet() const { return m_automaticBackupRetentionDaysHasBeenSet; }
47 inline void SetAutomaticBackupRetentionDays(int value) { m_automaticBackupRetentionDaysHasBeenSet = true; m_automaticBackupRetentionDays = value; }
50
52
53 inline const Aws::String& GetDailyAutomaticBackupStartTime() const { return m_dailyAutomaticBackupStartTime; }
54 inline bool DailyAutomaticBackupStartTimeHasBeenSet() const { return m_dailyAutomaticBackupStartTimeHasBeenSet; }
55 template<typename DailyAutomaticBackupStartTimeT = Aws::String>
56 void SetDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT&& value) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime = std::forward<DailyAutomaticBackupStartTimeT>(value); }
57 template<typename DailyAutomaticBackupStartTimeT = Aws::String>
58 UpdateFileSystemOntapConfiguration& WithDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT&& value) { SetDailyAutomaticBackupStartTime(std::forward<DailyAutomaticBackupStartTimeT>(value)); return *this;}
60
62
69 inline const Aws::String& GetFsxAdminPassword() const { return m_fsxAdminPassword; }
70 inline bool FsxAdminPasswordHasBeenSet() const { return m_fsxAdminPasswordHasBeenSet; }
71 template<typename FsxAdminPasswordT = Aws::String>
72 void SetFsxAdminPassword(FsxAdminPasswordT&& value) { m_fsxAdminPasswordHasBeenSet = true; m_fsxAdminPassword = std::forward<FsxAdminPasswordT>(value); }
73 template<typename FsxAdminPasswordT = Aws::String>
74 UpdateFileSystemOntapConfiguration& WithFsxAdminPassword(FsxAdminPasswordT&& value) { SetFsxAdminPassword(std::forward<FsxAdminPasswordT>(value)); return *this;}
76
78
79 inline const Aws::String& GetWeeklyMaintenanceStartTime() const { return m_weeklyMaintenanceStartTime; }
80 inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; }
81 template<typename WeeklyMaintenanceStartTimeT = Aws::String>
82 void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = std::forward<WeeklyMaintenanceStartTimeT>(value); }
83 template<typename WeeklyMaintenanceStartTimeT = Aws::String>
84 UpdateFileSystemOntapConfiguration& WithWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) { SetWeeklyMaintenanceStartTime(std::forward<WeeklyMaintenanceStartTimeT>(value)); return *this;}
86
88
98 inline const DiskIopsConfiguration& GetDiskIopsConfiguration() const { return m_diskIopsConfiguration; }
99 inline bool DiskIopsConfigurationHasBeenSet() const { return m_diskIopsConfigurationHasBeenSet; }
100 template<typename DiskIopsConfigurationT = DiskIopsConfiguration>
101 void SetDiskIopsConfiguration(DiskIopsConfigurationT&& value) { m_diskIopsConfigurationHasBeenSet = true; m_diskIopsConfiguration = std::forward<DiskIopsConfigurationT>(value); }
102 template<typename DiskIopsConfigurationT = DiskIopsConfiguration>
103 UpdateFileSystemOntapConfiguration& WithDiskIopsConfiguration(DiskIopsConfigurationT&& value) { SetDiskIopsConfiguration(std::forward<DiskIopsConfigurationT>(value)); return *this;}
105
107
119 inline int GetThroughputCapacity() const { return m_throughputCapacity; }
120 inline bool ThroughputCapacityHasBeenSet() const { return m_throughputCapacityHasBeenSet; }
121 inline void SetThroughputCapacity(int value) { m_throughputCapacityHasBeenSet = true; m_throughputCapacity = value; }
124
126
130 inline const Aws::Vector<Aws::String>& GetAddRouteTableIds() const { return m_addRouteTableIds; }
131 inline bool AddRouteTableIdsHasBeenSet() const { return m_addRouteTableIdsHasBeenSet; }
132 template<typename AddRouteTableIdsT = Aws::Vector<Aws::String>>
133 void SetAddRouteTableIds(AddRouteTableIdsT&& value) { m_addRouteTableIdsHasBeenSet = true; m_addRouteTableIds = std::forward<AddRouteTableIdsT>(value); }
134 template<typename AddRouteTableIdsT = Aws::Vector<Aws::String>>
135 UpdateFileSystemOntapConfiguration& WithAddRouteTableIds(AddRouteTableIdsT&& value) { SetAddRouteTableIds(std::forward<AddRouteTableIdsT>(value)); return *this;}
136 template<typename AddRouteTableIdsT = Aws::String>
137 UpdateFileSystemOntapConfiguration& AddAddRouteTableIds(AddRouteTableIdsT&& value) { m_addRouteTableIdsHasBeenSet = true; m_addRouteTableIds.emplace_back(std::forward<AddRouteTableIdsT>(value)); return *this; }
139
141
147 inline const Aws::Vector<Aws::String>& GetRemoveRouteTableIds() const { return m_removeRouteTableIds; }
148 inline bool RemoveRouteTableIdsHasBeenSet() const { return m_removeRouteTableIdsHasBeenSet; }
149 template<typename RemoveRouteTableIdsT = Aws::Vector<Aws::String>>
150 void SetRemoveRouteTableIds(RemoveRouteTableIdsT&& value) { m_removeRouteTableIdsHasBeenSet = true; m_removeRouteTableIds = std::forward<RemoveRouteTableIdsT>(value); }
151 template<typename RemoveRouteTableIdsT = Aws::Vector<Aws::String>>
152 UpdateFileSystemOntapConfiguration& WithRemoveRouteTableIds(RemoveRouteTableIdsT&& value) { SetRemoveRouteTableIds(std::forward<RemoveRouteTableIdsT>(value)); return *this;}
153 template<typename RemoveRouteTableIdsT = Aws::String>
154 UpdateFileSystemOntapConfiguration& AddRemoveRouteTableIds(RemoveRouteTableIdsT&& value) { m_removeRouteTableIdsHasBeenSet = true; m_removeRouteTableIds.emplace_back(std::forward<RemoveRouteTableIdsT>(value)); return *this; }
156
158
177 inline int GetThroughputCapacityPerHAPair() const { return m_throughputCapacityPerHAPair; }
178 inline bool ThroughputCapacityPerHAPairHasBeenSet() const { return m_throughputCapacityPerHAPairHasBeenSet; }
179 inline void SetThroughputCapacityPerHAPair(int value) { m_throughputCapacityPerHAPairHasBeenSet = true; m_throughputCapacityPerHAPair = value; }
182
184
197 inline int GetHAPairs() const { return m_hAPairs; }
198 inline bool HAPairsHasBeenSet() const { return m_hAPairsHasBeenSet; }
199 inline void SetHAPairs(int value) { m_hAPairsHasBeenSet = true; m_hAPairs = value; }
200 inline UpdateFileSystemOntapConfiguration& WithHAPairs(int value) { SetHAPairs(value); return *this;}
202 private:
203
204 int m_automaticBackupRetentionDays{0};
205 bool m_automaticBackupRetentionDaysHasBeenSet = false;
206
207 Aws::String m_dailyAutomaticBackupStartTime;
208 bool m_dailyAutomaticBackupStartTimeHasBeenSet = false;
209
210 Aws::String m_fsxAdminPassword;
211 bool m_fsxAdminPasswordHasBeenSet = false;
212
213 Aws::String m_weeklyMaintenanceStartTime;
214 bool m_weeklyMaintenanceStartTimeHasBeenSet = false;
215
216 DiskIopsConfiguration m_diskIopsConfiguration;
217 bool m_diskIopsConfigurationHasBeenSet = false;
218
219 int m_throughputCapacity{0};
220 bool m_throughputCapacityHasBeenSet = false;
221
222 Aws::Vector<Aws::String> m_addRouteTableIds;
223 bool m_addRouteTableIdsHasBeenSet = false;
224
225 Aws::Vector<Aws::String> m_removeRouteTableIds;
226 bool m_removeRouteTableIdsHasBeenSet = false;
227
228 int m_throughputCapacityPerHAPair{0};
229 bool m_throughputCapacityPerHAPairHasBeenSet = false;
230
231 int m_hAPairs{0};
232 bool m_hAPairsHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace FSx
237} // namespace Aws
UpdateFileSystemOntapConfiguration & WithFsxAdminPassword(FsxAdminPasswordT &&value)
UpdateFileSystemOntapConfiguration & WithThroughputCapacityPerHAPair(int value)
AWS_FSX_API UpdateFileSystemOntapConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateFileSystemOntapConfiguration & WithAutomaticBackupRetentionDays(int value)
UpdateFileSystemOntapConfiguration & AddAddRouteTableIds(AddRouteTableIdsT &&value)
UpdateFileSystemOntapConfiguration & WithAddRouteTableIds(AddRouteTableIdsT &&value)
UpdateFileSystemOntapConfiguration & AddRemoveRouteTableIds(RemoveRouteTableIdsT &&value)
UpdateFileSystemOntapConfiguration & WithWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT &&value)
void SetDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT &&value)
UpdateFileSystemOntapConfiguration & WithThroughputCapacity(int value)
UpdateFileSystemOntapConfiguration & WithDiskIopsConfiguration(DiskIopsConfigurationT &&value)
AWS_FSX_API UpdateFileSystemOntapConfiguration(Aws::Utils::Json::JsonView jsonValue)
UpdateFileSystemOntapConfiguration & WithHAPairs(int value)
void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT &&value)
UpdateFileSystemOntapConfiguration & WithRemoveRouteTableIds(RemoveRouteTableIdsT &&value)
UpdateFileSystemOntapConfiguration & WithDailyAutomaticBackupStartTime(DailyAutomaticBackupStartTimeT &&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