7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/sms/model/LicenseType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename SeedTimeT = Aws::Utils::DateTime>
50 void SetSeedTime(SeedTimeT&& value) { m_seedTimeHasBeenSet =
true; m_seedTime = std::forward<SeedTimeT>(value); }
51 template<
typename SeedTimeT = Aws::Utils::DateTime>
61 inline void SetFrequency(
int value) { m_frequencyHasBeenSet =
true; m_frequency = value; }
71 inline void SetRunOnce(
bool value) { m_runOnceHasBeenSet =
true; m_runOnce = value; }
102 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
117 template<
typename KmsKeyIdT = Aws::String>
118 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
119 template<
typename KmsKeyIdT = Aws::String>
125 bool m_seedTimeHasBeenSet =
false;
128 bool m_frequencyHasBeenSet =
false;
130 bool m_runOnce{
false};
131 bool m_runOnceHasBeenSet =
false;
134 bool m_licenseTypeHasBeenSet =
false;
136 int m_numberOfRecentAmisToKeep{0};
137 bool m_numberOfRecentAmisToKeepHasBeenSet =
false;
139 bool m_encrypted{
false};
140 bool m_encryptedHasBeenSet =
false;
143 bool m_kmsKeyIdHasBeenSet =
false;
const Aws::String & GetKmsKeyId() const
bool RunOnceHasBeenSet() const
void SetRunOnce(bool value)
ServerReplicationParameters & WithLicenseType(LicenseType value)
void SetFrequency(int value)
ServerReplicationParameters & WithEncrypted(bool value)
void SetSeedTime(SeedTimeT &&value)
AWS_SMS_API ServerReplicationParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SMS_API ServerReplicationParameters(Aws::Utils::Json::JsonView jsonValue)
void SetNumberOfRecentAmisToKeep(int value)
ServerReplicationParameters & WithFrequency(int value)
int GetNumberOfRecentAmisToKeep() const
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
LicenseType GetLicenseType() const
bool KmsKeyIdHasBeenSet() const
ServerReplicationParameters & WithSeedTime(SeedTimeT &&value)
bool EncryptedHasBeenSet() const
bool LicenseTypeHasBeenSet() const
ServerReplicationParameters & WithKmsKeyId(KmsKeyIdT &&value)
AWS_SMS_API ServerReplicationParameters()=default
void SetLicenseType(LicenseType value)
bool SeedTimeHasBeenSet() const
bool NumberOfRecentAmisToKeepHasBeenSet() const
const Aws::Utils::DateTime & GetSeedTime() const
void SetKmsKeyId(KmsKeyIdT &&value)
bool FrequencyHasBeenSet() const
void SetEncrypted(bool value)
ServerReplicationParameters & WithRunOnce(bool value)
bool GetEncrypted() const
ServerReplicationParameters & WithNumberOfRecentAmisToKeep(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue