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>
45 template<
typename ReplicationJobIdT = Aws::String>
46 void SetReplicationJobId(ReplicationJobIdT&& value) { m_replicationJobIdHasBeenSet =
true; m_replicationJobId = std::forward<ReplicationJobIdT>(value); }
47 template<
typename ReplicationJobIdT = Aws::String>
57 inline void SetFrequency(
int value) { m_frequencyHasBeenSet =
true; m_frequency = value; }
67 template<
typename NextReplicationRunStartTimeT = Aws::Utils::DateTime>
68 void SetNextReplicationRunStartTime(NextReplicationRunStartTimeT&& value) { m_nextReplicationRunStartTimeHasBeenSet =
true; m_nextReplicationRunStartTime = std::forward<NextReplicationRunStartTimeT>(value); }
69 template<
typename NextReplicationRunStartTimeT = Aws::Utils::DateTime>
90 template<
typename RoleNameT = Aws::String>
91 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet =
true; m_roleName = std::forward<RoleNameT>(value); }
92 template<
typename RoleNameT = Aws::String>
102 template<
typename DescriptionT = Aws::String>
103 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
104 template<
typename DescriptionT = Aws::String>
126 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
141 template<
typename KmsKeyIdT = Aws::String>
142 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
143 template<
typename KmsKeyIdT = Aws::String>
149 bool m_replicationJobIdHasBeenSet =
false;
152 bool m_frequencyHasBeenSet =
false;
155 bool m_nextReplicationRunStartTimeHasBeenSet =
false;
158 bool m_licenseTypeHasBeenSet =
false;
161 bool m_roleNameHasBeenSet =
false;
164 bool m_descriptionHasBeenSet =
false;
166 int m_numberOfRecentAmisToKeep{0};
167 bool m_numberOfRecentAmisToKeepHasBeenSet =
false;
169 bool m_encrypted{
false};
170 bool m_encryptedHasBeenSet =
false;
173 bool m_kmsKeyIdHasBeenSet =
false;
bool KmsKeyIdHasBeenSet() const
void SetRoleName(RoleNameT &&value)
int GetNumberOfRecentAmisToKeep() const
void SetNumberOfRecentAmisToKeep(int value)
LicenseType GetLicenseType() const
const Aws::Utils::DateTime & GetNextReplicationRunStartTime() const
bool GetEncrypted() const
bool DescriptionHasBeenSet() const
bool NumberOfRecentAmisToKeepHasBeenSet() const
UpdateReplicationJobRequest & WithReplicationJobId(ReplicationJobIdT &&value)
bool FrequencyHasBeenSet() const
const Aws::String & GetKmsKeyId() const
UpdateReplicationJobRequest & WithRoleName(RoleNameT &&value)
void SetReplicationJobId(ReplicationJobIdT &&value)
AWS_SMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDescription() const
void SetEncrypted(bool value)
UpdateReplicationJobRequest & WithEncrypted(bool value)
UpdateReplicationJobRequest & WithFrequency(int value)
const Aws::String & GetReplicationJobId() const
UpdateReplicationJobRequest & WithNextReplicationRunStartTime(NextReplicationRunStartTimeT &&value)
void SetFrequency(int value)
AWS_SMS_API Aws::String SerializePayload() const override
void SetDescription(DescriptionT &&value)
UpdateReplicationJobRequest & WithDescription(DescriptionT &&value)
bool EncryptedHasBeenSet() const
bool NextReplicationRunStartTimeHasBeenSet() const
UpdateReplicationJobRequest & WithLicenseType(LicenseType value)
bool LicenseTypeHasBeenSet() const
bool ReplicationJobIdHasBeenSet() const
void SetLicenseType(LicenseType value)
AWS_SMS_API UpdateReplicationJobRequest()=default
bool RoleNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateReplicationJobRequest & WithNumberOfRecentAmisToKeep(int value)
UpdateReplicationJobRequest & WithKmsKeyId(KmsKeyIdT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
void SetNextReplicationRunStartTime(NextReplicationRunStartTimeT &&value)
const Aws::String & GetRoleName() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String