7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/monitoring/model/ResponseMetadata.h>
11#include <aws/monitoring/model/Datapoint.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename LabelT = Aws::String>
44 void SetLabel(LabelT&& value) { m_labelHasBeenSet =
true; m_label = std::forward<LabelT>(value); }
45 template<
typename LabelT = Aws::String>
54 template<
typename Datapo
intsT = Aws::Vector<Datapo
int>>
55 void SetDatapoints(DatapointsT&& value) { m_datapointsHasBeenSet =
true; m_datapoints = std::forward<DatapointsT>(value); }
56 template<
typename Datapo
intsT = Aws::Vector<Datapo
int>>
58 template<
typename Datapo
intsT = Datapo
int>
65 template<
typename ResponseMetadataT = ResponseMetadata>
66 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
67 template<
typename ResponseMetadataT = ResponseMetadata>
73 bool m_labelHasBeenSet =
false;
76 bool m_datapointsHasBeenSet =
false;
79 bool m_responseMetadataHasBeenSet =
false;
GetMetricStatisticsResult & AddDatapoints(DatapointsT &&value)
const Aws::String & GetLabel() const
AWS_CLOUDWATCH_API GetMetricStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDWATCH_API GetMetricStatisticsResult()=default
const Aws::Vector< Datapoint > & GetDatapoints() const
GetMetricStatisticsResult & WithDatapoints(DatapointsT &&value)
GetMetricStatisticsResult & WithLabel(LabelT &&value)
void SetLabel(LabelT &&value)
GetMetricStatisticsResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_CLOUDWATCH_API GetMetricStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
void SetDatapoints(DatapointsT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument