7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/autoscaling/model/PredictiveScalingMetricSpecification.h>
11#include <aws/core/utils/DateTime.h>
71 inline LoadForecast&
AddValues(
double value) { m_valuesHasBeenSet =
true; m_values.push_back(value);
return *
this; }
88 bool m_timestampsHasBeenSet =
false;
91 bool m_valuesHasBeenSet =
false;
94 bool m_metricSpecificationHasBeenSet =
false;
LoadForecast & WithValues(const Aws::Vector< double > &value)
LoadForecast & WithTimestamps(Aws::Vector< Aws::Utils::DateTime > &&value)
AWS_AUTOSCALING_API LoadForecast()
const Aws::Vector< Aws::Utils::DateTime > & GetTimestamps() const
LoadForecast & AddTimestamps(Aws::Utils::DateTime &&value)
LoadForecast & WithValues(Aws::Vector< double > &&value)
void SetValues(Aws::Vector< double > &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LoadForecast & WithMetricSpecification(const PredictiveScalingMetricSpecification &value)
LoadForecast & AddTimestamps(const Aws::Utils::DateTime &value)
bool ValuesHasBeenSet() const
void SetTimestamps(const Aws::Vector< Aws::Utils::DateTime > &value)
void SetMetricSpecification(const PredictiveScalingMetricSpecification &value)
const PredictiveScalingMetricSpecification & GetMetricSpecification() const
bool MetricSpecificationHasBeenSet() const
AWS_AUTOSCALING_API LoadForecast(const Aws::Utils::Xml::XmlNode &xmlNode)
LoadForecast & AddValues(double value)
const Aws::Vector< double > & GetValues() const
LoadForecast & WithTimestamps(const Aws::Vector< Aws::Utils::DateTime > &value)
LoadForecast & WithMetricSpecification(PredictiveScalingMetricSpecification &&value)
void SetTimestamps(Aws::Vector< Aws::Utils::DateTime > &&value)
void SetValues(const Aws::Vector< double > &value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_AUTOSCALING_API LoadForecast & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TimestampsHasBeenSet() const
void SetMetricSpecification(PredictiveScalingMetricSpecification &&value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream