7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
53 template<
typename TimestampT = Aws::Utils::DateTime>
54 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
55 template<
typename TimestampT = Aws::Utils::DateTime>
65 inline void SetApproximateValue(
double value) { m_approximateValueHasBeenSet =
true; m_approximateValue = value; }
71 bool m_timestampHasBeenSet =
false;
73 double m_approximateValue{0.0};
74 bool m_approximateValueHasBeenSet =
false;
AWS_CLOUDWATCH_API InsightRuleContributorDatapoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDWATCH_API InsightRuleContributorDatapoint()=default
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ApproximateValueHasBeenSet() const
void SetApproximateValue(double value)
InsightRuleContributorDatapoint & WithApproximateValue(double value)
const Aws::Utils::DateTime & GetTimestamp() const
bool TimestampHasBeenSet() const
InsightRuleContributorDatapoint & WithTimestamp(TimestampT &&value)
double GetApproximateValue() const
AWS_CLOUDWATCH_API InsightRuleContributorDatapoint(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTimestamp(TimestampT &&value)
std::basic_ostream< char, std::char_traits< char > > OStream