AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeMetricsExportResult.h
1
6#pragma once
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>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ResilienceHub {
24namespace Model {
26 public:
27 AWS_RESILIENCEHUB_API DescribeMetricsExportResult() = default;
30
32
35 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
36 template <typename ErrorMessageT = Aws::String>
37 void SetErrorMessage(ErrorMessageT&& value) {
38 m_errorMessageHasBeenSet = true;
39 m_errorMessage = std::forward<ErrorMessageT>(value);
40 }
41 template <typename ErrorMessageT = Aws::String>
43 SetErrorMessage(std::forward<ErrorMessageT>(value));
44 return *this;
45 }
47
49
53 inline const S3Location& GetExportLocation() const { return m_exportLocation; }
54 template <typename ExportLocationT = S3Location>
55 void SetExportLocation(ExportLocationT&& value) {
56 m_exportLocationHasBeenSet = true;
57 m_exportLocation = std::forward<ExportLocationT>(value);
58 }
59 template <typename ExportLocationT = S3Location>
61 SetExportLocation(std::forward<ExportLocationT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetMetricsExportId() const { return m_metricsExportId; }
71 template <typename MetricsExportIdT = Aws::String>
72 void SetMetricsExportId(MetricsExportIdT&& value) {
73 m_metricsExportIdHasBeenSet = true;
74 m_metricsExportId = std::forward<MetricsExportIdT>(value);
75 }
76 template <typename MetricsExportIdT = Aws::String>
78 SetMetricsExportId(std::forward<MetricsExportIdT>(value));
79 return *this;
80 }
82
84
87 inline MetricsExportStatusType GetStatus() const { return m_status; }
89 m_statusHasBeenSet = true;
90 m_status = value;
91 }
93 SetStatus(value);
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_errorMessage;
114
115 S3Location m_exportLocation;
116
117 Aws::String m_metricsExportId;
118
120
121 Aws::String m_requestId;
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;
127};
128
129} // namespace Model
130} // namespace ResilienceHub
131} // 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