7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pi/PI_EXPORTS.h>
11#include <aws/pi/model/MetricKeyDataPoints.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
40 template <
typename AlignedStartTimeT = Aws::Utils::DateTime>
42 m_alignedStartTimeHasBeenSet =
true;
43 m_alignedStartTime = std::forward<AlignedStartTimeT>(value);
45 template <
typename AlignedStartTimeT = Aws::Utils::DateTime>
60 template <
typename AlignedEndTimeT = Aws::Utils::DateTime>
62 m_alignedEndTimeHasBeenSet =
true;
63 m_alignedEndTime = std::forward<AlignedEndTimeT>(value);
65 template <
typename AlignedEndTimeT = Aws::Utils::DateTime>
81 template <
typename IdentifierT = Aws::String>
83 m_identifierHasBeenSet =
true;
84 m_identifier = std::forward<IdentifierT>(value);
86 template <
typename IdentifierT = Aws::String>
99 template <
typename MetricListT = Aws::Vector<MetricKeyDataPo
ints>>
101 m_metricListHasBeenSet =
true;
102 m_metricList = std::forward<MetricListT>(value);
104 template <
typename MetricListT = Aws::Vector<MetricKeyDataPo
ints>>
109 template <
typename MetricListT = MetricKeyDataPo
ints>
111 m_metricListHasBeenSet =
true;
112 m_metricList.emplace_back(std::forward<MetricListT>(value));
124 template <
typename NextTokenT = Aws::String>
126 m_nextTokenHasBeenSet =
true;
127 m_nextToken = std::forward<NextTokenT>(value);
129 template <
typename NextTokenT = Aws::String>
139 template <
typename RequestIdT = Aws::String>
141 m_requestIdHasBeenSet =
true;
142 m_requestId = std::forward<RequestIdT>(value);
144 template <
typename RequestIdT = Aws::String>
162 bool m_alignedStartTimeHasBeenSet =
false;
163 bool m_alignedEndTimeHasBeenSet =
false;
164 bool m_identifierHasBeenSet =
false;
165 bool m_metricListHasBeenSet =
false;
166 bool m_nextTokenHasBeenSet =
false;
167 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
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