7#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
8#include <aws/resiliencehubv2/model/AlarmStateChangeDetail.h>
9#include <aws/resiliencehubv2/model/TestRunSourceEventError.h>
20namespace resiliencehubv2 {
42 template <
typename AlarmStateChangeT = AlarmStateChangeDetail>
44 m_alarmStateChangeHasBeenSet =
true;
45 m_alarmStateChange = std::forward<AlarmStateChangeT>(value);
47 template <
typename AlarmStateChangeT = AlarmStateChangeDetail>
60 template <
typename ErrorT = TestRunSourceEventError>
62 m_errorHasBeenSet =
true;
63 m_error = std::forward<ErrorT>(value);
65 template <
typename ErrorT = TestRunSourceEventError>
67 SetError(std::forward<ErrorT>(value));
75 bool m_alarmStateChangeHasBeenSet =
false;
76 bool m_errorHasBeenSet =
false;
const TestRunSourceEventError & GetError() const
AWS_RESILIENCEHUBV2_API TestRunSourceEventDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAlarmStateChange(AlarmStateChangeT &&value)
bool AlarmStateChangeHasBeenSet() const
bool ErrorHasBeenSet() const
TestRunSourceEventDetail & WithError(ErrorT &&value)
void SetError(ErrorT &&value)
AWS_RESILIENCEHUBV2_API TestRunSourceEventDetail()=default
TestRunSourceEventDetail & WithAlarmStateChange(AlarmStateChangeT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
const AlarmStateChangeDetail & GetAlarmStateChange() const
AWS_RESILIENCEHUBV2_API TestRunSourceEventDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue