7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
19namespace AutoScalingPlans {
41 template <
typename TimestampT = Aws::Utils::DateTime>
43 m_timestampHasBeenSet =
true;
44 m_timestamp = std::forward<TimestampT>(value);
46 template <
typename TimestampT = Aws::Utils::DateTime>
57 inline double GetValue()
const {
return m_value; }
60 m_valueHasBeenSet =
true;
72 bool m_timestampHasBeenSet =
false;
73 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