AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PendingModifiedValues.h
1
6#pragma once
7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/docdb/model/PendingCloudwatchLogsExports.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace DocDB
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DOCDB_API PendingModifiedValues();
37 AWS_DOCDB_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
49 inline const Aws::String& GetDBInstanceClass() const{ return m_dBInstanceClass; }
50 inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; }
51 inline void SetDBInstanceClass(const Aws::String& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = value; }
52 inline void SetDBInstanceClass(Aws::String&& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = std::move(value); }
53 inline void SetDBInstanceClass(const char* value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass.assign(value); }
54 inline PendingModifiedValues& WithDBInstanceClass(const Aws::String& value) { SetDBInstanceClass(value); return *this;}
55 inline PendingModifiedValues& WithDBInstanceClass(Aws::String&& value) { SetDBInstanceClass(std::move(value)); return *this;}
56 inline PendingModifiedValues& WithDBInstanceClass(const char* value) { SetDBInstanceClass(value); return *this;}
58
60
64 inline int GetAllocatedStorage() const{ return m_allocatedStorage; }
65 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
66 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
67 inline PendingModifiedValues& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
69
71
75 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
76 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
77 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
78 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
79 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
81 inline PendingModifiedValues& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
82 inline PendingModifiedValues& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
84
86
89 inline int GetPort() const{ return m_port; }
90 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
91 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
92 inline PendingModifiedValues& WithPort(int value) { SetPort(value); return *this;}
94
96
100 inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; }
101 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
102 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
105
107
111 inline bool GetMultiAZ() const{ return m_multiAZ; }
112 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
113 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
114 inline PendingModifiedValues& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
116
118
121 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
122 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
123 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
124 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
125 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
126 inline PendingModifiedValues& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
127 inline PendingModifiedValues& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
128 inline PendingModifiedValues& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
130
132
137 inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; }
138 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
139 inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; }
140 inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); }
141 inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); }
142 inline PendingModifiedValues& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;}
143 inline PendingModifiedValues& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;}
144 inline PendingModifiedValues& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;}
146
148
152 inline int GetIops() const{ return m_iops; }
153 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
154 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
155 inline PendingModifiedValues& WithIops(int value) { SetIops(value); return *this;}
157
159
163 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
164 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
165 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
166 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
167 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
169 inline PendingModifiedValues& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
170 inline PendingModifiedValues& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
172
174
177 inline const Aws::String& GetStorageType() const{ return m_storageType; }
178 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
179 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
180 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
181 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
182 inline PendingModifiedValues& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
183 inline PendingModifiedValues& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
184 inline PendingModifiedValues& WithStorageType(const char* value) { SetStorageType(value); return *this;}
186
188
192 inline const Aws::String& GetCACertificateIdentifier() const{ return m_cACertificateIdentifier; }
193 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
194 inline void SetCACertificateIdentifier(const Aws::String& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = value; }
195 inline void SetCACertificateIdentifier(Aws::String&& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = std::move(value); }
196 inline void SetCACertificateIdentifier(const char* value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier.assign(value); }
199 inline PendingModifiedValues& WithCACertificateIdentifier(const char* value) { SetCACertificateIdentifier(value); return *this;}
201
203
206 inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
207 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
208 inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
209 inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
210 inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
212 inline PendingModifiedValues& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
213 inline PendingModifiedValues& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
215
217
221 inline const PendingCloudwatchLogsExports& GetPendingCloudwatchLogsExports() const{ return m_pendingCloudwatchLogsExports; }
222 inline bool PendingCloudwatchLogsExportsHasBeenSet() const { return m_pendingCloudwatchLogsExportsHasBeenSet; }
223 inline void SetPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = value; }
224 inline void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExports&& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = std::move(value); }
228 private:
229
230 Aws::String m_dBInstanceClass;
231 bool m_dBInstanceClassHasBeenSet = false;
232
233 int m_allocatedStorage;
234 bool m_allocatedStorageHasBeenSet = false;
235
236 Aws::String m_masterUserPassword;
237 bool m_masterUserPasswordHasBeenSet = false;
238
239 int m_port;
240 bool m_portHasBeenSet = false;
241
242 int m_backupRetentionPeriod;
243 bool m_backupRetentionPeriodHasBeenSet = false;
244
245 bool m_multiAZ;
246 bool m_multiAZHasBeenSet = false;
247
248 Aws::String m_engineVersion;
249 bool m_engineVersionHasBeenSet = false;
250
251 Aws::String m_licenseModel;
252 bool m_licenseModelHasBeenSet = false;
253
254 int m_iops;
255 bool m_iopsHasBeenSet = false;
256
257 Aws::String m_dBInstanceIdentifier;
258 bool m_dBInstanceIdentifierHasBeenSet = false;
259
260 Aws::String m_storageType;
261 bool m_storageTypeHasBeenSet = false;
262
263 Aws::String m_cACertificateIdentifier;
264 bool m_cACertificateIdentifierHasBeenSet = false;
265
266 Aws::String m_dBSubnetGroupName;
267 bool m_dBSubnetGroupNameHasBeenSet = false;
268
269 PendingCloudwatchLogsExports m_pendingCloudwatchLogsExports;
270 bool m_pendingCloudwatchLogsExportsHasBeenSet = false;
271 };
272
273} // namespace Model
274} // namespace DocDB
275} // namespace Aws
PendingModifiedValues & WithMultiAZ(bool value)
PendingModifiedValues & WithStorageType(Aws::String &&value)
void SetMasterUserPassword(const Aws::String &value)
PendingModifiedValues & WithDBSubnetGroupName(Aws::String &&value)
void SetDBInstanceIdentifier(const Aws::String &value)
PendingModifiedValues & WithIops(int value)
PendingModifiedValues & WithStorageType(const char *value)
PendingModifiedValues & WithDBInstanceClass(const Aws::String &value)
PendingModifiedValues & WithDBInstanceClass(const char *value)
void SetStorageType(const Aws::String &value)
const PendingCloudwatchLogsExports & GetPendingCloudwatchLogsExports() const
PendingModifiedValues & WithStorageType(const Aws::String &value)
void SetPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports &value)
PendingModifiedValues & WithCACertificateIdentifier(Aws::String &&value)
PendingModifiedValues & WithLicenseModel(Aws::String &&value)
PendingModifiedValues & WithPort(int value)
PendingModifiedValues & WithPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports &value)
AWS_DOCDB_API PendingModifiedValues & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBInstanceClass(const Aws::String &value)
const Aws::String & GetMasterUserPassword() const
void SetCACertificateIdentifier(const Aws::String &value)
PendingModifiedValues & WithMasterUserPassword(const char *value)
PendingModifiedValues & WithEngineVersion(const Aws::String &value)
AWS_DOCDB_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingModifiedValues & WithDBSubnetGroupName(const Aws::String &value)
PendingModifiedValues & WithCACertificateIdentifier(const char *value)
void SetLicenseModel(const Aws::String &value)
PendingModifiedValues & WithMasterUserPassword(const Aws::String &value)
PendingModifiedValues & WithAllocatedStorage(int value)
PendingModifiedValues & WithEngineVersion(const char *value)
const Aws::String & GetCACertificateIdentifier() const
PendingModifiedValues & WithMasterUserPassword(Aws::String &&value)
PendingModifiedValues & WithLicenseModel(const char *value)
PendingModifiedValues & WithDBInstanceIdentifier(const Aws::String &value)
PendingModifiedValues & WithCACertificateIdentifier(const Aws::String &value)
void SetDBSubnetGroupName(const Aws::String &value)
PendingModifiedValues & WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExports &&value)
PendingModifiedValues & WithDBSubnetGroupName(const char *value)
PendingModifiedValues & WithBackupRetentionPeriod(int value)
PendingModifiedValues & WithDBInstanceIdentifier(Aws::String &&value)
PendingModifiedValues & WithEngineVersion(Aws::String &&value)
PendingModifiedValues & WithDBInstanceClass(Aws::String &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PendingModifiedValues & WithDBInstanceIdentifier(const char *value)
void SetEngineVersion(const Aws::String &value)
const Aws::String & GetDBInstanceIdentifier() const
void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExports &&value)
PendingModifiedValues & WithLicenseModel(const Aws::String &value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream