7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/monitoring/CloudWatchRequest.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>
12#include <aws/monitoring/model/AnomalyDetectorType.h>
49 template<
typename NextTokenT = Aws::String>
50 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
51 template<
typename NextTokenT = Aws::String>
63 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
74 template<
typename NamespaceT = Aws::String>
75 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
76 template<
typename NamespaceT = Aws::String>
89 template<
typename MetricNameT = Aws::String>
90 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
91 template<
typename MetricNameT = Aws::String>
104 template<
typename DimensionsT = Aws::Vector<Dimension>>
105 void SetDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet =
true; m_dimensions = std::forward<DimensionsT>(value); }
106 template<
typename DimensionsT = Aws::Vector<Dimension>>
108 template<
typename DimensionsT = Dimension>
120 template<
typename AnomalyDetectorTypesT = Aws::Vector<AnomalyDetectorType>>
121 void SetAnomalyDetectorTypes(AnomalyDetectorTypesT&& value) { m_anomalyDetectorTypesHasBeenSet =
true; m_anomalyDetectorTypes = std::forward<AnomalyDetectorTypesT>(value); }
122 template<
typename AnomalyDetectorTypesT = Aws::Vector<AnomalyDetectorType>>
129 bool m_nextTokenHasBeenSet =
false;
132 bool m_maxResultsHasBeenSet =
false;
135 bool m_namespaceHasBeenSet =
false;
138 bool m_metricNameHasBeenSet =
false;
141 bool m_dimensionsHasBeenSet =
false;
144 bool m_anomalyDetectorTypesHasBeenSet =
false;
bool DimensionsHasBeenSet() const
bool NamespaceHasBeenSet() const
void SetDimensions(DimensionsT &&value)
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeAnomalyDetectorsRequest & WithNamespace(NamespaceT &&value)
DescribeAnomalyDetectorsRequest & AddAnomalyDetectorTypes(AnomalyDetectorType value)
void SetMetricName(MetricNameT &&value)
bool MaxResultsHasBeenSet() const
const Aws::String & GetNextToken() const
DescribeAnomalyDetectorsRequest & WithMaxResults(int value)
const Aws::Vector< Dimension > & GetDimensions() const
void SetNamespace(NamespaceT &&value)
int GetMaxResults() const
const Aws::Vector< AnomalyDetectorType > & GetAnomalyDetectorTypes() const
DescribeAnomalyDetectorsRequest & WithDimensions(DimensionsT &&value)
AWS_CLOUDWATCH_API DescribeAnomalyDetectorsRequest()=default
DescribeAnomalyDetectorsRequest & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
DescribeAnomalyDetectorsRequest & AddDimensions(DimensionsT &&value)
void SetMaxResults(int value)
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
bool MetricNameHasBeenSet() const
bool AnomalyDetectorTypesHasBeenSet() const
DescribeAnomalyDetectorsRequest & WithAnomalyDetectorTypes(AnomalyDetectorTypesT &&value)
void SetAnomalyDetectorTypes(AnomalyDetectorTypesT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetNamespace() const
bool NextTokenHasBeenSet() const
DescribeAnomalyDetectorsRequest & WithMetricName(MetricNameT &&value)
const Aws::String & GetMetricName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector