7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/monitoring/model/Dimension.h>
57 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
71 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
85 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
113 inline void SetStat(
const char* value) { m_statHasBeenSet =
true; m_stat.assign(value); }
121 bool m_accountIdHasBeenSet =
false;
124 bool m_namespaceHasBeenSet =
false;
127 bool m_metricNameHasBeenSet =
false;
130 bool m_dimensionsHasBeenSet =
false;
133 bool m_statHasBeenSet =
false;
void SetDimensions(Aws::Vector< Dimension > &&value)
void SetAccountId(const Aws::String &value)
void SetAccountId(Aws::String &&value)
const Aws::String & GetMetricName() const
void SetStat(const char *value)
void SetMetricName(const char *value)
AWS_CLOUDWATCH_API SingleMetricAnomalyDetector(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNamespace(const Aws::String &value)
const Aws::String & GetAccountId() const
SingleMetricAnomalyDetector & WithNamespace(const Aws::String &value)
bool MetricNameHasBeenSet() const
AWS_CLOUDWATCH_API SingleMetricAnomalyDetector()
SingleMetricAnomalyDetector & WithAccountId(Aws::String &&value)
AWS_CLOUDWATCH_API SingleMetricAnomalyDetector & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStat(const Aws::String &value)
void SetMetricName(Aws::String &&value)
SingleMetricAnomalyDetector & AddDimensions(const Dimension &value)
void SetNamespace(Aws::String &&value)
SingleMetricAnomalyDetector & WithDimensions(const Aws::Vector< Dimension > &value)
SingleMetricAnomalyDetector & WithNamespace(const char *value)
const Aws::String & GetNamespace() const
const Aws::String & GetStat() const
SingleMetricAnomalyDetector & WithMetricName(const char *value)
void SetDimensions(const Aws::Vector< Dimension > &value)
SingleMetricAnomalyDetector & WithStat(Aws::String &&value)
SingleMetricAnomalyDetector & AddDimensions(Dimension &&value)
void SetAccountId(const char *value)
SingleMetricAnomalyDetector & WithDimensions(Aws::Vector< Dimension > &&value)
SingleMetricAnomalyDetector & WithMetricName(const Aws::String &value)
bool StatHasBeenSet() const
SingleMetricAnomalyDetector & WithMetricName(Aws::String &&value)
bool DimensionsHasBeenSet() const
SingleMetricAnomalyDetector & WithStat(const char *value)
SingleMetricAnomalyDetector & WithNamespace(Aws::String &&value)
void SetStat(Aws::String &&value)
void SetMetricName(const Aws::String &value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool NamespaceHasBeenSet() const
SingleMetricAnomalyDetector & WithStat(const Aws::String &value)
SingleMetricAnomalyDetector & WithAccountId(const Aws::String &value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetNamespace(const char *value)
bool AccountIdHasBeenSet() const
const Aws::Vector< Dimension > & GetDimensions() const
SingleMetricAnomalyDetector & WithAccountId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream