7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/model/S3Location.h>
10#include <aws/resiliencehub/model/MetricsExportStatusType.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace ResilienceHub
42 template<
typename ErrorMessageT = Aws::String>
43 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
44 template<
typename ErrorMessageT = Aws::String>
54 template<
typename ExportLocationT = S3Location>
55 void SetExportLocation(ExportLocationT&& value) { m_exportLocationHasBeenSet =
true; m_exportLocation = std::forward<ExportLocationT>(value); }
56 template<
typename ExportLocationT = S3Location>
65 template<
typename MetricsExportIdT = Aws::String>
66 void SetMetricsExportId(MetricsExportIdT&& value) { m_metricsExportIdHasBeenSet =
true; m_metricsExportId = std::forward<MetricsExportIdT>(value); }
67 template<
typename MetricsExportIdT = Aws::String>
83 template<
typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
85 template<
typename RequestIdT = Aws::String>
91 bool m_errorMessageHasBeenSet =
false;
94 bool m_exportLocationHasBeenSet =
false;
97 bool m_metricsExportIdHasBeenSet =
false;
100 bool m_statusHasBeenSet =
false;
103 bool m_requestIdHasBeenSet =
false;
void SetStatus(MetricsExportStatusType value)
AWS_RESILIENCEHUB_API DescribeMetricsExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetErrorMessage() const
DescribeMetricsExportResult & WithMetricsExportId(MetricsExportIdT &&value)
DescribeMetricsExportResult & WithRequestId(RequestIdT &&value)
DescribeMetricsExportResult & WithExportLocation(ExportLocationT &&value)
AWS_RESILIENCEHUB_API DescribeMetricsExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const S3Location & GetExportLocation() const
AWS_RESILIENCEHUB_API DescribeMetricsExportResult()=default
DescribeMetricsExportResult & WithStatus(MetricsExportStatusType value)
const Aws::String & GetMetricsExportId() const
void SetMetricsExportId(MetricsExportIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetErrorMessage(ErrorMessageT &&value)
void SetExportLocation(ExportLocationT &&value)
const Aws::String & GetRequestId() const
DescribeMetricsExportResult & WithErrorMessage(ErrorMessageT &&value)
MetricsExportStatusType GetStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue