AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeMetricsExportResult.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ResilienceHub
26{
27namespace Model
28{
30 {
31 public:
32 AWS_RESILIENCEHUB_API DescribeMetricsExportResult() = default;
35
36
38
41 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
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>
45 DescribeMetricsExportResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
47
49
53 inline const S3Location& GetExportLocation() const { return m_exportLocation; }
54 template<typename ExportLocationT = S3Location>
55 void SetExportLocation(ExportLocationT&& value) { m_exportLocationHasBeenSet = true; m_exportLocation = std::forward<ExportLocationT>(value); }
56 template<typename ExportLocationT = S3Location>
57 DescribeMetricsExportResult& WithExportLocation(ExportLocationT&& value) { SetExportLocation(std::forward<ExportLocationT>(value)); return *this;}
59
61
64 inline const Aws::String& GetMetricsExportId() const { return m_metricsExportId; }
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>
68 DescribeMetricsExportResult& WithMetricsExportId(MetricsExportIdT&& value) { SetMetricsExportId(std::forward<MetricsExportIdT>(value)); return *this;}
70
72
75 inline MetricsExportStatusType GetStatus() const { return m_status; }
76 inline void SetStatus(MetricsExportStatusType value) { m_statusHasBeenSet = true; m_status = value; }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
86 DescribeMetricsExportResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_errorMessage;
91 bool m_errorMessageHasBeenSet = false;
92
93 S3Location m_exportLocation;
94 bool m_exportLocationHasBeenSet = false;
95
96 Aws::String m_metricsExportId;
97 bool m_metricsExportIdHasBeenSet = false;
98
100 bool m_statusHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace ResilienceHub
108} // namespace Aws
AWS_RESILIENCEHUB_API DescribeMetricsExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMetricsExportResult & WithMetricsExportId(MetricsExportIdT &&value)
DescribeMetricsExportResult & WithRequestId(RequestIdT &&value)
DescribeMetricsExportResult & WithExportLocation(ExportLocationT &&value)
AWS_RESILIENCEHUB_API DescribeMetricsExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_RESILIENCEHUB_API DescribeMetricsExportResult()=default
DescribeMetricsExportResult & WithStatus(MetricsExportStatusType value)
DescribeMetricsExportResult & WithErrorMessage(ErrorMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue