/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input for EnableEnhancedMonitoring.See
* Also:
AWS
* API Reference
The name of the stream for which to enable enhanced monitoring.
*/ inline const Aws::String& GetStreamName() const{ return m_streamName; } /** *The name of the stream for which to enable enhanced monitoring.
*/ inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; } /** *The name of the stream for which to enable enhanced monitoring.
*/ inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; } /** *The name of the stream for which to enable enhanced monitoring.
*/ inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); } /** *The name of the stream for which to enable enhanced monitoring.
*/ inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); } /** *The name of the stream for which to enable enhanced monitoring.
*/ inline EnableEnhancedMonitoringRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} /** *The name of the stream for which to enable enhanced monitoring.
*/ inline EnableEnhancedMonitoringRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;} /** *The name of the stream for which to enable enhanced monitoring.
*/ inline EnableEnhancedMonitoringRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;} /** *List of shard-level metrics to enable.
The following are the valid
* shard-level metrics. The value "ALL
" enables 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 to enable.
The following are the valid
* shard-level metrics. The value "ALL
" enables 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 to enable.
The following are the valid
* shard-level metrics. The value "ALL
" enables 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 to enable.
The following are the valid
* shard-level metrics. The value "ALL
" enables 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 to enable.
The following are the valid
* shard-level metrics. The value "ALL
" enables 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 EnableEnhancedMonitoringRequest& WithShardLevelMetrics(const Aws::VectorList of shard-level metrics to enable.
The following are the valid
* shard-level metrics. The value "ALL
" enables 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 EnableEnhancedMonitoringRequest& WithShardLevelMetrics(Aws::VectorList of shard-level metrics to enable.
The following are the valid
* shard-level metrics. The value "ALL
" enables 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 EnableEnhancedMonitoringRequest& AddShardLevelMetrics(const MetricsName& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics.push_back(value); return *this; } /** *List of shard-level metrics to enable.
The following are the valid
* shard-level metrics. The value "ALL
" enables 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 EnableEnhancedMonitoringRequest& AddShardLevelMetrics(MetricsName&& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics.push_back(std::move(value)); return *this; } /** *The ARN of the stream.
*/ inline const Aws::String& GetStreamARN() const{ return m_streamARN; } /** *The ARN of the stream.
*/ inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; } /** *The ARN of the stream.
*/ inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; } /** *The ARN of the stream.
*/ inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); } /** *The ARN of the stream.
*/ inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); } /** *The ARN of the stream.
*/ inline EnableEnhancedMonitoringRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;} /** *The ARN of the stream.
*/ inline EnableEnhancedMonitoringRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;} /** *The ARN of the stream.
*/ inline EnableEnhancedMonitoringRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;} private: Aws::String m_streamName; bool m_streamNameHasBeenSet = false; Aws::Vector