7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
22namespace ApplicationAutoScaling
50 template<
typename TimestampsT = Aws::Vector<Aws::Utils::DateTime>>
51 void SetTimestamps(TimestampsT&& value) { m_timestampsHasBeenSet =
true; m_timestamps = std::forward<TimestampsT>(value); }
52 template<
typename TimestampsT = Aws::Vector<Aws::Utils::DateTime>>
54 template<
typename TimestampsT = Aws::Utils::DateTime>
55 CapacityForecast&
AddTimestamps(TimestampsT&& value) { m_timestampsHasBeenSet =
true; m_timestamps.emplace_back(std::forward<TimestampsT>(value));
return *
this; }
64 template<
typename ValuesT = Aws::Vector<
double>>
65 void SetValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values = std::forward<ValuesT>(value); }
66 template<
typename ValuesT = Aws::Vector<
double>>
73 bool m_timestampsHasBeenSet =
false;
76 bool m_valuesHasBeenSet =
false;
bool ValuesHasBeenSet() const
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimestampsHasBeenSet() const
AWS_APPLICATIONAUTOSCALING_API CapacityForecast()=default
CapacityForecast & WithTimestamps(TimestampsT &&value)
void SetTimestamps(TimestampsT &&value)
void SetValues(ValuesT &&value)
CapacityForecast & AddValues(double value)
CapacityForecast & WithValues(ValuesT &&value)
AWS_APPLICATIONAUTOSCALING_API CapacityForecast(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONAUTOSCALING_API CapacityForecast & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Utils::DateTime > & GetTimestamps() const
CapacityForecast & AddTimestamps(TimestampsT &&value)
const Aws::Vector< double > & GetValues() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue