/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LookoutMetrics { namespace Model { class DescribeMetricSetResult { public: AWS_LOOKOUTMETRICS_API DescribeMetricSetResult(); AWS_LOOKOUTMETRICS_API DescribeMetricSetResult(const Aws::AmazonWebServiceResult& result); AWS_LOOKOUTMETRICS_API DescribeMetricSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the dataset.

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

The ARN of the dataset.

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

The ARN of the dataset.

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

The ARN of the dataset.

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

The ARN of the dataset.

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

The ARN of the dataset.

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

The ARN of the dataset.

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

The ARN of the detector that contains the dataset.

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

The ARN of the detector that contains the dataset.

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

The ARN of the detector that contains the dataset.

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

The ARN of the detector that contains the dataset.

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

The ARN of the detector that contains the dataset.

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

The ARN of the detector that contains the dataset.

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

The ARN of the detector that contains the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The dataset's description.

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

The dataset's description.

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

The dataset's description.

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

The dataset's description.

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

The dataset's description.

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

The dataset's description.

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

The dataset's description.

*/ inline DescribeMetricSetResult& WithMetricSetDescription(const char* value) { SetMetricSetDescription(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 void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The time at which the dataset was created.

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

The time at which the dataset was created.

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

The time at which the dataset was created.

*/ inline DescribeMetricSetResult& 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 void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; } /** *

The time at which the dataset was last modified.

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

The time at which the dataset was last modified.

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

The time at which the dataset was last modified.

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

After an interval ends, the amount of seconds that the detector waits before * importing data. Offset is only supported for S3, Redshift, Athena and * datasources.

*/ inline int GetOffset() const{ return m_offset; } /** *

After an interval ends, the amount of seconds that the detector waits before * importing data. Offset is only supported for S3, Redshift, Athena and * datasources.

*/ inline void SetOffset(int value) { m_offset = value; } /** *

After an interval ends, the amount of seconds that the detector waits before * importing data. Offset is only supported for S3, Redshift, Athena and * datasources.

*/ inline DescribeMetricSetResult& WithOffset(int value) { SetOffset(value); return *this;} /** *

A list of the metrics defined by the dataset.

*/ inline const Aws::Vector& GetMetricList() const{ return m_metricList; } /** *

A list of the metrics defined by the dataset.

*/ inline void SetMetricList(const Aws::Vector& value) { m_metricList = value; } /** *

A list of the metrics defined by the dataset.

*/ inline void SetMetricList(Aws::Vector&& value) { m_metricList = std::move(value); } /** *

A list of the metrics defined by the dataset.

*/ inline DescribeMetricSetResult& WithMetricList(const Aws::Vector& value) { SetMetricList(value); return *this;} /** *

A list of the metrics defined by the dataset.

*/ inline DescribeMetricSetResult& WithMetricList(Aws::Vector&& value) { SetMetricList(std::move(value)); return *this;} /** *

A list of the metrics defined by the dataset.

*/ inline DescribeMetricSetResult& AddMetricList(const Metric& value) { m_metricList.push_back(value); return *this; } /** *

A list of the metrics defined by the dataset.

*/ inline DescribeMetricSetResult& AddMetricList(Metric&& value) { m_metricList.push_back(std::move(value)); return *this; } /** *

Contains information about the column used for tracking time in your source * data.

*/ inline const TimestampColumn& GetTimestampColumn() const{ return m_timestampColumn; } /** *

Contains information about the column used for tracking time in your source * data.

*/ inline void SetTimestampColumn(const TimestampColumn& value) { m_timestampColumn = value; } /** *

Contains information about the column used for tracking time in your source * data.

*/ inline void SetTimestampColumn(TimestampColumn&& value) { m_timestampColumn = std::move(value); } /** *

Contains information about the column used for tracking time in your source * data.

*/ inline DescribeMetricSetResult& WithTimestampColumn(const TimestampColumn& value) { SetTimestampColumn(value); return *this;} /** *

Contains information about the column used for tracking time in your source * data.

*/ inline DescribeMetricSetResult& WithTimestampColumn(TimestampColumn&& value) { SetTimestampColumn(std::move(value)); return *this;} /** *

A list of the dimensions chosen for analysis.

*/ inline const Aws::Vector& GetDimensionList() const{ return m_dimensionList; } /** *

A list of the dimensions chosen for analysis.

*/ inline void SetDimensionList(const Aws::Vector& value) { m_dimensionList = value; } /** *

A list of the dimensions chosen for analysis.

*/ inline void SetDimensionList(Aws::Vector&& value) { m_dimensionList = std::move(value); } /** *

A list of the dimensions chosen for analysis.

*/ inline DescribeMetricSetResult& WithDimensionList(const Aws::Vector& value) { SetDimensionList(value); return *this;} /** *

A list of the dimensions chosen for analysis.

*/ inline DescribeMetricSetResult& WithDimensionList(Aws::Vector&& value) { SetDimensionList(std::move(value)); return *this;} /** *

A list of the dimensions chosen for analysis.

*/ inline DescribeMetricSetResult& AddDimensionList(const Aws::String& value) { m_dimensionList.push_back(value); return *this; } /** *

A list of the dimensions chosen for analysis.

*/ inline DescribeMetricSetResult& AddDimensionList(Aws::String&& value) { m_dimensionList.push_back(std::move(value)); return *this; } /** *

A list of the dimensions chosen for analysis.

*/ inline DescribeMetricSetResult& AddDimensionList(const char* value) { m_dimensionList.push_back(value); return *this; } /** *

The interval at which the data will be analyzed for anomalies.

*/ inline const Frequency& GetMetricSetFrequency() const{ return m_metricSetFrequency; } /** *

The interval at which the data will be analyzed for anomalies.

*/ inline void SetMetricSetFrequency(const Frequency& value) { m_metricSetFrequency = value; } /** *

The interval at which the data will be analyzed for anomalies.

*/ inline void SetMetricSetFrequency(Frequency&& value) { m_metricSetFrequency = std::move(value); } /** *

The interval at which the data will be analyzed for anomalies.

*/ inline DescribeMetricSetResult& WithMetricSetFrequency(const Frequency& value) { SetMetricSetFrequency(value); return *this;} /** *

The interval at which the data will be analyzed for anomalies.

*/ inline DescribeMetricSetResult& WithMetricSetFrequency(Frequency&& value) { SetMetricSetFrequency(std::move(value)); return *this;} /** *

The time zone in which the dataset's data was recorded.

*/ inline const Aws::String& GetTimezone() const{ return m_timezone; } /** *

The time zone in which the dataset's data was recorded.

*/ inline void SetTimezone(const Aws::String& value) { m_timezone = value; } /** *

The time zone in which the dataset's data was recorded.

*/ inline void SetTimezone(Aws::String&& value) { m_timezone = std::move(value); } /** *

The time zone in which the dataset's data was recorded.

*/ inline void SetTimezone(const char* value) { m_timezone.assign(value); } /** *

The time zone in which the dataset's data was recorded.

*/ inline DescribeMetricSetResult& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;} /** *

The time zone in which the dataset's data was recorded.

*/ inline DescribeMetricSetResult& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;} /** *

The time zone in which the dataset's data was recorded.

*/ inline DescribeMetricSetResult& WithTimezone(const char* value) { SetTimezone(value); return *this;} /** *

Contains information about the dataset's source data.

*/ inline const MetricSource& GetMetricSource() const{ return m_metricSource; } /** *

Contains information about the dataset's source data.

*/ inline void SetMetricSource(const MetricSource& value) { m_metricSource = value; } /** *

Contains information about the dataset's source data.

*/ inline void SetMetricSource(MetricSource&& value) { m_metricSource = std::move(value); } /** *

Contains information about the dataset's source data.

*/ inline DescribeMetricSetResult& WithMetricSource(const MetricSource& value) { SetMetricSource(value); return *this;} /** *

Contains information about the dataset's source data.

*/ inline DescribeMetricSetResult& WithMetricSource(MetricSource&& value) { SetMetricSource(std::move(value)); return *this;} /** *

The dimensions and their values that were used to filter the dataset.

*/ inline const Aws::Vector& GetDimensionFilterList() const{ return m_dimensionFilterList; } /** *

The dimensions and their values that were used to filter the dataset.

*/ inline void SetDimensionFilterList(const Aws::Vector& value) { m_dimensionFilterList = value; } /** *

The dimensions and their values that were used to filter the dataset.

*/ inline void SetDimensionFilterList(Aws::Vector&& value) { m_dimensionFilterList = std::move(value); } /** *

The dimensions and their values that were used to filter the dataset.

*/ inline DescribeMetricSetResult& WithDimensionFilterList(const Aws::Vector& value) { SetDimensionFilterList(value); return *this;} /** *

The dimensions and their values that were used to filter the dataset.

*/ inline DescribeMetricSetResult& WithDimensionFilterList(Aws::Vector&& value) { SetDimensionFilterList(std::move(value)); return *this;} /** *

The dimensions and their values that were used to filter the dataset.

*/ inline DescribeMetricSetResult& AddDimensionFilterList(const MetricSetDimensionFilter& value) { m_dimensionFilterList.push_back(value); return *this; } /** *

The dimensions and their values that were used to filter the dataset.

*/ inline DescribeMetricSetResult& AddDimensionFilterList(MetricSetDimensionFilter&& value) { m_dimensionFilterList.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeMetricSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeMetricSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeMetricSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_metricSetArn; Aws::String m_anomalyDetectorArn; Aws::String m_metricSetName; Aws::String m_metricSetDescription; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastModificationTime; int m_offset; Aws::Vector m_metricList; TimestampColumn m_timestampColumn; Aws::Vector m_dimensionList; Frequency m_metricSetFrequency; Aws::String m_timezone; MetricSource m_metricSource; Aws::Vector m_dimensionFilterList; Aws::String m_requestId; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws