AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ClusterPendingModifiedValues.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rds/RDS_EXPORTS.h>
10#include <aws/rds/model/CertificateDetails.h>
11#include <aws/rds/model/PendingCloudwatchLogsExports.h>
12#include <aws/rds/model/RdsCustomClusterConfiguration.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Xml {
19class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace RDS {
23namespace Model {
24
33 public:
34 AWS_RDS_API ClusterPendingModifiedValues() = default;
37
38 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
42
43 inline const PendingCloudwatchLogsExports& GetPendingCloudwatchLogsExports() const { return m_pendingCloudwatchLogsExports; }
44 inline bool PendingCloudwatchLogsExportsHasBeenSet() const { return m_pendingCloudwatchLogsExportsHasBeenSet; }
45 template <typename PendingCloudwatchLogsExportsT = PendingCloudwatchLogsExports>
46 void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT&& value) {
47 m_pendingCloudwatchLogsExportsHasBeenSet = true;
48 m_pendingCloudwatchLogsExports = std::forward<PendingCloudwatchLogsExportsT>(value);
49 }
50 template <typename PendingCloudwatchLogsExportsT = PendingCloudwatchLogsExports>
51 ClusterPendingModifiedValues& WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT&& value) {
52 SetPendingCloudwatchLogsExports(std::forward<PendingCloudwatchLogsExportsT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
62 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
63 template <typename DBClusterIdentifierT = Aws::String>
64 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
65 m_dBClusterIdentifierHasBeenSet = true;
66 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
67 }
68 template <typename DBClusterIdentifierT = Aws::String>
70 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
80 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
81 template <typename MasterUserPasswordT = Aws::String>
82 void SetMasterUserPassword(MasterUserPasswordT&& value) {
83 m_masterUserPasswordHasBeenSet = true;
84 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
85 }
86 template <typename MasterUserPasswordT = Aws::String>
88 SetMasterUserPassword(std::forward<MasterUserPasswordT>(value));
89 return *this;
90 }
92
94
98 inline bool GetIAMDatabaseAuthenticationEnabled() const { return m_iAMDatabaseAuthenticationEnabled; }
99 inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; }
100 inline void SetIAMDatabaseAuthenticationEnabled(bool value) {
101 m_iAMDatabaseAuthenticationEnabledHasBeenSet = true;
102 m_iAMDatabaseAuthenticationEnabled = value;
103 }
106 return *this;
107 }
109
111
114 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
115 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
116 template <typename EngineVersionT = Aws::String>
117 void SetEngineVersion(EngineVersionT&& value) {
118 m_engineVersionHasBeenSet = true;
119 m_engineVersion = std::forward<EngineVersionT>(value);
120 }
121 template <typename EngineVersionT = Aws::String>
123 SetEngineVersion(std::forward<EngineVersionT>(value));
124 return *this;
125 }
127
129
132 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
133 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
134 inline void SetBackupRetentionPeriod(int value) {
135 m_backupRetentionPeriodHasBeenSet = true;
136 m_backupRetentionPeriod = value;
137 }
140 return *this;
141 }
143
145
148 inline const Aws::String& GetStorageType() const { return m_storageType; }
149 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
150 template <typename StorageTypeT = Aws::String>
151 void SetStorageType(StorageTypeT&& value) {
152 m_storageTypeHasBeenSet = true;
153 m_storageType = std::forward<StorageTypeT>(value);
154 }
155 template <typename StorageTypeT = Aws::String>
157 SetStorageType(std::forward<StorageTypeT>(value));
158 return *this;
159 }
161
163
169 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
170 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
171 inline void SetAllocatedStorage(int value) {
172 m_allocatedStorageHasBeenSet = true;
173 m_allocatedStorage = value;
174 }
176 SetAllocatedStorage(value);
177 return *this;
178 }
180
182
185 inline const RdsCustomClusterConfiguration& GetRdsCustomClusterConfiguration() const { return m_rdsCustomClusterConfiguration; }
186 inline bool RdsCustomClusterConfigurationHasBeenSet() const { return m_rdsCustomClusterConfigurationHasBeenSet; }
187 template <typename RdsCustomClusterConfigurationT = RdsCustomClusterConfiguration>
188 void SetRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT&& value) {
189 m_rdsCustomClusterConfigurationHasBeenSet = true;
190 m_rdsCustomClusterConfiguration = std::forward<RdsCustomClusterConfigurationT>(value);
191 }
192 template <typename RdsCustomClusterConfigurationT = RdsCustomClusterConfiguration>
193 ClusterPendingModifiedValues& WithRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT&& value) {
194 SetRdsCustomClusterConfiguration(std::forward<RdsCustomClusterConfigurationT>(value));
195 return *this;
196 }
198
200
204 inline int GetIops() const { return m_iops; }
205 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
206 inline void SetIops(int value) {
207 m_iopsHasBeenSet = true;
208 m_iops = value;
209 }
211 SetIops(value);
212 return *this;
213 }
215
217
218 inline const CertificateDetails& GetCertificateDetails() const { return m_certificateDetails; }
219 inline bool CertificateDetailsHasBeenSet() const { return m_certificateDetailsHasBeenSet; }
220 template <typename CertificateDetailsT = CertificateDetails>
221 void SetCertificateDetails(CertificateDetailsT&& value) {
222 m_certificateDetailsHasBeenSet = true;
223 m_certificateDetails = std::forward<CertificateDetailsT>(value);
224 }
225 template <typename CertificateDetailsT = CertificateDetails>
227 SetCertificateDetails(std::forward<CertificateDetailsT>(value));
228 return *this;
229 }
231 private:
232 PendingCloudwatchLogsExports m_pendingCloudwatchLogsExports;
233
234 Aws::String m_dBClusterIdentifier;
235
236 Aws::String m_masterUserPassword;
237
238 bool m_iAMDatabaseAuthenticationEnabled{false};
239
240 Aws::String m_engineVersion;
241
242 int m_backupRetentionPeriod{0};
243
244 Aws::String m_storageType;
245
246 int m_allocatedStorage{0};
247
248 RdsCustomClusterConfiguration m_rdsCustomClusterConfiguration;
249
250 int m_iops{0};
251
252 CertificateDetails m_certificateDetails;
253 bool m_pendingCloudwatchLogsExportsHasBeenSet = false;
254 bool m_dBClusterIdentifierHasBeenSet = false;
255 bool m_masterUserPasswordHasBeenSet = false;
256 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false;
257 bool m_engineVersionHasBeenSet = false;
258 bool m_backupRetentionPeriodHasBeenSet = false;
259 bool m_storageTypeHasBeenSet = false;
260 bool m_allocatedStorageHasBeenSet = false;
261 bool m_rdsCustomClusterConfigurationHasBeenSet = false;
262 bool m_iopsHasBeenSet = false;
263 bool m_certificateDetailsHasBeenSet = false;
264};
265
266} // namespace Model
267} // namespace RDS
268} // namespace Aws
ClusterPendingModifiedValues & WithRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT &&value)
void SetRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT &&value)
void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API ClusterPendingModifiedValues()=default
AWS_RDS_API ClusterPendingModifiedValues(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterPendingModifiedValues & WithBackupRetentionPeriod(int value)
ClusterPendingModifiedValues & WithIops(int value)
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
ClusterPendingModifiedValues & WithStorageType(StorageTypeT &&value)
const RdsCustomClusterConfiguration & GetRdsCustomClusterConfiguration() const
ClusterPendingModifiedValues & WithEngineVersion(EngineVersionT &&value)
AWS_RDS_API ClusterPendingModifiedValues & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterPendingModifiedValues & WithCertificateDetails(CertificateDetailsT &&value)
ClusterPendingModifiedValues & WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT &&value)
const PendingCloudwatchLogsExports & GetPendingCloudwatchLogsExports() const
ClusterPendingModifiedValues & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
ClusterPendingModifiedValues & WithIAMDatabaseAuthenticationEnabled(bool value)
ClusterPendingModifiedValues & WithAllocatedStorage(int value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ClusterPendingModifiedValues & WithMasterUserPassword(MasterUserPasswordT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream