7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
10#include <aws/resiliencehub/model/MetricsExportStatusType.h>
11#include <aws/resiliencehub/model/S3Location.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace ResilienceHub {
37 template <
typename ErrorMessageT = Aws::String>
39 m_errorMessageHasBeenSet =
true;
40 m_errorMessage = std::forward<ErrorMessageT>(value);
42 template <
typename ErrorMessageT = Aws::String>
55 template <
typename ExportLocationT = S3Location>
57 m_exportLocationHasBeenSet =
true;
58 m_exportLocation = std::forward<ExportLocationT>(value);
60 template <
typename ExportLocationT = S3Location>
72 template <
typename MetricsExportIdT = Aws::String>
74 m_metricsExportIdHasBeenSet =
true;
75 m_metricsExportId = std::forward<MetricsExportIdT>(value);
77 template <
typename MetricsExportIdT = Aws::String>
90 m_statusHasBeenSet =
true;
102 template <
typename RequestIdT = Aws::String>
104 m_requestIdHasBeenSet =
true;
105 m_requestId = std::forward<RequestIdT>(value);
107 template <
typename RequestIdT = Aws::String>
126 bool m_errorMessageHasBeenSet =
false;
127 bool m_exportLocationHasBeenSet =
false;
128 bool m_metricsExportIdHasBeenSet =
false;
129 bool m_statusHasBeenSet =
false;
130 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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