/** * 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 AWS_KINESIS_API DisableEnhancedMonitoringResult { public: DisableEnhancedMonitoringResult(); DisableEnhancedMonitoringResult(const Aws::AmazonWebServiceResult& result); DisableEnhancedMonitoringResult& 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 DisableEnhancedMonitoringResult& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} /** *

The name of the Kinesis data stream.

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

The name of the Kinesis data stream.

*/ inline DisableEnhancedMonitoringResult& 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 DisableEnhancedMonitoringResult& 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 DisableEnhancedMonitoringResult& 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 DisableEnhancedMonitoringResult& 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 DisableEnhancedMonitoringResult& 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 DisableEnhancedMonitoringResult& 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 DisableEnhancedMonitoringResult& 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 DisableEnhancedMonitoringResult& 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 DisableEnhancedMonitoringResult& AddDesiredShardLevelMetrics(MetricsName&& value) { m_desiredShardLevelMetrics.push_back(std::move(value)); return *this; } private: Aws::String m_streamName; Aws::Vector m_currentShardLevelMetrics; Aws::Vector m_desiredShardLevelMetrics; }; } // namespace Model } // namespace Kinesis } // namespace Aws