AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ClusterPendingModifiedValues.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/rds/model/PendingCloudwatchLogsExports.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rds/model/RdsCustomClusterConfiguration.h>
12#include <aws/rds/model/CertificateDetails.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace RDS
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_RDS_API ClusterPendingModifiedValues() = default;
42
43 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
49 inline const PendingCloudwatchLogsExports& GetPendingCloudwatchLogsExports() const { return m_pendingCloudwatchLogsExports; }
50 inline bool PendingCloudwatchLogsExportsHasBeenSet() const { return m_pendingCloudwatchLogsExportsHasBeenSet; }
51 template<typename PendingCloudwatchLogsExportsT = PendingCloudwatchLogsExports>
52 void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT&& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = std::forward<PendingCloudwatchLogsExportsT>(value); }
53 template<typename PendingCloudwatchLogsExportsT = PendingCloudwatchLogsExports>
54 ClusterPendingModifiedValues& WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT&& value) { SetPendingCloudwatchLogsExports(std::forward<PendingCloudwatchLogsExportsT>(value)); return *this;}
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) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
65 template<typename DBClusterIdentifierT = Aws::String>
66 ClusterPendingModifiedValues& WithDBClusterIdentifier(DBClusterIdentifierT&& value) { SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value)); return *this;}
68
70
73 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
74 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
75 template<typename MasterUserPasswordT = Aws::String>
76 void SetMasterUserPassword(MasterUserPasswordT&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::forward<MasterUserPasswordT>(value); }
77 template<typename MasterUserPasswordT = Aws::String>
78 ClusterPendingModifiedValues& WithMasterUserPassword(MasterUserPasswordT&& value) { SetMasterUserPassword(std::forward<MasterUserPasswordT>(value)); return *this;}
80
82
86 inline bool GetIAMDatabaseAuthenticationEnabled() const { return m_iAMDatabaseAuthenticationEnabled; }
87 inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; }
88 inline void SetIAMDatabaseAuthenticationEnabled(bool value) { m_iAMDatabaseAuthenticationEnabledHasBeenSet = true; m_iAMDatabaseAuthenticationEnabled = value; }
91
93
96 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
97 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
98 template<typename EngineVersionT = Aws::String>
99 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
100 template<typename EngineVersionT = Aws::String>
101 ClusterPendingModifiedValues& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
103
105
108 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
109 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
110 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
113
115
121 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
122 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
123 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
126
128
131 inline const RdsCustomClusterConfiguration& GetRdsCustomClusterConfiguration() const { return m_rdsCustomClusterConfiguration; }
132 inline bool RdsCustomClusterConfigurationHasBeenSet() const { return m_rdsCustomClusterConfigurationHasBeenSet; }
133 template<typename RdsCustomClusterConfigurationT = RdsCustomClusterConfiguration>
134 void SetRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT&& value) { m_rdsCustomClusterConfigurationHasBeenSet = true; m_rdsCustomClusterConfiguration = std::forward<RdsCustomClusterConfigurationT>(value); }
135 template<typename RdsCustomClusterConfigurationT = RdsCustomClusterConfiguration>
136 ClusterPendingModifiedValues& WithRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT&& value) { SetRdsCustomClusterConfiguration(std::forward<RdsCustomClusterConfigurationT>(value)); return *this;}
138
140
144 inline int GetIops() const { return m_iops; }
145 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
146 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
147 inline ClusterPendingModifiedValues& WithIops(int value) { SetIops(value); return *this;}
149
151
154 inline const Aws::String& GetStorageType() const { return m_storageType; }
155 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
156 template<typename StorageTypeT = Aws::String>
157 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
158 template<typename StorageTypeT = Aws::String>
159 ClusterPendingModifiedValues& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
161
163
164 inline const CertificateDetails& GetCertificateDetails() const { return m_certificateDetails; }
165 inline bool CertificateDetailsHasBeenSet() const { return m_certificateDetailsHasBeenSet; }
166 template<typename CertificateDetailsT = CertificateDetails>
167 void SetCertificateDetails(CertificateDetailsT&& value) { m_certificateDetailsHasBeenSet = true; m_certificateDetails = std::forward<CertificateDetailsT>(value); }
168 template<typename CertificateDetailsT = CertificateDetails>
169 ClusterPendingModifiedValues& WithCertificateDetails(CertificateDetailsT&& value) { SetCertificateDetails(std::forward<CertificateDetailsT>(value)); return *this;}
171 private:
172
173 PendingCloudwatchLogsExports m_pendingCloudwatchLogsExports;
174 bool m_pendingCloudwatchLogsExportsHasBeenSet = false;
175
176 Aws::String m_dBClusterIdentifier;
177 bool m_dBClusterIdentifierHasBeenSet = false;
178
179 Aws::String m_masterUserPassword;
180 bool m_masterUserPasswordHasBeenSet = false;
181
182 bool m_iAMDatabaseAuthenticationEnabled{false};
183 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false;
184
185 Aws::String m_engineVersion;
186 bool m_engineVersionHasBeenSet = false;
187
188 int m_backupRetentionPeriod{0};
189 bool m_backupRetentionPeriodHasBeenSet = false;
190
191 int m_allocatedStorage{0};
192 bool m_allocatedStorageHasBeenSet = false;
193
194 RdsCustomClusterConfiguration m_rdsCustomClusterConfiguration;
195 bool m_rdsCustomClusterConfigurationHasBeenSet = false;
196
197 int m_iops{0};
198 bool m_iopsHasBeenSet = false;
199
200 Aws::String m_storageType;
201 bool m_storageTypeHasBeenSet = false;
202
203 CertificateDetails m_certificateDetails;
204 bool m_certificateDetailsHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace RDS
209} // 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