7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/lookoutmetrics/LookoutMetricsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lookoutmetrics/model/TimestampColumn.h>
12#include <aws/lookoutmetrics/model/Frequency.h>
13#include <aws/lookoutmetrics/model/MetricSource.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/lookoutmetrics/model/Metric.h>
16#include <aws/lookoutmetrics/model/MetricSetDimensionFilter.h>
21namespace LookoutMetrics
50 inline void SetAnomalyDetectorArn(
const char* value) { m_anomalyDetectorArnHasBeenSet =
true; m_anomalyDetectorArn.assign(value); }
64 inline void SetMetricSetName(
const char* value) { m_metricSetNameHasBeenSet =
true; m_metricSetName.assign(value); }
78 inline void SetMetricSetDescription(
const char* value) { m_metricSetDescriptionHasBeenSet =
true; m_metricSetDescription.assign(value); }
106 inline void SetOffset(
int value) { m_offsetHasBeenSet =
true; m_offset = value; }
170 inline void SetTimezone(
const char* value) { m_timezoneHasBeenSet =
true; m_timezone.assign(value); }
213 bool m_anomalyDetectorArnHasBeenSet =
false;
216 bool m_metricSetNameHasBeenSet =
false;
219 bool m_metricSetDescriptionHasBeenSet =
false;
222 bool m_metricListHasBeenSet =
false;
225 bool m_offsetHasBeenSet =
false;
228 bool m_timestampColumnHasBeenSet =
false;
231 bool m_dimensionListHasBeenSet =
false;
234 bool m_metricSetFrequencyHasBeenSet =
false;
237 bool m_metricSourceHasBeenSet =
false;
240 bool m_timezoneHasBeenSet =
false;
243 bool m_tagsHasBeenSet =
false;
246 bool m_dimensionFilterListHasBeenSet =
false;
CreateMetricSetRequest & AddMetricList(const Metric &value)
CreateMetricSetRequest & WithTimezone(const char *value)
CreateMetricSetRequest & WithMetricList(const Aws::Vector< Metric > &value)
void SetAnomalyDetectorArn(Aws::String &&value)
bool MetricSetNameHasBeenSet() const
CreateMetricSetRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< Metric > & GetMetricList() const
CreateMetricSetRequest & WithMetricSource(MetricSource &&value)
bool MetricListHasBeenSet() const
void SetDimensionFilterList(const Aws::Vector< MetricSetDimensionFilter > &value)
CreateMetricSetRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTimezone(Aws::String &&value)
void SetTimezone(const Aws::String &value)
CreateMetricSetRequest & WithDimensionList(Aws::Vector< Aws::String > &&value)
bool DimensionFilterListHasBeenSet() const
CreateMetricSetRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateMetricSetRequest & AddTags(Aws::String &&key, const char *value)
CreateMetricSetRequest & WithMetricSetName(const char *value)
CreateMetricSetRequest & WithOffset(int value)
CreateMetricSetRequest & WithDimensionFilterList(const Aws::Vector< MetricSetDimensionFilter > &value)
CreateMetricSetRequest & WithAnomalyDetectorArn(Aws::String &&value)
bool MetricSetDescriptionHasBeenSet() const
bool AnomalyDetectorArnHasBeenSet() const
void SetMetricList(Aws::Vector< Metric > &&value)
void SetMetricList(const Aws::Vector< Metric > &value)
CreateMetricSetRequest & AddTags(Aws::String &&key, const Aws::String &value)
const MetricSource & GetMetricSource() const
void SetAnomalyDetectorArn(const Aws::String &value)
const Aws::String & GetMetricSetName() const
CreateMetricSetRequest & WithAnomalyDetectorArn(const Aws::String &value)
bool MetricSetFrequencyHasBeenSet() const
void SetDimensionList(const Aws::Vector< Aws::String > &value)
CreateMetricSetRequest & WithMetricSource(const MetricSource &value)
CreateMetricSetRequest & AddDimensionList(Aws::String &&value)
CreateMetricSetRequest & WithTimezone(const Aws::String &value)
CreateMetricSetRequest & AddMetricList(Metric &&value)
bool TimezoneHasBeenSet() const
CreateMetricSetRequest & AddDimensionFilterList(const MetricSetDimensionFilter &value)
void SetAnomalyDetectorArn(const char *value)
CreateMetricSetRequest & WithMetricSetDescription(const Aws::String &value)
CreateMetricSetRequest & AddDimensionFilterList(MetricSetDimensionFilter &&value)
bool DimensionListHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateMetricSetRequest & WithDimensionFilterList(Aws::Vector< MetricSetDimensionFilter > &&value)
CreateMetricSetRequest & AddDimensionList(const char *value)
const Aws::Vector< Aws::String > & GetDimensionList() const
AWS_LOOKOUTMETRICS_API CreateMetricSetRequest()
void SetMetricSetDescription(const Aws::String &value)
CreateMetricSetRequest & WithAnomalyDetectorArn(const char *value)
CreateMetricSetRequest & WithMetricSetName(const Aws::String &value)
const Aws::String & GetAnomalyDetectorArn() const
bool MetricSourceHasBeenSet() const
CreateMetricSetRequest & WithMetricSetDescription(const char *value)
const Aws::String & GetMetricSetDescription() const
void SetDimensionList(Aws::Vector< Aws::String > &&value)
void SetTimestampColumn(const TimestampColumn &value)
bool TimestampColumnHasBeenSet() const
void SetMetricSource(MetricSource &&value)
void SetDimensionFilterList(Aws::Vector< MetricSetDimensionFilter > &&value)
CreateMetricSetRequest & WithTimestampColumn(TimestampColumn &&value)
const TimestampColumn & GetTimestampColumn() const
void SetTimezone(const char *value)
const Frequency & GetMetricSetFrequency() const
CreateMetricSetRequest & WithMetricSetFrequency(Frequency &&value)
CreateMetricSetRequest & WithDimensionList(const Aws::Vector< Aws::String > &value)
CreateMetricSetRequest & WithTimezone(Aws::String &&value)
CreateMetricSetRequest & WithMetricSetDescription(Aws::String &&value)
void SetMetricSource(const MetricSource &value)
void SetMetricSetFrequency(Frequency &&value)
AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override
void SetMetricSetDescription(Aws::String &&value)
void SetMetricSetDescription(const char *value)
CreateMetricSetRequest & AddDimensionList(const Aws::String &value)
void SetMetricSetFrequency(const Frequency &value)
void SetOffset(int value)
CreateMetricSetRequest & WithMetricSetName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateMetricSetRequest & AddTags(const char *key, const char *value)
void SetMetricSetName(Aws::String &&value)
void SetTimestampColumn(TimestampColumn &&value)
bool OffsetHasBeenSet() const
void SetMetricSetName(const char *value)
CreateMetricSetRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool TagsHasBeenSet() const
CreateMetricSetRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateMetricSetRequest & WithTimestampColumn(const TimestampColumn &value)
const Aws::Vector< MetricSetDimensionFilter > & GetDimensionFilterList() const
CreateMetricSetRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateMetricSetRequest & WithMetricSetFrequency(const Frequency &value)
const Aws::String & GetTimezone() const
void SetMetricSetName(const Aws::String &value)
CreateMetricSetRequest & WithMetricList(Aws::Vector< Metric > &&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
std::vector< T, Aws::Allocator< T > > Vector