7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
9#include <aws/resiliencehubv2/model/ReportGenerationErrorCode.h>
20namespace resiliencehubv2 {
42 m_errorCodeHasBeenSet =
true;
57 template <
typename ErrorMessageT = Aws::String>
59 m_errorMessageHasBeenSet =
true;
60 m_errorMessage = std::forward<ErrorMessageT>(value);
62 template <
typename ErrorMessageT = Aws::String>
72 bool m_errorCodeHasBeenSet =
false;
73 bool m_errorMessageHasBeenSet =
false;
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(ReportGenerationErrorCode value)
bool ErrorMessageHasBeenSet() const
bool ErrorCodeHasBeenSet() const
void SetErrorMessage(ErrorMessageT &&value)
ReportGenerationErrorCode GetErrorCode() const
FailedReportOutput & WithErrorMessage(ErrorMessageT &&value)
FailedReportOutput & WithErrorCode(ReportGenerationErrorCode value)
AWS_RESILIENCEHUBV2_API FailedReportOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API FailedReportOutput()=default
const Aws::String & GetErrorMessage() const
AWS_RESILIENCEHUBV2_API FailedReportOutput(Aws::Utils::Json::JsonView jsonValue)
ReportGenerationErrorCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue