/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Kinesis { namespace Model { /** *

Represents the output for EnableEnhancedMonitoring and * DisableEnhancedMonitoring.

See Also:

AWS * API Reference

*/ class EnableEnhancedMonitoringResult { public: AWS_KINESIS_API EnableEnhancedMonitoringResult(); AWS_KINESIS_API EnableEnhancedMonitoringResult(const Aws::AmazonWebServiceResult& result); AWS_KINESIS_API EnableEnhancedMonitoringResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the Kinesis data stream.

*/ inline const Aws::String& GetStreamName() const{ return m_streamName; } /** *

The name of the Kinesis data stream.

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

The name of the Kinesis data stream.

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

The name of the Kinesis data stream.

*/ inline void SetStreamName(const char* value) { m_streamName.assign(value); } /** *

The name of the Kinesis data stream.

*/ inline EnableEnhancedMonitoringResult& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} /** *

The name of the Kinesis data stream.

*/ inline EnableEnhancedMonitoringResult& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;} /** *

The name of the Kinesis data stream.

*/ inline EnableEnhancedMonitoringResult& WithStreamName(const char* value) { SetStreamName(value); return *this;} /** *

Represents the current state of the metrics that are in the enhanced state * before the operation.

*/ inline const Aws::Vector& GetCurrentShardLevelMetrics() const{ return m_currentShardLevelMetrics; } /** *

Represents the current state of the metrics that are in the enhanced state * before the operation.

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

Represents the current state of the metrics that are in the enhanced state * before the operation.

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

Represents the current state of the metrics that are in the enhanced state * before the operation.

*/ inline EnableEnhancedMonitoringResult& WithCurrentShardLevelMetrics(const Aws::Vector& value) { SetCurrentShardLevelMetrics(value); return *this;} /** *

Represents the current state of the metrics that are in the enhanced state * before the operation.

*/ inline EnableEnhancedMonitoringResult& WithCurrentShardLevelMetrics(Aws::Vector&& value) { SetCurrentShardLevelMetrics(std::move(value)); return *this;} /** *

Represents the current state of the metrics that are in the enhanced state * before the operation.

*/ inline EnableEnhancedMonitoringResult& AddCurrentShardLevelMetrics(const MetricsName& value) { m_currentShardLevelMetrics.push_back(value); return *this; } /** *

Represents the current state of the metrics that are in the enhanced state * before the operation.

*/ inline EnableEnhancedMonitoringResult& AddCurrentShardLevelMetrics(MetricsName&& value) { m_currentShardLevelMetrics.push_back(std::move(value)); return *this; } /** *

Represents the list of all the metrics that would be in the enhanced state * after the operation.

*/ inline const Aws::Vector& GetDesiredShardLevelMetrics() const{ return m_desiredShardLevelMetrics; } /** *

Represents the list of all the metrics that would be in the enhanced state * after the operation.

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

Represents the list of all the metrics that would be in the enhanced state * after the operation.

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

Represents the list of all the metrics that would be in the enhanced state * after the operation.

*/ inline EnableEnhancedMonitoringResult& WithDesiredShardLevelMetrics(const Aws::Vector& value) { SetDesiredShardLevelMetrics(value); return *this;} /** *

Represents the list of all the metrics that would be in the enhanced state * after the operation.

*/ inline EnableEnhancedMonitoringResult& WithDesiredShardLevelMetrics(Aws::Vector&& value) { SetDesiredShardLevelMetrics(std::move(value)); return *this;} /** *

Represents the list of all the metrics that would be in the enhanced state * after the operation.

*/ inline EnableEnhancedMonitoringResult& AddDesiredShardLevelMetrics(const MetricsName& value) { m_desiredShardLevelMetrics.push_back(value); return *this; } /** *

Represents the list of all the metrics that would be in the enhanced state * after the operation.

*/ inline EnableEnhancedMonitoringResult& AddDesiredShardLevelMetrics(MetricsName&& value) { m_desiredShardLevelMetrics.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 void SetStreamARN(const Aws::String& value) { m_streamARN = value; } /** *

The ARN of the stream.

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

The ARN of the stream.

*/ inline void SetStreamARN(const char* value) { m_streamARN.assign(value); } /** *

The ARN of the stream.

*/ inline EnableEnhancedMonitoringResult& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;} /** *

The ARN of the stream.

*/ inline EnableEnhancedMonitoringResult& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;} /** *

The ARN of the stream.

*/ inline EnableEnhancedMonitoringResult& WithStreamARN(const char* value) { SetStreamARN(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 EnableEnhancedMonitoringResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline EnableEnhancedMonitoringResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline EnableEnhancedMonitoringResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_streamName; Aws::Vector m_currentShardLevelMetrics; Aws::Vector m_desiredShardLevelMetrics; Aws::String m_streamARN; Aws::String m_requestId; }; } // namespace Model } // namespace Kinesis } // namespace Aws