/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents enhanced metrics types.See Also:
AWS
* API Reference
List of shard-level metrics.
The following are the valid shard-level
* metrics. The value "ALL
" enhances every metric.
* IncomingBytes
IncomingRecords
OutgoingBytes
* OutgoingRecords
* WriteProvisionedThroughputExceeded
* ReadProvisionedThroughputExceeded
* IteratorAgeMilliseconds
ALL
For more information, see Monitoring * the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the * Amazon Kinesis Data Streams Developer Guide.
*/ inline const Aws::VectorList of shard-level metrics.
The following are the valid shard-level
* metrics. The value "ALL
" enhances every metric.
* IncomingBytes
IncomingRecords
OutgoingBytes
* OutgoingRecords
* WriteProvisionedThroughputExceeded
* ReadProvisionedThroughputExceeded
* IteratorAgeMilliseconds
ALL
For more information, see Monitoring * the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the * Amazon Kinesis Data Streams Developer Guide.
*/ inline bool ShardLevelMetricsHasBeenSet() const { return m_shardLevelMetricsHasBeenSet; } /** *List of shard-level metrics.
The following are the valid shard-level
* metrics. The value "ALL
" enhances every metric.
* IncomingBytes
IncomingRecords
OutgoingBytes
* OutgoingRecords
* WriteProvisionedThroughputExceeded
* ReadProvisionedThroughputExceeded
* IteratorAgeMilliseconds
ALL
For more information, see Monitoring * the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the * Amazon Kinesis Data Streams Developer Guide.
*/ inline void SetShardLevelMetrics(const Aws::VectorList of shard-level metrics.
The following are the valid shard-level
* metrics. The value "ALL
" enhances every metric.
* IncomingBytes
IncomingRecords
OutgoingBytes
* OutgoingRecords
* WriteProvisionedThroughputExceeded
* ReadProvisionedThroughputExceeded
* IteratorAgeMilliseconds
ALL
For more information, see Monitoring * the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the * Amazon Kinesis Data Streams Developer Guide.
*/ inline void SetShardLevelMetrics(Aws::VectorList of shard-level metrics.
The following are the valid shard-level
* metrics. The value "ALL
" enhances every metric.
* IncomingBytes
IncomingRecords
OutgoingBytes
* OutgoingRecords
* WriteProvisionedThroughputExceeded
* ReadProvisionedThroughputExceeded
* IteratorAgeMilliseconds
ALL
For more information, see Monitoring * the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the * Amazon Kinesis Data Streams Developer Guide.
*/ inline EnhancedMetrics& WithShardLevelMetrics(const Aws::VectorList of shard-level metrics.
The following are the valid shard-level
* metrics. The value "ALL
" enhances every metric.
* IncomingBytes
IncomingRecords
OutgoingBytes
* OutgoingRecords
* WriteProvisionedThroughputExceeded
* ReadProvisionedThroughputExceeded
* IteratorAgeMilliseconds
ALL
For more information, see Monitoring * the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the * Amazon Kinesis Data Streams Developer Guide.
*/ inline EnhancedMetrics& WithShardLevelMetrics(Aws::VectorList of shard-level metrics.
The following are the valid shard-level
* metrics. The value "ALL
" enhances every metric.
* IncomingBytes
IncomingRecords
OutgoingBytes
* OutgoingRecords
* WriteProvisionedThroughputExceeded
* ReadProvisionedThroughputExceeded
* IteratorAgeMilliseconds
ALL
For more information, see Monitoring * the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the * Amazon Kinesis Data Streams Developer Guide.
*/ inline EnhancedMetrics& AddShardLevelMetrics(const MetricsName& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics.push_back(value); return *this; } /** *List of shard-level metrics.
The following are the valid shard-level
* metrics. The value "ALL
" enhances every metric.
* IncomingBytes
IncomingRecords
OutgoingBytes
* OutgoingRecords
* WriteProvisionedThroughputExceeded
* ReadProvisionedThroughputExceeded
* IteratorAgeMilliseconds
ALL
For more information, see Monitoring * the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the * Amazon Kinesis Data Streams Developer Guide.
*/ inline EnhancedMetrics& AddShardLevelMetrics(MetricsName&& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics.push_back(std::move(value)); return *this; } private: Aws::Vector