AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetricSetSummary.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/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LookoutMetrics
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_LOOKOUTMETRICS_API MetricSetSummary();
37 AWS_LOOKOUTMETRICS_API MetricSetSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTMETRICS_API MetricSetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetMetricSetArn() const{ return m_metricSetArn; }
47 inline bool MetricSetArnHasBeenSet() const { return m_metricSetArnHasBeenSet; }
48 inline void SetMetricSetArn(const Aws::String& value) { m_metricSetArnHasBeenSet = true; m_metricSetArn = value; }
49 inline void SetMetricSetArn(Aws::String&& value) { m_metricSetArnHasBeenSet = true; m_metricSetArn = std::move(value); }
50 inline void SetMetricSetArn(const char* value) { m_metricSetArnHasBeenSet = true; m_metricSetArn.assign(value); }
51 inline MetricSetSummary& WithMetricSetArn(const Aws::String& value) { SetMetricSetArn(value); return *this;}
52 inline MetricSetSummary& WithMetricSetArn(Aws::String&& value) { SetMetricSetArn(std::move(value)); return *this;}
53 inline MetricSetSummary& WithMetricSetArn(const char* value) { SetMetricSetArn(value); return *this;}
55
57
60 inline const Aws::String& GetAnomalyDetectorArn() const{ return m_anomalyDetectorArn; }
61 inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; }
62 inline void SetAnomalyDetectorArn(const Aws::String& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = value; }
63 inline void SetAnomalyDetectorArn(Aws::String&& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = std::move(value); }
64 inline void SetAnomalyDetectorArn(const char* value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn.assign(value); }
65 inline MetricSetSummary& WithAnomalyDetectorArn(const Aws::String& value) { SetAnomalyDetectorArn(value); return *this;}
66 inline MetricSetSummary& WithAnomalyDetectorArn(Aws::String&& value) { SetAnomalyDetectorArn(std::move(value)); return *this;}
67 inline MetricSetSummary& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;}
69
71
74 inline const Aws::String& GetMetricSetDescription() const{ return m_metricSetDescription; }
75 inline bool MetricSetDescriptionHasBeenSet() const { return m_metricSetDescriptionHasBeenSet; }
76 inline void SetMetricSetDescription(const Aws::String& value) { m_metricSetDescriptionHasBeenSet = true; m_metricSetDescription = value; }
77 inline void SetMetricSetDescription(Aws::String&& value) { m_metricSetDescriptionHasBeenSet = true; m_metricSetDescription = std::move(value); }
78 inline void SetMetricSetDescription(const char* value) { m_metricSetDescriptionHasBeenSet = true; m_metricSetDescription.assign(value); }
80 inline MetricSetSummary& WithMetricSetDescription(Aws::String&& value) { SetMetricSetDescription(std::move(value)); return *this;}
81 inline MetricSetSummary& WithMetricSetDescription(const char* value) { SetMetricSetDescription(value); return *this;}
83
85
88 inline const Aws::String& GetMetricSetName() const{ return m_metricSetName; }
89 inline bool MetricSetNameHasBeenSet() const { return m_metricSetNameHasBeenSet; }
90 inline void SetMetricSetName(const Aws::String& value) { m_metricSetNameHasBeenSet = true; m_metricSetName = value; }
91 inline void SetMetricSetName(Aws::String&& value) { m_metricSetNameHasBeenSet = true; m_metricSetName = std::move(value); }
92 inline void SetMetricSetName(const char* value) { m_metricSetNameHasBeenSet = true; m_metricSetName.assign(value); }
93 inline MetricSetSummary& WithMetricSetName(const Aws::String& value) { SetMetricSetName(value); return *this;}
94 inline MetricSetSummary& WithMetricSetName(Aws::String&& value) { SetMetricSetName(std::move(value)); return *this;}
95 inline MetricSetSummary& WithMetricSetName(const char* value) { SetMetricSetName(value); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
103 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
104 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
105 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
106 inline MetricSetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
107 inline MetricSetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
115 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
116 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; }
117 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); }
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 MetricSetSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
132 inline MetricSetSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
133 inline MetricSetSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
134 inline MetricSetSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
135 inline MetricSetSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
136 inline MetricSetSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
137 inline MetricSetSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
138 inline MetricSetSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
139 inline MetricSetSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
141 private:
142
143 Aws::String m_metricSetArn;
144 bool m_metricSetArnHasBeenSet = false;
145
146 Aws::String m_anomalyDetectorArn;
147 bool m_anomalyDetectorArnHasBeenSet = false;
148
149 Aws::String m_metricSetDescription;
150 bool m_metricSetDescriptionHasBeenSet = false;
151
152 Aws::String m_metricSetName;
153 bool m_metricSetNameHasBeenSet = false;
154
155 Aws::Utils::DateTime m_creationTime;
156 bool m_creationTimeHasBeenSet = false;
157
158 Aws::Utils::DateTime m_lastModificationTime;
159 bool m_lastModificationTimeHasBeenSet = false;
160
162 bool m_tagsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace LookoutMetrics
167} // namespace Aws
MetricSetSummary & WithMetricSetArn(const char *value)
MetricSetSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
MetricSetSummary & AddTags(const char *key, Aws::String &&value)
MetricSetSummary & WithLastModificationTime(Aws::Utils::DateTime &&value)
MetricSetSummary & WithMetricSetName(const char *value)
MetricSetSummary & WithMetricSetArn(const Aws::String &value)
MetricSetSummary & AddTags(const Aws::String &key, const Aws::String &value)
MetricSetSummary & AddTags(const char *key, const char *value)
void SetAnomalyDetectorArn(const Aws::String &value)
MetricSetSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_LOOKOUTMETRICS_API MetricSetSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(Aws::Utils::DateTime &&value)
MetricSetSummary & WithMetricSetDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
MetricSetSummary & AddTags(Aws::String &&key, const Aws::String &value)
MetricSetSummary & WithMetricSetName(Aws::String &&value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
void SetMetricSetDescription(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
MetricSetSummary & WithMetricSetArn(Aws::String &&value)
AWS_LOOKOUTMETRICS_API MetricSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMetricSetDescription() const
MetricSetSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
MetricSetSummary & WithMetricSetName(const Aws::String &value)
MetricSetSummary & WithAnomalyDetectorArn(const Aws::String &value)
const Aws::String & GetAnomalyDetectorArn() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetMetricSetName(const Aws::String &value)
MetricSetSummary & WithLastModificationTime(const Aws::Utils::DateTime &value)
MetricSetSummary & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
MetricSetSummary & AddTags(Aws::String &&key, Aws::String &&value)
MetricSetSummary & WithAnomalyDetectorArn(Aws::String &&value)
MetricSetSummary & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetMetricSetDescription(Aws::String &&value)
void SetMetricSetArn(const Aws::String &value)
MetricSetSummary & WithAnomalyDetectorArn(const char *value)
MetricSetSummary & WithMetricSetDescription(const char *value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
MetricSetSummary & WithMetricSetDescription(const Aws::String &value)
MetricSetSummary & WithTags(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