AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyDBInstanceRequest.h
1
6#pragma once
7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DocDB
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_DOCDB_API ModifyDBInstanceRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ModifyDBInstance"; }
35
36 AWS_DOCDB_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
49 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
50 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
51 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
52 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
53 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
55 inline ModifyDBInstanceRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
56 inline ModifyDBInstanceRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
58
60
68 inline const Aws::String& GetDBInstanceClass() const{ return m_dBInstanceClass; }
69 inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; }
70 inline void SetDBInstanceClass(const Aws::String& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = value; }
71 inline void SetDBInstanceClass(Aws::String&& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = std::move(value); }
72 inline void SetDBInstanceClass(const char* value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass.assign(value); }
73 inline ModifyDBInstanceRequest& WithDBInstanceClass(const Aws::String& value) { SetDBInstanceClass(value); return *this;}
74 inline ModifyDBInstanceRequest& WithDBInstanceClass(Aws::String&& value) { SetDBInstanceClass(std::move(value)); return *this;}
75 inline ModifyDBInstanceRequest& WithDBInstanceClass(const char* value) { SetDBInstanceClass(value); return *this;}
77
79
87 inline bool GetApplyImmediately() const{ return m_applyImmediately; }
88 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
89 inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; }
90 inline ModifyDBInstanceRequest& WithApplyImmediately(bool value) { SetApplyImmediately(value); return *this;}
92
94
107 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
108 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
109 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
110 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
111 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
116
118
122 inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
123 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
124 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
127
129
140 inline const Aws::String& GetNewDBInstanceIdentifier() const{ return m_newDBInstanceIdentifier; }
141 inline bool NewDBInstanceIdentifierHasBeenSet() const { return m_newDBInstanceIdentifierHasBeenSet; }
142 inline void SetNewDBInstanceIdentifier(const Aws::String& value) { m_newDBInstanceIdentifierHasBeenSet = true; m_newDBInstanceIdentifier = value; }
143 inline void SetNewDBInstanceIdentifier(Aws::String&& value) { m_newDBInstanceIdentifierHasBeenSet = true; m_newDBInstanceIdentifier = std::move(value); }
144 inline void SetNewDBInstanceIdentifier(const char* value) { m_newDBInstanceIdentifierHasBeenSet = true; m_newDBInstanceIdentifier.assign(value); }
147 inline ModifyDBInstanceRequest& WithNewDBInstanceIdentifier(const char* value) { SetNewDBInstanceIdentifier(value); return *this;}
149
151
154 inline const Aws::String& GetCACertificateIdentifier() const{ return m_cACertificateIdentifier; }
155 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
156 inline void SetCACertificateIdentifier(const Aws::String& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = value; }
157 inline void SetCACertificateIdentifier(Aws::String&& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = std::move(value); }
158 inline void SetCACertificateIdentifier(const char* value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier.assign(value); }
161 inline ModifyDBInstanceRequest& WithCACertificateIdentifier(const char* value) { SetCACertificateIdentifier(value); return *this;}
163
165
169 inline bool GetCopyTagsToSnapshot() const{ return m_copyTagsToSnapshot; }
170 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
171 inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; }
172 inline ModifyDBInstanceRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;}
174
176
181 inline int GetPromotionTier() const{ return m_promotionTier; }
182 inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; }
183 inline void SetPromotionTier(int value) { m_promotionTierHasBeenSet = true; m_promotionTier = value; }
184 inline ModifyDBInstanceRequest& WithPromotionTier(int value) { SetPromotionTier(value); return *this;}
186
188
194 inline bool GetEnablePerformanceInsights() const{ return m_enablePerformanceInsights; }
195 inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; }
196 inline void SetEnablePerformanceInsights(bool value) { m_enablePerformanceInsightsHasBeenSet = true; m_enablePerformanceInsights = value; }
199
201
210 inline const Aws::String& GetPerformanceInsightsKMSKeyId() const{ return m_performanceInsightsKMSKeyId; }
211 inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; }
212 inline void SetPerformanceInsightsKMSKeyId(const Aws::String& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = value; }
213 inline void SetPerformanceInsightsKMSKeyId(Aws::String&& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = std::move(value); }
214 inline void SetPerformanceInsightsKMSKeyId(const char* value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId.assign(value); }
219
221
234 inline bool GetCertificateRotationRestart() const{ return m_certificateRotationRestart; }
235 inline bool CertificateRotationRestartHasBeenSet() const { return m_certificateRotationRestartHasBeenSet; }
236 inline void SetCertificateRotationRestart(bool value) { m_certificateRotationRestartHasBeenSet = true; m_certificateRotationRestart = value; }
239 private:
240
241 Aws::String m_dBInstanceIdentifier;
242 bool m_dBInstanceIdentifierHasBeenSet = false;
243
244 Aws::String m_dBInstanceClass;
245 bool m_dBInstanceClassHasBeenSet = false;
246
247 bool m_applyImmediately;
248 bool m_applyImmediatelyHasBeenSet = false;
249
250 Aws::String m_preferredMaintenanceWindow;
251 bool m_preferredMaintenanceWindowHasBeenSet = false;
252
253 bool m_autoMinorVersionUpgrade;
254 bool m_autoMinorVersionUpgradeHasBeenSet = false;
255
256 Aws::String m_newDBInstanceIdentifier;
257 bool m_newDBInstanceIdentifierHasBeenSet = false;
258
259 Aws::String m_cACertificateIdentifier;
260 bool m_cACertificateIdentifierHasBeenSet = false;
261
262 bool m_copyTagsToSnapshot;
263 bool m_copyTagsToSnapshotHasBeenSet = false;
264
265 int m_promotionTier;
266 bool m_promotionTierHasBeenSet = false;
267
268 bool m_enablePerformanceInsights;
269 bool m_enablePerformanceInsightsHasBeenSet = false;
270
271 Aws::String m_performanceInsightsKMSKeyId;
272 bool m_performanceInsightsKMSKeyIdHasBeenSet = false;
273
274 bool m_certificateRotationRestart;
275 bool m_certificateRotationRestartHasBeenSet = false;
276 };
277
278} // namespace Model
279} // namespace DocDB
280} // namespace Aws
ModifyDBInstanceRequest & WithCertificateRotationRestart(bool value)
ModifyDBInstanceRequest & WithDBInstanceIdentifier(const Aws::String &value)
const Aws::String & GetPreferredMaintenanceWindow() const
ModifyDBInstanceRequest & WithCACertificateIdentifier(const char *value)
ModifyDBInstanceRequest & WithApplyImmediately(bool value)
ModifyDBInstanceRequest & WithDBInstanceIdentifier(const char *value)
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDBInstanceRequest & WithCACertificateIdentifier(Aws::String &&value)
ModifyDBInstanceRequest & WithDBInstanceClass(const char *value)
ModifyDBInstanceRequest & WithEnablePerformanceInsights(bool value)
ModifyDBInstanceRequest & WithPromotionTier(int value)
ModifyDBInstanceRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
ModifyDBInstanceRequest & WithNewDBInstanceIdentifier(Aws::String &&value)
void SetCACertificateIdentifier(const Aws::String &value)
ModifyDBInstanceRequest & WithDBInstanceIdentifier(Aws::String &&value)
ModifyDBInstanceRequest & WithPreferredMaintenanceWindow(const char *value)
ModifyDBInstanceRequest & WithPerformanceInsightsKMSKeyId(const char *value)
ModifyDBInstanceRequest & WithNewDBInstanceIdentifier(const Aws::String &value)
ModifyDBInstanceRequest & WithPerformanceInsightsKMSKeyId(const Aws::String &value)
ModifyDBInstanceRequest & WithNewDBInstanceIdentifier(const char *value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
ModifyDBInstanceRequest & WithCopyTagsToSnapshot(bool value)
ModifyDBInstanceRequest & WithPerformanceInsightsKMSKeyId(Aws::String &&value)
void SetDBInstanceIdentifier(const Aws::String &value)
ModifyDBInstanceRequest & WithDBInstanceClass(Aws::String &&value)
void SetNewDBInstanceIdentifier(const Aws::String &value)
AWS_DOCDB_API Aws::String SerializePayload() const override
void SetPerformanceInsightsKMSKeyId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ModifyDBInstanceRequest & WithDBInstanceClass(const Aws::String &value)
void SetDBInstanceClass(const Aws::String &value)
const Aws::String & GetPerformanceInsightsKMSKeyId() const
ModifyDBInstanceRequest & WithAutoMinorVersionUpgrade(bool value)
ModifyDBInstanceRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
ModifyDBInstanceRequest & WithCACertificateIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String