7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
9#include <aws/drs/model/ErrorDetail.h>
10#include <aws/drs/model/RecoveryPlanExecutionStepConfiguration.h>
11#include <aws/drs/model/RecoveryPlanExecutionStepStatus.h>
43 template <
typename RecoveryPlanExecutionStepArnT = Aws::String>
45 m_recoveryPlanExecutionStepArnHasBeenSet =
true;
46 m_recoveryPlanExecutionStepArn = std::forward<RecoveryPlanExecutionStepArnT>(value);
48 template <
typename RecoveryPlanExecutionStepArnT = Aws::String>
60 m_stepIndexHasBeenSet =
true;
76 m_statusHasBeenSet =
true;
89 template <
typename StepNameT = Aws::String>
91 m_stepNameHasBeenSet =
true;
92 m_stepName = std::forward<StepNameT>(value);
94 template <
typename StepNameT = Aws::String>
105 template <
typename ConfigurationT = RecoveryPlanExecutionStepConfiguration>
107 m_configurationHasBeenSet =
true;
108 m_configuration = std::forward<ConfigurationT>(value);
110 template <
typename ConfigurationT = RecoveryPlanExecutionStepConfiguration>
123 template <
typename ErrorDetailT = ErrorDetail>
125 m_errorDetailHasBeenSet =
true;
126 m_errorDetail = std::forward<ErrorDetailT>(value);
128 template <
typename ErrorDetailT = ErrorDetail>
142 m_attemptHasBeenSet =
true;
157 template <
typename CreatedAtT = Aws::String>
159 m_createdAtHasBeenSet =
true;
160 m_createdAt = std::forward<CreatedAtT>(value);
162 template <
typename CreatedAtT = Aws::String>
175 template <
typename UpdatedAtT = Aws::String>
177 m_updatedAtHasBeenSet =
true;
178 m_updatedAt = std::forward<UpdatedAtT>(value);
180 template <
typename UpdatedAtT = Aws::String>
195 RecoveryPlanExecutionStepConfiguration m_configuration;
197 ErrorDetail m_errorDetail;
204 bool m_recoveryPlanExecutionStepArnHasBeenSet =
false;
205 bool m_stepIndexHasBeenSet =
false;
206 bool m_statusHasBeenSet =
false;
207 bool m_stepNameHasBeenSet =
false;
208 bool m_configurationHasBeenSet =
false;
209 bool m_errorDetailHasBeenSet =
false;
210 bool m_attemptHasBeenSet =
false;
211 bool m_createdAtHasBeenSet =
false;
212 bool m_updatedAtHasBeenSet =
false;
void SetCreatedAt(CreatedAtT &&value)
RecoveryPlanExecutionStep & WithRecoveryPlanExecutionStepArn(RecoveryPlanExecutionStepArnT &&value)
RecoveryPlanExecutionStep & WithStatus(RecoveryPlanExecutionStepStatus value)
bool StepIndexHasBeenSet() const
bool StepNameHasBeenSet() const
RecoveryPlanExecutionStep & WithStepIndex(int value)
const ErrorDetail & GetErrorDetail() const
void SetErrorDetail(ErrorDetailT &&value)
const Aws::String & GetUpdatedAt() const
bool ErrorDetailHasBeenSet() const
const Aws::String & GetCreatedAt() const
AWS_DRS_API RecoveryPlanExecutionStep(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API RecoveryPlanExecutionStep & operator=(Aws::Utils::Json::JsonView jsonValue)
RecoveryPlanExecutionStep & WithUpdatedAt(UpdatedAtT &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
RecoveryPlanExecutionStepStatus GetStatus() const
void SetRecoveryPlanExecutionStepArn(RecoveryPlanExecutionStepArnT &&value)
bool StatusHasBeenSet() const
RecoveryPlanExecutionStep & WithCreatedAt(CreatedAtT &&value)
bool UpdatedAtHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
bool CreatedAtHasBeenSet() const
RecoveryPlanExecutionStep & WithStepName(StepNameT &&value)
const RecoveryPlanExecutionStepConfiguration & GetConfiguration() const
const Aws::String & GetStepName() const
void SetStatus(RecoveryPlanExecutionStepStatus value)
void SetAttempt(int value)
RecoveryPlanExecutionStep & WithAttempt(int value)
bool AttemptHasBeenSet() const
bool ConfigurationHasBeenSet() const
RecoveryPlanExecutionStep & WithErrorDetail(ErrorDetailT &&value)
void SetConfiguration(ConfigurationT &&value)
const Aws::String & GetRecoveryPlanExecutionStepArn() const
void SetStepIndex(int value)
void SetStepName(StepNameT &&value)
AWS_DRS_API RecoveryPlanExecutionStep()=default
RecoveryPlanExecutionStep & WithConfiguration(ConfigurationT &&value)
bool RecoveryPlanExecutionStepArnHasBeenSet() const
RecoveryPlanExecutionStepStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue