7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutmetrics/model/AnomalyDetectorConfigSummary.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/lookoutmetrics/model/AnomalyDetectorStatus.h>
12#include <aws/lookoutmetrics/model/AnomalyDetectorFailureType.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
27namespace LookoutMetrics
44 template<
typename AnomalyDetectorArnT = Aws::String>
45 void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { m_anomalyDetectorArnHasBeenSet =
true; m_anomalyDetectorArn = std::forward<AnomalyDetectorArnT>(value); }
46 template<
typename AnomalyDetectorArnT = Aws::String>
55 template<
typename AnomalyDetectorNameT = Aws::String>
56 void SetAnomalyDetectorName(AnomalyDetectorNameT&& value) { m_anomalyDetectorNameHasBeenSet =
true; m_anomalyDetectorName = std::forward<AnomalyDetectorNameT>(value); }
57 template<
typename AnomalyDetectorNameT = Aws::String>
66 template<
typename AnomalyDetectorDescriptionT = Aws::String>
67 void SetAnomalyDetectorDescription(AnomalyDetectorDescriptionT&& value) { m_anomalyDetectorDescriptionHasBeenSet =
true; m_anomalyDetectorDescription = std::forward<AnomalyDetectorDescriptionT>(value); }
68 template<
typename AnomalyDetectorDescriptionT = Aws::String>
77 template<
typename AnomalyDetectorConfigT = AnomalyDetectorConfigSummary>
78 void SetAnomalyDetectorConfig(AnomalyDetectorConfigT&& value) { m_anomalyDetectorConfigHasBeenSet =
true; m_anomalyDetectorConfig = std::forward<AnomalyDetectorConfigT>(value); }
79 template<
typename AnomalyDetectorConfigT = AnomalyDetectorConfigSummary>
88 template<
typename CreationTimeT = Aws::Utils::DateTime>
89 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
90 template<
typename CreationTimeT = Aws::Utils::DateTime>
99 template<
typename LastModificationTimeT = Aws::Utils::DateTime>
100 void SetLastModificationTime(LastModificationTimeT&& value) { m_lastModificationTimeHasBeenSet =
true; m_lastModificationTime = std::forward<LastModificationTimeT>(value); }
101 template<
typename LastModificationTimeT = Aws::Utils::DateTime>
119 template<
typename FailureReasonT = Aws::String>
120 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
121 template<
typename FailureReasonT = Aws::String>
130 template<
typename KmsKeyArnT = Aws::String>
131 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
132 template<
typename KmsKeyArnT = Aws::String>
148 template<
typename RequestIdT = Aws::String>
149 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
150 template<
typename RequestIdT = Aws::String>
156 bool m_anomalyDetectorArnHasBeenSet =
false;
159 bool m_anomalyDetectorNameHasBeenSet =
false;
162 bool m_anomalyDetectorDescriptionHasBeenSet =
false;
165 bool m_anomalyDetectorConfigHasBeenSet =
false;
168 bool m_creationTimeHasBeenSet =
false;
171 bool m_lastModificationTimeHasBeenSet =
false;
174 bool m_statusHasBeenSet =
false;
177 bool m_failureReasonHasBeenSet =
false;
180 bool m_kmsKeyArnHasBeenSet =
false;
183 bool m_failureTypeHasBeenSet =
false;
186 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetFailureReason() const
const Aws::String & GetRequestId() const
AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAnomalyDetectorResult & WithStatus(AnomalyDetectorStatus value)
const Aws::Utils::DateTime & GetLastModificationTime() const
AnomalyDetectorFailureType GetFailureType() const
void SetKmsKeyArn(KmsKeyArnT &&value)
const AnomalyDetectorConfigSummary & GetAnomalyDetectorConfig() const
void SetAnomalyDetectorArn(AnomalyDetectorArnT &&value)
DescribeAnomalyDetectorResult & WithFailureReason(FailureReasonT &&value)
DescribeAnomalyDetectorResult & WithKmsKeyArn(KmsKeyArnT &&value)
void SetStatus(AnomalyDetectorStatus value)
void SetFailureType(AnomalyDetectorFailureType value)
const Aws::String & GetAnomalyDetectorArn() const
void SetFailureReason(FailureReasonT &&value)
void SetLastModificationTime(LastModificationTimeT &&value)
void SetAnomalyDetectorConfig(AnomalyDetectorConfigT &&value)
void SetAnomalyDetectorName(AnomalyDetectorNameT &&value)
void SetRequestId(RequestIdT &&value)
AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectorResult()=default
DescribeAnomalyDetectorResult & WithAnomalyDetectorName(AnomalyDetectorNameT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeAnomalyDetectorResult & WithAnomalyDetectorConfig(AnomalyDetectorConfigT &&value)
DescribeAnomalyDetectorResult & WithAnomalyDetectorArn(AnomalyDetectorArnT &&value)
AnomalyDetectorStatus GetStatus() const
void SetAnomalyDetectorDescription(AnomalyDetectorDescriptionT &&value)
const Aws::String & GetAnomalyDetectorName() const
AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetAnomalyDetectorDescription() const
DescribeAnomalyDetectorResult & WithFailureType(AnomalyDetectorFailureType value)
DescribeAnomalyDetectorResult & WithAnomalyDetectorDescription(AnomalyDetectorDescriptionT &&value)
const Aws::String & GetKmsKeyArn() const
DescribeAnomalyDetectorResult & WithRequestId(RequestIdT &&value)
DescribeAnomalyDetectorResult & WithCreationTime(CreationTimeT &&value)
DescribeAnomalyDetectorResult & WithLastModificationTime(LastModificationTimeT &&value)
AnomalyDetectorFailureType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue