7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/pi/PI_EXPORTS.h>
9#include <aws/pi/model/DataPoint.h>
10#include <aws/pi/model/ResponseResourceMetricKey.h>
43 template <
typename KeyT = ResponseResourceMetricKey>
45 m_keyHasBeenSet =
true;
46 m_key = std::forward<KeyT>(value);
48 template <
typename KeyT = ResponseResourceMetricKey>
50 SetKey(std::forward<KeyT>(value));
62 template <
typename DataPo
intsT = Aws::Vector<DataPo
int>>
64 m_dataPointsHasBeenSet =
true;
65 m_dataPoints = std::forward<DataPointsT>(value);
67 template <
typename DataPo
intsT = Aws::Vector<DataPo
int>>
72 template <
typename DataPo
intsT = DataPo
int>
74 m_dataPointsHasBeenSet =
true;
75 m_dataPoints.emplace_back(std::forward<DataPointsT>(value));
83 bool m_keyHasBeenSet =
false;
84 bool m_dataPointsHasBeenSet =
false;
AWS_PI_API MetricKeyDataPoints(Aws::Utils::Json::JsonView jsonValue)
MetricKeyDataPoints & WithKey(KeyT &&value)
MetricKeyDataPoints & WithDataPoints(DataPointsT &&value)
void SetKey(KeyT &&value)
AWS_PI_API MetricKeyDataPoints()=default
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PI_API MetricKeyDataPoints & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricKeyDataPoints & AddDataPoints(DataPointsT &&value)
const Aws::Vector< DataPoint > & GetDataPoints() const
void SetDataPoints(DataPointsT &&value)
bool KeyHasBeenSet() const
const ResponseResourceMetricKey & GetKey() const
bool DataPointsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue