AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAnomalyDetectorResult.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace LookoutMetrics
28{
29namespace Model
30{
32 {
33 public:
34 AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectorResult();
37
38
40
43 inline const Aws::String& GetAnomalyDetectorArn() const{ return m_anomalyDetectorArn; }
44 inline void SetAnomalyDetectorArn(const Aws::String& value) { m_anomalyDetectorArn = value; }
45 inline void SetAnomalyDetectorArn(Aws::String&& value) { m_anomalyDetectorArn = std::move(value); }
46 inline void SetAnomalyDetectorArn(const char* value) { m_anomalyDetectorArn.assign(value); }
49 inline DescribeAnomalyDetectorResult& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;}
51
53
56 inline const Aws::String& GetAnomalyDetectorName() const{ return m_anomalyDetectorName; }
57 inline void SetAnomalyDetectorName(const Aws::String& value) { m_anomalyDetectorName = value; }
58 inline void SetAnomalyDetectorName(Aws::String&& value) { m_anomalyDetectorName = std::move(value); }
59 inline void SetAnomalyDetectorName(const char* value) { m_anomalyDetectorName.assign(value); }
62 inline DescribeAnomalyDetectorResult& WithAnomalyDetectorName(const char* value) { SetAnomalyDetectorName(value); return *this;}
64
66
69 inline const Aws::String& GetAnomalyDetectorDescription() const{ return m_anomalyDetectorDescription; }
70 inline void SetAnomalyDetectorDescription(const Aws::String& value) { m_anomalyDetectorDescription = value; }
71 inline void SetAnomalyDetectorDescription(Aws::String&& value) { m_anomalyDetectorDescription = std::move(value); }
72 inline void SetAnomalyDetectorDescription(const char* value) { m_anomalyDetectorDescription.assign(value); }
77
79
82 inline const AnomalyDetectorConfigSummary& GetAnomalyDetectorConfig() const{ return m_anomalyDetectorConfig; }
83 inline void SetAnomalyDetectorConfig(const AnomalyDetectorConfigSummary& value) { m_anomalyDetectorConfig = value; }
84 inline void SetAnomalyDetectorConfig(AnomalyDetectorConfigSummary&& value) { m_anomalyDetectorConfig = std::move(value); }
88
90
93 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
94 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
95 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
97 inline DescribeAnomalyDetectorResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
105 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; }
106 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTime = std::move(value); }
110
112
115 inline const AnomalyDetectorStatus& GetStatus() const{ return m_status; }
116 inline void SetStatus(const AnomalyDetectorStatus& value) { m_status = value; }
117 inline void SetStatus(AnomalyDetectorStatus&& value) { m_status = std::move(value); }
118 inline DescribeAnomalyDetectorResult& WithStatus(const AnomalyDetectorStatus& value) { SetStatus(value); return *this;}
119 inline DescribeAnomalyDetectorResult& WithStatus(AnomalyDetectorStatus&& value) { SetStatus(std::move(value)); return *this;}
121
123
126 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
127 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
128 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
129 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
131 inline DescribeAnomalyDetectorResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
132 inline DescribeAnomalyDetectorResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
134
136
139 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
140 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArn = value; }
141 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArn = std::move(value); }
142 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArn.assign(value); }
143 inline DescribeAnomalyDetectorResult& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
144 inline DescribeAnomalyDetectorResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
145 inline DescribeAnomalyDetectorResult& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
147
149
152 inline const AnomalyDetectorFailureType& GetFailureType() const{ return m_failureType; }
153 inline void SetFailureType(const AnomalyDetectorFailureType& value) { m_failureType = value; }
154 inline void SetFailureType(AnomalyDetectorFailureType&& value) { m_failureType = std::move(value); }
158
160
161 inline const Aws::String& GetRequestId() const{ return m_requestId; }
162 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
163 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
164 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
165 inline DescribeAnomalyDetectorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
166 inline DescribeAnomalyDetectorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
167 inline DescribeAnomalyDetectorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
169 private:
170
171 Aws::String m_anomalyDetectorArn;
172
173 Aws::String m_anomalyDetectorName;
174
175 Aws::String m_anomalyDetectorDescription;
176
177 AnomalyDetectorConfigSummary m_anomalyDetectorConfig;
178
179 Aws::Utils::DateTime m_creationTime;
180
181 Aws::Utils::DateTime m_lastModificationTime;
182
183 AnomalyDetectorStatus m_status;
184
185 Aws::String m_failureReason;
186
187 Aws::String m_kmsKeyArn;
188
189 AnomalyDetectorFailureType m_failureType;
190
191 Aws::String m_requestId;
192 };
193
194} // namespace Model
195} // namespace LookoutMetrics
196} // namespace Aws
AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAnomalyDetectorResult & WithKmsKeyArn(const Aws::String &value)
DescribeAnomalyDetectorResult & WithLastModificationTime(Aws::Utils::DateTime &&value)
DescribeAnomalyDetectorResult & WithAnomalyDetectorArn(Aws::String &&value)
DescribeAnomalyDetectorResult & WithAnomalyDetectorConfig(AnomalyDetectorConfigSummary &&value)
DescribeAnomalyDetectorResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeAnomalyDetectorResult & WithFailureReason(Aws::String &&value)
DescribeAnomalyDetectorResult & WithRequestId(const Aws::String &value)
const AnomalyDetectorConfigSummary & GetAnomalyDetectorConfig() const
DescribeAnomalyDetectorResult & WithAnomalyDetectorName(Aws::String &&value)
DescribeAnomalyDetectorResult & WithStatus(AnomalyDetectorStatus &&value)
DescribeAnomalyDetectorResult & WithFailureType(const AnomalyDetectorFailureType &value)
DescribeAnomalyDetectorResult & WithFailureType(AnomalyDetectorFailureType &&value)
void SetAnomalyDetectorConfig(const AnomalyDetectorConfigSummary &value)
DescribeAnomalyDetectorResult & WithAnomalyDetectorName(const Aws::String &value)
DescribeAnomalyDetectorResult & WithAnomalyDetectorArn(const char *value)
DescribeAnomalyDetectorResult & WithAnomalyDetectorDescription(const Aws::String &value)
DescribeAnomalyDetectorResult & WithAnomalyDetectorName(const char *value)
DescribeAnomalyDetectorResult & WithFailureReason(const char *value)
DescribeAnomalyDetectorResult & WithLastModificationTime(const Aws::Utils::DateTime &value)
DescribeAnomalyDetectorResult & WithRequestId(Aws::String &&value)
DescribeAnomalyDetectorResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeAnomalyDetectorResult & WithAnomalyDetectorDescription(const char *value)
DescribeAnomalyDetectorResult & WithKmsKeyArn(Aws::String &&value)
DescribeAnomalyDetectorResult & WithAnomalyDetectorArn(const Aws::String &value)
DescribeAnomalyDetectorResult & WithAnomalyDetectorConfig(const AnomalyDetectorConfigSummary &value)
DescribeAnomalyDetectorResult & WithFailureReason(const Aws::String &value)
DescribeAnomalyDetectorResult & WithAnomalyDetectorDescription(Aws::String &&value)
AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAnomalyDetectorResult & WithStatus(const AnomalyDetectorStatus &value)
void SetAnomalyDetectorConfig(AnomalyDetectorConfigSummary &&value)
DescribeAnomalyDetectorResult & WithKmsKeyArn(const char *value)
DescribeAnomalyDetectorResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue