7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/pi/PI_EXPORTS.h>
12#include <aws/pi/model/MetricKeyDataPoints.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
41 template <
typename AlignedStartTimeT = Aws::Utils::DateTime>
43 m_alignedStartTimeHasBeenSet =
true;
44 m_alignedStartTime = std::forward<AlignedStartTimeT>(value);
46 template <
typename AlignedStartTimeT = Aws::Utils::DateTime>
61 template <
typename AlignedEndTimeT = Aws::Utils::DateTime>
63 m_alignedEndTimeHasBeenSet =
true;
64 m_alignedEndTime = std::forward<AlignedEndTimeT>(value);
66 template <
typename AlignedEndTimeT = Aws::Utils::DateTime>
82 template <
typename IdentifierT = Aws::String>
84 m_identifierHasBeenSet =
true;
85 m_identifier = std::forward<IdentifierT>(value);
87 template <
typename IdentifierT = Aws::String>
100 template <
typename MetricListT = Aws::Vector<MetricKeyDataPo
ints>>
102 m_metricListHasBeenSet =
true;
103 m_metricList = std::forward<MetricListT>(value);
105 template <
typename MetricListT = Aws::Vector<MetricKeyDataPo
ints>>
110 template <
typename MetricListT = MetricKeyDataPo
ints>
112 m_metricListHasBeenSet =
true;
113 m_metricList.emplace_back(std::forward<MetricListT>(value));
125 template <
typename NextTokenT = Aws::String>
127 m_nextTokenHasBeenSet =
true;
128 m_nextToken = std::forward<NextTokenT>(value);
130 template <
typename NextTokenT = Aws::String>
140 template <
typename RequestIdT = Aws::String>
142 m_requestIdHasBeenSet =
true;
143 m_requestId = std::forward<RequestIdT>(value);
145 template <
typename RequestIdT = Aws::String>
166 bool m_alignedStartTimeHasBeenSet =
false;
167 bool m_alignedEndTimeHasBeenSet =
false;
168 bool m_identifierHasBeenSet =
false;
169 bool m_metricListHasBeenSet =
false;
170 bool m_nextTokenHasBeenSet =
false;
171 bool m_requestIdHasBeenSet =
false;
GetResourceMetricsResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetAlignedStartTime() const
AWS_PI_API GetResourceMetricsResult()=default
const Aws::Vector< MetricKeyDataPoints > & GetMetricList() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetAlignedStartTime(AlignedStartTimeT &&value)
void SetMetricList(MetricListT &&value)
const Aws::String & GetNextToken() const
AWS_PI_API GetResourceMetricsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIdentifier(IdentifierT &&value)
void SetAlignedEndTime(AlignedEndTimeT &&value)
GetResourceMetricsResult & WithAlignedEndTime(AlignedEndTimeT &&value)
GetResourceMetricsResult & WithAlignedStartTime(AlignedStartTimeT &&value)
void SetNextToken(NextTokenT &&value)
const Aws::Utils::DateTime & GetAlignedEndTime() const
GetResourceMetricsResult & WithNextToken(NextTokenT &&value)
AWS_PI_API GetResourceMetricsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetIdentifier() const
GetResourceMetricsResult & AddMetricList(MetricListT &&value)
GetResourceMetricsResult & WithIdentifier(IdentifierT &&value)
GetResourceMetricsResult & WithMetricList(MetricListT &&value)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue