7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/sms/SMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sms/model/LicenseType.h>
47 inline void SetServerId(
const char* value) { m_serverIdHasBeenSet =
true; m_serverId.assign(value); }
71 inline void SetFrequency(
int value) { m_frequencyHasBeenSet =
true; m_frequency = value; }
81 inline void SetRunOnce(
bool value) { m_runOnceHasBeenSet =
true; m_runOnce = value; }
106 inline void SetRoleName(
const char* value) { m_roleNameHasBeenSet =
true; m_roleName.assign(value); }
120 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
143 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
160 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
168 bool m_serverIdHasBeenSet =
false;
171 bool m_seedReplicationTimeHasBeenSet =
false;
174 bool m_frequencyHasBeenSet =
false;
177 bool m_runOnceHasBeenSet =
false;
180 bool m_licenseTypeHasBeenSet =
false;
183 bool m_roleNameHasBeenSet =
false;
186 bool m_descriptionHasBeenSet =
false;
188 int m_numberOfRecentAmisToKeep;
189 bool m_numberOfRecentAmisToKeepHasBeenSet =
false;
192 bool m_encryptedHasBeenSet =
false;
195 bool m_kmsKeyIdHasBeenSet =
false;
const LicenseType & GetLicenseType() const
CreateReplicationJobRequest & WithRoleName(const Aws::String &value)
void SetKmsKeyId(Aws::String &&value)
CreateReplicationJobRequest & WithRoleName(Aws::String &&value)
CreateReplicationJobRequest & WithLicenseType(const LicenseType &value)
bool RunOnceHasBeenSet() const
void SetServerId(Aws::String &&value)
CreateReplicationJobRequest & WithRunOnce(bool value)
const Aws::String & GetRoleName() const
CreateReplicationJobRequest & WithNumberOfRecentAmisToKeep(int value)
CreateReplicationJobRequest & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
CreateReplicationJobRequest & WithKmsKeyId(const char *value)
CreateReplicationJobRequest & WithEncrypted(bool value)
CreateReplicationJobRequest & WithSeedReplicationTime(const Aws::Utils::DateTime &value)
AWS_SMS_API CreateReplicationJobRequest()
void SetServerId(const char *value)
void SetSeedReplicationTime(Aws::Utils::DateTime &&value)
void SetDescription(Aws::String &&value)
bool DescriptionHasBeenSet() const
bool EncryptedHasBeenSet() const
void SetLicenseType(const LicenseType &value)
bool GetEncrypted() const
void SetLicenseType(LicenseType &&value)
void SetRoleName(const Aws::String &value)
bool FrequencyHasBeenSet() const
void SetRoleName(Aws::String &&value)
CreateReplicationJobRequest & WithServerId(Aws::String &&value)
CreateReplicationJobRequest & WithDescription(Aws::String &&value)
void SetDescription(const char *value)
CreateReplicationJobRequest & WithDescription(const Aws::String &value)
CreateReplicationJobRequest & WithLicenseType(LicenseType &&value)
const Aws::String & GetServerId() const
CreateReplicationJobRequest & WithKmsKeyId(Aws::String &&value)
void SetNumberOfRecentAmisToKeep(int value)
void SetRunOnce(bool value)
void SetKmsKeyId(const char *value)
bool RoleNameHasBeenSet() const
void SetEncrypted(bool value)
const Aws::String & GetDescription() const
void SetServerId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
int GetNumberOfRecentAmisToKeep() const
CreateReplicationJobRequest & WithRoleName(const char *value)
AWS_SMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SMS_API Aws::String SerializePayload() const override
bool NumberOfRecentAmisToKeepHasBeenSet() const
void SetFrequency(int value)
bool KmsKeyIdHasBeenSet() const
bool SeedReplicationTimeHasBeenSet() const
bool LicenseTypeHasBeenSet() const
CreateReplicationJobRequest & WithServerId(const Aws::String &value)
CreateReplicationJobRequest & WithFrequency(int value)
void SetSeedReplicationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetSeedReplicationTime() const
void SetRoleName(const char *value)
CreateReplicationJobRequest & WithServerId(const char *value)
const Aws::String & GetKmsKeyId() const
CreateReplicationJobRequest & WithKmsKeyId(const Aws::String &value)
CreateReplicationJobRequest & WithSeedReplicationTime(Aws::Utils::DateTime &&value)
void SetKmsKeyId(const Aws::String &value)
bool ServerIdHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String