/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LookoutMetrics { namespace Model { /** *

Contains information about a dataset.

See Also:

AWS * API Reference

*/ class MetricSetSummary { public: AWS_LOOKOUTMETRICS_API MetricSetSummary(); AWS_LOOKOUTMETRICS_API MetricSetSummary(Aws::Utils::Json::JsonView jsonValue); AWS_LOOKOUTMETRICS_API MetricSetSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ARN of the dataset.

*/ inline const Aws::String& GetMetricSetArn() const{ return m_metricSetArn; } /** *

The ARN of the dataset.

*/ inline bool MetricSetArnHasBeenSet() const { return m_metricSetArnHasBeenSet; } /** *

The ARN of the dataset.

*/ inline void SetMetricSetArn(const Aws::String& value) { m_metricSetArnHasBeenSet = true; m_metricSetArn = value; } /** *

The ARN of the dataset.

*/ inline void SetMetricSetArn(Aws::String&& value) { m_metricSetArnHasBeenSet = true; m_metricSetArn = std::move(value); } /** *

The ARN of the dataset.

*/ inline void SetMetricSetArn(const char* value) { m_metricSetArnHasBeenSet = true; m_metricSetArn.assign(value); } /** *

The ARN of the dataset.

*/ inline MetricSetSummary& WithMetricSetArn(const Aws::String& value) { SetMetricSetArn(value); return *this;} /** *

The ARN of the dataset.

*/ inline MetricSetSummary& WithMetricSetArn(Aws::String&& value) { SetMetricSetArn(std::move(value)); return *this;} /** *

The ARN of the dataset.

*/ inline MetricSetSummary& WithMetricSetArn(const char* value) { SetMetricSetArn(value); return *this;} /** *

The ARN of the detector to which the dataset belongs.

*/ inline const Aws::String& GetAnomalyDetectorArn() const{ return m_anomalyDetectorArn; } /** *

The ARN of the detector to which the dataset belongs.

*/ inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } /** *

The ARN of the detector to which the dataset belongs.

*/ inline void SetAnomalyDetectorArn(const Aws::String& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = value; } /** *

The ARN of the detector to which the dataset belongs.

*/ inline void SetAnomalyDetectorArn(Aws::String&& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = std::move(value); } /** *

The ARN of the detector to which the dataset belongs.

*/ inline void SetAnomalyDetectorArn(const char* value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn.assign(value); } /** *

The ARN of the detector to which the dataset belongs.

*/ inline MetricSetSummary& WithAnomalyDetectorArn(const Aws::String& value) { SetAnomalyDetectorArn(value); return *this;} /** *

The ARN of the detector to which the dataset belongs.

*/ inline MetricSetSummary& WithAnomalyDetectorArn(Aws::String&& value) { SetAnomalyDetectorArn(std::move(value)); return *this;} /** *

The ARN of the detector to which the dataset belongs.

*/ inline MetricSetSummary& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;} /** *

The description of the dataset.

*/ inline const Aws::String& GetMetricSetDescription() const{ return m_metricSetDescription; } /** *

The description of the dataset.

*/ inline bool MetricSetDescriptionHasBeenSet() const { return m_metricSetDescriptionHasBeenSet; } /** *

The description of the dataset.

*/ inline void SetMetricSetDescription(const Aws::String& value) { m_metricSetDescriptionHasBeenSet = true; m_metricSetDescription = value; } /** *

The description of the dataset.

*/ inline void SetMetricSetDescription(Aws::String&& value) { m_metricSetDescriptionHasBeenSet = true; m_metricSetDescription = std::move(value); } /** *

The description of the dataset.

*/ inline void SetMetricSetDescription(const char* value) { m_metricSetDescriptionHasBeenSet = true; m_metricSetDescription.assign(value); } /** *

The description of the dataset.

*/ inline MetricSetSummary& WithMetricSetDescription(const Aws::String& value) { SetMetricSetDescription(value); return *this;} /** *

The description of the dataset.

*/ inline MetricSetSummary& WithMetricSetDescription(Aws::String&& value) { SetMetricSetDescription(std::move(value)); return *this;} /** *

The description of the dataset.

*/ inline MetricSetSummary& WithMetricSetDescription(const char* value) { SetMetricSetDescription(value); return *this;} /** *

The name of the dataset.

*/ inline const Aws::String& GetMetricSetName() const{ return m_metricSetName; } /** *

The name of the dataset.

*/ inline bool MetricSetNameHasBeenSet() const { return m_metricSetNameHasBeenSet; } /** *

The name of the dataset.

*/ inline void SetMetricSetName(const Aws::String& value) { m_metricSetNameHasBeenSet = true; m_metricSetName = value; } /** *

The name of the dataset.

*/ inline void SetMetricSetName(Aws::String&& value) { m_metricSetNameHasBeenSet = true; m_metricSetName = std::move(value); } /** *

The name of the dataset.

*/ inline void SetMetricSetName(const char* value) { m_metricSetNameHasBeenSet = true; m_metricSetName.assign(value); } /** *

The name of the dataset.

*/ inline MetricSetSummary& WithMetricSetName(const Aws::String& value) { SetMetricSetName(value); return *this;} /** *

The name of the dataset.

*/ inline MetricSetSummary& WithMetricSetName(Aws::String&& value) { SetMetricSetName(std::move(value)); return *this;} /** *

The name of the dataset.

*/ inline MetricSetSummary& WithMetricSetName(const char* value) { SetMetricSetName(value); return *this;} /** *

The time at which the dataset was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time at which the dataset was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The time at which the dataset was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The time at which the dataset was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The time at which the dataset was created.

*/ inline MetricSetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time at which the dataset was created.

*/ inline MetricSetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The time at which the dataset was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; } /** *

The time at which the dataset was last modified.

*/ inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; } /** *

The time at which the dataset was last modified.

*/ inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; } /** *

The time at which the dataset was last modified.

*/ inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); } /** *

The time at which the dataset was last modified.

*/ inline MetricSetSummary& WithLastModificationTime(const Aws::Utils::DateTime& value) { SetLastModificationTime(value); return *this;} /** *

The time at which the dataset was last modified.

*/ inline MetricSetSummary& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(std::move(value)); return *this;} /** *

The dataset's tags.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The dataset's tags.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The dataset's tags.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The dataset's tags.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The dataset's tags.

*/ inline MetricSetSummary& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The dataset's tags.

*/ inline MetricSetSummary& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The dataset's tags.

*/ inline MetricSetSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The dataset's tags.

*/ inline MetricSetSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The dataset's tags.

*/ inline MetricSetSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The dataset's tags.

*/ inline MetricSetSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The dataset's tags.

*/ inline MetricSetSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The dataset's tags.

*/ inline MetricSetSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The dataset's tags.

*/ inline MetricSetSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_metricSetArn; bool m_metricSetArnHasBeenSet = false; Aws::String m_anomalyDetectorArn; bool m_anomalyDetectorArnHasBeenSet = false; Aws::String m_metricSetDescription; bool m_metricSetDescriptionHasBeenSet = false; Aws::String m_metricSetName; bool m_metricSetNameHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModificationTime; bool m_lastModificationTimeHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws