7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/AnomalyDetectorStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace PrometheusService {
44 template <
typename ArnT = Aws::String>
46 m_arnHasBeenSet =
true;
47 m_arn = std::forward<ArnT>(value);
49 template <
typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
62 template <
typename AnomalyDetectorIdT = Aws::String>
64 m_anomalyDetectorIdHasBeenSet =
true;
65 m_anomalyDetectorId = std::forward<AnomalyDetectorIdT>(value);
67 template <
typename AnomalyDetectorIdT = Aws::String>
80 template <
typename AliasT = Aws::String>
82 m_aliasHasBeenSet =
true;
83 m_alias = std::forward<AliasT>(value);
85 template <
typename AliasT = Aws::String>
87 SetAlias(std::forward<AliasT>(value));
98 template <
typename StatusT = AnomalyDetectorStatus>
100 m_statusHasBeenSet =
true;
101 m_status = std::forward<StatusT>(value);
103 template <
typename StatusT = AnomalyDetectorStatus>
116 template <
typename CreatedAtT = Aws::Utils::DateTime>
118 m_createdAtHasBeenSet =
true;
119 m_createdAt = std::forward<CreatedAtT>(value);
121 template <
typename CreatedAtT = Aws::Utils::DateTime>
134 template <
typename ModifiedAtT = Aws::Utils::DateTime>
136 m_modifiedAtHasBeenSet =
true;
137 m_modifiedAt = std::forward<ModifiedAtT>(value);
139 template <
typename ModifiedAtT = Aws::Utils::DateTime>
152 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
154 m_tagsHasBeenSet =
true;
155 m_tags = std::forward<TagsT>(value);
157 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
159 SetTags(std::forward<TagsT>(value));
162 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
164 m_tagsHasBeenSet =
true;
165 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
183 bool m_arnHasBeenSet =
false;
184 bool m_anomalyDetectorIdHasBeenSet =
false;
185 bool m_aliasHasBeenSet =
false;
186 bool m_statusHasBeenSet =
false;
187 bool m_createdAtHasBeenSet =
false;
188 bool m_modifiedAtHasBeenSet =
false;
189 bool m_tagsHasBeenSet =
false;
AWS_PROMETHEUSSERVICE_API AnomalyDetectorSummary()=default
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetModifiedAt() const
AnomalyDetectorSummary & WithCreatedAt(CreatedAtT &&value)
void SetModifiedAt(ModifiedAtT &&value)
AnomalyDetectorSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool TagsHasBeenSet() const
AWS_PROMETHEUSSERVICE_API AnomalyDetectorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetAnomalyDetectorId() const
const AnomalyDetectorStatus & GetStatus() const
bool AnomalyDetectorIdHasBeenSet() const
const Aws::String & GetArn() const
AnomalyDetectorSummary & WithAlias(AliasT &&value)
void SetCreatedAt(CreatedAtT &&value)
AnomalyDetectorSummary & WithAnomalyDetectorId(AnomalyDetectorIdT &&value)
void SetArn(ArnT &&value)
AnomalyDetectorSummary & WithArn(ArnT &&value)
AnomalyDetectorSummary & WithModifiedAt(ModifiedAtT &&value)
void SetAnomalyDetectorId(AnomalyDetectorIdT &&value)
bool AliasHasBeenSet() const
const Aws::String & GetAlias() const
AWS_PROMETHEUSSERVICE_API AnomalyDetectorSummary(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
AnomalyDetectorSummary & WithStatus(StatusT &&value)
AnomalyDetectorSummary & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
bool ModifiedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetAlias(AliasT &&value)
void SetStatus(StatusT &&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