AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnomalyDetectorSummary.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LookoutMetrics
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_LOOKOUTMETRICS_API AnomalyDetectorSummary();
39 AWS_LOOKOUTMETRICS_API AnomalyDetectorSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAnomalyDetectorArn() const{ return m_anomalyDetectorArn; }
49 inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; }
50 inline void SetAnomalyDetectorArn(const Aws::String& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = value; }
51 inline void SetAnomalyDetectorArn(Aws::String&& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = std::move(value); }
52 inline void SetAnomalyDetectorArn(const char* value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn.assign(value); }
54 inline AnomalyDetectorSummary& WithAnomalyDetectorArn(Aws::String&& value) { SetAnomalyDetectorArn(std::move(value)); return *this;}
55 inline AnomalyDetectorSummary& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;}
57
59
62 inline const Aws::String& GetAnomalyDetectorName() const{ return m_anomalyDetectorName; }
63 inline bool AnomalyDetectorNameHasBeenSet() const { return m_anomalyDetectorNameHasBeenSet; }
64 inline void SetAnomalyDetectorName(const Aws::String& value) { m_anomalyDetectorNameHasBeenSet = true; m_anomalyDetectorName = value; }
65 inline void SetAnomalyDetectorName(Aws::String&& value) { m_anomalyDetectorNameHasBeenSet = true; m_anomalyDetectorName = std::move(value); }
66 inline void SetAnomalyDetectorName(const char* value) { m_anomalyDetectorNameHasBeenSet = true; m_anomalyDetectorName.assign(value); }
68 inline AnomalyDetectorSummary& WithAnomalyDetectorName(Aws::String&& value) { SetAnomalyDetectorName(std::move(value)); return *this;}
69 inline AnomalyDetectorSummary& WithAnomalyDetectorName(const char* value) { SetAnomalyDetectorName(value); return *this;}
71
73
76 inline const Aws::String& GetAnomalyDetectorDescription() const{ return m_anomalyDetectorDescription; }
77 inline bool AnomalyDetectorDescriptionHasBeenSet() const { return m_anomalyDetectorDescriptionHasBeenSet; }
78 inline void SetAnomalyDetectorDescription(const Aws::String& value) { m_anomalyDetectorDescriptionHasBeenSet = true; m_anomalyDetectorDescription = value; }
79 inline void SetAnomalyDetectorDescription(Aws::String&& value) { m_anomalyDetectorDescriptionHasBeenSet = true; m_anomalyDetectorDescription = std::move(value); }
80 inline void SetAnomalyDetectorDescription(const char* value) { m_anomalyDetectorDescriptionHasBeenSet = true; m_anomalyDetectorDescription.assign(value); }
85
87
90 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
91 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
92 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
93 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
94 inline AnomalyDetectorSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
95 inline AnomalyDetectorSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
103 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
104 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; }
105 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); }
109
111
114 inline const AnomalyDetectorStatus& GetStatus() const{ return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 inline void SetStatus(const AnomalyDetectorStatus& value) { m_statusHasBeenSet = true; m_status = value; }
117 inline void SetStatus(AnomalyDetectorStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
118 inline AnomalyDetectorSummary& WithStatus(const AnomalyDetectorStatus& value) { SetStatus(value); return *this;}
119 inline AnomalyDetectorSummary& WithStatus(AnomalyDetectorStatus&& value) { SetStatus(std::move(value)); return *this;}
121
123
127 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
128 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
129 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
130 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
131 inline AnomalyDetectorSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
132 inline AnomalyDetectorSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
133 inline AnomalyDetectorSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
134 inline AnomalyDetectorSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
135 inline AnomalyDetectorSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
136 inline AnomalyDetectorSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
137 inline AnomalyDetectorSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
138 inline AnomalyDetectorSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
139 inline AnomalyDetectorSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
141 private:
142
143 Aws::String m_anomalyDetectorArn;
144 bool m_anomalyDetectorArnHasBeenSet = false;
145
146 Aws::String m_anomalyDetectorName;
147 bool m_anomalyDetectorNameHasBeenSet = false;
148
149 Aws::String m_anomalyDetectorDescription;
150 bool m_anomalyDetectorDescriptionHasBeenSet = false;
151
152 Aws::Utils::DateTime m_creationTime;
153 bool m_creationTimeHasBeenSet = false;
154
155 Aws::Utils::DateTime m_lastModificationTime;
156 bool m_lastModificationTimeHasBeenSet = false;
157
158 AnomalyDetectorStatus m_status;
159 bool m_statusHasBeenSet = false;
160
162 bool m_tagsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace LookoutMetrics
167} // namespace Aws
AnomalyDetectorSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AnomalyDetectorSummary & WithAnomalyDetectorName(Aws::String &&value)
AnomalyDetectorSummary & WithAnomalyDetectorArn(const char *value)
AnomalyDetectorSummary & WithAnomalyDetectorArn(Aws::String &&value)
AnomalyDetectorSummary & AddTags(Aws::String &&key, Aws::String &&value)
AnomalyDetectorSummary & WithAnomalyDetectorDescription(const Aws::String &value)
AnomalyDetectorSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AnomalyDetectorSummary & WithStatus(AnomalyDetectorStatus &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLastModificationTime(const Aws::Utils::DateTime &value)
AnomalyDetectorSummary & WithAnomalyDetectorArn(const Aws::String &value)
AnomalyDetectorSummary & AddTags(const Aws::String &key, const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AnomalyDetectorSummary & WithLastModificationTime(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_LOOKOUTMETRICS_API AnomalyDetectorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalyDetectorSummary & WithCreationTime(Aws::Utils::DateTime &&value)
AnomalyDetectorSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetStatus(const AnomalyDetectorStatus &value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
AnomalyDetectorSummary & WithAnomalyDetectorName(const char *value)
AnomalyDetectorSummary & AddTags(const char *key, const char *value)
AnomalyDetectorSummary & WithAnomalyDetectorDescription(const char *value)
const Aws::Utils::DateTime & GetLastModificationTime() const
AnomalyDetectorSummary & WithLastModificationTime(Aws::Utils::DateTime &&value)
AnomalyDetectorSummary & WithCreationTime(const Aws::Utils::DateTime &value)
AnomalyDetectorSummary & WithAnomalyDetectorDescription(Aws::String &&value)
AnomalyDetectorSummary & WithStatus(const AnomalyDetectorStatus &value)
AWS_LOOKOUTMETRICS_API AnomalyDetectorSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
AnomalyDetectorSummary & AddTags(const char *key, Aws::String &&value)
AnomalyDetectorSummary & WithAnomalyDetectorName(const Aws::String &value)
AnomalyDetectorSummary & AddTags(const Aws::String &key, Aws::String &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
AnomalyDetectorSummary & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &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