AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateFileSystemOntapConfiguration.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
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FSx {
22namespace Model {
23
31 public:
32 AWS_FSX_API UpdateFileSystemOntapConfiguration() = default;
36
38
39 inline int GetAutomaticBackupRetentionDays() const { return m_automaticBackupRetentionDays; }
40 inline bool AutomaticBackupRetentionDaysHasBeenSet() const { return m_automaticBackupRetentionDaysHasBeenSet; }
41 inline void SetAutomaticBackupRetentionDays(int value) {
42 m_automaticBackupRetentionDaysHasBeenSet = true;
43 m_automaticBackupRetentionDays = value;
44 }
47 return *this;
48 }
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) {
57 m_dailyAutomaticBackupStartTimeHasBeenSet = true;
58 m_dailyAutomaticBackupStartTime = std::forward<DailyAutomaticBackupStartTimeT>(value);
59 }
60 template <typename DailyAutomaticBackupStartTimeT = Aws::String>
62 SetDailyAutomaticBackupStartTime(std::forward<DailyAutomaticBackupStartTimeT>(value));
63 return *this;
64 }
66
68
75 inline const Aws::String& GetFsxAdminPassword() const { return m_fsxAdminPassword; }
76 inline bool FsxAdminPasswordHasBeenSet() const { return m_fsxAdminPasswordHasBeenSet; }
77 template <typename FsxAdminPasswordT = Aws::String>
78 void SetFsxAdminPassword(FsxAdminPasswordT&& value) {
79 m_fsxAdminPasswordHasBeenSet = true;
80 m_fsxAdminPassword = std::forward<FsxAdminPasswordT>(value);
81 }
82 template <typename FsxAdminPasswordT = Aws::String>
84 SetFsxAdminPassword(std::forward<FsxAdminPasswordT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetWeeklyMaintenanceStartTime() const { return m_weeklyMaintenanceStartTime; }
92 inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; }
93 template <typename WeeklyMaintenanceStartTimeT = Aws::String>
94 void SetWeeklyMaintenanceStartTime(WeeklyMaintenanceStartTimeT&& value) {
95 m_weeklyMaintenanceStartTimeHasBeenSet = true;
96 m_weeklyMaintenanceStartTime = std::forward<WeeklyMaintenanceStartTimeT>(value);
97 }
98 template <typename WeeklyMaintenanceStartTimeT = Aws::String>
100 SetWeeklyMaintenanceStartTime(std::forward<WeeklyMaintenanceStartTimeT>(value));
101 return *this;
102 }
104
106
116 inline const DiskIopsConfiguration& GetDiskIopsConfiguration() const { return m_diskIopsConfiguration; }
117 inline bool DiskIopsConfigurationHasBeenSet() const { return m_diskIopsConfigurationHasBeenSet; }
118 template <typename DiskIopsConfigurationT = DiskIopsConfiguration>
119 void SetDiskIopsConfiguration(DiskIopsConfigurationT&& value) {
120 m_diskIopsConfigurationHasBeenSet = true;
121 m_diskIopsConfiguration = std::forward<DiskIopsConfigurationT>(value);
122 }
123 template <typename DiskIopsConfigurationT = DiskIopsConfiguration>
125 SetDiskIopsConfiguration(std::forward<DiskIopsConfigurationT>(value));
126 return *this;
127 }
129
131
143 inline int GetThroughputCapacity() const { return m_throughputCapacity; }
144 inline bool ThroughputCapacityHasBeenSet() const { return m_throughputCapacityHasBeenSet; }
145 inline void SetThroughputCapacity(int value) {
146 m_throughputCapacityHasBeenSet = true;
147 m_throughputCapacity = value;
148 }
151 return *this;
152 }
154
156
160 inline const Aws::Vector<Aws::String>& GetAddRouteTableIds() const { return m_addRouteTableIds; }
161 inline bool AddRouteTableIdsHasBeenSet() const { return m_addRouteTableIdsHasBeenSet; }
162 template <typename AddRouteTableIdsT = Aws::Vector<Aws::String>>
163 void SetAddRouteTableIds(AddRouteTableIdsT&& value) {
164 m_addRouteTableIdsHasBeenSet = true;
165 m_addRouteTableIds = std::forward<AddRouteTableIdsT>(value);
166 }
167 template <typename AddRouteTableIdsT = Aws::Vector<Aws::String>>
169 SetAddRouteTableIds(std::forward<AddRouteTableIdsT>(value));
170 return *this;
171 }
172 template <typename AddRouteTableIdsT = Aws::String>
174 m_addRouteTableIdsHasBeenSet = true;
175 m_addRouteTableIds.emplace_back(std::forward<AddRouteTableIdsT>(value));
176 return *this;
177 }
179
181
187 inline const Aws::Vector<Aws::String>& GetRemoveRouteTableIds() const { return m_removeRouteTableIds; }
188 inline bool RemoveRouteTableIdsHasBeenSet() const { return m_removeRouteTableIdsHasBeenSet; }
189 template <typename RemoveRouteTableIdsT = Aws::Vector<Aws::String>>
190 void SetRemoveRouteTableIds(RemoveRouteTableIdsT&& value) {
191 m_removeRouteTableIdsHasBeenSet = true;
192 m_removeRouteTableIds = std::forward<RemoveRouteTableIdsT>(value);
193 }
194 template <typename RemoveRouteTableIdsT = Aws::Vector<Aws::String>>
196 SetRemoveRouteTableIds(std::forward<RemoveRouteTableIdsT>(value));
197 return *this;
198 }
199 template <typename RemoveRouteTableIdsT = Aws::String>
201 m_removeRouteTableIdsHasBeenSet = true;
202 m_removeRouteTableIds.emplace_back(std::forward<RemoveRouteTableIdsT>(value));
203 return *this;
204 }
206
208
227 inline int GetThroughputCapacityPerHAPair() const { return m_throughputCapacityPerHAPair; }
228 inline bool ThroughputCapacityPerHAPairHasBeenSet() const { return m_throughputCapacityPerHAPairHasBeenSet; }
229 inline void SetThroughputCapacityPerHAPair(int value) {
230 m_throughputCapacityPerHAPairHasBeenSet = true;
231 m_throughputCapacityPerHAPair = value;
232 }
235 return *this;
236 }
238
240
253 inline int GetHAPairs() const { return m_hAPairs; }
254 inline bool HAPairsHasBeenSet() const { return m_hAPairsHasBeenSet; }
255 inline void SetHAPairs(int value) {
256 m_hAPairsHasBeenSet = true;
257 m_hAPairs = value;
258 }
260 SetHAPairs(value);
261 return *this;
262 }
264
266
274 inline const Aws::String& GetEndpointIpv6AddressRange() const { return m_endpointIpv6AddressRange; }
275 inline bool EndpointIpv6AddressRangeHasBeenSet() const { return m_endpointIpv6AddressRangeHasBeenSet; }
276 template <typename EndpointIpv6AddressRangeT = Aws::String>
277 void SetEndpointIpv6AddressRange(EndpointIpv6AddressRangeT&& value) {
278 m_endpointIpv6AddressRangeHasBeenSet = true;
279 m_endpointIpv6AddressRange = std::forward<EndpointIpv6AddressRangeT>(value);
280 }
281 template <typename EndpointIpv6AddressRangeT = Aws::String>
283 SetEndpointIpv6AddressRange(std::forward<EndpointIpv6AddressRangeT>(value));
284 return *this;
285 }
287 private:
288 int m_automaticBackupRetentionDays{0};
289
290 Aws::String m_dailyAutomaticBackupStartTime;
291
292 Aws::String m_fsxAdminPassword;
293
294 Aws::String m_weeklyMaintenanceStartTime;
295
296 DiskIopsConfiguration m_diskIopsConfiguration;
297
298 int m_throughputCapacity{0};
299
300 Aws::Vector<Aws::String> m_addRouteTableIds;
301
302 Aws::Vector<Aws::String> m_removeRouteTableIds;
303
304 int m_throughputCapacityPerHAPair{0};
305
306 int m_hAPairs{0};
307
308 Aws::String m_endpointIpv6AddressRange;
309 bool m_automaticBackupRetentionDaysHasBeenSet = false;
310 bool m_dailyAutomaticBackupStartTimeHasBeenSet = false;
311 bool m_fsxAdminPasswordHasBeenSet = false;
312 bool m_weeklyMaintenanceStartTimeHasBeenSet = false;
313 bool m_diskIopsConfigurationHasBeenSet = false;
314 bool m_throughputCapacityHasBeenSet = false;
315 bool m_addRouteTableIdsHasBeenSet = false;
316 bool m_removeRouteTableIdsHasBeenSet = false;
317 bool m_throughputCapacityPerHAPairHasBeenSet = false;
318 bool m_hAPairsHasBeenSet = false;
319 bool m_endpointIpv6AddressRangeHasBeenSet = false;
320};
321
322} // namespace Model
323} // namespace FSx
324} // 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 & WithEndpointIpv6AddressRange(EndpointIpv6AddressRangeT &&value)
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