7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/logs/model/SuppressionState.h>
15namespace CloudWatchLogs
47 inline void SetAnomalyDetectorArn(
const char* value) { m_anomalyDetectorArnHasBeenSet =
true; m_anomalyDetectorArn.assign(value); }
73 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
83 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
91 bool m_anomalyDetectorArnHasBeenSet =
false;
94 bool m_suppressionStateHasBeenSet =
false;
97 bool m_limitHasBeenSet =
false;
100 bool m_nextTokenHasBeenSet =
false;
ListAnomaliesRequest & WithSuppressionState(SuppressionState &&value)
ListAnomaliesRequest & WithNextToken(const Aws::String &value)
ListAnomaliesRequest & WithLimit(int value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
void SetNextToken(const char *value)
AWS_CLOUDWATCHLOGS_API ListAnomaliesRequest()
void SetAnomalyDetectorArn(Aws::String &&value)
void SetNextToken(Aws::String &&value)
void SetNextToken(const Aws::String &value)
bool AnomalyDetectorArnHasBeenSet() const
const Aws::String & GetNextToken() const
bool LimitHasBeenSet() const
ListAnomaliesRequest & WithAnomalyDetectorArn(const Aws::String &value)
void SetSuppressionState(SuppressionState &&value)
const Aws::String & GetAnomalyDetectorArn() const
ListAnomaliesRequest & WithNextToken(const char *value)
bool SuppressionStateHasBeenSet() const
const SuppressionState & GetSuppressionState() const
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSuppressionState(const SuppressionState &value)
ListAnomaliesRequest & WithSuppressionState(const SuppressionState &value)
virtual const char * GetServiceRequestName() const override
bool NextTokenHasBeenSet() const
ListAnomaliesRequest & WithNextToken(Aws::String &&value)
ListAnomaliesRequest & WithAnomalyDetectorArn(Aws::String &&value)
void SetAnomalyDetectorArn(const char *value)
ListAnomaliesRequest & WithAnomalyDetectorArn(const char *value)
void SetAnomalyDetectorArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String