7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/monitoring/model/InsightRuleContributorDatapoint.h>
57 template<
typename KeysT = Aws::Vector<Aws::String>>
58 void SetKeys(KeysT&& value) { m_keysHasBeenSet =
true; m_keys = std::forward<KeysT>(value); }
59 template<
typename KeysT = Aws::Vector<Aws::String>>
61 template<
typename KeysT = Aws::String>
82 template<
typename Datapo
intsT = Aws::Vector<InsightRuleContributorDatapo
int>>
83 void SetDatapoints(DatapointsT&& value) { m_datapointsHasBeenSet =
true; m_datapoints = std::forward<DatapointsT>(value); }
84 template<
typename Datapo
intsT = Aws::Vector<InsightRuleContributorDatapo
int>>
86 template<
typename Datapo
intsT = InsightRuleContributorDatapo
int>
92 bool m_keysHasBeenSet =
false;
94 double m_approximateAggregateValue{0.0};
95 bool m_approximateAggregateValueHasBeenSet =
false;
98 bool m_datapointsHasBeenSet =
false;
double GetApproximateAggregateValue() const
AWS_CLOUDWATCH_API InsightRuleContributor()=default
InsightRuleContributor & AddDatapoints(DatapointsT &&value)
bool DatapointsHasBeenSet() const
void SetApproximateAggregateValue(double value)
const Aws::Vector< InsightRuleContributorDatapoint > & GetDatapoints() const
AWS_CLOUDWATCH_API InsightRuleContributor & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InsightRuleContributor & AddKeys(KeysT &&value)
const Aws::Vector< Aws::String > & GetKeys() const
InsightRuleContributor & WithApproximateAggregateValue(double value)
InsightRuleContributor & WithKeys(KeysT &&value)
bool KeysHasBeenSet() const
void SetDatapoints(DatapointsT &&value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDWATCH_API InsightRuleContributor(const Aws::Utils::Xml::XmlNode &xmlNode)
InsightRuleContributor & WithDatapoints(DatapointsT &&value)
bool ApproximateAggregateValueHasBeenSet() const
void SetKeys(KeysT &&value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream