7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sms/model/ReplicationRunState.h>
10#include <aws/sms/model/ReplicationRunType.h>
11#include <aws/sms/model/ReplicationRunStageDetails.h>
12#include <aws/core/utils/DateTime.h>
50 template<
typename ReplicationRunIdT = Aws::String>
51 void SetReplicationRunId(ReplicationRunIdT&& value) { m_replicationRunIdHasBeenSet =
true; m_replicationRunId = std::forward<ReplicationRunIdT>(value); }
52 template<
typename ReplicationRunIdT = Aws::String>
82 template<
typename StageDetailsT = ReplicationRunStageDetails>
83 void SetStageDetails(StageDetailsT&& value) { m_stageDetailsHasBeenSet =
true; m_stageDetails = std::forward<StageDetailsT>(value); }
84 template<
typename StageDetailsT = ReplicationRunStageDetails>
94 template<
typename StatusMessageT = Aws::String>
95 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
96 template<
typename StatusMessageT = Aws::String>
106 template<
typename AmiIdT = Aws::String>
107 void SetAmiId(AmiIdT&& value) { m_amiIdHasBeenSet =
true; m_amiId = std::forward<AmiIdT>(value); }
108 template<
typename AmiIdT = Aws::String>
118 template<
typename ScheduledStartTimeT = Aws::Utils::DateTime>
119 void SetScheduledStartTime(ScheduledStartTimeT&& value) { m_scheduledStartTimeHasBeenSet =
true; m_scheduledStartTime = std::forward<ScheduledStartTimeT>(value); }
120 template<
typename ScheduledStartTimeT = Aws::Utils::DateTime>
130 template<
typename CompletedTimeT = Aws::Utils::DateTime>
131 void SetCompletedTime(CompletedTimeT&& value) { m_completedTimeHasBeenSet =
true; m_completedTime = std::forward<CompletedTimeT>(value); }
132 template<
typename CompletedTimeT = Aws::Utils::DateTime>
142 template<
typename DescriptionT = Aws::String>
143 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
144 template<
typename DescriptionT = Aws::String>
154 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
169 template<
typename KmsKeyIdT = Aws::String>
170 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
171 template<
typename KmsKeyIdT = Aws::String>
177 bool m_replicationRunIdHasBeenSet =
false;
180 bool m_stateHasBeenSet =
false;
183 bool m_typeHasBeenSet =
false;
185 ReplicationRunStageDetails m_stageDetails;
186 bool m_stageDetailsHasBeenSet =
false;
189 bool m_statusMessageHasBeenSet =
false;
192 bool m_amiIdHasBeenSet =
false;
195 bool m_scheduledStartTimeHasBeenSet =
false;
198 bool m_completedTimeHasBeenSet =
false;
201 bool m_descriptionHasBeenSet =
false;
203 bool m_encrypted{
false};
204 bool m_encryptedHasBeenSet =
false;
207 bool m_kmsKeyIdHasBeenSet =
false;
AWS_SMS_API ReplicationRun()=default
void SetScheduledStartTime(ScheduledStartTimeT &&value)
void SetDescription(DescriptionT &&value)
void SetAmiId(AmiIdT &&value)
ReplicationRun & WithScheduledStartTime(ScheduledStartTimeT &&value)
const Aws::String & GetStatusMessage() const
bool TypeHasBeenSet() const
void SetEncrypted(bool value)
const Aws::String & GetKmsKeyId() const
bool KmsKeyIdHasBeenSet() const
ReplicationRun & WithStageDetails(StageDetailsT &&value)
AWS_SMS_API ReplicationRun(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
bool StateHasBeenSet() const
const Aws::String & GetDescription() const
ReplicationRun & WithDescription(DescriptionT &&value)
void SetReplicationRunId(ReplicationRunIdT &&value)
bool CompletedTimeHasBeenSet() const
void SetStatusMessage(StatusMessageT &&value)
AWS_SMS_API ReplicationRun & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetState(ReplicationRunState value)
const ReplicationRunStageDetails & GetStageDetails() const
ReplicationRun & WithCompletedTime(CompletedTimeT &&value)
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKmsKeyId(KmsKeyIdT &&value)
ReplicationRun & WithEncrypted(bool value)
ReplicationRun & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::Utils::DateTime & GetCompletedTime() const
ReplicationRun & WithStatusMessage(StatusMessageT &&value)
bool GetEncrypted() const
const Aws::Utils::DateTime & GetScheduledStartTime() const
bool StatusMessageHasBeenSet() const
bool EncryptedHasBeenSet() const
ReplicationRun & WithAmiId(AmiIdT &&value)
bool ReplicationRunIdHasBeenSet() const
const Aws::String & GetAmiId() const
const Aws::String & GetReplicationRunId() const
void SetCompletedTime(CompletedTimeT &&value)
bool StageDetailsHasBeenSet() const
ReplicationRun & WithReplicationRunId(ReplicationRunIdT &&value)
ReplicationRun & WithState(ReplicationRunState value)
bool AmiIdHasBeenSet() const
ReplicationRunState GetState() const
ReplicationRunType GetType() const
ReplicationRun & WithType(ReplicationRunType value)
void SetType(ReplicationRunType value)
void SetStageDetails(StageDetailsT &&value)
bool ScheduledStartTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue