AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRelationalDatabaseRequest.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Lightsail
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateRelationalDatabase"; }
31
32 AWS_LIGHTSAIL_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetRelationalDatabaseName() const{ return m_relationalDatabaseName; }
42 inline bool RelationalDatabaseNameHasBeenSet() const { return m_relationalDatabaseNameHasBeenSet; }
43 inline void SetRelationalDatabaseName(const Aws::String& value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName = value; }
44 inline void SetRelationalDatabaseName(Aws::String&& value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName = std::move(value); }
45 inline void SetRelationalDatabaseName(const char* value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName.assign(value); }
50
52
58 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
59 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
60 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
61 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
62 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
65 inline UpdateRelationalDatabaseRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
67
69
74 inline bool GetRotateMasterUserPassword() const{ return m_rotateMasterUserPassword; }
75 inline bool RotateMasterUserPasswordHasBeenSet() const { return m_rotateMasterUserPasswordHasBeenSet; }
76 inline void SetRotateMasterUserPassword(bool value) { m_rotateMasterUserPasswordHasBeenSet = true; m_rotateMasterUserPassword = value; }
79
81
89 inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; }
90 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
91 inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; }
92 inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); }
93 inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); }
98
100
110 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
111 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
112 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
113 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
114 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
119
121
126 inline bool GetEnableBackupRetention() const{ return m_enableBackupRetention; }
127 inline bool EnableBackupRetentionHasBeenSet() const { return m_enableBackupRetentionHasBeenSet; }
128 inline void SetEnableBackupRetention(bool value) { m_enableBackupRetentionHasBeenSet = true; m_enableBackupRetention = value; }
131
133
141 inline bool GetDisableBackupRetention() const{ return m_disableBackupRetention; }
142 inline bool DisableBackupRetentionHasBeenSet() const { return m_disableBackupRetentionHasBeenSet; }
143 inline void SetDisableBackupRetention(bool value) { m_disableBackupRetentionHasBeenSet = true; m_disableBackupRetention = value; }
146
148
155 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
156 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
157 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
160
162
167 inline bool GetApplyImmediately() const{ return m_applyImmediately; }
168 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
169 inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; }
172
174
177 inline const Aws::String& GetCaCertificateIdentifier() const{ return m_caCertificateIdentifier; }
178 inline bool CaCertificateIdentifierHasBeenSet() const { return m_caCertificateIdentifierHasBeenSet; }
179 inline void SetCaCertificateIdentifier(const Aws::String& value) { m_caCertificateIdentifierHasBeenSet = true; m_caCertificateIdentifier = value; }
180 inline void SetCaCertificateIdentifier(Aws::String&& value) { m_caCertificateIdentifierHasBeenSet = true; m_caCertificateIdentifier = std::move(value); }
181 inline void SetCaCertificateIdentifier(const char* value) { m_caCertificateIdentifierHasBeenSet = true; m_caCertificateIdentifier.assign(value); }
186
188
195 inline const Aws::String& GetRelationalDatabaseBlueprintId() const{ return m_relationalDatabaseBlueprintId; }
196 inline bool RelationalDatabaseBlueprintIdHasBeenSet() const { return m_relationalDatabaseBlueprintIdHasBeenSet; }
197 inline void SetRelationalDatabaseBlueprintId(const Aws::String& value) { m_relationalDatabaseBlueprintIdHasBeenSet = true; m_relationalDatabaseBlueprintId = value; }
198 inline void SetRelationalDatabaseBlueprintId(Aws::String&& value) { m_relationalDatabaseBlueprintIdHasBeenSet = true; m_relationalDatabaseBlueprintId = std::move(value); }
199 inline void SetRelationalDatabaseBlueprintId(const char* value) { m_relationalDatabaseBlueprintIdHasBeenSet = true; m_relationalDatabaseBlueprintId.assign(value); }
204 private:
205
206 Aws::String m_relationalDatabaseName;
207 bool m_relationalDatabaseNameHasBeenSet = false;
208
209 Aws::String m_masterUserPassword;
210 bool m_masterUserPasswordHasBeenSet = false;
211
212 bool m_rotateMasterUserPassword;
213 bool m_rotateMasterUserPasswordHasBeenSet = false;
214
215 Aws::String m_preferredBackupWindow;
216 bool m_preferredBackupWindowHasBeenSet = false;
217
218 Aws::String m_preferredMaintenanceWindow;
219 bool m_preferredMaintenanceWindowHasBeenSet = false;
220
221 bool m_enableBackupRetention;
222 bool m_enableBackupRetentionHasBeenSet = false;
223
224 bool m_disableBackupRetention;
225 bool m_disableBackupRetentionHasBeenSet = false;
226
227 bool m_publiclyAccessible;
228 bool m_publiclyAccessibleHasBeenSet = false;
229
230 bool m_applyImmediately;
231 bool m_applyImmediatelyHasBeenSet = false;
232
233 Aws::String m_caCertificateIdentifier;
234 bool m_caCertificateIdentifierHasBeenSet = false;
235
236 Aws::String m_relationalDatabaseBlueprintId;
237 bool m_relationalDatabaseBlueprintIdHasBeenSet = false;
238 };
239
240} // namespace Model
241} // namespace Lightsail
242} // namespace Aws
UpdateRelationalDatabaseRequest & WithRotateMasterUserPassword(bool value)
UpdateRelationalDatabaseRequest & WithPreferredBackupWindow(const char *value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateRelationalDatabaseRequest & WithMasterUserPassword(const Aws::String &value)
UpdateRelationalDatabaseRequest & WithCaCertificateIdentifier(const Aws::String &value)
UpdateRelationalDatabaseRequest & WithRelationalDatabaseName(const Aws::String &value)
UpdateRelationalDatabaseRequest & WithDisableBackupRetention(bool value)
UpdateRelationalDatabaseRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
UpdateRelationalDatabaseRequest & WithPreferredMaintenanceWindow(const char *value)
UpdateRelationalDatabaseRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
UpdateRelationalDatabaseRequest & WithPreferredBackupWindow(const Aws::String &value)
UpdateRelationalDatabaseRequest & WithRelationalDatabaseName(Aws::String &&value)
UpdateRelationalDatabaseRequest & WithPreferredBackupWindow(Aws::String &&value)
UpdateRelationalDatabaseRequest & WithCaCertificateIdentifier(const char *value)
UpdateRelationalDatabaseRequest & WithRelationalDatabaseBlueprintId(const Aws::String &value)
UpdateRelationalDatabaseRequest & WithPubliclyAccessible(bool value)
UpdateRelationalDatabaseRequest & WithCaCertificateIdentifier(Aws::String &&value)
UpdateRelationalDatabaseRequest & WithRelationalDatabaseBlueprintId(Aws::String &&value)
UpdateRelationalDatabaseRequest & WithRelationalDatabaseName(const char *value)
UpdateRelationalDatabaseRequest & WithApplyImmediately(bool value)
UpdateRelationalDatabaseRequest & WithEnableBackupRetention(bool value)
UpdateRelationalDatabaseRequest & WithRelationalDatabaseBlueprintId(const char *value)
UpdateRelationalDatabaseRequest & WithMasterUserPassword(const char *value)
UpdateRelationalDatabaseRequest & WithMasterUserPassword(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String