7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/AnomalyDetectorConfiguration.h>
9#include <aws/amp/model/AnomalyDetectorMissingDataAction.h>
10#include <aws/amp/model/AnomalyDetectorStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
24namespace PrometheusService {
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename AnomalyDetectorIdT = Aws::String>
65 m_anomalyDetectorIdHasBeenSet =
true;
66 m_anomalyDetectorId = std::forward<AnomalyDetectorIdT>(value);
68 template <
typename AnomalyDetectorIdT = Aws::String>
81 template <
typename AliasT = Aws::String>
83 m_aliasHasBeenSet =
true;
84 m_alias = std::forward<AliasT>(value);
86 template <
typename AliasT = Aws::String>
88 SetAlias(std::forward<AliasT>(value));
101 m_evaluationIntervalInSecondsHasBeenSet =
true;
102 m_evaluationIntervalInSeconds = value;
116 template <
typename MissingDataActionT = AnomalyDetectorMissingDataAction>
118 m_missingDataActionHasBeenSet =
true;
119 m_missingDataAction = std::forward<MissingDataActionT>(value);
121 template <
typename MissingDataActionT = AnomalyDetectorMissingDataAction>
134 template <
typename ConfigurationT = AnomalyDetectorConfiguration>
136 m_configurationHasBeenSet =
true;
137 m_configuration = std::forward<ConfigurationT>(value);
139 template <
typename ConfigurationT = AnomalyDetectorConfiguration>
153 template <
typename LabelsT = Aws::Map<Aws::String, Aws::String>>
155 m_labelsHasBeenSet =
true;
156 m_labels = std::forward<LabelsT>(value);
158 template <
typename LabelsT = Aws::Map<Aws::String, Aws::String>>
163 template <
typename LabelsKeyT = Aws::String,
typename LabelsValueT = Aws::String>
165 m_labelsHasBeenSet =
true;
166 m_labels.emplace(std::forward<LabelsKeyT>(key), std::forward<LabelsValueT>(value));
177 template <
typename StatusT = AnomalyDetectorStatus>
179 m_statusHasBeenSet =
true;
180 m_status = std::forward<StatusT>(value);
182 template <
typename StatusT = AnomalyDetectorStatus>
195 template <
typename CreatedAtT = Aws::Utils::DateTime>
197 m_createdAtHasBeenSet =
true;
198 m_createdAt = std::forward<CreatedAtT>(value);
200 template <
typename CreatedAtT = Aws::Utils::DateTime>
213 template <
typename ModifiedAtT = Aws::Utils::DateTime>
215 m_modifiedAtHasBeenSet =
true;
216 m_modifiedAt = std::forward<ModifiedAtT>(value);
218 template <
typename ModifiedAtT = Aws::Utils::DateTime>
231 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
233 m_tagsHasBeenSet =
true;
234 m_tags = std::forward<TagsT>(value);
236 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
238 SetTags(std::forward<TagsT>(value));
241 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
243 m_tagsHasBeenSet =
true;
244 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
255 int m_evaluationIntervalInSeconds{0};
257 AnomalyDetectorMissingDataAction m_missingDataAction;
259 AnomalyDetectorConfiguration m_configuration;
263 AnomalyDetectorStatus m_status;
270 bool m_arnHasBeenSet =
false;
271 bool m_anomalyDetectorIdHasBeenSet =
false;
272 bool m_aliasHasBeenSet =
false;
273 bool m_evaluationIntervalInSecondsHasBeenSet =
false;
274 bool m_missingDataActionHasBeenSet =
false;
275 bool m_configurationHasBeenSet =
false;
276 bool m_labelsHasBeenSet =
false;
277 bool m_statusHasBeenSet =
false;
278 bool m_createdAtHasBeenSet =
false;
279 bool m_modifiedAtHasBeenSet =
false;
280 bool m_tagsHasBeenSet =
false;
AnomalyDetectorDescription & WithStatus(StatusT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetLabels() const
void SetArn(ArnT &&value)
AnomalyDetectorDescription & WithMissingDataAction(MissingDataActionT &&value)
bool MissingDataActionHasBeenSet() const
AWS_PROMETHEUSSERVICE_API AnomalyDetectorDescription(Aws::Utils::Json::JsonView jsonValue)
AnomalyDetectorDescription & WithModifiedAt(ModifiedAtT &&value)
AnomalyDetectorDescription & WithCreatedAt(CreatedAtT &&value)
bool StatusHasBeenSet() const
AWS_PROMETHEUSSERVICE_API AnomalyDetectorDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
AnomalyDetectorDescription & WithConfiguration(ConfigurationT &&value)
void SetLabels(LabelsT &&value)
void SetModifiedAt(ModifiedAtT &&value)
AnomalyDetectorDescription & WithTags(TagsT &&value)
AnomalyDetectorDescription & AddLabels(LabelsKeyT &&key, LabelsValueT &&value)
bool CreatedAtHasBeenSet() const
AWS_PROMETHEUSSERVICE_API AnomalyDetectorDescription()=default
void SetStatus(StatusT &&value)
AnomalyDetectorDescription & AddTags(TagsKeyT &&key, TagsValueT &&value)
const AnomalyDetectorStatus & GetStatus() const
const AnomalyDetectorMissingDataAction & GetMissingDataAction() const
const Aws::Utils::DateTime & GetModifiedAt() const
AnomalyDetectorDescription & WithLabels(LabelsT &&value)
bool ConfigurationHasBeenSet() const
bool TagsHasBeenSet() const
bool LabelsHasBeenSet() const
bool ModifiedAtHasBeenSet() const
const AnomalyDetectorConfiguration & GetConfiguration() const
void SetTags(TagsT &&value)
AnomalyDetectorDescription & WithEvaluationIntervalInSeconds(int value)
bool EvaluationIntervalInSecondsHasBeenSet() const
AnomalyDetectorDescription & WithArn(ArnT &&value)
void SetEvaluationIntervalInSeconds(int value)
int GetEvaluationIntervalInSeconds() const
void SetAlias(AliasT &&value)
bool AnomalyDetectorIdHasBeenSet() const
AnomalyDetectorDescription & WithAnomalyDetectorId(AnomalyDetectorIdT &&value)
bool AliasHasBeenSet() const
const Aws::String & GetAlias() const
AnomalyDetectorDescription & WithAlias(AliasT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetAnomalyDetectorId() const
void SetMissingDataAction(MissingDataActionT &&value)
const Aws::String & GetArn() const
void SetAnomalyDetectorId(AnomalyDetectorIdT &&value)
void SetConfiguration(ConfigurationT &&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
Aws::Utils::Json::JsonValue JsonValue