7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/lookoutmetrics/LookoutMetricsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lookoutmetrics/model/AnomalyDetectorConfig.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
16namespace LookoutMetrics
45 inline void SetAnomalyDetectorName(
const char* value) { m_anomalyDetectorNameHasBeenSet =
true; m_anomalyDetectorName.assign(value); }
59 inline void SetAnomalyDetectorDescription(
const char* value) { m_anomalyDetectorDescriptionHasBeenSet =
true; m_anomalyDetectorDescription.assign(value); }
85 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
114 bool m_anomalyDetectorNameHasBeenSet =
false;
117 bool m_anomalyDetectorDescriptionHasBeenSet =
false;
120 bool m_anomalyDetectorConfigHasBeenSet =
false;
123 bool m_kmsKeyArnHasBeenSet =
false;
126 bool m_tagsHasBeenSet =
false;
CreateAnomalyDetectorRequest & AddTags(const char *key, const char *value)
const Aws::String & GetAnomalyDetectorName() const
void SetKmsKeyArn(Aws::String &&value)
void SetAnomalyDetectorDescription(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetAnomalyDetectorName(const Aws::String &value)
CreateAnomalyDetectorRequest & WithKmsKeyArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetAnomalyDetectorName(const char *value)
void SetKmsKeyArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAnomalyDetectorRequest & WithAnomalyDetectorDescription(const char *value)
bool AnomalyDetectorNameHasBeenSet() const
CreateAnomalyDetectorRequest & WithAnomalyDetectorName(Aws::String &&value)
void SetAnomalyDetectorDescription(Aws::String &&value)
AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override
CreateAnomalyDetectorRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool TagsHasBeenSet() const
CreateAnomalyDetectorRequest & WithAnomalyDetectorDescription(const Aws::String &value)
void SetAnomalyDetectorName(Aws::String &&value)
CreateAnomalyDetectorRequest & WithAnomalyDetectorName(const Aws::String &value)
const AnomalyDetectorConfig & GetAnomalyDetectorConfig() const
bool AnomalyDetectorDescriptionHasBeenSet() const
CreateAnomalyDetectorRequest & WithAnomalyDetectorConfig(AnomalyDetectorConfig &&value)
CreateAnomalyDetectorRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetAnomalyDetectorConfig(AnomalyDetectorConfig &&value)
CreateAnomalyDetectorRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAnomalyDetectorRequest & WithAnomalyDetectorDescription(Aws::String &&value)
CreateAnomalyDetectorRequest & WithAnomalyDetectorConfig(const AnomalyDetectorConfig &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetAnomalyDetectorConfig(const AnomalyDetectorConfig &value)
CreateAnomalyDetectorRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetAnomalyDetectorDescription(const char *value)
bool KmsKeyArnHasBeenSet() const
CreateAnomalyDetectorRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetKmsKeyArn() const
CreateAnomalyDetectorRequest & WithKmsKeyArn(Aws::String &&value)
AWS_LOOKOUTMETRICS_API CreateAnomalyDetectorRequest()
const Aws::String & GetAnomalyDetectorDescription() const
CreateAnomalyDetectorRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateAnomalyDetectorRequest & WithKmsKeyArn(const Aws::String &value)
CreateAnomalyDetectorRequest & AddTags(Aws::String &&key, const char *value)
bool AnomalyDetectorConfigHasBeenSet() const
CreateAnomalyDetectorRequest & WithAnomalyDetectorName(const char *value)
CreateAnomalyDetectorRequest & AddTags(const char *key, Aws::String &&value)
void SetKmsKeyArn(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String