7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
9#include <aws/resiliencehub/model/MetricsExportStatusType.h>
10#include <aws/resiliencehub/model/S3Location.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace ResilienceHub {
36 template <
typename ErrorMessageT = Aws::String>
38 m_errorMessageHasBeenSet =
true;
39 m_errorMessage = std::forward<ErrorMessageT>(value);
41 template <
typename ErrorMessageT = Aws::String>
54 template <
typename ExportLocationT = S3Location>
56 m_exportLocationHasBeenSet =
true;
57 m_exportLocation = std::forward<ExportLocationT>(value);
59 template <
typename ExportLocationT = S3Location>
71 template <
typename MetricsExportIdT = Aws::String>
73 m_metricsExportIdHasBeenSet =
true;
74 m_metricsExportId = std::forward<MetricsExportIdT>(value);
76 template <
typename MetricsExportIdT = Aws::String>
89 m_statusHasBeenSet =
true;
101 template <
typename RequestIdT = Aws::String>
103 m_requestIdHasBeenSet =
true;
104 m_requestId = std::forward<RequestIdT>(value);
106 template <
typename RequestIdT = Aws::String>
122 bool m_errorMessageHasBeenSet =
false;
123 bool m_exportLocationHasBeenSet =
false;
124 bool m_metricsExportIdHasBeenSet =
false;
125 bool m_statusHasBeenSet =
false;
126 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