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
43 template<
typename AnomalyDetectorNameT = Aws::String>
44 void SetAnomalyDetectorName(AnomalyDetectorNameT&& value) { m_anomalyDetectorNameHasBeenSet =
true; m_anomalyDetectorName = std::forward<AnomalyDetectorNameT>(value); }
45 template<
typename AnomalyDetectorNameT = Aws::String>
55 template<
typename AnomalyDetectorDescriptionT = Aws::String>
56 void SetAnomalyDetectorDescription(AnomalyDetectorDescriptionT&& value) { m_anomalyDetectorDescriptionHasBeenSet =
true; m_anomalyDetectorDescription = std::forward<AnomalyDetectorDescriptionT>(value); }
57 template<
typename AnomalyDetectorDescriptionT = Aws::String>
67 template<
typename AnomalyDetectorConfigT = AnomalyDetectorConfig>
68 void SetAnomalyDetectorConfig(AnomalyDetectorConfigT&& value) { m_anomalyDetectorConfigHasBeenSet =
true; m_anomalyDetectorConfig = std::forward<AnomalyDetectorConfigT>(value); }
69 template<
typename AnomalyDetectorConfigT = AnomalyDetectorConfig>
79 template<
typename KmsKeyArnT = Aws::String>
80 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
81 template<
typename KmsKeyArnT = Aws::String>
93 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
94 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
95 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
99 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
105 bool m_anomalyDetectorNameHasBeenSet =
false;
108 bool m_anomalyDetectorDescriptionHasBeenSet =
false;
111 bool m_anomalyDetectorConfigHasBeenSet =
false;
114 bool m_kmsKeyArnHasBeenSet =
false;
117 bool m_tagsHasBeenSet =
false;
const Aws::String & GetAnomalyDetectorName() const
virtual const char * GetServiceRequestName() const override
CreateAnomalyDetectorRequest & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAnomalyDetectorRequest & WithAnomalyDetectorConfig(AnomalyDetectorConfigT &&value)
CreateAnomalyDetectorRequest & WithAnomalyDetectorName(AnomalyDetectorNameT &&value)
void SetAnomalyDetectorConfig(AnomalyDetectorConfigT &&value)
bool AnomalyDetectorNameHasBeenSet() const
AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override
CreateAnomalyDetectorRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateAnomalyDetectorRequest & WithAnomalyDetectorDescription(AnomalyDetectorDescriptionT &&value)
bool TagsHasBeenSet() const
void SetKmsKeyArn(KmsKeyArnT &&value)
const AnomalyDetectorConfig & GetAnomalyDetectorConfig() const
bool AnomalyDetectorDescriptionHasBeenSet() const
void SetAnomalyDetectorDescription(AnomalyDetectorDescriptionT &&value)
bool KmsKeyArnHasBeenSet() const
const Aws::String & GetKmsKeyArn() const
const Aws::String & GetAnomalyDetectorDescription() const
bool AnomalyDetectorConfigHasBeenSet() const
void SetTags(TagsT &&value)
CreateAnomalyDetectorRequest & WithKmsKeyArn(KmsKeyArnT &&value)
void SetAnomalyDetectorName(AnomalyDetectorNameT &&value)
AWS_LOOKOUTMETRICS_API CreateAnomalyDetectorRequest()=default
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