7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/Drs_EXPORTS.h>
10#include <aws/drs/model/ErrorDetail.h>
11#include <aws/drs/model/RecoveryPlanExecutionMode.h>
12#include <aws/drs/model/RecoveryPlanExecutionStatus.h>
44 template <
typename RecoveryPlanExecutionArnT = Aws::String>
46 m_recoveryPlanExecutionArnHasBeenSet =
true;
47 m_recoveryPlanExecutionArn = std::forward<RecoveryPlanExecutionArnT>(value);
49 template <
typename RecoveryPlanExecutionArnT = Aws::String>
62 template <
typename RecoveryPlanArnT = Aws::String>
64 m_recoveryPlanArnHasBeenSet =
true;
65 m_recoveryPlanArn = std::forward<RecoveryPlanArnT>(value);
67 template <
typename RecoveryPlanArnT = Aws::String>
81 m_modeHasBeenSet =
true;
97 m_statusHasBeenSet =
true;
112 template <
typename StartedAtT = Aws::String>
114 m_startedAtHasBeenSet =
true;
115 m_startedAt = std::forward<StartedAtT>(value);
117 template <
typename StartedAtT = Aws::String>
130 template <
typename CompletedAtT = Aws::String>
132 m_completedAtHasBeenSet =
true;
133 m_completedAt = std::forward<CompletedAtT>(value);
135 template <
typename CompletedAtT = Aws::String>
148 template <
typename ErrorDetailT = ErrorDetail>
150 m_errorDetailHasBeenSet =
true;
151 m_errorDetail = std::forward<ErrorDetailT>(value);
153 template <
typename ErrorDetailT = ErrorDetail>
166 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
168 m_tagsHasBeenSet =
true;
169 m_tags = std::forward<TagsT>(value);
171 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 SetTags(std::forward<TagsT>(value));
176 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
178 m_tagsHasBeenSet =
true;
179 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
196 ErrorDetail m_errorDetail;
199 bool m_recoveryPlanExecutionArnHasBeenSet =
false;
200 bool m_recoveryPlanArnHasBeenSet =
false;
201 bool m_modeHasBeenSet =
false;
202 bool m_statusHasBeenSet =
false;
203 bool m_startedAtHasBeenSet =
false;
204 bool m_completedAtHasBeenSet =
false;
205 bool m_errorDetailHasBeenSet =
false;
206 bool m_tagsHasBeenSet =
false;
AWS_DRS_API RecoveryPlanExecution()=default
RecoveryPlanExecution & WithErrorDetail(ErrorDetailT &&value)
void SetRecoveryPlanArn(RecoveryPlanArnT &&value)
bool RecoveryPlanExecutionArnHasBeenSet() const
RecoveryPlanExecution & WithRecoveryPlanArn(RecoveryPlanArnT &&value)
AWS_DRS_API RecoveryPlanExecution(Aws::Utils::Json::JsonView jsonValue)
void SetMode(RecoveryPlanExecutionMode value)
AWS_DRS_API RecoveryPlanExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
RecoveryPlanExecutionMode GetMode() const
bool TagsHasBeenSet() const
void SetStatus(RecoveryPlanExecutionStatus value)
RecoveryPlanExecution & WithStatus(RecoveryPlanExecutionStatus value)
void SetRecoveryPlanExecutionArn(RecoveryPlanExecutionArnT &&value)
const ErrorDetail & GetErrorDetail() const
void SetCompletedAt(CompletedAtT &&value)
const Aws::String & GetRecoveryPlanArn() const
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTags(TagsT &&value)
RecoveryPlanExecution & WithRecoveryPlanExecutionArn(RecoveryPlanExecutionArnT &&value)
bool StartedAtHasBeenSet() const
void SetErrorDetail(ErrorDetailT &&value)
RecoveryPlanExecution & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RecoveryPlanExecution & WithCompletedAt(CompletedAtT &&value)
bool ErrorDetailHasBeenSet() const
RecoveryPlanExecution & WithTags(TagsT &&value)
const Aws::String & GetCompletedAt() const
bool CompletedAtHasBeenSet() const
const Aws::String & GetRecoveryPlanExecutionArn() const
const Aws::String & GetStartedAt() const
bool StatusHasBeenSet() const
RecoveryPlanExecution & WithMode(RecoveryPlanExecutionMode value)
bool RecoveryPlanArnHasBeenSet() const
void SetStartedAt(StartedAtT &&value)
RecoveryPlanExecutionStatus GetStatus() const
RecoveryPlanExecution & WithStartedAt(StartedAtT &&value)
bool ModeHasBeenSet() const
RecoveryPlanExecutionMode
RecoveryPlanExecutionStatus
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue