AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RelationalDatabase.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lightsail/model/ResourceLocation.h>
11#include <aws/lightsail/model/ResourceType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lightsail/model/RelationalDatabaseHardware.h>
14#include <aws/lightsail/model/PendingModifiedRelationalDatabaseValues.h>
15#include <aws/lightsail/model/RelationalDatabaseEndpoint.h>
16#include <aws/lightsail/model/Tag.h>
17#include <aws/lightsail/model/PendingMaintenanceAction.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace Lightsail
31{
32namespace Model
33{
34
41 {
42 public:
43 AWS_LIGHTSAIL_API RelationalDatabase();
44 AWS_LIGHTSAIL_API RelationalDatabase(Aws::Utils::Json::JsonView jsonValue);
46 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
57 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
58 inline RelationalDatabase& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline RelationalDatabase& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline RelationalDatabase& WithName(const char* value) { SetName(value); return *this;}
62
64
67 inline const Aws::String& GetArn() const{ return m_arn; }
68 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
69 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
70 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
71 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
72 inline RelationalDatabase& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 inline RelationalDatabase& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
74 inline RelationalDatabase& WithArn(const char* value) { SetArn(value); return *this;}
76
78
83 inline const Aws::String& GetSupportCode() const{ return m_supportCode; }
84 inline bool SupportCodeHasBeenSet() const { return m_supportCodeHasBeenSet; }
85 inline void SetSupportCode(const Aws::String& value) { m_supportCodeHasBeenSet = true; m_supportCode = value; }
86 inline void SetSupportCode(Aws::String&& value) { m_supportCodeHasBeenSet = true; m_supportCode = std::move(value); }
87 inline void SetSupportCode(const char* value) { m_supportCodeHasBeenSet = true; m_supportCode.assign(value); }
88 inline RelationalDatabase& WithSupportCode(const Aws::String& value) { SetSupportCode(value); return *this;}
89 inline RelationalDatabase& WithSupportCode(Aws::String&& value) { SetSupportCode(std::move(value)); return *this;}
90 inline RelationalDatabase& WithSupportCode(const char* value) { SetSupportCode(value); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
98 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
99 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
100 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
101 inline RelationalDatabase& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
102 inline RelationalDatabase& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
104
106
109 inline const ResourceLocation& GetLocation() const{ return m_location; }
110 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
111 inline void SetLocation(const ResourceLocation& value) { m_locationHasBeenSet = true; m_location = value; }
112 inline void SetLocation(ResourceLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
113 inline RelationalDatabase& WithLocation(const ResourceLocation& value) { SetLocation(value); return *this;}
114 inline RelationalDatabase& WithLocation(ResourceLocation&& value) { SetLocation(std::move(value)); return *this;}
116
118
122 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
123 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
124 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
125 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
126 inline RelationalDatabase& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
127 inline RelationalDatabase& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
129
131
137 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
138 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
139 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
140 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
141 inline RelationalDatabase& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
142 inline RelationalDatabase& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
143 inline RelationalDatabase& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
144 inline RelationalDatabase& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
146
148
152 inline const Aws::String& GetRelationalDatabaseBlueprintId() const{ return m_relationalDatabaseBlueprintId; }
153 inline bool RelationalDatabaseBlueprintIdHasBeenSet() const { return m_relationalDatabaseBlueprintIdHasBeenSet; }
154 inline void SetRelationalDatabaseBlueprintId(const Aws::String& value) { m_relationalDatabaseBlueprintIdHasBeenSet = true; m_relationalDatabaseBlueprintId = value; }
155 inline void SetRelationalDatabaseBlueprintId(Aws::String&& value) { m_relationalDatabaseBlueprintIdHasBeenSet = true; m_relationalDatabaseBlueprintId = std::move(value); }
156 inline void SetRelationalDatabaseBlueprintId(const char* value) { m_relationalDatabaseBlueprintIdHasBeenSet = true; m_relationalDatabaseBlueprintId.assign(value); }
161
163
167 inline const Aws::String& GetRelationalDatabaseBundleId() const{ return m_relationalDatabaseBundleId; }
168 inline bool RelationalDatabaseBundleIdHasBeenSet() const { return m_relationalDatabaseBundleIdHasBeenSet; }
169 inline void SetRelationalDatabaseBundleId(const Aws::String& value) { m_relationalDatabaseBundleIdHasBeenSet = true; m_relationalDatabaseBundleId = value; }
170 inline void SetRelationalDatabaseBundleId(Aws::String&& value) { m_relationalDatabaseBundleIdHasBeenSet = true; m_relationalDatabaseBundleId = std::move(value); }
171 inline void SetRelationalDatabaseBundleId(const char* value) { m_relationalDatabaseBundleIdHasBeenSet = true; m_relationalDatabaseBundleId.assign(value); }
174 inline RelationalDatabase& WithRelationalDatabaseBundleId(const char* value) { SetRelationalDatabaseBundleId(value); return *this;}
176
178
182 inline const Aws::String& GetMasterDatabaseName() const{ return m_masterDatabaseName; }
183 inline bool MasterDatabaseNameHasBeenSet() const { return m_masterDatabaseNameHasBeenSet; }
184 inline void SetMasterDatabaseName(const Aws::String& value) { m_masterDatabaseNameHasBeenSet = true; m_masterDatabaseName = value; }
185 inline void SetMasterDatabaseName(Aws::String&& value) { m_masterDatabaseNameHasBeenSet = true; m_masterDatabaseName = std::move(value); }
186 inline void SetMasterDatabaseName(const char* value) { m_masterDatabaseNameHasBeenSet = true; m_masterDatabaseName.assign(value); }
187 inline RelationalDatabase& WithMasterDatabaseName(const Aws::String& value) { SetMasterDatabaseName(value); return *this;}
188 inline RelationalDatabase& WithMasterDatabaseName(Aws::String&& value) { SetMasterDatabaseName(std::move(value)); return *this;}
189 inline RelationalDatabase& WithMasterDatabaseName(const char* value) { SetMasterDatabaseName(value); return *this;}
191
193
196 inline const RelationalDatabaseHardware& GetHardware() const{ return m_hardware; }
197 inline bool HardwareHasBeenSet() const { return m_hardwareHasBeenSet; }
198 inline void SetHardware(const RelationalDatabaseHardware& value) { m_hardwareHasBeenSet = true; m_hardware = value; }
199 inline void SetHardware(RelationalDatabaseHardware&& value) { m_hardwareHasBeenSet = true; m_hardware = std::move(value); }
200 inline RelationalDatabase& WithHardware(const RelationalDatabaseHardware& value) { SetHardware(value); return *this;}
201 inline RelationalDatabase& WithHardware(RelationalDatabaseHardware&& value) { SetHardware(std::move(value)); return *this;}
203
205
208 inline const Aws::String& GetState() const{ return m_state; }
209 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
210 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
211 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
212 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
213 inline RelationalDatabase& WithState(const Aws::String& value) { SetState(value); return *this;}
214 inline RelationalDatabase& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
215 inline RelationalDatabase& WithState(const char* value) { SetState(value); return *this;}
217
219
224 inline const Aws::String& GetSecondaryAvailabilityZone() const{ return m_secondaryAvailabilityZone; }
225 inline bool SecondaryAvailabilityZoneHasBeenSet() const { return m_secondaryAvailabilityZoneHasBeenSet; }
226 inline void SetSecondaryAvailabilityZone(const Aws::String& value) { m_secondaryAvailabilityZoneHasBeenSet = true; m_secondaryAvailabilityZone = value; }
227 inline void SetSecondaryAvailabilityZone(Aws::String&& value) { m_secondaryAvailabilityZoneHasBeenSet = true; m_secondaryAvailabilityZone = std::move(value); }
228 inline void SetSecondaryAvailabilityZone(const char* value) { m_secondaryAvailabilityZoneHasBeenSet = true; m_secondaryAvailabilityZone.assign(value); }
231 inline RelationalDatabase& WithSecondaryAvailabilityZone(const char* value) { SetSecondaryAvailabilityZone(value); return *this;}
233
235
239 inline bool GetBackupRetentionEnabled() const{ return m_backupRetentionEnabled; }
240 inline bool BackupRetentionEnabledHasBeenSet() const { return m_backupRetentionEnabledHasBeenSet; }
241 inline void SetBackupRetentionEnabled(bool value) { m_backupRetentionEnabledHasBeenSet = true; m_backupRetentionEnabled = value; }
244
246
249 inline const PendingModifiedRelationalDatabaseValues& GetPendingModifiedValues() const{ return m_pendingModifiedValues; }
250 inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; }
251 inline void SetPendingModifiedValues(const PendingModifiedRelationalDatabaseValues& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = value; }
252 inline void SetPendingModifiedValues(PendingModifiedRelationalDatabaseValues&& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = std::move(value); }
256
258
261 inline const Aws::String& GetEngine() const{ return m_engine; }
262 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
263 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
264 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
265 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
266 inline RelationalDatabase& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
267 inline RelationalDatabase& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
268 inline RelationalDatabase& WithEngine(const char* value) { SetEngine(value); return *this;}
270
272
275 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
276 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
277 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
278 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
279 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
280 inline RelationalDatabase& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
281 inline RelationalDatabase& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
282 inline RelationalDatabase& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
284
286
290 inline const Aws::Utils::DateTime& GetLatestRestorableTime() const{ return m_latestRestorableTime; }
291 inline bool LatestRestorableTimeHasBeenSet() const { return m_latestRestorableTimeHasBeenSet; }
292 inline void SetLatestRestorableTime(const Aws::Utils::DateTime& value) { m_latestRestorableTimeHasBeenSet = true; m_latestRestorableTime = value; }
293 inline void SetLatestRestorableTime(Aws::Utils::DateTime&& value) { m_latestRestorableTimeHasBeenSet = true; m_latestRestorableTime = std::move(value); }
297
299
302 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
303 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
304 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
305 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); }
306 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
307 inline RelationalDatabase& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;}
308 inline RelationalDatabase& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;}
309 inline RelationalDatabase& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
311
313
316 inline const Aws::String& GetParameterApplyStatus() const{ return m_parameterApplyStatus; }
317 inline bool ParameterApplyStatusHasBeenSet() const { return m_parameterApplyStatusHasBeenSet; }
318 inline void SetParameterApplyStatus(const Aws::String& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = value; }
319 inline void SetParameterApplyStatus(Aws::String&& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = std::move(value); }
320 inline void SetParameterApplyStatus(const char* value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus.assign(value); }
322 inline RelationalDatabase& WithParameterApplyStatus(Aws::String&& value) { SetParameterApplyStatus(std::move(value)); return *this;}
323 inline RelationalDatabase& WithParameterApplyStatus(const char* value) { SetParameterApplyStatus(value); return *this;}
325
327
331 inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; }
332 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
333 inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; }
334 inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); }
335 inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); }
337 inline RelationalDatabase& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(value)); return *this;}
338 inline RelationalDatabase& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;}
340
342
347 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
348 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
349 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
350 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
351 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
354 inline RelationalDatabase& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;}
356
358
361 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
362 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
363 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
364 inline RelationalDatabase& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
366
368
371 inline const RelationalDatabaseEndpoint& GetMasterEndpoint() const{ return m_masterEndpoint; }
372 inline bool MasterEndpointHasBeenSet() const { return m_masterEndpointHasBeenSet; }
373 inline void SetMasterEndpoint(const RelationalDatabaseEndpoint& value) { m_masterEndpointHasBeenSet = true; m_masterEndpoint = value; }
374 inline void SetMasterEndpoint(RelationalDatabaseEndpoint&& value) { m_masterEndpointHasBeenSet = true; m_masterEndpoint = std::move(value); }
376 inline RelationalDatabase& WithMasterEndpoint(RelationalDatabaseEndpoint&& value) { SetMasterEndpoint(std::move(value)); return *this;}
378
380
383 inline const Aws::Vector<PendingMaintenanceAction>& GetPendingMaintenanceActions() const{ return m_pendingMaintenanceActions; }
384 inline bool PendingMaintenanceActionsHasBeenSet() const { return m_pendingMaintenanceActionsHasBeenSet; }
385 inline void SetPendingMaintenanceActions(const Aws::Vector<PendingMaintenanceAction>& value) { m_pendingMaintenanceActionsHasBeenSet = true; m_pendingMaintenanceActions = value; }
386 inline void SetPendingMaintenanceActions(Aws::Vector<PendingMaintenanceAction>&& value) { m_pendingMaintenanceActionsHasBeenSet = true; m_pendingMaintenanceActions = std::move(value); }
389 inline RelationalDatabase& AddPendingMaintenanceActions(const PendingMaintenanceAction& value) { m_pendingMaintenanceActionsHasBeenSet = true; m_pendingMaintenanceActions.push_back(value); return *this; }
390 inline RelationalDatabase& AddPendingMaintenanceActions(PendingMaintenanceAction&& value) { m_pendingMaintenanceActionsHasBeenSet = true; m_pendingMaintenanceActions.push_back(std::move(value)); return *this; }
392
394
397 inline const Aws::String& GetCaCertificateIdentifier() const{ return m_caCertificateIdentifier; }
398 inline bool CaCertificateIdentifierHasBeenSet() const { return m_caCertificateIdentifierHasBeenSet; }
399 inline void SetCaCertificateIdentifier(const Aws::String& value) { m_caCertificateIdentifierHasBeenSet = true; m_caCertificateIdentifier = value; }
400 inline void SetCaCertificateIdentifier(Aws::String&& value) { m_caCertificateIdentifierHasBeenSet = true; m_caCertificateIdentifier = std::move(value); }
401 inline void SetCaCertificateIdentifier(const char* value) { m_caCertificateIdentifierHasBeenSet = true; m_caCertificateIdentifier.assign(value); }
404 inline RelationalDatabase& WithCaCertificateIdentifier(const char* value) { SetCaCertificateIdentifier(value); return *this;}
406 private:
407
408 Aws::String m_name;
409 bool m_nameHasBeenSet = false;
410
411 Aws::String m_arn;
412 bool m_arnHasBeenSet = false;
413
414 Aws::String m_supportCode;
415 bool m_supportCodeHasBeenSet = false;
416
417 Aws::Utils::DateTime m_createdAt;
418 bool m_createdAtHasBeenSet = false;
419
420 ResourceLocation m_location;
421 bool m_locationHasBeenSet = false;
422
423 ResourceType m_resourceType;
424 bool m_resourceTypeHasBeenSet = false;
425
426 Aws::Vector<Tag> m_tags;
427 bool m_tagsHasBeenSet = false;
428
429 Aws::String m_relationalDatabaseBlueprintId;
430 bool m_relationalDatabaseBlueprintIdHasBeenSet = false;
431
432 Aws::String m_relationalDatabaseBundleId;
433 bool m_relationalDatabaseBundleIdHasBeenSet = false;
434
435 Aws::String m_masterDatabaseName;
436 bool m_masterDatabaseNameHasBeenSet = false;
437
439 bool m_hardwareHasBeenSet = false;
440
441 Aws::String m_state;
442 bool m_stateHasBeenSet = false;
443
444 Aws::String m_secondaryAvailabilityZone;
445 bool m_secondaryAvailabilityZoneHasBeenSet = false;
446
447 bool m_backupRetentionEnabled;
448 bool m_backupRetentionEnabledHasBeenSet = false;
449
450 PendingModifiedRelationalDatabaseValues m_pendingModifiedValues;
451 bool m_pendingModifiedValuesHasBeenSet = false;
452
453 Aws::String m_engine;
454 bool m_engineHasBeenSet = false;
455
456 Aws::String m_engineVersion;
457 bool m_engineVersionHasBeenSet = false;
458
459 Aws::Utils::DateTime m_latestRestorableTime;
460 bool m_latestRestorableTimeHasBeenSet = false;
461
462 Aws::String m_masterUsername;
463 bool m_masterUsernameHasBeenSet = false;
464
465 Aws::String m_parameterApplyStatus;
466 bool m_parameterApplyStatusHasBeenSet = false;
467
468 Aws::String m_preferredBackupWindow;
469 bool m_preferredBackupWindowHasBeenSet = false;
470
471 Aws::String m_preferredMaintenanceWindow;
472 bool m_preferredMaintenanceWindowHasBeenSet = false;
473
474 bool m_publiclyAccessible;
475 bool m_publiclyAccessibleHasBeenSet = false;
476
477 RelationalDatabaseEndpoint m_masterEndpoint;
478 bool m_masterEndpointHasBeenSet = false;
479
480 Aws::Vector<PendingMaintenanceAction> m_pendingMaintenanceActions;
481 bool m_pendingMaintenanceActionsHasBeenSet = false;
482
483 Aws::String m_caCertificateIdentifier;
484 bool m_caCertificateIdentifierHasBeenSet = false;
485 };
486
487} // namespace Model
488} // namespace Lightsail
489} // namespace Aws
RelationalDatabase & WithArn(Aws::String &&value)
RelationalDatabase & AddPendingMaintenanceActions(const PendingMaintenanceAction &value)
const RelationalDatabaseEndpoint & GetMasterEndpoint() const
void SetSupportCode(const Aws::String &value)
AWS_LIGHTSAIL_API RelationalDatabase & operator=(Aws::Utils::Json::JsonView jsonValue)
RelationalDatabase & WithMasterEndpoint(RelationalDatabaseEndpoint &&value)
RelationalDatabase & AddTags(const Tag &value)
const ResourceType & GetResourceType() const
RelationalDatabase & WithCaCertificateIdentifier(const Aws::String &value)
RelationalDatabase & WithRelationalDatabaseBlueprintId(Aws::String &&value)
RelationalDatabase & WithLocation(const ResourceLocation &value)
void SetSecondaryAvailabilityZone(const Aws::String &value)
void SetPendingMaintenanceActions(const Aws::Vector< PendingMaintenanceAction > &value)
const Aws::String & GetSecondaryAvailabilityZone() const
RelationalDatabase & WithEngineVersion(Aws::String &&value)
void SetLocation(const ResourceLocation &value)
RelationalDatabase & WithArn(const Aws::String &value)
void SetLatestRestorableTime(Aws::Utils::DateTime &&value)
void SetEngineVersion(const Aws::String &value)
void SetPendingModifiedValues(const PendingModifiedRelationalDatabaseValues &value)
RelationalDatabase & WithEngine(Aws::String &&value)
const Aws::Vector< PendingMaintenanceAction > & GetPendingMaintenanceActions() const
RelationalDatabase & WithSecondaryAvailabilityZone(const char *value)
RelationalDatabase & WithLatestRestorableTime(const Aws::Utils::DateTime &value)
void SetCaCertificateIdentifier(Aws::String &&value)
void SetRelationalDatabaseBundleId(Aws::String &&value)
const Aws::String & GetMasterDatabaseName() const
const Aws::Utils::DateTime & GetCreatedAt() const
RelationalDatabase & WithSupportCode(const char *value)
void SetMasterEndpoint(const RelationalDatabaseEndpoint &value)
RelationalDatabase & AddTags(Tag &&value)
const Aws::String & GetCaCertificateIdentifier() const
RelationalDatabase & WithEngineVersion(const char *value)
void SetRelationalDatabaseBlueprintId(const Aws::String &value)
RelationalDatabase & WithState(const char *value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
RelationalDatabase & WithPendingMaintenanceActions(const Aws::Vector< PendingMaintenanceAction > &value)
void SetRelationalDatabaseBlueprintId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
RelationalDatabase & WithRelationalDatabaseBundleId(Aws::String &&value)
RelationalDatabase & AddPendingMaintenanceActions(PendingMaintenanceAction &&value)
RelationalDatabase & WithHardware(const RelationalDatabaseHardware &value)
RelationalDatabase & WithMasterDatabaseName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
RelationalDatabase & WithSecondaryAvailabilityZone(Aws::String &&value)
void SetResourceType(const ResourceType &value)
RelationalDatabase & WithParameterApplyStatus(const char *value)
RelationalDatabase & WithEngineVersion(const Aws::String &value)
RelationalDatabase & WithMasterUsername(const Aws::String &value)
void SetRelationalDatabaseBundleId(const char *value)
RelationalDatabase & WithPreferredBackupWindow(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetPreferredBackupWindow(const Aws::String &value)
RelationalDatabase & WithResourceType(ResourceType &&value)
RelationalDatabase & WithParameterApplyStatus(Aws::String &&value)
RelationalDatabase & WithPendingModifiedValues(const PendingModifiedRelationalDatabaseValues &value)
RelationalDatabase & WithRelationalDatabaseBlueprintId(const Aws::String &value)
RelationalDatabase & WithTags(Aws::Vector< Tag > &&value)
void SetParameterApplyStatus(const Aws::String &value)
RelationalDatabase & WithSupportCode(Aws::String &&value)
void SetParameterApplyStatus(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPreferredBackupWindow(Aws::String &&value)
RelationalDatabase & WithRelationalDatabaseBlueprintId(const char *value)
RelationalDatabase & WithRelationalDatabaseBundleId(const Aws::String &value)
void SetRelationalDatabaseBlueprintId(const char *value)
const RelationalDatabaseHardware & GetHardware() const
RelationalDatabase & WithPreferredBackupWindow(Aws::String &&value)
RelationalDatabase & WithRelationalDatabaseBundleId(const char *value)
RelationalDatabase & WithPreferredMaintenanceWindow(const Aws::String &value)
RelationalDatabase & WithMasterDatabaseName(const Aws::String &value)
RelationalDatabase & WithMasterDatabaseName(const char *value)
RelationalDatabase & WithParameterApplyStatus(const Aws::String &value)
void SetHardware(const RelationalDatabaseHardware &value)
RelationalDatabase & WithEngine(const char *value)
void SetLatestRestorableTime(const Aws::Utils::DateTime &value)
const Aws::String & GetPreferredBackupWindow() const
void SetState(const Aws::String &value)
void SetCaCertificateIdentifier(const Aws::String &value)
void SetPendingMaintenanceActions(Aws::Vector< PendingMaintenanceAction > &&value)
RelationalDatabase & WithCaCertificateIdentifier(const char *value)
void SetMasterEndpoint(RelationalDatabaseEndpoint &&value)
const Aws::String & GetParameterApplyStatus() const
void SetName(const Aws::String &value)
RelationalDatabase & WithState(Aws::String &&value)
RelationalDatabase & WithName(const char *value)
RelationalDatabase & WithCreatedAt(Aws::Utils::DateTime &&value)
RelationalDatabase & WithSupportCode(const Aws::String &value)
RelationalDatabase & WithPendingModifiedValues(PendingModifiedRelationalDatabaseValues &&value)
RelationalDatabase & WithHardware(RelationalDatabaseHardware &&value)
const Aws::String & GetRelationalDatabaseBlueprintId() const
RelationalDatabase & WithName(const Aws::String &value)
const Aws::String & GetMasterUsername() const
RelationalDatabase & WithMasterUsername(Aws::String &&value)
const Aws::Utils::DateTime & GetLatestRestorableTime() const
RelationalDatabase & WithArn(const char *value)
RelationalDatabase & WithEngine(const Aws::String &value)
RelationalDatabase & WithTags(const Aws::Vector< Tag > &value)
RelationalDatabase & WithMasterEndpoint(const RelationalDatabaseEndpoint &value)
void SetRelationalDatabaseBundleId(const Aws::String &value)
RelationalDatabase & WithPendingMaintenanceActions(Aws::Vector< PendingMaintenanceAction > &&value)
void SetMasterDatabaseName(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
RelationalDatabase & WithPreferredMaintenanceWindow(Aws::String &&value)
void SetEngine(const Aws::String &value)
RelationalDatabase & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetPreferredMaintenanceWindow() const
RelationalDatabase & WithState(const Aws::String &value)
RelationalDatabase & WithResourceType(const ResourceType &value)
void SetPendingModifiedValues(PendingModifiedRelationalDatabaseValues &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetLocation(ResourceLocation &&value)
RelationalDatabase & WithName(Aws::String &&value)
const ResourceLocation & GetLocation() const
const PendingModifiedRelationalDatabaseValues & GetPendingModifiedValues() const
RelationalDatabase & WithMasterUsername(const char *value)
void SetPreferredMaintenanceWindow(const char *value)
void SetArn(const Aws::String &value)
RelationalDatabase & WithPreferredMaintenanceWindow(const char *value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
const Aws::String & GetRelationalDatabaseBundleId() const
void SetMasterUsername(const Aws::String &value)
RelationalDatabase & WithLocation(ResourceLocation &&value)
void SetHardware(RelationalDatabaseHardware &&value)
RelationalDatabase & WithBackupRetentionEnabled(bool value)
RelationalDatabase & WithCaCertificateIdentifier(Aws::String &&value)
RelationalDatabase & WithPreferredBackupWindow(const char *value)
void SetSecondaryAvailabilityZone(Aws::String &&value)
RelationalDatabase & WithSecondaryAvailabilityZone(const Aws::String &value)
RelationalDatabase & WithLatestRestorableTime(Aws::Utils::DateTime &&value)
AWS_LIGHTSAIL_API RelationalDatabase(Aws::Utils::Json::JsonView jsonValue)
RelationalDatabase & WithPubliclyAccessible(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue