AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrderableDBInstanceOption.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/neptune/model/AvailabilityZone.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace Neptune
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_NEPTUNE_API OrderableDBInstanceOption();
39 AWS_NEPTUNE_API OrderableDBInstanceOption(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetEngine() const{ return m_engine; }
51 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
52 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
53 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
54 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
55 inline OrderableDBInstanceOption& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
56 inline OrderableDBInstanceOption& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
57 inline OrderableDBInstanceOption& WithEngine(const char* value) { SetEngine(value); return *this;}
59
61
64 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
65 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
66 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
67 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
68 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
69 inline OrderableDBInstanceOption& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
70 inline OrderableDBInstanceOption& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
71 inline OrderableDBInstanceOption& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
73
75
78 inline const Aws::String& GetDBInstanceClass() const{ return m_dBInstanceClass; }
79 inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; }
80 inline void SetDBInstanceClass(const Aws::String& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = value; }
81 inline void SetDBInstanceClass(Aws::String&& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = std::move(value); }
82 inline void SetDBInstanceClass(const char* value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass.assign(value); }
83 inline OrderableDBInstanceOption& WithDBInstanceClass(const Aws::String& value) { SetDBInstanceClass(value); return *this;}
84 inline OrderableDBInstanceOption& WithDBInstanceClass(Aws::String&& value) { SetDBInstanceClass(std::move(value)); return *this;}
85 inline OrderableDBInstanceOption& WithDBInstanceClass(const char* value) { SetDBInstanceClass(value); return *this;}
87
89
92 inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; }
93 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
94 inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; }
95 inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); }
96 inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); }
97 inline OrderableDBInstanceOption& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;}
98 inline OrderableDBInstanceOption& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;}
99 inline OrderableDBInstanceOption& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;}
101
103
106 inline const Aws::Vector<AvailabilityZone>& GetAvailabilityZones() const{ return m_availabilityZones; }
107 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
108 inline void SetAvailabilityZones(const Aws::Vector<AvailabilityZone>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
109 inline void SetAvailabilityZones(Aws::Vector<AvailabilityZone>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
112 inline OrderableDBInstanceOption& AddAvailabilityZones(const AvailabilityZone& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
113 inline OrderableDBInstanceOption& AddAvailabilityZones(AvailabilityZone&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
115
117
120 inline bool GetMultiAZCapable() const{ return m_multiAZCapable; }
121 inline bool MultiAZCapableHasBeenSet() const { return m_multiAZCapableHasBeenSet; }
122 inline void SetMultiAZCapable(bool value) { m_multiAZCapableHasBeenSet = true; m_multiAZCapable = value; }
123 inline OrderableDBInstanceOption& WithMultiAZCapable(bool value) { SetMultiAZCapable(value); return *this;}
125
127
130 inline bool GetReadReplicaCapable() const{ return m_readReplicaCapable; }
131 inline bool ReadReplicaCapableHasBeenSet() const { return m_readReplicaCapableHasBeenSet; }
132 inline void SetReadReplicaCapable(bool value) { m_readReplicaCapableHasBeenSet = true; m_readReplicaCapable = value; }
133 inline OrderableDBInstanceOption& WithReadReplicaCapable(bool value) { SetReadReplicaCapable(value); return *this;}
135
137
140 inline bool GetVpc() const{ return m_vpc; }
141 inline bool VpcHasBeenSet() const { return m_vpcHasBeenSet; }
142 inline void SetVpc(bool value) { m_vpcHasBeenSet = true; m_vpc = value; }
143 inline OrderableDBInstanceOption& WithVpc(bool value) { SetVpc(value); return *this;}
145
147
150 inline bool GetSupportsStorageEncryption() const{ return m_supportsStorageEncryption; }
151 inline bool SupportsStorageEncryptionHasBeenSet() const { return m_supportsStorageEncryptionHasBeenSet; }
152 inline void SetSupportsStorageEncryption(bool value) { m_supportsStorageEncryptionHasBeenSet = true; m_supportsStorageEncryption = value; }
155
157
160 inline const Aws::String& GetStorageType() const{ return m_storageType; }
161 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
162 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
163 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
164 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
165 inline OrderableDBInstanceOption& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
166 inline OrderableDBInstanceOption& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
167 inline OrderableDBInstanceOption& WithStorageType(const char* value) { SetStorageType(value); return *this;}
169
171
174 inline bool GetSupportsIops() const{ return m_supportsIops; }
175 inline bool SupportsIopsHasBeenSet() const { return m_supportsIopsHasBeenSet; }
176 inline void SetSupportsIops(bool value) { m_supportsIopsHasBeenSet = true; m_supportsIops = value; }
177 inline OrderableDBInstanceOption& WithSupportsIops(bool value) { SetSupportsIops(value); return *this;}
179
181
185 inline bool GetSupportsEnhancedMonitoring() const{ return m_supportsEnhancedMonitoring; }
186 inline bool SupportsEnhancedMonitoringHasBeenSet() const { return m_supportsEnhancedMonitoringHasBeenSet; }
187 inline void SetSupportsEnhancedMonitoring(bool value) { m_supportsEnhancedMonitoringHasBeenSet = true; m_supportsEnhancedMonitoring = value; }
190
192
195 inline bool GetSupportsIAMDatabaseAuthentication() const{ return m_supportsIAMDatabaseAuthentication; }
196 inline bool SupportsIAMDatabaseAuthenticationHasBeenSet() const { return m_supportsIAMDatabaseAuthenticationHasBeenSet; }
197 inline void SetSupportsIAMDatabaseAuthentication(bool value) { m_supportsIAMDatabaseAuthenticationHasBeenSet = true; m_supportsIAMDatabaseAuthentication = value; }
200
202
205 inline bool GetSupportsPerformanceInsights() const{ return m_supportsPerformanceInsights; }
206 inline bool SupportsPerformanceInsightsHasBeenSet() const { return m_supportsPerformanceInsightsHasBeenSet; }
207 inline void SetSupportsPerformanceInsights(bool value) { m_supportsPerformanceInsightsHasBeenSet = true; m_supportsPerformanceInsights = value; }
210
212
215 inline int GetMinStorageSize() const{ return m_minStorageSize; }
216 inline bool MinStorageSizeHasBeenSet() const { return m_minStorageSizeHasBeenSet; }
217 inline void SetMinStorageSize(int value) { m_minStorageSizeHasBeenSet = true; m_minStorageSize = value; }
218 inline OrderableDBInstanceOption& WithMinStorageSize(int value) { SetMinStorageSize(value); return *this;}
220
222
225 inline int GetMaxStorageSize() const{ return m_maxStorageSize; }
226 inline bool MaxStorageSizeHasBeenSet() const { return m_maxStorageSizeHasBeenSet; }
227 inline void SetMaxStorageSize(int value) { m_maxStorageSizeHasBeenSet = true; m_maxStorageSize = value; }
228 inline OrderableDBInstanceOption& WithMaxStorageSize(int value) { SetMaxStorageSize(value); return *this;}
230
232
235 inline int GetMinIopsPerDbInstance() const{ return m_minIopsPerDbInstance; }
236 inline bool MinIopsPerDbInstanceHasBeenSet() const { return m_minIopsPerDbInstanceHasBeenSet; }
237 inline void SetMinIopsPerDbInstance(int value) { m_minIopsPerDbInstanceHasBeenSet = true; m_minIopsPerDbInstance = value; }
240
242
245 inline int GetMaxIopsPerDbInstance() const{ return m_maxIopsPerDbInstance; }
246 inline bool MaxIopsPerDbInstanceHasBeenSet() const { return m_maxIopsPerDbInstanceHasBeenSet; }
247 inline void SetMaxIopsPerDbInstance(int value) { m_maxIopsPerDbInstanceHasBeenSet = true; m_maxIopsPerDbInstance = value; }
250
252
255 inline double GetMinIopsPerGib() const{ return m_minIopsPerGib; }
256 inline bool MinIopsPerGibHasBeenSet() const { return m_minIopsPerGibHasBeenSet; }
257 inline void SetMinIopsPerGib(double value) { m_minIopsPerGibHasBeenSet = true; m_minIopsPerGib = value; }
258 inline OrderableDBInstanceOption& WithMinIopsPerGib(double value) { SetMinIopsPerGib(value); return *this;}
260
262
265 inline double GetMaxIopsPerGib() const{ return m_maxIopsPerGib; }
266 inline bool MaxIopsPerGibHasBeenSet() const { return m_maxIopsPerGibHasBeenSet; }
267 inline void SetMaxIopsPerGib(double value) { m_maxIopsPerGibHasBeenSet = true; m_maxIopsPerGib = value; }
268 inline OrderableDBInstanceOption& WithMaxIopsPerGib(double value) { SetMaxIopsPerGib(value); return *this;}
270
272
276 inline bool GetSupportsGlobalDatabases() const{ return m_supportsGlobalDatabases; }
277 inline bool SupportsGlobalDatabasesHasBeenSet() const { return m_supportsGlobalDatabasesHasBeenSet; }
278 inline void SetSupportsGlobalDatabases(bool value) { m_supportsGlobalDatabasesHasBeenSet = true; m_supportsGlobalDatabases = value; }
281 private:
282
283 Aws::String m_engine;
284 bool m_engineHasBeenSet = false;
285
286 Aws::String m_engineVersion;
287 bool m_engineVersionHasBeenSet = false;
288
289 Aws::String m_dBInstanceClass;
290 bool m_dBInstanceClassHasBeenSet = false;
291
292 Aws::String m_licenseModel;
293 bool m_licenseModelHasBeenSet = false;
294
295 Aws::Vector<AvailabilityZone> m_availabilityZones;
296 bool m_availabilityZonesHasBeenSet = false;
297
298 bool m_multiAZCapable;
299 bool m_multiAZCapableHasBeenSet = false;
300
301 bool m_readReplicaCapable;
302 bool m_readReplicaCapableHasBeenSet = false;
303
304 bool m_vpc;
305 bool m_vpcHasBeenSet = false;
306
307 bool m_supportsStorageEncryption;
308 bool m_supportsStorageEncryptionHasBeenSet = false;
309
310 Aws::String m_storageType;
311 bool m_storageTypeHasBeenSet = false;
312
313 bool m_supportsIops;
314 bool m_supportsIopsHasBeenSet = false;
315
316 bool m_supportsEnhancedMonitoring;
317 bool m_supportsEnhancedMonitoringHasBeenSet = false;
318
319 bool m_supportsIAMDatabaseAuthentication;
320 bool m_supportsIAMDatabaseAuthenticationHasBeenSet = false;
321
322 bool m_supportsPerformanceInsights;
323 bool m_supportsPerformanceInsightsHasBeenSet = false;
324
325 int m_minStorageSize;
326 bool m_minStorageSizeHasBeenSet = false;
327
328 int m_maxStorageSize;
329 bool m_maxStorageSizeHasBeenSet = false;
330
331 int m_minIopsPerDbInstance;
332 bool m_minIopsPerDbInstanceHasBeenSet = false;
333
334 int m_maxIopsPerDbInstance;
335 bool m_maxIopsPerDbInstanceHasBeenSet = false;
336
337 double m_minIopsPerGib;
338 bool m_minIopsPerGibHasBeenSet = false;
339
340 double m_maxIopsPerGib;
341 bool m_maxIopsPerGibHasBeenSet = false;
342
343 bool m_supportsGlobalDatabases;
344 bool m_supportsGlobalDatabasesHasBeenSet = false;
345 };
346
347} // namespace Model
348} // namespace Neptune
349} // namespace Aws
OrderableDBInstanceOption & WithLicenseModel(const Aws::String &value)
OrderableDBInstanceOption & WithEngineVersion(const char *value)
OrderableDBInstanceOption & WithReadReplicaCapable(bool value)
OrderableDBInstanceOption & WithLicenseModel(const char *value)
OrderableDBInstanceOption & WithMultiAZCapable(bool value)
OrderableDBInstanceOption & WithMaxIopsPerGib(double value)
OrderableDBInstanceOption & WithEngine(const char *value)
OrderableDBInstanceOption & WithSupportsGlobalDatabases(bool value)
OrderableDBInstanceOption & AddAvailabilityZones(const AvailabilityZone &value)
OrderableDBInstanceOption & WithSupportsIops(bool value)
OrderableDBInstanceOption & WithSupportsEnhancedMonitoring(bool value)
void SetAvailabilityZones(const Aws::Vector< AvailabilityZone > &value)
OrderableDBInstanceOption & WithSupportsPerformanceInsights(bool value)
OrderableDBInstanceOption & WithEngine(const Aws::String &value)
OrderableDBInstanceOption & WithDBInstanceClass(const char *value)
OrderableDBInstanceOption & WithStorageType(Aws::String &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
OrderableDBInstanceOption & WithAvailabilityZones(const Aws::Vector< AvailabilityZone > &value)
OrderableDBInstanceOption & WithEngine(Aws::String &&value)
OrderableDBInstanceOption & WithLicenseModel(Aws::String &&value)
OrderableDBInstanceOption & WithMinStorageSize(int value)
AWS_NEPTUNE_API OrderableDBInstanceOption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
OrderableDBInstanceOption & WithDBInstanceClass(const Aws::String &value)
OrderableDBInstanceOption & AddAvailabilityZones(AvailabilityZone &&value)
OrderableDBInstanceOption & WithStorageType(const char *value)
OrderableDBInstanceOption & WithSupportsIAMDatabaseAuthentication(bool value)
void SetAvailabilityZones(Aws::Vector< AvailabilityZone > &&value)
OrderableDBInstanceOption & WithStorageType(const Aws::String &value)
OrderableDBInstanceOption & WithDBInstanceClass(Aws::String &&value)
OrderableDBInstanceOption & WithEngineVersion(const Aws::String &value)
OrderableDBInstanceOption & WithMinIopsPerDbInstance(int value)
OrderableDBInstanceOption & WithMinIopsPerGib(double value)
OrderableDBInstanceOption & WithEngineVersion(Aws::String &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
OrderableDBInstanceOption & WithVpc(bool value)
OrderableDBInstanceOption & WithMaxStorageSize(int value)
const Aws::Vector< AvailabilityZone > & GetAvailabilityZones() const
AWS_NEPTUNE_API OrderableDBInstanceOption(const Aws::Utils::Xml::XmlNode &xmlNode)
OrderableDBInstanceOption & WithMaxIopsPerDbInstance(int value)
OrderableDBInstanceOption & WithAvailabilityZones(Aws::Vector< AvailabilityZone > &&value)
OrderableDBInstanceOption & WithSupportsStorageEncryption(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream