AWS SDK for C++  1.9.102
AWS SDK for C++
MetricSetSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace LookoutMetrics
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetMetricSetArn() const{ return m_metricSetArn; }
46 
50  inline bool MetricSetArnHasBeenSet() const { return m_metricSetArnHasBeenSet; }
51 
55  inline void SetMetricSetArn(const Aws::String& value) { m_metricSetArnHasBeenSet = true; m_metricSetArn = value; }
56 
60  inline void SetMetricSetArn(Aws::String&& value) { m_metricSetArnHasBeenSet = true; m_metricSetArn = std::move(value); }
61 
65  inline void SetMetricSetArn(const char* value) { m_metricSetArnHasBeenSet = true; m_metricSetArn.assign(value); }
66 
70  inline MetricSetSummary& WithMetricSetArn(const Aws::String& value) { SetMetricSetArn(value); return *this;}
71 
75  inline MetricSetSummary& WithMetricSetArn(Aws::String&& value) { SetMetricSetArn(std::move(value)); return *this;}
76 
80  inline MetricSetSummary& WithMetricSetArn(const char* value) { SetMetricSetArn(value); return *this;}
81 
82 
86  inline const Aws::String& GetAnomalyDetectorArn() const{ return m_anomalyDetectorArn; }
87 
91  inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; }
92 
96  inline void SetAnomalyDetectorArn(const Aws::String& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = value; }
97 
101  inline void SetAnomalyDetectorArn(Aws::String&& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = std::move(value); }
102 
106  inline void SetAnomalyDetectorArn(const char* value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn.assign(value); }
107 
111  inline MetricSetSummary& WithAnomalyDetectorArn(const Aws::String& value) { SetAnomalyDetectorArn(value); return *this;}
112 
116  inline MetricSetSummary& WithAnomalyDetectorArn(Aws::String&& value) { SetAnomalyDetectorArn(std::move(value)); return *this;}
117 
121  inline MetricSetSummary& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;}
122 
123 
127  inline const Aws::String& GetMetricSetDescription() const{ return m_metricSetDescription; }
128 
132  inline bool MetricSetDescriptionHasBeenSet() const { return m_metricSetDescriptionHasBeenSet; }
133 
137  inline void SetMetricSetDescription(const Aws::String& value) { m_metricSetDescriptionHasBeenSet = true; m_metricSetDescription = value; }
138 
142  inline void SetMetricSetDescription(Aws::String&& value) { m_metricSetDescriptionHasBeenSet = true; m_metricSetDescription = std::move(value); }
143 
147  inline void SetMetricSetDescription(const char* value) { m_metricSetDescriptionHasBeenSet = true; m_metricSetDescription.assign(value); }
148 
152  inline MetricSetSummary& WithMetricSetDescription(const Aws::String& value) { SetMetricSetDescription(value); return *this;}
153 
157  inline MetricSetSummary& WithMetricSetDescription(Aws::String&& value) { SetMetricSetDescription(std::move(value)); return *this;}
158 
162  inline MetricSetSummary& WithMetricSetDescription(const char* value) { SetMetricSetDescription(value); return *this;}
163 
164 
168  inline const Aws::String& GetMetricSetName() const{ return m_metricSetName; }
169 
173  inline bool MetricSetNameHasBeenSet() const { return m_metricSetNameHasBeenSet; }
174 
178  inline void SetMetricSetName(const Aws::String& value) { m_metricSetNameHasBeenSet = true; m_metricSetName = value; }
179 
183  inline void SetMetricSetName(Aws::String&& value) { m_metricSetNameHasBeenSet = true; m_metricSetName = std::move(value); }
184 
188  inline void SetMetricSetName(const char* value) { m_metricSetNameHasBeenSet = true; m_metricSetName.assign(value); }
189 
193  inline MetricSetSummary& WithMetricSetName(const Aws::String& value) { SetMetricSetName(value); return *this;}
194 
198  inline MetricSetSummary& WithMetricSetName(Aws::String&& value) { SetMetricSetName(std::move(value)); return *this;}
199 
203  inline MetricSetSummary& WithMetricSetName(const char* value) { SetMetricSetName(value); return *this;}
204 
205 
209  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
210 
214  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
215 
219  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
220 
224  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
225 
229  inline MetricSetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
230 
234  inline MetricSetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
235 
236 
240  inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
241 
245  inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
246 
250  inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; }
251 
255  inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); }
256 
260  inline MetricSetSummary& WithLastModificationTime(const Aws::Utils::DateTime& value) { SetLastModificationTime(value); return *this;}
261 
265  inline MetricSetSummary& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(std::move(value)); return *this;}
266 
267 
272  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
273 
278  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
279 
284  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
285 
290  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
291 
296  inline MetricSetSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
297 
302  inline MetricSetSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
303 
308  inline MetricSetSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
309 
314  inline MetricSetSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
315 
320  inline MetricSetSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
321 
326  inline MetricSetSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
327 
332  inline MetricSetSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
333 
338  inline MetricSetSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
339 
344  inline MetricSetSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
345 
346  private:
347 
348  Aws::String m_metricSetArn;
349  bool m_metricSetArnHasBeenSet;
350 
351  Aws::String m_anomalyDetectorArn;
352  bool m_anomalyDetectorArnHasBeenSet;
353 
354  Aws::String m_metricSetDescription;
355  bool m_metricSetDescriptionHasBeenSet;
356 
357  Aws::String m_metricSetName;
358  bool m_metricSetNameHasBeenSet;
359 
360  Aws::Utils::DateTime m_creationTime;
361  bool m_creationTimeHasBeenSet;
362 
363  Aws::Utils::DateTime m_lastModificationTime;
364  bool m_lastModificationTimeHasBeenSet;
365 
367  bool m_tagsHasBeenSet;
368  };
369 
370 } // namespace Model
371 } // namespace LookoutMetrics
372 } // namespace Aws
Aws::LookoutMetrics::Model::MetricSetSummary::GetMetricSetDescription
const Aws::String & GetMetricSetDescription() const
Definition: MetricSetSummary.h:127
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::LookoutMetrics::Model::MetricSetSummary::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: MetricSetSummary.h:290
Aws::LookoutMetrics::Model::MetricSetSummary::WithTags
MetricSetSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: MetricSetSummary.h:302
Aws::LookoutMetrics::Model::MetricSetSummary::WithAnomalyDetectorArn
MetricSetSummary & WithAnomalyDetectorArn(Aws::String &&value)
Definition: MetricSetSummary.h:116
Aws::LookoutMetrics::Model::MetricSetSummary::GetAnomalyDetectorArn
const Aws::String & GetAnomalyDetectorArn() const
Definition: MetricSetSummary.h:86
Aws::LookoutMetrics::Model::MetricSetSummary::AddTags
MetricSetSummary & AddTags(const char *key, Aws::String &&value)
Definition: MetricSetSummary.h:332
AWS_LOOKOUTMETRICS_API
#define AWS_LOOKOUTMETRICS_API
Definition: LookoutMetrics_EXPORTS.h:28
Aws::LookoutMetrics::Model::MetricSetSummary::WithMetricSetName
MetricSetSummary & WithMetricSetName(const char *value)
Definition: MetricSetSummary.h:203
Aws::LookoutMetrics::Model::MetricSetSummary::GetMetricSetArn
const Aws::String & GetMetricSetArn() const
Definition: MetricSetSummary.h:45
Aws::LookoutMetrics::Model::MetricSetSummary::AnomalyDetectorArnHasBeenSet
bool AnomalyDetectorArnHasBeenSet() const
Definition: MetricSetSummary.h:91
Aws::LookoutMetrics::Model::MetricSetSummary::SetMetricSetDescription
void SetMetricSetDescription(Aws::String &&value)
Definition: MetricSetSummary.h:142
Aws::LookoutMetrics::Model::MetricSetSummary::LastModificationTimeHasBeenSet
bool LastModificationTimeHasBeenSet() const
Definition: MetricSetSummary.h:245
Aws::LookoutMetrics::Model::MetricSetSummary::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: MetricSetSummary.h:284
Aws::LookoutMetrics::Model::MetricSetSummary::SetMetricSetDescription
void SetMetricSetDescription(const Aws::String &value)
Definition: MetricSetSummary.h:137
Aws::LookoutMetrics::Model::MetricSetSummary::WithMetricSetDescription
MetricSetSummary & WithMetricSetDescription(Aws::String &&value)
Definition: MetricSetSummary.h:157
DateTime.h
Aws::LookoutMetrics::Model::MetricSetSummary::SetAnomalyDetectorArn
void SetAnomalyDetectorArn(const char *value)
Definition: MetricSetSummary.h:106
Aws::LookoutMetrics::Model::MetricSetSummary::AddTags
MetricSetSummary & AddTags(const Aws::String &key, const Aws::String &value)
Definition: MetricSetSummary.h:308
Aws::LookoutMetrics::Model::MetricSetSummary::WithMetricSetName
MetricSetSummary & WithMetricSetName(Aws::String &&value)
Definition: MetricSetSummary.h:198
Aws::LookoutMetrics::Model::MetricSetSummary::AddTags
MetricSetSummary & AddTags(Aws::String &&key, const char *value)
Definition: MetricSetSummary.h:338
Aws::LookoutMetrics::Model::MetricSetSummary::WithMetricSetArn
MetricSetSummary & WithMetricSetArn(Aws::String &&value)
Definition: MetricSetSummary.h:75
Aws::LookoutMetrics::Model::MetricSetSummary::WithLastModificationTime
MetricSetSummary & WithLastModificationTime(const Aws::Utils::DateTime &value)
Definition: MetricSetSummary.h:260
Aws::LookoutMetrics::Model::MetricSetSummary::AddTags
MetricSetSummary & AddTags(const char *key, const char *value)
Definition: MetricSetSummary.h:344
Aws::LookoutMetrics::Model::MetricSetSummary::AddTags
MetricSetSummary & AddTags(Aws::String &&key, Aws::String &&value)
Definition: MetricSetSummary.h:326
Aws::LookoutMetrics::Model::MetricSetSummary::WithCreationTime
MetricSetSummary & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: MetricSetSummary.h:234
Aws::LookoutMetrics::Model::MetricSetSummary::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: MetricSetSummary.h:224
Aws::LookoutMetrics::Model::MetricSetSummary::WithMetricSetDescription
MetricSetSummary & WithMetricSetDescription(const Aws::String &value)
Definition: MetricSetSummary.h:152
Aws::LookoutMetrics::Model::MetricSetSummary::SetMetricSetDescription
void SetMetricSetDescription(const char *value)
Definition: MetricSetSummary.h:147
Aws::LookoutMetrics::Model::MetricSetSummary::WithMetricSetDescription
MetricSetSummary & WithMetricSetDescription(const char *value)
Definition: MetricSetSummary.h:162
Aws::LookoutMetrics::Model::MetricSetSummary::MetricSetArnHasBeenSet
bool MetricSetArnHasBeenSet() const
Definition: MetricSetSummary.h:50
Aws::LookoutMetrics::Model::MetricSetSummary::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: MetricSetSummary.h:278
Aws::LookoutMetrics::Model::MetricSetSummary::SetMetricSetArn
void SetMetricSetArn(const Aws::String &value)
Definition: MetricSetSummary.h:55
Aws::LookoutMetrics::Model::MetricSetSummary::MetricSetSummary
MetricSetSummary()
Aws::LookoutMetrics::Model::MetricSetSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::LookoutMetrics::Model::MetricSetSummary::operator=
MetricSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutMetrics::Model::MetricSetSummary::MetricSetDescriptionHasBeenSet
bool MetricSetDescriptionHasBeenSet() const
Definition: MetricSetSummary.h:132
Aws::LookoutMetrics::Model::MetricSetSummary::GetLastModificationTime
const Aws::Utils::DateTime & GetLastModificationTime() const
Definition: MetricSetSummary.h:240
LookoutMetrics_EXPORTS.h
Aws::LookoutMetrics::Model::MetricSetSummary
Definition: MetricSetSummary.h:34
Aws::LookoutMetrics::Model::MetricSetSummary::SetMetricSetName
void SetMetricSetName(Aws::String &&value)
Definition: MetricSetSummary.h:183
Aws::LookoutMetrics::Model::MetricSetSummary::SetMetricSetName
void SetMetricSetName(const Aws::String &value)
Definition: MetricSetSummary.h:178
Aws::LookoutMetrics::Model::MetricSetSummary::WithAnomalyDetectorArn
MetricSetSummary & WithAnomalyDetectorArn(const Aws::String &value)
Definition: MetricSetSummary.h:111
Aws::LookoutMetrics::Model::MetricSetSummary::SetLastModificationTime
void SetLastModificationTime(const Aws::Utils::DateTime &value)
Definition: MetricSetSummary.h:250
Aws::LookoutMetrics::Model::MetricSetSummary::SetMetricSetArn
void SetMetricSetArn(Aws::String &&value)
Definition: MetricSetSummary.h:60
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LookoutMetrics::Model::MetricSetSummary::SetAnomalyDetectorArn
void SetAnomalyDetectorArn(Aws::String &&value)
Definition: MetricSetSummary.h:101
Aws::LookoutMetrics::Model::MetricSetSummary::WithTags
MetricSetSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: MetricSetSummary.h:296
Aws::LookoutMetrics::Model::MetricSetSummary::WithMetricSetName
MetricSetSummary & WithMetricSetName(const Aws::String &value)
Definition: MetricSetSummary.h:193
Aws::LookoutMetrics::Model::MetricSetSummary::GetMetricSetName
const Aws::String & GetMetricSetName() const
Definition: MetricSetSummary.h:168
Aws::LookoutMetrics::Model::MetricSetSummary::MetricSetSummary
MetricSetSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutMetrics::Model::MetricSetSummary::WithLastModificationTime
MetricSetSummary & WithLastModificationTime(Aws::Utils::DateTime &&value)
Definition: MetricSetSummary.h:265
Aws::LookoutMetrics::Model::MetricSetSummary::WithMetricSetArn
MetricSetSummary & WithMetricSetArn(const Aws::String &value)
Definition: MetricSetSummary.h:70
Aws::LookoutMetrics::Model::MetricSetSummary::WithCreationTime
MetricSetSummary & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: MetricSetSummary.h:229
Aws::LookoutMetrics::Model::MetricSetSummary::SetMetricSetArn
void SetMetricSetArn(const char *value)
Definition: MetricSetSummary.h:65
Aws::LookoutMetrics::Model::MetricSetSummary::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: MetricSetSummary.h:214
Aws::LookoutMetrics::Model::MetricSetSummary::AddTags
MetricSetSummary & AddTags(const Aws::String &key, Aws::String &&value)
Definition: MetricSetSummary.h:320
Aws::LookoutMetrics::Model::MetricSetSummary::WithMetricSetArn
MetricSetSummary & WithMetricSetArn(const char *value)
Definition: MetricSetSummary.h:80
Aws::LookoutMetrics::Model::MetricSetSummary::WithAnomalyDetectorArn
MetricSetSummary & WithAnomalyDetectorArn(const char *value)
Definition: MetricSetSummary.h:121
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutMetrics::Model::MetricSetSummary::MetricSetNameHasBeenSet
bool MetricSetNameHasBeenSet() const
Definition: MetricSetSummary.h:173
Aws::LookoutMetrics::Model::MetricSetSummary::AddTags
MetricSetSummary & AddTags(Aws::String &&key, const Aws::String &value)
Definition: MetricSetSummary.h:314
Aws::LookoutMetrics::Model::MetricSetSummary::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: MetricSetSummary.h:209
Aws::LookoutMetrics::Model::MetricSetSummary::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: MetricSetSummary.h:219
Aws::LookoutMetrics::Model::MetricSetSummary::SetMetricSetName
void SetMetricSetName(const char *value)
Definition: MetricSetSummary.h:188
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LookoutMetrics::Model::MetricSetSummary::SetAnomalyDetectorArn
void SetAnomalyDetectorArn(const Aws::String &value)
Definition: MetricSetSummary.h:96
Aws::LookoutMetrics::Model::MetricSetSummary::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: MetricSetSummary.h:272
AWSMap.h
Aws::LookoutMetrics::Model::MetricSetSummary::SetLastModificationTime
void SetLastModificationTime(Aws::Utils::DateTime &&value)
Definition: MetricSetSummary.h:255
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19