7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
21namespace AutoScalingPlans
47 template<
typename TimestampT = Aws::Utils::DateTime>
48 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
49 template<
typename TimestampT = Aws::Utils::DateTime>
57 inline double GetValue()
const {
return m_value; }
59 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
65 bool m_timestampHasBeenSet =
false;
68 bool m_valueHasBeenSet =
false;
const Aws::Utils::DateTime & GetTimestamp() const
AWS_AUTOSCALINGPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AUTOSCALINGPLANS_API Datapoint()=default
Datapoint & WithTimestamp(TimestampT &&value)
Datapoint & WithValue(double value)
bool TimestampHasBeenSet() const
void SetValue(double value)
AWS_AUTOSCALINGPLANS_API Datapoint & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
void SetTimestamp(TimestampT &&value)
AWS_AUTOSCALINGPLANS_API Datapoint(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue