7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/monitoring/CloudWatch_EXPORTS.h>
11#include <aws/monitoring/model/Datapoint.h>
12#include <aws/monitoring/model/ResponseMetadata.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename LabelT = Aws::String>
39 m_labelHasBeenSet =
true;
40 m_label = std::forward<LabelT>(value);
42 template <
typename LabelT = Aws::String>
44 SetLabel(std::forward<LabelT>(value));
54 template <
typename Datapo
intsT = Aws::Vector<Datapo
int>>
56 m_datapointsHasBeenSet =
true;
57 m_datapoints = std::forward<DatapointsT>(value);
59 template <
typename Datapo
intsT = Aws::Vector<Datapo
int>>
64 template <
typename Datapo
intsT = Datapo
int>
66 m_datapointsHasBeenSet =
true;
67 m_datapoints.emplace_back(std::forward<DatapointsT>(value));
75 template <
typename RequestIdT = Aws::String>
77 m_requestIdHasBeenSet =
true;
78 m_requestId = std::forward<RequestIdT>(value);
80 template <
typename RequestIdT = Aws::String>
90 template <
typename ResponseMetadataT = ResponseMetadata>
92 m_responseMetadataHasBeenSet =
true;
93 m_responseMetadata = std::forward<ResponseMetadataT>(value);
95 template <
typename ResponseMetadataT = ResponseMetadata>
109 bool m_labelHasBeenSet =
false;
110 bool m_datapointsHasBeenSet =
false;
111 bool m_requestIdHasBeenSet =
false;
112 bool m_responseMetadataHasBeenSet =
false;
AWS_CLOUDWATCH_API GetMetricStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
GetMetricStatisticsResult & AddDatapoints(DatapointsT &&value)
const Aws::String & GetLabel() const
void SetRequestId(RequestIdT &&value)
AWS_CLOUDWATCH_API GetMetricStatisticsResult()=default
AWS_CLOUDWATCH_API GetMetricStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const Aws::Vector< Datapoint > & GetDatapoints() const
GetMetricStatisticsResult & WithDatapoints(DatapointsT &&value)
GetMetricStatisticsResult & WithLabel(LabelT &&value)
void SetLabel(LabelT &&value)
GetMetricStatisticsResult & WithResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
const Aws::String & GetRequestId() const
void SetDatapoints(DatapointsT &&value)
GetMetricStatisticsResult & WithRequestId(RequestIdT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector