AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsRdsDbPendingModifiedValues.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsRdsPendingCloudWatchLogsExports.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/securityhub/model/AwsRdsDbProcessorFeature.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 SecurityHub
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SECURITYHUB_API AwsRdsDbPendingModifiedValues() = default;
41 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDbInstanceClass() const { return m_dbInstanceClass; }
49 inline bool DbInstanceClassHasBeenSet() const { return m_dbInstanceClassHasBeenSet; }
50 template<typename DbInstanceClassT = Aws::String>
51 void SetDbInstanceClass(DbInstanceClassT&& value) { m_dbInstanceClassHasBeenSet = true; m_dbInstanceClass = std::forward<DbInstanceClassT>(value); }
52 template<typename DbInstanceClassT = Aws::String>
53 AwsRdsDbPendingModifiedValues& WithDbInstanceClass(DbInstanceClassT&& value) { SetDbInstanceClass(std::forward<DbInstanceClassT>(value)); return *this;}
55
57
60 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
61 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
62 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
65
67
70 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
71 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
72 template<typename MasterUserPasswordT = Aws::String>
73 void SetMasterUserPassword(MasterUserPasswordT&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::forward<MasterUserPasswordT>(value); }
74 template<typename MasterUserPasswordT = Aws::String>
75 AwsRdsDbPendingModifiedValues& WithMasterUserPassword(MasterUserPasswordT&& value) { SetMasterUserPassword(std::forward<MasterUserPasswordT>(value)); return *this;}
77
79
82 inline int GetPort() const { return m_port; }
83 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
84 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
85 inline AwsRdsDbPendingModifiedValues& WithPort(int value) { SetPort(value); return *this;}
87
89
92 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
93 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
94 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
97
99
103 inline bool GetMultiAZ() const { return m_multiAZ; }
104 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
105 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
106 inline AwsRdsDbPendingModifiedValues& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
108
110
113 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
114 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
115 template<typename EngineVersionT = Aws::String>
116 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
117 template<typename EngineVersionT = Aws::String>
118 AwsRdsDbPendingModifiedValues& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
120
122
125 inline const Aws::String& GetLicenseModel() const { return m_licenseModel; }
126 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
127 template<typename LicenseModelT = Aws::String>
128 void SetLicenseModel(LicenseModelT&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::forward<LicenseModelT>(value); }
129 template<typename LicenseModelT = Aws::String>
130 AwsRdsDbPendingModifiedValues& WithLicenseModel(LicenseModelT&& value) { SetLicenseModel(std::forward<LicenseModelT>(value)); return *this;}
132
134
137 inline int GetIops() const { return m_iops; }
138 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
139 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
140 inline AwsRdsDbPendingModifiedValues& WithIops(int value) { SetIops(value); return *this;}
142
144
147 inline const Aws::String& GetDbInstanceIdentifier() const { return m_dbInstanceIdentifier; }
148 inline bool DbInstanceIdentifierHasBeenSet() const { return m_dbInstanceIdentifierHasBeenSet; }
149 template<typename DbInstanceIdentifierT = Aws::String>
150 void SetDbInstanceIdentifier(DbInstanceIdentifierT&& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = std::forward<DbInstanceIdentifierT>(value); }
151 template<typename DbInstanceIdentifierT = Aws::String>
152 AwsRdsDbPendingModifiedValues& WithDbInstanceIdentifier(DbInstanceIdentifierT&& value) { SetDbInstanceIdentifier(std::forward<DbInstanceIdentifierT>(value)); return *this;}
154
156
159 inline const Aws::String& GetStorageType() const { return m_storageType; }
160 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
161 template<typename StorageTypeT = Aws::String>
162 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
163 template<typename StorageTypeT = Aws::String>
164 AwsRdsDbPendingModifiedValues& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
166
168
171 inline const Aws::String& GetCaCertificateIdentifier() const { return m_caCertificateIdentifier; }
172 inline bool CaCertificateIdentifierHasBeenSet() const { return m_caCertificateIdentifierHasBeenSet; }
173 template<typename CaCertificateIdentifierT = Aws::String>
174 void SetCaCertificateIdentifier(CaCertificateIdentifierT&& value) { m_caCertificateIdentifierHasBeenSet = true; m_caCertificateIdentifier = std::forward<CaCertificateIdentifierT>(value); }
175 template<typename CaCertificateIdentifierT = Aws::String>
176 AwsRdsDbPendingModifiedValues& WithCaCertificateIdentifier(CaCertificateIdentifierT&& value) { SetCaCertificateIdentifier(std::forward<CaCertificateIdentifierT>(value)); return *this;}
178
180
183 inline const Aws::String& GetDbSubnetGroupName() const { return m_dbSubnetGroupName; }
184 inline bool DbSubnetGroupNameHasBeenSet() const { return m_dbSubnetGroupNameHasBeenSet; }
185 template<typename DbSubnetGroupNameT = Aws::String>
186 void SetDbSubnetGroupName(DbSubnetGroupNameT&& value) { m_dbSubnetGroupNameHasBeenSet = true; m_dbSubnetGroupName = std::forward<DbSubnetGroupNameT>(value); }
187 template<typename DbSubnetGroupNameT = Aws::String>
188 AwsRdsDbPendingModifiedValues& WithDbSubnetGroupName(DbSubnetGroupNameT&& value) { SetDbSubnetGroupName(std::forward<DbSubnetGroupNameT>(value)); return *this;}
190
192
195 inline const AwsRdsPendingCloudWatchLogsExports& GetPendingCloudWatchLogsExports() const { return m_pendingCloudWatchLogsExports; }
196 inline bool PendingCloudWatchLogsExportsHasBeenSet() const { return m_pendingCloudWatchLogsExportsHasBeenSet; }
197 template<typename PendingCloudWatchLogsExportsT = AwsRdsPendingCloudWatchLogsExports>
198 void SetPendingCloudWatchLogsExports(PendingCloudWatchLogsExportsT&& value) { m_pendingCloudWatchLogsExportsHasBeenSet = true; m_pendingCloudWatchLogsExports = std::forward<PendingCloudWatchLogsExportsT>(value); }
199 template<typename PendingCloudWatchLogsExportsT = AwsRdsPendingCloudWatchLogsExports>
200 AwsRdsDbPendingModifiedValues& WithPendingCloudWatchLogsExports(PendingCloudWatchLogsExportsT&& value) { SetPendingCloudWatchLogsExports(std::forward<PendingCloudWatchLogsExportsT>(value)); return *this;}
202
204
207 inline const Aws::Vector<AwsRdsDbProcessorFeature>& GetProcessorFeatures() const { return m_processorFeatures; }
208 inline bool ProcessorFeaturesHasBeenSet() const { return m_processorFeaturesHasBeenSet; }
209 template<typename ProcessorFeaturesT = Aws::Vector<AwsRdsDbProcessorFeature>>
210 void SetProcessorFeatures(ProcessorFeaturesT&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures = std::forward<ProcessorFeaturesT>(value); }
211 template<typename ProcessorFeaturesT = Aws::Vector<AwsRdsDbProcessorFeature>>
212 AwsRdsDbPendingModifiedValues& WithProcessorFeatures(ProcessorFeaturesT&& value) { SetProcessorFeatures(std::forward<ProcessorFeaturesT>(value)); return *this;}
213 template<typename ProcessorFeaturesT = AwsRdsDbProcessorFeature>
214 AwsRdsDbPendingModifiedValues& AddProcessorFeatures(ProcessorFeaturesT&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.emplace_back(std::forward<ProcessorFeaturesT>(value)); return *this; }
216 private:
217
218 Aws::String m_dbInstanceClass;
219 bool m_dbInstanceClassHasBeenSet = false;
220
221 int m_allocatedStorage{0};
222 bool m_allocatedStorageHasBeenSet = false;
223
224 Aws::String m_masterUserPassword;
225 bool m_masterUserPasswordHasBeenSet = false;
226
227 int m_port{0};
228 bool m_portHasBeenSet = false;
229
230 int m_backupRetentionPeriod{0};
231 bool m_backupRetentionPeriodHasBeenSet = false;
232
233 bool m_multiAZ{false};
234 bool m_multiAZHasBeenSet = false;
235
236 Aws::String m_engineVersion;
237 bool m_engineVersionHasBeenSet = false;
238
239 Aws::String m_licenseModel;
240 bool m_licenseModelHasBeenSet = false;
241
242 int m_iops{0};
243 bool m_iopsHasBeenSet = false;
244
245 Aws::String m_dbInstanceIdentifier;
246 bool m_dbInstanceIdentifierHasBeenSet = false;
247
248 Aws::String m_storageType;
249 bool m_storageTypeHasBeenSet = false;
250
251 Aws::String m_caCertificateIdentifier;
252 bool m_caCertificateIdentifierHasBeenSet = false;
253
254 Aws::String m_dbSubnetGroupName;
255 bool m_dbSubnetGroupNameHasBeenSet = false;
256
257 AwsRdsPendingCloudWatchLogsExports m_pendingCloudWatchLogsExports;
258 bool m_pendingCloudWatchLogsExportsHasBeenSet = false;
259
260 Aws::Vector<AwsRdsDbProcessorFeature> m_processorFeatures;
261 bool m_processorFeaturesHasBeenSet = false;
262 };
263
264} // namespace Model
265} // namespace SecurityHub
266} // namespace Aws
AwsRdsDbPendingModifiedValues & WithDbInstanceClass(DbInstanceClassT &&value)
const Aws::Vector< AwsRdsDbProcessorFeature > & GetProcessorFeatures() const
AWS_SECURITYHUB_API AwsRdsDbPendingModifiedValues(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbPendingModifiedValues & WithBackupRetentionPeriod(int value)
AwsRdsDbPendingModifiedValues & WithMasterUserPassword(MasterUserPasswordT &&value)
AwsRdsDbPendingModifiedValues & WithEngineVersion(EngineVersionT &&value)
AwsRdsDbPendingModifiedValues & AddProcessorFeatures(ProcessorFeaturesT &&value)
AwsRdsDbPendingModifiedValues & WithCaCertificateIdentifier(CaCertificateIdentifierT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPendingCloudWatchLogsExports(PendingCloudWatchLogsExportsT &&value)
AwsRdsDbPendingModifiedValues & WithStorageType(StorageTypeT &&value)
AwsRdsDbPendingModifiedValues & WithDbSubnetGroupName(DbSubnetGroupNameT &&value)
AWS_SECURITYHUB_API AwsRdsDbPendingModifiedValues & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbPendingModifiedValues & WithPendingCloudWatchLogsExports(PendingCloudWatchLogsExportsT &&value)
AwsRdsDbPendingModifiedValues & WithProcessorFeatures(ProcessorFeaturesT &&value)
AwsRdsDbPendingModifiedValues & WithLicenseModel(LicenseModelT &&value)
AwsRdsDbPendingModifiedValues & WithAllocatedStorage(int value)
AwsRdsDbPendingModifiedValues & WithDbInstanceIdentifier(DbInstanceIdentifierT &&value)
AWS_SECURITYHUB_API AwsRdsDbPendingModifiedValues()=default
const AwsRdsPendingCloudWatchLogsExports & GetPendingCloudWatchLogsExports() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue