7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lightsail/model/Tag.h>
33 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateRelationalDatabaseFromSnapshot"; }
51 inline void SetRelationalDatabaseName(
const char* value) { m_relationalDatabaseNameHasBeenSet =
true; m_relationalDatabaseName.assign(value); }
69 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
85 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
184 bool m_relationalDatabaseNameHasBeenSet =
false;
187 bool m_availabilityZoneHasBeenSet =
false;
189 bool m_publiclyAccessible;
190 bool m_publiclyAccessibleHasBeenSet =
false;
193 bool m_relationalDatabaseSnapshotNameHasBeenSet =
false;
196 bool m_relationalDatabaseBundleIdHasBeenSet =
false;
199 bool m_sourceRelationalDatabaseNameHasBeenSet =
false;
202 bool m_restoreTimeHasBeenSet =
false;
204 bool m_useLatestRestorableTime;
205 bool m_useLatestRestorableTimeHasBeenSet =
false;
208 bool m_tagsHasBeenSet =
false;
void SetRelationalDatabaseBundleId(const char *value)
CreateRelationalDatabaseFromSnapshotRequest & WithRelationalDatabaseName(Aws::String &&value)
void SetAvailabilityZone(const Aws::String &value)
bool PubliclyAccessibleHasBeenSet() const
CreateRelationalDatabaseFromSnapshotRequest & WithTags(const Aws::Vector< Tag > &value)
virtual const char * GetServiceRequestName() const override
AWS_LIGHTSAIL_API CreateRelationalDatabaseFromSnapshotRequest()
CreateRelationalDatabaseFromSnapshotRequest & WithRelationalDatabaseBundleId(Aws::String &&value)
const Aws::String & GetRelationalDatabaseName() const
CreateRelationalDatabaseFromSnapshotRequest & WithAvailabilityZone(const Aws::String &value)
bool RelationalDatabaseNameHasBeenSet() const
CreateRelationalDatabaseFromSnapshotRequest & WithTags(Aws::Vector< Tag > &&value)
void SetAvailabilityZone(const char *value)
CreateRelationalDatabaseFromSnapshotRequest & WithSourceRelationalDatabaseName(const char *value)
CreateRelationalDatabaseFromSnapshotRequest & WithUseLatestRestorableTime(bool value)
void SetRestoreTime(Aws::Utils::DateTime &&value)
void SetUseLatestRestorableTime(bool value)
void SetRelationalDatabaseBundleId(Aws::String &&value)
void SetRestoreTime(const Aws::Utils::DateTime &value)
void SetRelationalDatabaseSnapshotName(const char *value)
const Aws::String & GetSourceRelationalDatabaseName() const
CreateRelationalDatabaseFromSnapshotRequest & WithRelationalDatabaseName(const Aws::String &value)
const Aws::String & GetRelationalDatabaseBundleId() const
bool RelationalDatabaseBundleIdHasBeenSet() const
CreateRelationalDatabaseFromSnapshotRequest & WithRelationalDatabaseBundleId(const char *value)
void SetSourceRelationalDatabaseName(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
void SetRelationalDatabaseName(const Aws::String &value)
CreateRelationalDatabaseFromSnapshotRequest & WithRestoreTime(Aws::Utils::DateTime &&value)
CreateRelationalDatabaseFromSnapshotRequest & WithSourceRelationalDatabaseName(const Aws::String &value)
void SetRelationalDatabaseName(Aws::String &&value)
bool RestoreTimeHasBeenSet() const
CreateRelationalDatabaseFromSnapshotRequest & WithRelationalDatabaseName(const char *value)
CreateRelationalDatabaseFromSnapshotRequest & WithPubliclyAccessible(bool value)
CreateRelationalDatabaseFromSnapshotRequest & WithRelationalDatabaseSnapshotName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
CreateRelationalDatabaseFromSnapshotRequest & WithRelationalDatabaseSnapshotName(const char *value)
CreateRelationalDatabaseFromSnapshotRequest & WithAvailabilityZone(Aws::String &&value)
CreateRelationalDatabaseFromSnapshotRequest & AddTags(Tag &&value)
const Aws::Utils::DateTime & GetRestoreTime() const
void SetTags(const Aws::Vector< Tag > &value)
bool UseLatestRestorableTimeHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPubliclyAccessible(bool value)
bool GetPubliclyAccessible() const
void SetTags(Aws::Vector< Tag > &&value)
bool TagsHasBeenSet() const
bool SourceRelationalDatabaseNameHasBeenSet() const
void SetRelationalDatabaseName(const char *value)
void SetAvailabilityZone(Aws::String &&value)
void SetRelationalDatabaseBundleId(const Aws::String &value)
bool RelationalDatabaseSnapshotNameHasBeenSet() const
void SetSourceRelationalDatabaseName(const Aws::String &value)
const Aws::String & GetAvailabilityZone() const
void SetRelationalDatabaseSnapshotName(Aws::String &&value)
void SetSourceRelationalDatabaseName(const char *value)
const Aws::String & GetRelationalDatabaseSnapshotName() const
CreateRelationalDatabaseFromSnapshotRequest & WithSourceRelationalDatabaseName(Aws::String &&value)
bool GetUseLatestRestorableTime() const
CreateRelationalDatabaseFromSnapshotRequest & WithAvailabilityZone(const char *value)
CreateRelationalDatabaseFromSnapshotRequest & AddTags(const Tag &value)
CreateRelationalDatabaseFromSnapshotRequest & WithRelationalDatabaseBundleId(const Aws::String &value)
CreateRelationalDatabaseFromSnapshotRequest & WithRestoreTime(const Aws::Utils::DateTime &value)
void SetRelationalDatabaseSnapshotName(const Aws::String &value)
CreateRelationalDatabaseFromSnapshotRequest & WithRelationalDatabaseSnapshotName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector