7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fis/FIS_EXPORTS.h>
9#include <aws/fis/model/ExperimentError.h>
10#include <aws/fis/model/ExperimentStatus.h>
43 m_statusHasBeenSet =
true;
58 template <
typename ReasonT = Aws::String>
60 m_reasonHasBeenSet =
true;
61 m_reason = std::forward<ReasonT>(value);
63 template <
typename ReasonT = Aws::String>
77 template <
typename ErrorT = ExperimentError>
79 m_errorHasBeenSet =
true;
80 m_error = std::forward<ErrorT>(value);
82 template <
typename ErrorT = ExperimentError>
84 SetError(std::forward<ErrorT>(value));
93 ExperimentError m_error;
94 bool m_statusHasBeenSet =
false;
95 bool m_reasonHasBeenSet =
false;
96 bool m_errorHasBeenSet =
false;
void SetStatus(ExperimentStatus value)
bool ReasonHasBeenSet() const
const Aws::String & GetReason() const
AWS_FIS_API ExperimentState()=default
void SetError(ErrorT &&value)
ExperimentState & WithError(ErrorT &&value)
AWS_FIS_API ExperimentState(Aws::Utils::Json::JsonView jsonValue)
void SetReason(ReasonT &&value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIS_API ExperimentState & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
ExperimentStatus GetStatus() const
ExperimentState & WithReason(ReasonT &&value)
bool ErrorHasBeenSet() const
const ExperimentError & GetError() const
ExperimentState & WithStatus(ExperimentStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue