7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sms/model/ServerType.h>
10#include <aws/sms/model/VmServer.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sms/model/LicenseType.h>
13#include <aws/sms/model/ReplicationJobState.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sms/model/ReplicationRun.h>
55 inline void SetReplicationJobId(
const char* value) { m_replicationJobIdHasBeenSet =
true; m_replicationJobId.assign(value); }
69 inline void SetServerId(
const char* value) { m_serverIdHasBeenSet =
true; m_serverId.assign(value); }
94 inline void SetVmServer(
VmServer&& value) { m_vmServerHasBeenSet =
true; m_vmServer = std::move(value); }
117 inline void SetFrequency(
int value) { m_frequencyHasBeenSet =
true; m_frequency = value; }
127 inline void SetRunOnce(
bool value) { m_runOnceHasBeenSet =
true; m_runOnce = value; }
164 inline void SetRoleName(
const char* value) { m_roleNameHasBeenSet =
true; m_roleName.assign(value); }
178 inline void SetLatestAmiId(
const char* value) { m_latestAmiIdHasBeenSet =
true; m_latestAmiId.assign(value); }
204 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
218 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
241 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
258 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
280 bool m_replicationJobIdHasBeenSet =
false;
283 bool m_serverIdHasBeenSet =
false;
286 bool m_serverTypeHasBeenSet =
false;
289 bool m_vmServerHasBeenSet =
false;
292 bool m_seedReplicationTimeHasBeenSet =
false;
295 bool m_frequencyHasBeenSet =
false;
298 bool m_runOnceHasBeenSet =
false;
301 bool m_nextReplicationRunStartTimeHasBeenSet =
false;
304 bool m_licenseTypeHasBeenSet =
false;
307 bool m_roleNameHasBeenSet =
false;
310 bool m_latestAmiIdHasBeenSet =
false;
313 bool m_stateHasBeenSet =
false;
316 bool m_statusMessageHasBeenSet =
false;
319 bool m_descriptionHasBeenSet =
false;
321 int m_numberOfRecentAmisToKeep;
322 bool m_numberOfRecentAmisToKeepHasBeenSet =
false;
325 bool m_encryptedHasBeenSet =
false;
328 bool m_kmsKeyIdHasBeenSet =
false;
331 bool m_replicationRunListHasBeenSet =
false;
int GetNumberOfRecentAmisToKeep() const
void SetKmsKeyId(const char *value)
ReplicationJob & WithReplicationJobId(Aws::String &&value)
void SetState(ReplicationJobState &&value)
AWS_SMS_API ReplicationJob(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetSeedReplicationTime() const
bool FrequencyHasBeenSet() const
const ServerType & GetServerType() const
void SetReplicationJobId(const Aws::String &value)
ReplicationJob & WithKmsKeyId(const char *value)
bool ReplicationJobIdHasBeenSet() const
ReplicationJob & WithServerType(const ServerType &value)
void SetReplicationRunList(Aws::Vector< ReplicationRun > &&value)
ReplicationJob & WithFrequency(int value)
void SetRoleName(const char *value)
void SetRunOnce(bool value)
ReplicationJob & WithKmsKeyId(const Aws::String &value)
const VmServer & GetVmServer() const
ReplicationJob & WithLatestAmiId(const Aws::String &value)
const Aws::String & GetServerId() const
ReplicationJob & WithStatusMessage(const Aws::String &value)
bool ReplicationRunListHasBeenSet() const
ReplicationJob & WithSeedReplicationTime(const Aws::Utils::DateTime &value)
void SetNumberOfRecentAmisToKeep(int value)
void SetKmsKeyId(const Aws::String &value)
ReplicationJob & WithStatusMessage(const char *value)
void SetVmServer(VmServer &&value)
void SetDescription(const char *value)
void SetStatusMessage(const Aws::String &value)
void SetDescription(const Aws::String &value)
ReplicationJob & WithLicenseType(LicenseType &&value)
void SetDescription(Aws::String &&value)
void SetRoleName(const Aws::String &value)
ReplicationJob & WithReplicationRunList(Aws::Vector< ReplicationRun > &&value)
ReplicationJob & AddReplicationRunList(ReplicationRun &&value)
bool RunOnceHasBeenSet() const
ReplicationJob & WithVmServer(const VmServer &value)
ReplicationJob & WithServerId(const Aws::String &value)
void SetState(const ReplicationJobState &value)
const Aws::Vector< ReplicationRun > & GetReplicationRunList() const
void SetLatestAmiId(const Aws::String &value)
bool StatusMessageHasBeenSet() const
void SetRoleName(Aws::String &&value)
bool DescriptionHasBeenSet() const
void SetServerId(Aws::String &&value)
AWS_SMS_API ReplicationJob()
ReplicationJob & WithLatestAmiId(const char *value)
void SetLatestAmiId(const char *value)
const Aws::String & GetDescription() const
void SetLicenseType(const LicenseType &value)
bool ServerTypeHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
ReplicationJob & WithRoleName(const Aws::String &value)
ReplicationJob & WithServerId(const char *value)
ReplicationJob & WithSeedReplicationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetNextReplicationRunStartTime() const
ReplicationJob & WithRoleName(const char *value)
const Aws::String & GetRoleName() const
ReplicationJob & WithDescription(const char *value)
void SetReplicationRunList(const Aws::Vector< ReplicationRun > &value)
void SetSeedReplicationTime(Aws::Utils::DateTime &&value)
void SetLatestAmiId(Aws::String &&value)
void SetNextReplicationRunStartTime(const Aws::Utils::DateTime &value)
bool LicenseTypeHasBeenSet() const
const LicenseType & GetLicenseType() const
ReplicationJob & WithReplicationJobId(const char *value)
bool ServerIdHasBeenSet() const
void SetStatusMessage(const char *value)
ReplicationJob & WithKmsKeyId(Aws::String &&value)
bool LatestAmiIdHasBeenSet() const
ReplicationJob & WithRunOnce(bool value)
ReplicationJob & WithStatusMessage(Aws::String &&value)
bool NumberOfRecentAmisToKeepHasBeenSet() const
ReplicationJob & WithReplicationJobId(const Aws::String &value)
void SetServerId(const char *value)
bool SeedReplicationTimeHasBeenSet() const
void SetNextReplicationRunStartTime(Aws::Utils::DateTime &&value)
void SetVmServer(const VmServer &value)
bool EncryptedHasBeenSet() const
void SetFrequency(int value)
ReplicationJob & WithReplicationRunList(const Aws::Vector< ReplicationRun > &value)
ReplicationJob & WithServerId(Aws::String &&value)
bool NextReplicationRunStartTimeHasBeenSet() const
bool StateHasBeenSet() const
const Aws::String & GetStatusMessage() const
ReplicationJob & WithNextReplicationRunStartTime(const Aws::Utils::DateTime &value)
AWS_SMS_API ReplicationJob & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationJob & AddReplicationRunList(const ReplicationRun &value)
bool RoleNameHasBeenSet() const
ReplicationJob & WithVmServer(VmServer &&value)
void SetServerId(const Aws::String &value)
ReplicationJob & WithState(ReplicationJobState &&value)
void SetKmsKeyId(Aws::String &&value)
ReplicationJob & WithRoleName(Aws::String &&value)
const Aws::String & GetReplicationJobId() const
ReplicationJob & WithDescription(Aws::String &&value)
ReplicationJob & WithLatestAmiId(Aws::String &&value)
ReplicationJob & WithState(const ReplicationJobState &value)
ReplicationJob & WithServerType(ServerType &&value)
const Aws::String & GetKmsKeyId() const
void SetServerType(ServerType &&value)
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
const ReplicationJobState & GetState() const
const Aws::String & GetLatestAmiId() const
void SetReplicationJobId(Aws::String &&value)
ReplicationJob & WithLicenseType(const LicenseType &value)
ReplicationJob & WithEncrypted(bool value)
bool GetEncrypted() const
void SetReplicationJobId(const char *value)
void SetEncrypted(bool value)
ReplicationJob & WithDescription(const Aws::String &value)
void SetServerType(const ServerType &value)
ReplicationJob & WithNextReplicationRunStartTime(Aws::Utils::DateTime &&value)
void SetLicenseType(LicenseType &&value)
void SetSeedReplicationTime(const Aws::Utils::DateTime &value)
bool VmServerHasBeenSet() const
ReplicationJob & WithNumberOfRecentAmisToKeep(int value)
void SetStatusMessage(Aws::String &&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