7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
65 inline void SetUniqueContributors(
double value) { m_uniqueContributorsHasBeenSet =
true; m_uniqueContributors = value; }
78 inline void SetMaxContributorValue(
double value) { m_maxContributorValueHasBeenSet =
true; m_maxContributorValue = value; }
90 inline void SetSampleCount(
double value) { m_sampleCountHasBeenSet =
true; m_sampleCount = value; }
102 inline void SetAverage(
double value) { m_averageHasBeenSet =
true; m_average = value; }
112 inline double GetSum()
const{
return m_sum; }
114 inline void SetSum(
double value) { m_sumHasBeenSet =
true; m_sum = value; }
126 inline void SetMinimum(
double value) { m_minimumHasBeenSet =
true; m_minimum = value; }
139 inline void SetMaximum(
double value) { m_maximumHasBeenSet =
true; m_maximum = value; }
145 bool m_timestampHasBeenSet =
false;
147 double m_uniqueContributors;
148 bool m_uniqueContributorsHasBeenSet =
false;
150 double m_maxContributorValue;
151 bool m_maxContributorValueHasBeenSet =
false;
153 double m_sampleCount;
154 bool m_sampleCountHasBeenSet =
false;
157 bool m_averageHasBeenSet =
false;
160 bool m_sumHasBeenSet =
false;
163 bool m_minimumHasBeenSet =
false;
166 bool m_maximumHasBeenSet =
false;
double GetUniqueContributors() const
AWS_CLOUDWATCH_API InsightRuleMetricDatapoint()
double GetSampleCount() const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetAverage(double value)
bool MaximumHasBeenSet() const
void SetTimestamp(Aws::Utils::DateTime &&value)
AWS_CLOUDWATCH_API InsightRuleMetricDatapoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetTimestamp() const
void SetSum(double value)
void SetMaxContributorValue(double value)
bool TimestampHasBeenSet() const
bool MaxContributorValueHasBeenSet() const
double GetMinimum() const
double GetMaximum() const
AWS_CLOUDWATCH_API InsightRuleMetricDatapoint(const Aws::Utils::Xml::XmlNode &xmlNode)
InsightRuleMetricDatapoint & WithTimestamp(const Aws::Utils::DateTime &value)
void SetSampleCount(double value)
InsightRuleMetricDatapoint & WithSum(double value)
InsightRuleMetricDatapoint & WithMinimum(double value)
InsightRuleMetricDatapoint & WithMaxContributorValue(double value)
bool SampleCountHasBeenSet() const
InsightRuleMetricDatapoint & WithUniqueContributors(double value)
double GetMaxContributorValue() const
void SetMaximum(double value)
InsightRuleMetricDatapoint & WithAverage(double value)
InsightRuleMetricDatapoint & WithMaximum(double value)
bool AverageHasBeenSet() const
InsightRuleMetricDatapoint & WithSampleCount(double value)
bool MinimumHasBeenSet() const
void SetMinimum(double value)
void SetTimestamp(const Aws::Utils::DateTime &value)
void SetUniqueContributors(double value)
double GetAverage() const
InsightRuleMetricDatapoint & WithTimestamp(Aws::Utils::DateTime &&value)
bool UniqueContributorsHasBeenSet() const
bool SumHasBeenSet() const
std::basic_ostream< char, std::char_traits< char > > OStream