7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/redshift-serverless/model/SnapshotStatus.h>
24namespace RedshiftServerless
94 inline void SetAdminPasswordSecretArn(
const char* value) { m_adminPasswordSecretArnHasBeenSet =
true; m_adminPasswordSecretArn.assign(value); }
123 inline void SetAdminUsername(
const char* value) { m_adminUsernameHasBeenSet =
true; m_adminUsername.assign(value); }
156 inline void SetElapsedTimeInSeconds(
long long value) { m_elapsedTimeInSecondsHasBeenSet =
true; m_elapsedTimeInSeconds = value; }
178 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
193 inline void SetNamespaceArn(
const char* value) { m_namespaceArnHasBeenSet =
true; m_namespaceArn.assign(value); }
207 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
221 inline void SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
235 inline void SetSnapshotArn(
const char* value) { m_snapshotArnHasBeenSet =
true; m_snapshotArn.assign(value); }
261 inline void SetSnapshotName(
const char* value) { m_snapshotNameHasBeenSet =
true; m_snapshotName.assign(value); }
323 bool m_accountsWithProvisionedRestoreAccessHasBeenSet =
false;
326 bool m_accountsWithRestoreAccessHasBeenSet =
false;
328 double m_actualIncrementalBackupSizeInMegaBytes;
329 bool m_actualIncrementalBackupSizeInMegaBytesHasBeenSet =
false;
332 bool m_adminPasswordSecretArnHasBeenSet =
false;
335 bool m_adminPasswordSecretKmsKeyIdHasBeenSet =
false;
338 bool m_adminUsernameHasBeenSet =
false;
340 double m_backupProgressInMegaBytes;
341 bool m_backupProgressInMegaBytesHasBeenSet =
false;
343 double m_currentBackupRateInMegaBytesPerSecond;
344 bool m_currentBackupRateInMegaBytesPerSecondHasBeenSet =
false;
346 long long m_elapsedTimeInSeconds;
347 bool m_elapsedTimeInSecondsHasBeenSet =
false;
349 long long m_estimatedSecondsToCompletion;
350 bool m_estimatedSecondsToCompletionHasBeenSet =
false;
353 bool m_kmsKeyIdHasBeenSet =
false;
356 bool m_namespaceArnHasBeenSet =
false;
359 bool m_namespaceNameHasBeenSet =
false;
362 bool m_ownerAccountHasBeenSet =
false;
365 bool m_snapshotArnHasBeenSet =
false;
368 bool m_snapshotCreateTimeHasBeenSet =
false;
371 bool m_snapshotNameHasBeenSet =
false;
373 int m_snapshotRemainingDays;
374 bool m_snapshotRemainingDaysHasBeenSet =
false;
376 int m_snapshotRetentionPeriod;
377 bool m_snapshotRetentionPeriodHasBeenSet =
false;
380 bool m_snapshotRetentionStartTimeHasBeenSet =
false;
383 bool m_statusHasBeenSet =
false;
385 double m_totalBackupSizeInMegaBytes;
386 bool m_totalBackupSizeInMegaBytesHasBeenSet =
false;
void SetNamespaceName(Aws::String &&value)
void SetStatus(const SnapshotStatus &value)
Snapshot & WithEstimatedSecondsToCompletion(long long value)
void SetNamespaceArn(Aws::String &&value)
long long GetEstimatedSecondsToCompletion() const
Snapshot & WithAccountsWithProvisionedRestoreAccess(const Aws::Vector< Aws::String > &value)
void SetSnapshotName(Aws::String &&value)
bool SnapshotNameHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Snapshot(Aws::Utils::Json::JsonView jsonValue)
Snapshot & WithTotalBackupSizeInMegaBytes(double value)
Snapshot & WithNamespaceName(const char *value)
Snapshot & WithAdminUsername(Aws::String &&value)
void SetAdminPasswordSecretKmsKeyId(const char *value)
Snapshot & WithAdminPasswordSecretArn(const Aws::String &value)
void SetAdminPasswordSecretArn(const char *value)
Snapshot & WithSnapshotName(Aws::String &&value)
bool SnapshotRetentionPeriodHasBeenSet() const
bool NamespaceNameHasBeenSet() const
Snapshot & WithSnapshotName(const char *value)
void SetOwnerAccount(const Aws::String &value)
const Aws::String & GetNamespaceArn() const
bool SnapshotRetentionStartTimeHasBeenSet() const
double GetBackupProgressInMegaBytes() const
Snapshot & WithAdminPasswordSecretKmsKeyId(const char *value)
void SetNamespaceArn(const Aws::String &value)
void SetSnapshotRetentionPeriod(int value)
int GetSnapshotRemainingDays() const
Snapshot & WithOwnerAccount(const char *value)
Snapshot & WithAdminUsername(const char *value)
void SetCurrentBackupRateInMegaBytesPerSecond(double value)
double GetActualIncrementalBackupSizeInMegaBytes() const
bool CurrentBackupRateInMegaBytesPerSecondHasBeenSet() const
void SetSnapshotArn(const Aws::String &value)
double GetTotalBackupSizeInMegaBytes() const
Snapshot & AddAccountsWithProvisionedRestoreAccess(const char *value)
void SetSnapshotName(const char *value)
Snapshot & WithSnapshotArn(const char *value)
void SetSnapshotRetentionStartTime(Aws::Utils::DateTime &&value)
Snapshot & WithAdminPasswordSecretArn(Aws::String &&value)
bool AdminPasswordSecretArnHasBeenSet() const
const SnapshotStatus & GetStatus() const
Snapshot & WithNamespaceName(const Aws::String &value)
Snapshot & WithOwnerAccount(const Aws::String &value)
bool SnapshotCreateTimeHasBeenSet() const
const Aws::Utils::DateTime & GetSnapshotRetentionStartTime() const
bool AccountsWithRestoreAccessHasBeenSet() const
void SetNamespaceName(const char *value)
Snapshot & WithSnapshotArn(Aws::String &&value)
void SetOwnerAccount(Aws::String &&value)
const Aws::String & GetNamespaceName() const
Snapshot & WithCurrentBackupRateInMegaBytesPerSecond(double value)
Snapshot & WithActualIncrementalBackupSizeInMegaBytes(double value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountsWithRestoreAccess(Aws::Vector< Aws::String > &&value)
const Aws::String & GetSnapshotArn() const
Snapshot & WithOwnerAccount(Aws::String &&value)
void SetTotalBackupSizeInMegaBytes(double value)
bool TotalBackupSizeInMegaBytesHasBeenSet() const
void SetOwnerAccount(const char *value)
void SetActualIncrementalBackupSizeInMegaBytes(double value)
void SetAccountsWithRestoreAccess(const Aws::Vector< Aws::String > &value)
bool StatusHasBeenSet() const
bool BackupProgressInMegaBytesHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Snapshot()
Snapshot & WithStatus(const SnapshotStatus &value)
bool KmsKeyIdHasBeenSet() const
void SetAdminPasswordSecretKmsKeyId(const Aws::String &value)
double GetCurrentBackupRateInMegaBytesPerSecond() const
void SetElapsedTimeInSeconds(long long value)
void SetSnapshotCreateTime(Aws::Utils::DateTime &&value)
Snapshot & WithNamespaceArn(const Aws::String &value)
bool OwnerAccountHasBeenSet() const
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
Snapshot & WithSnapshotName(const Aws::String &value)
Snapshot & WithKmsKeyId(const char *value)
const Aws::Vector< Aws::String > & GetAccountsWithRestoreAccess() const
Snapshot & WithAdminPasswordSecretKmsKeyId(const Aws::String &value)
Snapshot & WithSnapshotRetentionStartTime(const Aws::Utils::DateTime &value)
const Aws::String & GetKmsKeyId() const
void SetEstimatedSecondsToCompletion(long long value)
Snapshot & WithAdminPasswordSecretArn(const char *value)
void SetAdminPasswordSecretArn(Aws::String &&value)
void SetBackupProgressInMegaBytes(double value)
Snapshot & WithNamespaceName(Aws::String &&value)
Snapshot & WithStatus(SnapshotStatus &&value)
void SetKmsKeyId(const Aws::String &value)
void SetNamespaceName(const Aws::String &value)
Snapshot & AddAccountsWithRestoreAccess(const char *value)
const Aws::String & GetAdminPasswordSecretArn() const
void SetAdminPasswordSecretArn(const Aws::String &value)
const Aws::String & GetSnapshotName() const
void SetSnapshotArn(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Snapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
Snapshot & WithSnapshotRemainingDays(int value)
Snapshot & WithNamespaceArn(Aws::String &&value)
Snapshot & WithAdminPasswordSecretKmsKeyId(Aws::String &&value)
long long GetElapsedTimeInSeconds() const
void SetSnapshotName(const Aws::String &value)
Snapshot & WithSnapshotRetentionStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetAdminUsername() const
int GetSnapshotRetentionPeriod() const
void SetAdminPasswordSecretKmsKeyId(Aws::String &&value)
bool AdminPasswordSecretKmsKeyIdHasBeenSet() const
void SetKmsKeyId(const char *value)
bool AccountsWithProvisionedRestoreAccessHasBeenSet() const
Snapshot & AddAccountsWithRestoreAccess(Aws::String &&value)
void SetKmsKeyId(Aws::String &&value)
void SetStatus(SnapshotStatus &&value)
bool SnapshotRemainingDaysHasBeenSet() const
Snapshot & WithNamespaceArn(const char *value)
Snapshot & AddAccountsWithProvisionedRestoreAccess(Aws::String &&value)
void SetSnapshotCreateTime(const Aws::Utils::DateTime &value)
void SetAdminUsername(const Aws::String &value)
void SetAccountsWithProvisionedRestoreAccess(const Aws::Vector< Aws::String > &value)
void SetAdminUsername(const char *value)
void SetSnapshotRemainingDays(int value)
bool EstimatedSecondsToCompletionHasBeenSet() const
Snapshot & WithAccountsWithProvisionedRestoreAccess(Aws::Vector< Aws::String > &&value)
Snapshot & WithElapsedTimeInSeconds(long long value)
const Aws::String & GetAdminPasswordSecretKmsKeyId() const
Snapshot & WithSnapshotRetentionPeriod(int value)
bool ElapsedTimeInSecondsHasBeenSet() const
Snapshot & WithSnapshotCreateTime(const Aws::Utils::DateTime &value)
Snapshot & WithBackupProgressInMegaBytes(double value)
Snapshot & WithSnapshotCreateTime(Aws::Utils::DateTime &&value)
void SetNamespaceArn(const char *value)
Snapshot & WithAccountsWithRestoreAccess(Aws::Vector< Aws::String > &&value)
void SetAccountsWithProvisionedRestoreAccess(Aws::Vector< Aws::String > &&value)
Snapshot & WithSnapshotArn(const Aws::String &value)
bool AdminUsernameHasBeenSet() const
Snapshot & AddAccountsWithProvisionedRestoreAccess(const Aws::String &value)
Snapshot & WithKmsKeyId(Aws::String &&value)
Snapshot & AddAccountsWithRestoreAccess(const Aws::String &value)
Snapshot & WithAdminUsername(const Aws::String &value)
Snapshot & WithAccountsWithRestoreAccess(const Aws::Vector< Aws::String > &value)
void SetSnapshotRetentionStartTime(const Aws::Utils::DateTime &value)
bool SnapshotArnHasBeenSet() const
void SetAdminUsername(Aws::String &&value)
bool ActualIncrementalBackupSizeInMegaBytesHasBeenSet() const
const Aws::Vector< Aws::String > & GetAccountsWithProvisionedRestoreAccess() const
Snapshot & WithKmsKeyId(const Aws::String &value)
void SetSnapshotArn(const char *value)
const Aws::String & GetOwnerAccount() const
bool NamespaceArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue