7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/AnomalyDetectorStatus.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace PrometheusService {
37 template <
typename AnomalyDetectorIdT = Aws::String>
39 m_anomalyDetectorIdHasBeenSet =
true;
40 m_anomalyDetectorId = std::forward<AnomalyDetectorIdT>(value);
42 template <
typename AnomalyDetectorIdT = Aws::String>
54 template <
typename ArnT = Aws::String>
56 m_arnHasBeenSet =
true;
57 m_arn = std::forward<ArnT>(value);
59 template <
typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
71 template <
typename StatusT = AnomalyDetectorStatus>
73 m_statusHasBeenSet =
true;
74 m_status = std::forward<StatusT>(value);
76 template <
typename StatusT = AnomalyDetectorStatus>
88 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
90 m_tagsHasBeenSet =
true;
91 m_tags = std::forward<TagsT>(value);
93 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
95 SetTags(std::forward<TagsT>(value));
98 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
100 m_tagsHasBeenSet =
true;
101 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
109 template <
typename RequestIdT = Aws::String>
111 m_requestIdHasBeenSet =
true;
112 m_requestId = std::forward<RequestIdT>(value);
114 template <
typename RequestIdT = Aws::String>
133 bool m_anomalyDetectorIdHasBeenSet =
false;
134 bool m_arnHasBeenSet =
false;
135 bool m_statusHasBeenSet =
false;
136 bool m_tagsHasBeenSet =
false;
137 bool m_requestIdHasBeenSet =
false;
AWS_PROMETHEUSSERVICE_API PutAnomalyDetectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PROMETHEUSSERVICE_API PutAnomalyDetectorResult()=default
PutAnomalyDetectorResult & WithRequestId(RequestIdT &&value)
PutAnomalyDetectorResult & WithArn(ArnT &&value)
PutAnomalyDetectorResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
PutAnomalyDetectorResult & WithAnomalyDetectorId(AnomalyDetectorIdT &&value)
PutAnomalyDetectorResult & WithStatus(StatusT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetArn() const
AWS_PROMETHEUSSERVICE_API PutAnomalyDetectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetStatus(StatusT &&value)
void SetAnomalyDetectorId(AnomalyDetectorIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const AnomalyDetectorStatus & GetStatus() const
void SetArn(ArnT &&value)
const Aws::String & GetAnomalyDetectorId() const
void SetTags(TagsT &&value)
PutAnomalyDetectorResult & WithTags(TagsT &&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