/** * 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 namespace Aws { namespace PI { namespace Model { /** */ class DescribeDimensionKeysRequest : public PIRequest { public: AWS_PI_API DescribeDimensionKeysRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeDimensionKeys"; } AWS_PI_API Aws::String SerializePayload() const override; AWS_PI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Web Services service for which Performance Insights will return * metrics. Valid values are as follows:

  • RDS

    *
  • DOCDB

*/ inline const ServiceType& GetServiceType() const{ return m_serviceType; } /** *

The Amazon Web Services service for which Performance Insights will return * metrics. Valid values are as follows:

  • RDS

    *
  • DOCDB

*/ inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; } /** *

The Amazon Web Services service for which Performance Insights will return * metrics. Valid values are as follows:

  • RDS

    *
  • DOCDB

*/ inline void SetServiceType(const ServiceType& value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; } /** *

The Amazon Web Services service for which Performance Insights will return * metrics. Valid values are as follows:

  • RDS

    *
  • DOCDB

*/ inline void SetServiceType(ServiceType&& value) { m_serviceTypeHasBeenSet = true; m_serviceType = std::move(value); } /** *

The Amazon Web Services service for which Performance Insights will return * metrics. Valid values are as follows:

  • RDS

    *
  • DOCDB

*/ inline DescribeDimensionKeysRequest& WithServiceType(const ServiceType& value) { SetServiceType(value); return *this;} /** *

The Amazon Web Services service for which Performance Insights will return * metrics. Valid values are as follows:

  • RDS

    *
  • DOCDB

*/ inline DescribeDimensionKeysRequest& WithServiceType(ServiceType&& value) { SetServiceType(std::move(value)); return *this;} /** *

An immutable, Amazon Web Services Region-unique identifier for a data source. * Performance Insights gathers metrics from this data source.

To use an * Amazon RDS instance as a data source, you specify its DbiResourceId * value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A.

*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } /** *

An immutable, Amazon Web Services Region-unique identifier for a data source. * Performance Insights gathers metrics from this data source.

To use an * Amazon RDS instance as a data source, you specify its DbiResourceId * value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A.

*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** *

An immutable, Amazon Web Services Region-unique identifier for a data source. * Performance Insights gathers metrics from this data source.

To use an * Amazon RDS instance as a data source, you specify its DbiResourceId * value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A.

*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** *

An immutable, Amazon Web Services Region-unique identifier for a data source. * Performance Insights gathers metrics from this data source.

To use an * Amazon RDS instance as a data source, you specify its DbiResourceId * value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A.

*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** *

An immutable, Amazon Web Services Region-unique identifier for a data source. * Performance Insights gathers metrics from this data source.

To use an * Amazon RDS instance as a data source, you specify its DbiResourceId * value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A.

*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** *

An immutable, Amazon Web Services Region-unique identifier for a data source. * Performance Insights gathers metrics from this data source.

To use an * Amazon RDS instance as a data source, you specify its DbiResourceId * value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A.

*/ inline DescribeDimensionKeysRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** *

An immutable, Amazon Web Services Region-unique identifier for a data source. * Performance Insights gathers metrics from this data source.

To use an * Amazon RDS instance as a data source, you specify its DbiResourceId * value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A.

*/ inline DescribeDimensionKeysRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** *

An immutable, Amazon Web Services Region-unique identifier for a data source. * Performance Insights gathers metrics from this data source.

To use an * Amazon RDS instance as a data source, you specify its DbiResourceId * value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A.

*/ inline DescribeDimensionKeysRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} /** *

The date and time specifying the beginning of the requested time series data. * You must specify a StartTime within the past 7 days. The value * specified is inclusive, which means that data points equal to or greater * than StartTime are returned.

The value for * StartTime must be earlier than the value for EndTime. *

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The date and time specifying the beginning of the requested time series data. * You must specify a StartTime within the past 7 days. The value * specified is inclusive, which means that data points equal to or greater * than StartTime are returned.

The value for * StartTime must be earlier than the value for EndTime. *

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The date and time specifying the beginning of the requested time series data. * You must specify a StartTime within the past 7 days. The value * specified is inclusive, which means that data points equal to or greater * than StartTime are returned.

The value for * StartTime must be earlier than the value for EndTime. *

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The date and time specifying the beginning of the requested time series data. * You must specify a StartTime within the past 7 days. The value * specified is inclusive, which means that data points equal to or greater * than StartTime are returned.

The value for * StartTime must be earlier than the value for EndTime. *

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The date and time specifying the beginning of the requested time series data. * You must specify a StartTime within the past 7 days. The value * specified is inclusive, which means that data points equal to or greater * than StartTime are returned.

The value for * StartTime must be earlier than the value for EndTime. *

*/ inline DescribeDimensionKeysRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The date and time specifying the beginning of the requested time series data. * You must specify a StartTime within the past 7 days. The value * specified is inclusive, which means that data points equal to or greater * than StartTime are returned.

The value for * StartTime must be earlier than the value for EndTime. *

*/ inline DescribeDimensionKeysRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The date and time specifying the end of the requested time series data. The * value specified is exclusive, which means that data points less than (but * not equal to) EndTime are returned.

The value for * EndTime must be later than the value for * StartTime.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The date and time specifying the end of the requested time series data. The * value specified is exclusive, which means that data points less than (but * not equal to) EndTime are returned.

The value for * EndTime must be later than the value for * StartTime.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The date and time specifying the end of the requested time series data. The * value specified is exclusive, which means that data points less than (but * not equal to) EndTime are returned.

The value for * EndTime must be later than the value for * StartTime.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The date and time specifying the end of the requested time series data. The * value specified is exclusive, which means that data points less than (but * not equal to) EndTime are returned.

The value for * EndTime must be later than the value for * StartTime.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The date and time specifying the end of the requested time series data. The * value specified is exclusive, which means that data points less than (but * not equal to) EndTime are returned.

The value for * EndTime must be later than the value for * StartTime.

*/ inline DescribeDimensionKeysRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The date and time specifying the end of the requested time series data. The * value specified is exclusive, which means that data points less than (but * not equal to) EndTime are returned.

The value for * EndTime must be later than the value for * StartTime.

*/ inline DescribeDimensionKeysRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

The name of a Performance Insights metric to be measured.

Valid values * for Metric are:

  • db.load.avg - A * scaled representation of the number of active sessions for the database engine. *

  • db.sampledload.avg - The raw number of active * sessions for the database engine.

If the number of active * sessions is less than an internal Performance Insights threshold, * db.load.avg and db.sampledload.avg are the same value. * If the number of active sessions is greater than the internal threshold, * Performance Insights samples the active sessions, with db.load.avg * showing the scaled values, db.sampledload.avg showing the raw * values, and db.sampledload.avg less than db.load.avg. * For most use cases, you can query db.load.avg only.

*/ inline const Aws::String& GetMetric() const{ return m_metric; } /** *

The name of a Performance Insights metric to be measured.

Valid values * for Metric are:

  • db.load.avg - A * scaled representation of the number of active sessions for the database engine. *

  • db.sampledload.avg - The raw number of active * sessions for the database engine.

If the number of active * sessions is less than an internal Performance Insights threshold, * db.load.avg and db.sampledload.avg are the same value. * If the number of active sessions is greater than the internal threshold, * Performance Insights samples the active sessions, with db.load.avg * showing the scaled values, db.sampledload.avg showing the raw * values, and db.sampledload.avg less than db.load.avg. * For most use cases, you can query db.load.avg only.

*/ inline bool MetricHasBeenSet() const { return m_metricHasBeenSet; } /** *

The name of a Performance Insights metric to be measured.

Valid values * for Metric are:

  • db.load.avg - A * scaled representation of the number of active sessions for the database engine. *

  • db.sampledload.avg - The raw number of active * sessions for the database engine.

If the number of active * sessions is less than an internal Performance Insights threshold, * db.load.avg and db.sampledload.avg are the same value. * If the number of active sessions is greater than the internal threshold, * Performance Insights samples the active sessions, with db.load.avg * showing the scaled values, db.sampledload.avg showing the raw * values, and db.sampledload.avg less than db.load.avg. * For most use cases, you can query db.load.avg only.

*/ inline void SetMetric(const Aws::String& value) { m_metricHasBeenSet = true; m_metric = value; } /** *

The name of a Performance Insights metric to be measured.

Valid values * for Metric are:

  • db.load.avg - A * scaled representation of the number of active sessions for the database engine. *

  • db.sampledload.avg - The raw number of active * sessions for the database engine.

If the number of active * sessions is less than an internal Performance Insights threshold, * db.load.avg and db.sampledload.avg are the same value. * If the number of active sessions is greater than the internal threshold, * Performance Insights samples the active sessions, with db.load.avg * showing the scaled values, db.sampledload.avg showing the raw * values, and db.sampledload.avg less than db.load.avg. * For most use cases, you can query db.load.avg only.

*/ inline void SetMetric(Aws::String&& value) { m_metricHasBeenSet = true; m_metric = std::move(value); } /** *

The name of a Performance Insights metric to be measured.

Valid values * for Metric are:

  • db.load.avg - A * scaled representation of the number of active sessions for the database engine. *

  • db.sampledload.avg - The raw number of active * sessions for the database engine.

If the number of active * sessions is less than an internal Performance Insights threshold, * db.load.avg and db.sampledload.avg are the same value. * If the number of active sessions is greater than the internal threshold, * Performance Insights samples the active sessions, with db.load.avg * showing the scaled values, db.sampledload.avg showing the raw * values, and db.sampledload.avg less than db.load.avg. * For most use cases, you can query db.load.avg only.

*/ inline void SetMetric(const char* value) { m_metricHasBeenSet = true; m_metric.assign(value); } /** *

The name of a Performance Insights metric to be measured.

Valid values * for Metric are:

  • db.load.avg - A * scaled representation of the number of active sessions for the database engine. *

  • db.sampledload.avg - The raw number of active * sessions for the database engine.

If the number of active * sessions is less than an internal Performance Insights threshold, * db.load.avg and db.sampledload.avg are the same value. * If the number of active sessions is greater than the internal threshold, * Performance Insights samples the active sessions, with db.load.avg * showing the scaled values, db.sampledload.avg showing the raw * values, and db.sampledload.avg less than db.load.avg. * For most use cases, you can query db.load.avg only.

*/ inline DescribeDimensionKeysRequest& WithMetric(const Aws::String& value) { SetMetric(value); return *this;} /** *

The name of a Performance Insights metric to be measured.

Valid values * for Metric are:

  • db.load.avg - A * scaled representation of the number of active sessions for the database engine. *

  • db.sampledload.avg - The raw number of active * sessions for the database engine.

If the number of active * sessions is less than an internal Performance Insights threshold, * db.load.avg and db.sampledload.avg are the same value. * If the number of active sessions is greater than the internal threshold, * Performance Insights samples the active sessions, with db.load.avg * showing the scaled values, db.sampledload.avg showing the raw * values, and db.sampledload.avg less than db.load.avg. * For most use cases, you can query db.load.avg only.

*/ inline DescribeDimensionKeysRequest& WithMetric(Aws::String&& value) { SetMetric(std::move(value)); return *this;} /** *

The name of a Performance Insights metric to be measured.

Valid values * for Metric are:

  • db.load.avg - A * scaled representation of the number of active sessions for the database engine. *

  • db.sampledload.avg - The raw number of active * sessions for the database engine.

If the number of active * sessions is less than an internal Performance Insights threshold, * db.load.avg and db.sampledload.avg are the same value. * If the number of active sessions is greater than the internal threshold, * Performance Insights samples the active sessions, with db.load.avg * showing the scaled values, db.sampledload.avg showing the raw * values, and db.sampledload.avg less than db.load.avg. * For most use cases, you can query db.load.avg only.

*/ inline DescribeDimensionKeysRequest& WithMetric(const char* value) { SetMetric(value); return *this;} /** *

The granularity, in seconds, of the data points returned from Performance * Insights. A period can be as short as one second, or as long as one day (86400 * seconds). Valid values are:

  • 1 (one second)

    *
  • 60 (one minute)

  • 300 * (five minutes)

  • 3600 (one hour)

  • *

    86400 (twenty-four hours)

If you don't * specify PeriodInSeconds, then Performance Insights chooses a value * for you, with a goal of returning roughly 100-200 data points in the response. *

*/ inline int GetPeriodInSeconds() const{ return m_periodInSeconds; } /** *

The granularity, in seconds, of the data points returned from Performance * Insights. A period can be as short as one second, or as long as one day (86400 * seconds). Valid values are:

  • 1 (one second)

    *
  • 60 (one minute)

  • 300 * (five minutes)

  • 3600 (one hour)

  • *

    86400 (twenty-four hours)

If you don't * specify PeriodInSeconds, then Performance Insights chooses a value * for you, with a goal of returning roughly 100-200 data points in the response. *

*/ inline bool PeriodInSecondsHasBeenSet() const { return m_periodInSecondsHasBeenSet; } /** *

The granularity, in seconds, of the data points returned from Performance * Insights. A period can be as short as one second, or as long as one day (86400 * seconds). Valid values are:

  • 1 (one second)

    *
  • 60 (one minute)

  • 300 * (five minutes)

  • 3600 (one hour)

  • *

    86400 (twenty-four hours)

If you don't * specify PeriodInSeconds, then Performance Insights chooses a value * for you, with a goal of returning roughly 100-200 data points in the response. *

*/ inline void SetPeriodInSeconds(int value) { m_periodInSecondsHasBeenSet = true; m_periodInSeconds = value; } /** *

The granularity, in seconds, of the data points returned from Performance * Insights. A period can be as short as one second, or as long as one day (86400 * seconds). Valid values are:

  • 1 (one second)

    *
  • 60 (one minute)

  • 300 * (five minutes)

  • 3600 (one hour)

  • *

    86400 (twenty-four hours)

If you don't * specify PeriodInSeconds, then Performance Insights chooses a value * for you, with a goal of returning roughly 100-200 data points in the response. *

*/ inline DescribeDimensionKeysRequest& WithPeriodInSeconds(int value) { SetPeriodInSeconds(value); return *this;} /** *

A specification for how to aggregate the data points from a query result. You * must specify a valid dimension group. Performance Insights returns all * dimensions within this group, unless you provide the names of specific * dimensions within this group. You can also request that Performance Insights * return a limited number of values for a dimension.

*/ inline const DimensionGroup& GetGroupBy() const{ return m_groupBy; } /** *

A specification for how to aggregate the data points from a query result. You * must specify a valid dimension group. Performance Insights returns all * dimensions within this group, unless you provide the names of specific * dimensions within this group. You can also request that Performance Insights * return a limited number of values for a dimension.

*/ inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; } /** *

A specification for how to aggregate the data points from a query result. You * must specify a valid dimension group. Performance Insights returns all * dimensions within this group, unless you provide the names of specific * dimensions within this group. You can also request that Performance Insights * return a limited number of values for a dimension.

*/ inline void SetGroupBy(const DimensionGroup& value) { m_groupByHasBeenSet = true; m_groupBy = value; } /** *

A specification for how to aggregate the data points from a query result. You * must specify a valid dimension group. Performance Insights returns all * dimensions within this group, unless you provide the names of specific * dimensions within this group. You can also request that Performance Insights * return a limited number of values for a dimension.

*/ inline void SetGroupBy(DimensionGroup&& value) { m_groupByHasBeenSet = true; m_groupBy = std::move(value); } /** *

A specification for how to aggregate the data points from a query result. You * must specify a valid dimension group. Performance Insights returns all * dimensions within this group, unless you provide the names of specific * dimensions within this group. You can also request that Performance Insights * return a limited number of values for a dimension.

*/ inline DescribeDimensionKeysRequest& WithGroupBy(const DimensionGroup& value) { SetGroupBy(value); return *this;} /** *

A specification for how to aggregate the data points from a query result. You * must specify a valid dimension group. Performance Insights returns all * dimensions within this group, unless you provide the names of specific * dimensions within this group. You can also request that Performance Insights * return a limited number of values for a dimension.

*/ inline DescribeDimensionKeysRequest& WithGroupBy(DimensionGroup&& value) { SetGroupBy(std::move(value)); return *this;} /** *

Additional metrics for the top N dimension keys. If the * specified dimension group in the GroupBy parameter is * db.sql_tokenized, you can specify per-SQL metrics to get the values * for the top N SQL digests. The response syntax is as follows: * "AdditionalMetrics" : { "string" : "string" }.

*/ inline const Aws::Vector& GetAdditionalMetrics() const{ return m_additionalMetrics; } /** *

Additional metrics for the top N dimension keys. If the * specified dimension group in the GroupBy parameter is * db.sql_tokenized, you can specify per-SQL metrics to get the values * for the top N SQL digests. The response syntax is as follows: * "AdditionalMetrics" : { "string" : "string" }.

*/ inline bool AdditionalMetricsHasBeenSet() const { return m_additionalMetricsHasBeenSet; } /** *

Additional metrics for the top N dimension keys. If the * specified dimension group in the GroupBy parameter is * db.sql_tokenized, you can specify per-SQL metrics to get the values * for the top N SQL digests. The response syntax is as follows: * "AdditionalMetrics" : { "string" : "string" }.

*/ inline void SetAdditionalMetrics(const Aws::Vector& value) { m_additionalMetricsHasBeenSet = true; m_additionalMetrics = value; } /** *

Additional metrics for the top N dimension keys. If the * specified dimension group in the GroupBy parameter is * db.sql_tokenized, you can specify per-SQL metrics to get the values * for the top N SQL digests. The response syntax is as follows: * "AdditionalMetrics" : { "string" : "string" }.

*/ inline void SetAdditionalMetrics(Aws::Vector&& value) { m_additionalMetricsHasBeenSet = true; m_additionalMetrics = std::move(value); } /** *

Additional metrics for the top N dimension keys. If the * specified dimension group in the GroupBy parameter is * db.sql_tokenized, you can specify per-SQL metrics to get the values * for the top N SQL digests. The response syntax is as follows: * "AdditionalMetrics" : { "string" : "string" }.

*/ inline DescribeDimensionKeysRequest& WithAdditionalMetrics(const Aws::Vector& value) { SetAdditionalMetrics(value); return *this;} /** *

Additional metrics for the top N dimension keys. If the * specified dimension group in the GroupBy parameter is * db.sql_tokenized, you can specify per-SQL metrics to get the values * for the top N SQL digests. The response syntax is as follows: * "AdditionalMetrics" : { "string" : "string" }.

*/ inline DescribeDimensionKeysRequest& WithAdditionalMetrics(Aws::Vector&& value) { SetAdditionalMetrics(std::move(value)); return *this;} /** *

Additional metrics for the top N dimension keys. If the * specified dimension group in the GroupBy parameter is * db.sql_tokenized, you can specify per-SQL metrics to get the values * for the top N SQL digests. The response syntax is as follows: * "AdditionalMetrics" : { "string" : "string" }.

*/ inline DescribeDimensionKeysRequest& AddAdditionalMetrics(const Aws::String& value) { m_additionalMetricsHasBeenSet = true; m_additionalMetrics.push_back(value); return *this; } /** *

Additional metrics for the top N dimension keys. If the * specified dimension group in the GroupBy parameter is * db.sql_tokenized, you can specify per-SQL metrics to get the values * for the top N SQL digests. The response syntax is as follows: * "AdditionalMetrics" : { "string" : "string" }.

*/ inline DescribeDimensionKeysRequest& AddAdditionalMetrics(Aws::String&& value) { m_additionalMetricsHasBeenSet = true; m_additionalMetrics.push_back(std::move(value)); return *this; } /** *

Additional metrics for the top N dimension keys. If the * specified dimension group in the GroupBy parameter is * db.sql_tokenized, you can specify per-SQL metrics to get the values * for the top N SQL digests. The response syntax is as follows: * "AdditionalMetrics" : { "string" : "string" }.

*/ inline DescribeDimensionKeysRequest& AddAdditionalMetrics(const char* value) { m_additionalMetricsHasBeenSet = true; m_additionalMetrics.push_back(value); return *this; } /** *

For each dimension specified in GroupBy, specify a secondary * dimension to further subdivide the partition keys in the response.

*/ inline const DimensionGroup& GetPartitionBy() const{ return m_partitionBy; } /** *

For each dimension specified in GroupBy, specify a secondary * dimension to further subdivide the partition keys in the response.

*/ inline bool PartitionByHasBeenSet() const { return m_partitionByHasBeenSet; } /** *

For each dimension specified in GroupBy, specify a secondary * dimension to further subdivide the partition keys in the response.

*/ inline void SetPartitionBy(const DimensionGroup& value) { m_partitionByHasBeenSet = true; m_partitionBy = value; } /** *

For each dimension specified in GroupBy, specify a secondary * dimension to further subdivide the partition keys in the response.

*/ inline void SetPartitionBy(DimensionGroup&& value) { m_partitionByHasBeenSet = true; m_partitionBy = std::move(value); } /** *

For each dimension specified in GroupBy, specify a secondary * dimension to further subdivide the partition keys in the response.

*/ inline DescribeDimensionKeysRequest& WithPartitionBy(const DimensionGroup& value) { SetPartitionBy(value); return *this;} /** *

For each dimension specified in GroupBy, specify a secondary * dimension to further subdivide the partition keys in the response.

*/ inline DescribeDimensionKeysRequest& WithPartitionBy(DimensionGroup&& value) { SetPartitionBy(std::move(value)); return *this;} /** *

One or more filters to apply in the request. Restrictions:

  • *

    Any number of filters by the same dimension, as specified in the * GroupBy or Partition parameters.

  • A * single filter for any other dimension in this dimension group.

*/ inline const Aws::Map& GetFilter() const{ return m_filter; } /** *

One or more filters to apply in the request. Restrictions:

  • *

    Any number of filters by the same dimension, as specified in the * GroupBy or Partition parameters.

  • A * single filter for any other dimension in this dimension group.

*/ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** *

One or more filters to apply in the request. Restrictions:

  • *

    Any number of filters by the same dimension, as specified in the * GroupBy or Partition parameters.

  • A * single filter for any other dimension in this dimension group.

*/ inline void SetFilter(const Aws::Map& value) { m_filterHasBeenSet = true; m_filter = value; } /** *

One or more filters to apply in the request. Restrictions:

  • *

    Any number of filters by the same dimension, as specified in the * GroupBy or Partition parameters.

  • A * single filter for any other dimension in this dimension group.

*/ inline void SetFilter(Aws::Map&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } /** *

One or more filters to apply in the request. Restrictions:

  • *

    Any number of filters by the same dimension, as specified in the * GroupBy or Partition parameters.

  • A * single filter for any other dimension in this dimension group.

*/ inline DescribeDimensionKeysRequest& WithFilter(const Aws::Map& value) { SetFilter(value); return *this;} /** *

One or more filters to apply in the request. Restrictions:

  • *

    Any number of filters by the same dimension, as specified in the * GroupBy or Partition parameters.

  • A * single filter for any other dimension in this dimension group.

*/ inline DescribeDimensionKeysRequest& WithFilter(Aws::Map&& value) { SetFilter(std::move(value)); return *this;} /** *

One or more filters to apply in the request. Restrictions:

  • *

    Any number of filters by the same dimension, as specified in the * GroupBy or Partition parameters.

  • A * single filter for any other dimension in this dimension group.

*/ inline DescribeDimensionKeysRequest& AddFilter(const Aws::String& key, const Aws::String& value) { m_filterHasBeenSet = true; m_filter.emplace(key, value); return *this; } /** *

One or more filters to apply in the request. Restrictions:

  • *

    Any number of filters by the same dimension, as specified in the * GroupBy or Partition parameters.

  • A * single filter for any other dimension in this dimension group.

*/ inline DescribeDimensionKeysRequest& AddFilter(Aws::String&& key, const Aws::String& value) { m_filterHasBeenSet = true; m_filter.emplace(std::move(key), value); return *this; } /** *

One or more filters to apply in the request. Restrictions:

  • *

    Any number of filters by the same dimension, as specified in the * GroupBy or Partition parameters.

  • A * single filter for any other dimension in this dimension group.

*/ inline DescribeDimensionKeysRequest& AddFilter(const Aws::String& key, Aws::String&& value) { m_filterHasBeenSet = true; m_filter.emplace(key, std::move(value)); return *this; } /** *

One or more filters to apply in the request. Restrictions:

  • *

    Any number of filters by the same dimension, as specified in the * GroupBy or Partition parameters.

  • A * single filter for any other dimension in this dimension group.

*/ inline DescribeDimensionKeysRequest& AddFilter(Aws::String&& key, Aws::String&& value) { m_filterHasBeenSet = true; m_filter.emplace(std::move(key), std::move(value)); return *this; } /** *

One or more filters to apply in the request. Restrictions:

  • *

    Any number of filters by the same dimension, as specified in the * GroupBy or Partition parameters.

  • A * single filter for any other dimension in this dimension group.

*/ inline DescribeDimensionKeysRequest& AddFilter(const char* key, Aws::String&& value) { m_filterHasBeenSet = true; m_filter.emplace(key, std::move(value)); return *this; } /** *

One or more filters to apply in the request. Restrictions:

  • *

    Any number of filters by the same dimension, as specified in the * GroupBy or Partition parameters.

  • A * single filter for any other dimension in this dimension group.

*/ inline DescribeDimensionKeysRequest& AddFilter(Aws::String&& key, const char* value) { m_filterHasBeenSet = true; m_filter.emplace(std::move(key), value); return *this; } /** *

One or more filters to apply in the request. Restrictions:

  • *

    Any number of filters by the same dimension, as specified in the * GroupBy or Partition parameters.

  • A * single filter for any other dimension in this dimension group.

*/ inline DescribeDimensionKeysRequest& AddFilter(const char* key, const char* value) { m_filterHasBeenSet = true; m_filter.emplace(key, value); return *this; } /** *

The maximum number of items to return in the response. If more items exist * than the specified MaxRecords value, a pagination token is included * in the response so that the remaining results can be retrieved.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of items to return in the response. If more items exist * than the specified MaxRecords value, a pagination token is included * in the response so that the remaining results can be retrieved.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of items to return in the response. If more items exist * than the specified MaxRecords value, a pagination token is included * in the response so that the remaining results can be retrieved.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of items to return in the response. If more items exist * than the specified MaxRecords value, a pagination token is included * in the response so that the remaining results can be retrieved.

*/ inline DescribeDimensionKeysRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline DescribeDimensionKeysRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline DescribeDimensionKeysRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline DescribeDimensionKeysRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: ServiceType m_serviceType; bool m_serviceTypeHasBeenSet = false; Aws::String m_identifier; bool m_identifierHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_metric; bool m_metricHasBeenSet = false; int m_periodInSeconds; bool m_periodInSecondsHasBeenSet = false; DimensionGroup m_groupBy; bool m_groupByHasBeenSet = false; Aws::Vector m_additionalMetrics; bool m_additionalMetricsHasBeenSet = false; DimensionGroup m_partitionBy; bool m_partitionByHasBeenSet = false; Aws::Map m_filter; bool m_filterHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace PI } // namespace Aws