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/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/neptune/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 Neptune
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_NEPTUNE_API PendingModifiedValues();
37 AWS_NEPTUNE_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_NEPTUNE_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
74 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
75 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
76 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
77 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
78 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
80 inline PendingModifiedValues& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
81 inline PendingModifiedValues& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
83
85
88 inline int GetPort() const{ return m_port; }
89 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
90 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
91 inline PendingModifiedValues& WithPort(int value) { SetPort(value); return *this;}
93
95
99 inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; }
100 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
101 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
104
106
110 inline bool GetMultiAZ() const{ return m_multiAZ; }
111 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
112 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
113 inline PendingModifiedValues& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
115
117
120 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
121 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
122 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
123 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
124 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
125 inline PendingModifiedValues& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
126 inline PendingModifiedValues& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
127 inline PendingModifiedValues& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
129
131
134 inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; }
135 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
136 inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; }
137 inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); }
138 inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); }
139 inline PendingModifiedValues& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;}
140 inline PendingModifiedValues& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;}
141 inline PendingModifiedValues& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;}
143
145
149 inline int GetIops() const{ return m_iops; }
150 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
151 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
152 inline PendingModifiedValues& WithIops(int value) { SetIops(value); return *this;}
154
156
160 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
161 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
162 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
163 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
164 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
166 inline PendingModifiedValues& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
167 inline PendingModifiedValues& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
169
171
174 inline const Aws::String& GetStorageType() const{ return m_storageType; }
175 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
176 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
177 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
178 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
179 inline PendingModifiedValues& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
180 inline PendingModifiedValues& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
181 inline PendingModifiedValues& WithStorageType(const char* value) { SetStorageType(value); return *this;}
183
185
188 inline const Aws::String& GetCACertificateIdentifier() const{ return m_cACertificateIdentifier; }
189 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
190 inline void SetCACertificateIdentifier(const Aws::String& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = value; }
191 inline void SetCACertificateIdentifier(Aws::String&& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = std::move(value); }
192 inline void SetCACertificateIdentifier(const char* value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier.assign(value); }
195 inline PendingModifiedValues& WithCACertificateIdentifier(const char* value) { SetCACertificateIdentifier(value); return *this;}
197
199
202 inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
203 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
204 inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
205 inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
206 inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
208 inline PendingModifiedValues& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
209 inline PendingModifiedValues& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
211
213
217 inline const PendingCloudwatchLogsExports& GetPendingCloudwatchLogsExports() const{ return m_pendingCloudwatchLogsExports; }
218 inline bool PendingCloudwatchLogsExportsHasBeenSet() const { return m_pendingCloudwatchLogsExportsHasBeenSet; }
219 inline void SetPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = value; }
220 inline void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExports&& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = std::move(value); }
224 private:
225
226 Aws::String m_dBInstanceClass;
227 bool m_dBInstanceClassHasBeenSet = false;
228
229 int m_allocatedStorage;
230 bool m_allocatedStorageHasBeenSet = false;
231
232 Aws::String m_masterUserPassword;
233 bool m_masterUserPasswordHasBeenSet = false;
234
235 int m_port;
236 bool m_portHasBeenSet = false;
237
238 int m_backupRetentionPeriod;
239 bool m_backupRetentionPeriodHasBeenSet = false;
240
241 bool m_multiAZ;
242 bool m_multiAZHasBeenSet = false;
243
244 Aws::String m_engineVersion;
245 bool m_engineVersionHasBeenSet = false;
246
247 Aws::String m_licenseModel;
248 bool m_licenseModelHasBeenSet = false;
249
250 int m_iops;
251 bool m_iopsHasBeenSet = false;
252
253 Aws::String m_dBInstanceIdentifier;
254 bool m_dBInstanceIdentifierHasBeenSet = false;
255
256 Aws::String m_storageType;
257 bool m_storageTypeHasBeenSet = false;
258
259 Aws::String m_cACertificateIdentifier;
260 bool m_cACertificateIdentifierHasBeenSet = false;
261
262 Aws::String m_dBSubnetGroupName;
263 bool m_dBSubnetGroupNameHasBeenSet = false;
264
265 PendingCloudwatchLogsExports m_pendingCloudwatchLogsExports;
266 bool m_pendingCloudwatchLogsExportsHasBeenSet = false;
267 };
268
269} // namespace Model
270} // namespace Neptune
271} // namespace Aws
PendingModifiedValues & WithPort(int value)
PendingModifiedValues & WithDBSubnetGroupName(Aws::String &&value)
void SetMasterUserPassword(const Aws::String &value)
PendingModifiedValues & WithDBInstanceClass(const Aws::String &value)
PendingModifiedValues & WithEngineVersion(const char *value)
void SetCACertificateIdentifier(const Aws::String &value)
void SetEngineVersion(const Aws::String &value)
void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExports &&value)
PendingModifiedValues & WithEngineVersion(const Aws::String &value)
PendingModifiedValues & WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExports &&value)
const PendingCloudwatchLogsExports & GetPendingCloudwatchLogsExports() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PendingModifiedValues & WithDBSubnetGroupName(const char *value)
void SetDBInstanceClass(const Aws::String &value)
PendingModifiedValues & WithDBInstanceIdentifier(Aws::String &&value)
void SetDBSubnetGroupName(const Aws::String &value)
PendingModifiedValues & WithBackupRetentionPeriod(int value)
PendingModifiedValues & WithCACertificateIdentifier(const Aws::String &value)
PendingModifiedValues & WithEngineVersion(Aws::String &&value)
PendingModifiedValues & WithLicenseModel(const Aws::String &value)
PendingModifiedValues & WithMasterUserPassword(Aws::String &&value)
PendingModifiedValues & WithMultiAZ(bool value)
AWS_NEPTUNE_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingModifiedValues & WithCACertificateIdentifier(const char *value)
PendingModifiedValues & WithPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports &value)
AWS_NEPTUNE_API PendingModifiedValues & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingModifiedValues & WithMasterUserPassword(const char *value)
PendingModifiedValues & WithDBInstanceClass(const char *value)
PendingModifiedValues & WithLicenseModel(Aws::String &&value)
PendingModifiedValues & WithStorageType(const char *value)
PendingModifiedValues & WithDBInstanceClass(Aws::String &&value)
PendingModifiedValues & WithDBInstanceIdentifier(const char *value)
PendingModifiedValues & WithLicenseModel(const char *value)
PendingModifiedValues & WithStorageType(const Aws::String &value)
const Aws::String & GetCACertificateIdentifier() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PendingModifiedValues & WithCACertificateIdentifier(Aws::String &&value)
PendingModifiedValues & WithStorageType(Aws::String &&value)
PendingModifiedValues & WithDBSubnetGroupName(const Aws::String &value)
void SetPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports &value)
PendingModifiedValues & WithIops(int value)
void SetDBInstanceIdentifier(const Aws::String &value)
PendingModifiedValues & WithAllocatedStorage(int value)
PendingModifiedValues & WithMasterUserPassword(const Aws::String &value)
PendingModifiedValues & WithDBInstanceIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream