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/Tag.h>
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
66 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
67 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
84 inline void SetSupportCode(
const char* value) { m_supportCodeHasBeenSet =
true; m_supportCode.assign(value); }
152 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
167 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
180 inline void SetSizeInGb(
int value) { m_sizeInGbHasBeenSet =
true; m_sizeInGb = value; }
192 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
222 inline void SetFromRelationalDatabaseArn(
const char* value) { m_fromRelationalDatabaseArnHasBeenSet =
true; m_fromRelationalDatabaseArn.assign(value); }
260 bool m_nameHasBeenSet =
false;
263 bool m_arnHasBeenSet =
false;
266 bool m_supportCodeHasBeenSet =
false;
269 bool m_createdAtHasBeenSet =
false;
272 bool m_locationHasBeenSet =
false;
275 bool m_resourceTypeHasBeenSet =
false;
278 bool m_tagsHasBeenSet =
false;
281 bool m_engineHasBeenSet =
false;
284 bool m_engineVersionHasBeenSet =
false;
287 bool m_sizeInGbHasBeenSet =
false;
290 bool m_stateHasBeenSet =
false;
293 bool m_fromRelationalDatabaseNameHasBeenSet =
false;
296 bool m_fromRelationalDatabaseArnHasBeenSet =
false;
299 bool m_fromRelationalDatabaseBundleIdHasBeenSet =
false;
302 bool m_fromRelationalDatabaseBlueprintIdHasBeenSet =
false;
RelationalDatabaseSnapshot & WithFromRelationalDatabaseName(const Aws::String &value)
bool LocationHasBeenSet() const
RelationalDatabaseSnapshot & WithFromRelationalDatabaseBundleId(const char *value)
void SetFromRelationalDatabaseName(const char *value)
const Aws::String & GetEngineVersion() const
void SetEngineVersion(const Aws::String &value)
void SetName(const char *value)
void SetEngine(const Aws::String &value)
void SetArn(const Aws::String &value)
const ResourceLocation & GetLocation() const
RelationalDatabaseSnapshot & WithName(const char *value)
RelationalDatabaseSnapshot & WithFromRelationalDatabaseArn(Aws::String &&value)
const Aws::String & GetFromRelationalDatabaseName() const
const Aws::String & GetSupportCode() const
void SetFromRelationalDatabaseArn(const Aws::String &value)
void SetArn(Aws::String &&value)
void SetFromRelationalDatabaseBlueprintId(const char *value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
RelationalDatabaseSnapshot & WithFromRelationalDatabaseBlueprintId(Aws::String &&value)
RelationalDatabaseSnapshot & AddTags(Tag &&value)
RelationalDatabaseSnapshot & WithName(const Aws::String &value)
AWS_LIGHTSAIL_API RelationalDatabaseSnapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFromRelationalDatabaseArn() const
const Aws::String & GetName() const
void SetEngineVersion(Aws::String &&value)
void SetFromRelationalDatabaseBundleId(Aws::String &&value)
RelationalDatabaseSnapshot & WithArn(const Aws::String &value)
bool FromRelationalDatabaseNameHasBeenSet() const
bool StateHasBeenSet() const
AWS_LIGHTSAIL_API RelationalDatabaseSnapshot(Aws::Utils::Json::JsonView jsonValue)
RelationalDatabaseSnapshot & WithLocation(ResourceLocation &&value)
RelationalDatabaseSnapshot & WithEngineVersion(const Aws::String &value)
void SetResourceType(const ResourceType &value)
RelationalDatabaseSnapshot & WithFromRelationalDatabaseName(const char *value)
void SetArn(const char *value)
const ResourceType & GetResourceType() const
bool EngineHasBeenSet() const
void SetSizeInGb(int value)
bool ArnHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetFromRelationalDatabaseBundleId() const
void SetLocation(ResourceLocation &&value)
void SetName(const Aws::String &value)
bool ResourceTypeHasBeenSet() const
RelationalDatabaseSnapshot & WithEngine(Aws::String &&value)
bool NameHasBeenSet() const
void SetEngine(Aws::String &&value)
void SetState(const Aws::String &value)
RelationalDatabaseSnapshot & WithLocation(const ResourceLocation &value)
RelationalDatabaseSnapshot & WithState(const Aws::String &value)
bool TagsHasBeenSet() const
void SetSupportCode(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
RelationalDatabaseSnapshot & WithEngine(const Aws::String &value)
const Aws::String & GetArn() const
void SetFromRelationalDatabaseArn(const char *value)
RelationalDatabaseSnapshot & WithSupportCode(Aws::String &&value)
void SetFromRelationalDatabaseName(const Aws::String &value)
RelationalDatabaseSnapshot & WithState(const char *value)
RelationalDatabaseSnapshot & WithFromRelationalDatabaseBundleId(Aws::String &&value)
RelationalDatabaseSnapshot & WithEngineVersion(const char *value)
void SetFromRelationalDatabaseArn(Aws::String &&value)
RelationalDatabaseSnapshot & WithSupportCode(const Aws::String &value)
void SetSupportCode(const Aws::String &value)
RelationalDatabaseSnapshot & WithEngineVersion(Aws::String &&value)
bool SupportCodeHasBeenSet() const
void SetLocation(const ResourceLocation &value)
void SetEngine(const char *value)
bool FromRelationalDatabaseArnHasBeenSet() const
bool CreatedAtHasBeenSet() const
bool FromRelationalDatabaseBundleIdHasBeenSet() const
void SetFromRelationalDatabaseBundleId(const char *value)
const Aws::Vector< Tag > & GetTags() const
RelationalDatabaseSnapshot & WithTags(Aws::Vector< Tag > &&value)
RelationalDatabaseSnapshot & WithResourceType(ResourceType &&value)
RelationalDatabaseSnapshot & WithState(Aws::String &&value)
RelationalDatabaseSnapshot & WithResourceType(const ResourceType &value)
void SetState(Aws::String &&value)
const Aws::String & GetFromRelationalDatabaseBlueprintId() const
void SetFromRelationalDatabaseBundleId(const Aws::String &value)
AWS_LIGHTSAIL_API RelationalDatabaseSnapshot()
RelationalDatabaseSnapshot & WithFromRelationalDatabaseArn(const Aws::String &value)
bool EngineVersionHasBeenSet() const
const Aws::String & GetState() const
RelationalDatabaseSnapshot & WithFromRelationalDatabaseBundleId(const Aws::String &value)
void SetFromRelationalDatabaseBlueprintId(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetResourceType(ResourceType &&value)
RelationalDatabaseSnapshot & WithTags(const Aws::Vector< Tag > &value)
RelationalDatabaseSnapshot & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetEngineVersion(const char *value)
RelationalDatabaseSnapshot & WithArn(Aws::String &&value)
RelationalDatabaseSnapshot & WithSizeInGb(int value)
void SetFromRelationalDatabaseBlueprintId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetName(Aws::String &&value)
const Aws::String & GetEngine() const
void SetSupportCode(Aws::String &&value)
RelationalDatabaseSnapshot & WithCreatedAt(Aws::Utils::DateTime &&value)
RelationalDatabaseSnapshot & WithFromRelationalDatabaseBlueprintId(const char *value)
RelationalDatabaseSnapshot & WithFromRelationalDatabaseBlueprintId(const Aws::String &value)
RelationalDatabaseSnapshot & WithFromRelationalDatabaseArn(const char *value)
bool SizeInGbHasBeenSet() const
RelationalDatabaseSnapshot & WithArn(const char *value)
RelationalDatabaseSnapshot & WithEngine(const char *value)
RelationalDatabaseSnapshot & WithFromRelationalDatabaseName(Aws::String &&value)
bool FromRelationalDatabaseBlueprintIdHasBeenSet() const
void SetFromRelationalDatabaseName(Aws::String &&value)
RelationalDatabaseSnapshot & AddTags(const Tag &value)
RelationalDatabaseSnapshot & WithName(Aws::String &&value)
RelationalDatabaseSnapshot & WithSupportCode(const char *value)
void SetState(const char *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