AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDailyAutomaticBackupStartTime(const Aws::String& value) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime = value; }
56 inline void SetDailyAutomaticBackupStartTime(Aws::String&& value) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime = std::move(value); }
57 inline void SetDailyAutomaticBackupStartTime(const char* value) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime.assign(value); }
62
64
71 inline const Aws::String& GetFsxAdminPassword() const{ return m_fsxAdminPassword; }
72 inline bool FsxAdminPasswordHasBeenSet() const { return m_fsxAdminPasswordHasBeenSet; }
73 inline void SetFsxAdminPassword(const Aws::String& value) { m_fsxAdminPasswordHasBeenSet = true; m_fsxAdminPassword = value; }
74 inline void SetFsxAdminPassword(Aws::String&& value) { m_fsxAdminPasswordHasBeenSet = true; m_fsxAdminPassword = std::move(value); }
75 inline void SetFsxAdminPassword(const char* value) { m_fsxAdminPasswordHasBeenSet = true; m_fsxAdminPassword.assign(value); }
78 inline UpdateFileSystemOntapConfiguration& WithFsxAdminPassword(const char* value) { SetFsxAdminPassword(value); return *this;}
80
82
83 inline const Aws::String& GetWeeklyMaintenanceStartTime() const{ return m_weeklyMaintenanceStartTime; }
84 inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; }
85 inline void SetWeeklyMaintenanceStartTime(const Aws::String& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = value; }
86 inline void SetWeeklyMaintenanceStartTime(Aws::String&& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = std::move(value); }
87 inline void SetWeeklyMaintenanceStartTime(const char* value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime.assign(value); }
92
94
104 inline const DiskIopsConfiguration& GetDiskIopsConfiguration() const{ return m_diskIopsConfiguration; }
105 inline bool DiskIopsConfigurationHasBeenSet() const { return m_diskIopsConfigurationHasBeenSet; }
106 inline void SetDiskIopsConfiguration(const DiskIopsConfiguration& value) { m_diskIopsConfigurationHasBeenSet = true; m_diskIopsConfiguration = value; }
107 inline void SetDiskIopsConfiguration(DiskIopsConfiguration&& value) { m_diskIopsConfigurationHasBeenSet = true; m_diskIopsConfiguration = std::move(value); }
111
113
125 inline int GetThroughputCapacity() const{ return m_throughputCapacity; }
126 inline bool ThroughputCapacityHasBeenSet() const { return m_throughputCapacityHasBeenSet; }
127 inline void SetThroughputCapacity(int value) { m_throughputCapacityHasBeenSet = true; m_throughputCapacity = value; }
130
132
136 inline const Aws::Vector<Aws::String>& GetAddRouteTableIds() const{ return m_addRouteTableIds; }
137 inline bool AddRouteTableIdsHasBeenSet() const { return m_addRouteTableIdsHasBeenSet; }
138 inline void SetAddRouteTableIds(const Aws::Vector<Aws::String>& value) { m_addRouteTableIdsHasBeenSet = true; m_addRouteTableIds = value; }
139 inline void SetAddRouteTableIds(Aws::Vector<Aws::String>&& value) { m_addRouteTableIdsHasBeenSet = true; m_addRouteTableIds = std::move(value); }
142 inline UpdateFileSystemOntapConfiguration& AddAddRouteTableIds(const Aws::String& value) { m_addRouteTableIdsHasBeenSet = true; m_addRouteTableIds.push_back(value); return *this; }
143 inline UpdateFileSystemOntapConfiguration& AddAddRouteTableIds(Aws::String&& value) { m_addRouteTableIdsHasBeenSet = true; m_addRouteTableIds.push_back(std::move(value)); return *this; }
144 inline UpdateFileSystemOntapConfiguration& AddAddRouteTableIds(const char* value) { m_addRouteTableIdsHasBeenSet = true; m_addRouteTableIds.push_back(value); return *this; }
146
148
154 inline const Aws::Vector<Aws::String>& GetRemoveRouteTableIds() const{ return m_removeRouteTableIds; }
155 inline bool RemoveRouteTableIdsHasBeenSet() const { return m_removeRouteTableIdsHasBeenSet; }
156 inline void SetRemoveRouteTableIds(const Aws::Vector<Aws::String>& value) { m_removeRouteTableIdsHasBeenSet = true; m_removeRouteTableIds = value; }
157 inline void SetRemoveRouteTableIds(Aws::Vector<Aws::String>&& value) { m_removeRouteTableIdsHasBeenSet = true; m_removeRouteTableIds = std::move(value); }
160 inline UpdateFileSystemOntapConfiguration& AddRemoveRouteTableIds(const Aws::String& value) { m_removeRouteTableIdsHasBeenSet = true; m_removeRouteTableIds.push_back(value); return *this; }
161 inline UpdateFileSystemOntapConfiguration& AddRemoveRouteTableIds(Aws::String&& value) { m_removeRouteTableIdsHasBeenSet = true; m_removeRouteTableIds.push_back(std::move(value)); return *this; }
162 inline UpdateFileSystemOntapConfiguration& AddRemoveRouteTableIds(const char* value) { m_removeRouteTableIdsHasBeenSet = true; m_removeRouteTableIds.push_back(value); return *this; }
164
166
185 inline int GetThroughputCapacityPerHAPair() const{ return m_throughputCapacityPerHAPair; }
186 inline bool ThroughputCapacityPerHAPairHasBeenSet() const { return m_throughputCapacityPerHAPairHasBeenSet; }
187 inline void SetThroughputCapacityPerHAPair(int value) { m_throughputCapacityPerHAPairHasBeenSet = true; m_throughputCapacityPerHAPair = value; }
190
192
205 inline int GetHAPairs() const{ return m_hAPairs; }
206 inline bool HAPairsHasBeenSet() const { return m_hAPairsHasBeenSet; }
207 inline void SetHAPairs(int value) { m_hAPairsHasBeenSet = true; m_hAPairs = value; }
208 inline UpdateFileSystemOntapConfiguration& WithHAPairs(int value) { SetHAPairs(value); return *this;}
210 private:
211
212 int m_automaticBackupRetentionDays;
213 bool m_automaticBackupRetentionDaysHasBeenSet = false;
214
215 Aws::String m_dailyAutomaticBackupStartTime;
216 bool m_dailyAutomaticBackupStartTimeHasBeenSet = false;
217
218 Aws::String m_fsxAdminPassword;
219 bool m_fsxAdminPasswordHasBeenSet = false;
220
221 Aws::String m_weeklyMaintenanceStartTime;
222 bool m_weeklyMaintenanceStartTimeHasBeenSet = false;
223
224 DiskIopsConfiguration m_diskIopsConfiguration;
225 bool m_diskIopsConfigurationHasBeenSet = false;
226
227 int m_throughputCapacity;
228 bool m_throughputCapacityHasBeenSet = false;
229
230 Aws::Vector<Aws::String> m_addRouteTableIds;
231 bool m_addRouteTableIdsHasBeenSet = false;
232
233 Aws::Vector<Aws::String> m_removeRouteTableIds;
234 bool m_removeRouteTableIdsHasBeenSet = false;
235
236 int m_throughputCapacityPerHAPair;
237 bool m_throughputCapacityPerHAPairHasBeenSet = false;
238
239 int m_hAPairs;
240 bool m_hAPairsHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace FSx
245} // namespace Aws
UpdateFileSystemOntapConfiguration & WithRemoveRouteTableIds(const Aws::Vector< Aws::String > &value)
UpdateFileSystemOntapConfiguration & WithDailyAutomaticBackupStartTime(Aws::String &&value)
UpdateFileSystemOntapConfiguration & WithThroughputCapacityPerHAPair(int value)
UpdateFileSystemOntapConfiguration & WithAddRouteTableIds(const Aws::Vector< Aws::String > &value)
AWS_FSX_API UpdateFileSystemOntapConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAddRouteTableIds(const Aws::Vector< Aws::String > &value)
UpdateFileSystemOntapConfiguration & WithRemoveRouteTableIds(Aws::Vector< Aws::String > &&value)
UpdateFileSystemOntapConfiguration & AddRemoveRouteTableIds(const Aws::String &value)
UpdateFileSystemOntapConfiguration & AddAddRouteTableIds(const char *value)
UpdateFileSystemOntapConfiguration & WithAutomaticBackupRetentionDays(int value)
UpdateFileSystemOntapConfiguration & WithFsxAdminPassword(const Aws::String &value)
UpdateFileSystemOntapConfiguration & WithDiskIopsConfiguration(DiskIopsConfiguration &&value)
UpdateFileSystemOntapConfiguration & AddRemoveRouteTableIds(Aws::String &&value)
UpdateFileSystemOntapConfiguration & WithAddRouteTableIds(Aws::Vector< Aws::String > &&value)
UpdateFileSystemOntapConfiguration & WithWeeklyMaintenanceStartTime(const char *value)
UpdateFileSystemOntapConfiguration & AddAddRouteTableIds(Aws::String &&value)
UpdateFileSystemOntapConfiguration & WithFsxAdminPassword(const char *value)
void SetRemoveRouteTableIds(const Aws::Vector< Aws::String > &value)
UpdateFileSystemOntapConfiguration & WithDailyAutomaticBackupStartTime(const char *value)
UpdateFileSystemOntapConfiguration & WithFsxAdminPassword(Aws::String &&value)
UpdateFileSystemOntapConfiguration & WithThroughputCapacity(int value)
AWS_FSX_API UpdateFileSystemOntapConfiguration(Aws::Utils::Json::JsonView jsonValue)
UpdateFileSystemOntapConfiguration & WithHAPairs(int value)
UpdateFileSystemOntapConfiguration & AddRemoveRouteTableIds(const char *value)
UpdateFileSystemOntapConfiguration & WithDailyAutomaticBackupStartTime(const Aws::String &value)
UpdateFileSystemOntapConfiguration & AddAddRouteTableIds(const Aws::String &value)
UpdateFileSystemOntapConfiguration & WithWeeklyMaintenanceStartTime(const Aws::String &value)
UpdateFileSystemOntapConfiguration & WithWeeklyMaintenanceStartTime(Aws::String &&value)
UpdateFileSystemOntapConfiguration & 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