7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/MetricName.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
23namespace ComputeOptimizer
88 inline void SetName(
MetricName&& value) { m_nameHasBeenSet =
true; m_name = std::move(value); }
122 bool m_nameHasBeenSet =
false;
125 bool m_timestampsHasBeenSet =
false;
128 bool m_valuesHasBeenSet =
false;
void SetValues(Aws::Vector< double > &&value)
void SetTimestamps(Aws::Vector< Aws::Utils::DateTime > &&value)
ProjectedMetric & WithName(MetricName &&value)
void SetName(MetricName &&value)
AWS_COMPUTEOPTIMIZER_API ProjectedMetric(Aws::Utils::Json::JsonView jsonValue)
ProjectedMetric & WithTimestamps(const Aws::Vector< Aws::Utils::DateTime > &value)
bool ValuesHasBeenSet() const
ProjectedMetric & WithValues(Aws::Vector< double > &&value)
bool TimestampsHasBeenSet() const
bool NameHasBeenSet() const
ProjectedMetric & WithName(const MetricName &value)
ProjectedMetric & WithTimestamps(Aws::Vector< Aws::Utils::DateTime > &&value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
const MetricName & GetName() const
const Aws::Vector< Aws::Utils::DateTime > & GetTimestamps() const
void SetValues(const Aws::Vector< double > &value)
AWS_COMPUTEOPTIMIZER_API ProjectedMetric()
const Aws::Vector< double > & GetValues() const
ProjectedMetric & AddTimestamps(const Aws::Utils::DateTime &value)
ProjectedMetric & WithValues(const Aws::Vector< double > &value)
void SetTimestamps(const Aws::Vector< Aws::Utils::DateTime > &value)
void SetName(const MetricName &value)
ProjectedMetric & AddTimestamps(Aws::Utils::DateTime &&value)
AWS_COMPUTEOPTIMIZER_API ProjectedMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectedMetric & AddValues(double value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue