7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/pi/model/ResponseResourceMetricKey.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pi/model/DataPoint.h>
49 template<
typename KeyT = ResponseResourceMetricKey>
50 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
51 template<
typename KeyT = ResponseResourceMetricKey>
62 template<
typename DataPo
intsT = Aws::Vector<DataPo
int>>
63 void SetDataPoints(DataPointsT&& value) { m_dataPointsHasBeenSet =
true; m_dataPoints = std::forward<DataPointsT>(value); }
64 template<
typename DataPo
intsT = Aws::Vector<DataPo
int>>
66 template<
typename DataPo
intsT = DataPo
int>
72 bool m_keyHasBeenSet =
false;
75 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