7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lookoutmetrics/model/AnomalyDetectorStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
24namespace LookoutMetrics
50 template<
typename AnomalyDetectorArnT = Aws::String>
51 void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { m_anomalyDetectorArnHasBeenSet =
true; m_anomalyDetectorArn = std::forward<AnomalyDetectorArnT>(value); }
52 template<
typename AnomalyDetectorArnT = Aws::String>
62 template<
typename AnomalyDetectorNameT = Aws::String>
63 void SetAnomalyDetectorName(AnomalyDetectorNameT&& value) { m_anomalyDetectorNameHasBeenSet =
true; m_anomalyDetectorName = std::forward<AnomalyDetectorNameT>(value); }
64 template<
typename AnomalyDetectorNameT = Aws::String>
74 template<
typename AnomalyDetectorDescriptionT = Aws::String>
75 void SetAnomalyDetectorDescription(AnomalyDetectorDescriptionT&& value) { m_anomalyDetectorDescriptionHasBeenSet =
true; m_anomalyDetectorDescription = std::forward<AnomalyDetectorDescriptionT>(value); }
76 template<
typename AnomalyDetectorDescriptionT = Aws::String>
86 template<
typename CreationTimeT = Aws::Utils::DateTime>
87 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
88 template<
typename CreationTimeT = Aws::Utils::DateTime>
98 template<
typename LastModificationTimeT = Aws::Utils::DateTime>
99 void SetLastModificationTime(LastModificationTimeT&& value) { m_lastModificationTimeHasBeenSet =
true; m_lastModificationTime = std::forward<LastModificationTimeT>(value); }
100 template<
typename LastModificationTimeT = Aws::Utils::DateTime>
121 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
122 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
123 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
127 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
133 bool m_anomalyDetectorArnHasBeenSet =
false;
136 bool m_anomalyDetectorNameHasBeenSet =
false;
139 bool m_anomalyDetectorDescriptionHasBeenSet =
false;
142 bool m_creationTimeHasBeenSet =
false;
145 bool m_lastModificationTimeHasBeenSet =
false;
148 bool m_statusHasBeenSet =
false;
151 bool m_tagsHasBeenSet =
false;
AWS_LOOKOUTMETRICS_API AnomalyDetectorSummary()=default
void SetAnomalyDetectorArn(AnomalyDetectorArnT &&value)
AnomalyDetectorSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetAnomalyDetectorName() const
bool AnomalyDetectorNameHasBeenSet() const
void SetAnomalyDetectorDescription(AnomalyDetectorDescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool StatusHasBeenSet() const
AnomalyDetectorSummary & WithStatus(AnomalyDetectorStatus value)
bool AnomalyDetectorDescriptionHasBeenSet() const
AWS_LOOKOUTMETRICS_API AnomalyDetectorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalyDetectorSummary & WithAnomalyDetectorName(AnomalyDetectorNameT &&value)
bool CreationTimeHasBeenSet() const
const Aws::String & GetAnomalyDetectorArn() const
void SetLastModificationTime(LastModificationTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetTags(TagsT &&value)
AnomalyDetectorSummary & WithAnomalyDetectorArn(AnomalyDetectorArnT &&value)
AnomalyDetectorSummary & WithTags(TagsT &&value)
AnomalyDetectorSummary & WithLastModificationTime(LastModificationTimeT &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
void SetStatus(AnomalyDetectorStatus value)
AnomalyDetectorStatus GetStatus() const
AWS_LOOKOUTMETRICS_API AnomalyDetectorSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
AnomalyDetectorSummary & WithAnomalyDetectorDescription(AnomalyDetectorDescriptionT &&value)
const Aws::String & GetAnomalyDetectorDescription() const
bool LastModificationTimeHasBeenSet() const
AnomalyDetectorSummary & WithCreationTime(CreationTimeT &&value)
bool AnomalyDetectorArnHasBeenSet() const
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAnomalyDetectorName(AnomalyDetectorNameT &&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