7#include <aws/backup-external/BackupExternal_EXPORTS.h>
8#include <aws/backup-external/model/SizingBackupRule.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace BackupExternal {
42 template <
typename BackupRulesT = Aws::Vector<SizingBackupRule>>
44 m_backupRulesHasBeenSet =
true;
45 m_backupRules = std::forward<BackupRulesT>(value);
47 template <
typename BackupRulesT = Aws::Vector<SizingBackupRule>>
52 template <
typename BackupRulesT = SizingBackupRule>
54 m_backupRulesHasBeenSet =
true;
55 m_backupRules.emplace_back(std::forward<BackupRulesT>(value));
67 m_fullBackupAfterDaysHasBeenSet =
true;
68 m_fullBackupAfterDays = value;
86 m_logChangeRatePercentHasBeenSet =
true;
87 m_logChangeRatePercent = value;
97 int m_fullBackupAfterDays{0};
99 double m_logChangeRatePercent{0.0};
100 bool m_backupRulesHasBeenSet =
false;
101 bool m_fullBackupAfterDaysHasBeenSet =
false;
102 bool m_logChangeRatePercentHasBeenSet =
false;
bool BackupRulesHasBeenSet() const
AWS_BACKUPEXTERNAL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogChangeRatePercent(double value)
void SetBackupRules(BackupRulesT &&value)
int GetFullBackupAfterDays() const
double GetLogChangeRatePercent() const
SizingDatabaseBackupConfiguration & AddBackupRules(BackupRulesT &&value)
AWS_BACKUPEXTERNAL_API SizingDatabaseBackupConfiguration()=default
SizingDatabaseBackupConfiguration & WithFullBackupAfterDays(int value)
const Aws::Vector< SizingBackupRule > & GetBackupRules() const
bool FullBackupAfterDaysHasBeenSet() const
SizingDatabaseBackupConfiguration & WithLogChangeRatePercent(double value)
AWS_BACKUPEXTERNAL_API SizingDatabaseBackupConfiguration(Aws::Utils::Json::JsonView jsonValue)
SizingDatabaseBackupConfiguration & WithBackupRules(BackupRulesT &&value)
void SetFullBackupAfterDays(int value)
bool LogChangeRatePercentHasBeenSet() const
AWS_BACKUPEXTERNAL_API SizingDatabaseBackupConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue