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>
57 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(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); }
87 inline void SetSupportCode(
const char* value) { m_supportCodeHasBeenSet =
true; m_supportCode.assign(value); }
186 inline void SetMasterDatabaseName(
const char* value) { m_masterDatabaseNameHasBeenSet =
true; m_masterDatabaseName.assign(value); }
212 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
228 inline void SetSecondaryAvailabilityZone(
const char* value) { m_secondaryAvailabilityZoneHasBeenSet =
true; m_secondaryAvailabilityZone.assign(value); }
265 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
279 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
306 inline void SetMasterUsername(
const char* value) { m_masterUsernameHasBeenSet =
true; m_masterUsername.assign(value); }
320 inline void SetParameterApplyStatus(
const char* value) { m_parameterApplyStatusHasBeenSet =
true; m_parameterApplyStatus.assign(value); }
335 inline void SetPreferredBackupWindow(
const char* value) { m_preferredBackupWindowHasBeenSet =
true; m_preferredBackupWindow.assign(value); }
363 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
401 inline void SetCaCertificateIdentifier(
const char* value) { m_caCertificateIdentifierHasBeenSet =
true; m_caCertificateIdentifier.assign(value); }
409 bool m_nameHasBeenSet =
false;
412 bool m_arnHasBeenSet =
false;
415 bool m_supportCodeHasBeenSet =
false;
418 bool m_createdAtHasBeenSet =
false;
421 bool m_locationHasBeenSet =
false;
424 bool m_resourceTypeHasBeenSet =
false;
427 bool m_tagsHasBeenSet =
false;
430 bool m_relationalDatabaseBlueprintIdHasBeenSet =
false;
433 bool m_relationalDatabaseBundleIdHasBeenSet =
false;
436 bool m_masterDatabaseNameHasBeenSet =
false;
439 bool m_hardwareHasBeenSet =
false;
442 bool m_stateHasBeenSet =
false;
445 bool m_secondaryAvailabilityZoneHasBeenSet =
false;
447 bool m_backupRetentionEnabled;
448 bool m_backupRetentionEnabledHasBeenSet =
false;
451 bool m_pendingModifiedValuesHasBeenSet =
false;
454 bool m_engineHasBeenSet =
false;
457 bool m_engineVersionHasBeenSet =
false;
460 bool m_latestRestorableTimeHasBeenSet =
false;
463 bool m_masterUsernameHasBeenSet =
false;
466 bool m_parameterApplyStatusHasBeenSet =
false;
469 bool m_preferredBackupWindowHasBeenSet =
false;
472 bool m_preferredMaintenanceWindowHasBeenSet =
false;
474 bool m_publiclyAccessible;
475 bool m_publiclyAccessibleHasBeenSet =
false;
478 bool m_masterEndpointHasBeenSet =
false;
481 bool m_pendingMaintenanceActionsHasBeenSet =
false;
484 bool m_caCertificateIdentifierHasBeenSet =
false;
RelationalDatabase & WithArn(Aws::String &&value)
void SetResourceType(ResourceType &&value)
bool PendingModifiedValuesHasBeenSet() const
RelationalDatabase & AddPendingMaintenanceActions(const PendingMaintenanceAction &value)
bool LocationHasBeenSet() const
const RelationalDatabaseEndpoint & GetMasterEndpoint() const
void SetSupportCode(const Aws::String &value)
void SetEngineVersion(Aws::String &&value)
void SetArn(Aws::String &&value)
AWS_LIGHTSAIL_API RelationalDatabase & operator=(Aws::Utils::Json::JsonView jsonValue)
RelationalDatabase & WithMasterEndpoint(RelationalDatabaseEndpoint &&value)
bool RelationalDatabaseBundleIdHasBeenSet() const
bool MasterEndpointHasBeenSet() const
bool SupportCodeHasBeenSet() const
RelationalDatabase & AddTags(const Tag &value)
const ResourceType & GetResourceType() const
void SetState(const char *value)
void SetSupportCode(Aws::String &&value)
RelationalDatabase & WithCaCertificateIdentifier(const Aws::String &value)
RelationalDatabase & WithRelationalDatabaseBlueprintId(Aws::String &&value)
RelationalDatabase & WithLocation(const ResourceLocation &value)
void SetSecondaryAvailabilityZone(const Aws::String &value)
void SetName(const char *value)
void SetPendingMaintenanceActions(const Aws::Vector< PendingMaintenanceAction > &value)
const Aws::String & GetSecondaryAvailabilityZone() const
bool ResourceTypeHasBeenSet() const
const Aws::String & GetState() 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
bool ArnHasBeenSet() const
RelationalDatabase & WithSecondaryAvailabilityZone(const char *value)
void SetEngine(Aws::String &&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
bool RelationalDatabaseBlueprintIdHasBeenSet() 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 SetMasterDatabaseName(const char *value)
void SetRelationalDatabaseBlueprintId(const Aws::String &value)
RelationalDatabase & WithState(const char *value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
bool EngineVersionHasBeenSet() const
bool TagsHasBeenSet() const
RelationalDatabase & WithPendingMaintenanceActions(const Aws::Vector< PendingMaintenanceAction > &value)
void SetRelationalDatabaseBlueprintId(Aws::String &&value)
void SetEngineVersion(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
bool SecondaryAvailabilityZoneHasBeenSet() const
bool GetPubliclyAccessible() const
RelationalDatabase & WithRelationalDatabaseBundleId(Aws::String &&value)
RelationalDatabase & AddPendingMaintenanceActions(PendingMaintenanceAction &&value)
void SetSupportCode(const char *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)
const Aws::String & GetEngine() const
RelationalDatabase & WithParameterApplyStatus(const char *value)
RelationalDatabase & WithEngineVersion(const Aws::String &value)
void SetState(Aws::String &&value)
void SetArn(const char *value)
void SetSecondaryAvailabilityZone(const char *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 SetParameterApplyStatus(const char *value)
void SetPreferredBackupWindow(const Aws::String &value)
const Aws::String & GetEngineVersion() const
bool MasterDatabaseNameHasBeenSet() const
RelationalDatabase & WithResourceType(ResourceType &&value)
RelationalDatabase & WithParameterApplyStatus(Aws::String &&value)
RelationalDatabase & WithPendingModifiedValues(const PendingModifiedRelationalDatabaseValues &value)
RelationalDatabase & WithRelationalDatabaseBlueprintId(const Aws::String &value)
void SetEngine(const char *value)
RelationalDatabase & WithTags(Aws::Vector< Tag > &&value)
void SetParameterApplyStatus(const Aws::String &value)
void SetCaCertificateIdentifier(const char *value)
bool PreferredBackupWindowHasBeenSet() const
RelationalDatabase & WithSupportCode(Aws::String &&value)
bool CreatedAtHasBeenSet() const
void SetParameterApplyStatus(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool EngineHasBeenSet() const
void SetPreferredBackupWindow(Aws::String &&value)
RelationalDatabase & WithRelationalDatabaseBlueprintId(const char *value)
RelationalDatabase & WithRelationalDatabaseBundleId(const Aws::String &value)
void SetRelationalDatabaseBlueprintId(const char *value)
bool LatestRestorableTimeHasBeenSet() const
const RelationalDatabaseHardware & GetHardware() const
bool HardwareHasBeenSet() const
RelationalDatabase & WithPreferredBackupWindow(Aws::String &&value)
RelationalDatabase & WithRelationalDatabaseBundleId(const char *value)
void SetPreferredBackupWindow(const char *value)
RelationalDatabase & WithPreferredMaintenanceWindow(const Aws::String &value)
RelationalDatabase & WithMasterDatabaseName(const Aws::String &value)
RelationalDatabase & WithMasterDatabaseName(const char *value)
AWS_LIGHTSAIL_API RelationalDatabase()
RelationalDatabase & WithParameterApplyStatus(const Aws::String &value)
void SetPubliclyAccessible(bool value)
void SetHardware(const RelationalDatabaseHardware &value)
RelationalDatabase & WithEngine(const char *value)
void SetLatestRestorableTime(const Aws::Utils::DateTime &value)
const Aws::String & GetPreferredBackupWindow() const
bool MasterUsernameHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetArn() const
void SetName(Aws::String &&value)
bool PendingMaintenanceActionsHasBeenSet() 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)
bool NameHasBeenSet() const
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)
bool ParameterApplyStatusHasBeenSet() const
RelationalDatabase & WithMasterEndpoint(const RelationalDatabaseEndpoint &value)
void SetRelationalDatabaseBundleId(const Aws::String &value)
RelationalDatabase & WithPendingMaintenanceActions(Aws::Vector< PendingMaintenanceAction > &&value)
void SetMasterDatabaseName(const Aws::String &value)
void SetMasterDatabaseName(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)
bool StateHasBeenSet() const
RelationalDatabase & WithResourceType(const ResourceType &value)
void SetPendingModifiedValues(PendingModifiedRelationalDatabaseValues &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetLocation(ResourceLocation &&value)
void SetMasterUsername(const char *value)
RelationalDatabase & WithName(Aws::String &&value)
const ResourceLocation & GetLocation() const
const PendingModifiedRelationalDatabaseValues & GetPendingModifiedValues() const
const Aws::String & GetSupportCode() const
bool CaCertificateIdentifierHasBeenSet() const
RelationalDatabase & WithMasterUsername(const char *value)
void SetPreferredMaintenanceWindow(const char *value)
void SetArn(const Aws::String &value)
void SetBackupRetentionEnabled(bool value)
RelationalDatabase & WithPreferredMaintenanceWindow(const char *value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
const Aws::String & GetRelationalDatabaseBundleId() const
void SetMasterUsername(const Aws::String &value)
bool PubliclyAccessibleHasBeenSet() const
RelationalDatabase & WithLocation(ResourceLocation &&value)
void SetHardware(RelationalDatabaseHardware &&value)
void SetMasterUsername(Aws::String &&value)
RelationalDatabase & WithBackupRetentionEnabled(bool value)
RelationalDatabase & WithCaCertificateIdentifier(Aws::String &&value)
RelationalDatabase & WithPreferredBackupWindow(const char *value)
bool PreferredMaintenanceWindowHasBeenSet() const
bool GetBackupRetentionEnabled() const
void SetSecondaryAvailabilityZone(Aws::String &&value)
RelationalDatabase & WithSecondaryAvailabilityZone(const Aws::String &value)
bool BackupRetentionEnabledHasBeenSet() const
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