/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) that uniquely identifies the * cluster.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *The Amazon Resource Name (ARN) that uniquely identifies the * cluster.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** *The Amazon Resource Name (ARN) that uniquely identifies the * cluster.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** *The Amazon Resource Name (ARN) that uniquely identifies the * cluster.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** *The Amazon Resource Name (ARN) that uniquely identifies the * cluster.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** *The Amazon Resource Name (ARN) that uniquely identifies the * cluster.
*/ inline UpdateMonitoringRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *The Amazon Resource Name (ARN) that uniquely identifies the * cluster.
*/ inline UpdateMonitoringRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) that uniquely identifies the * cluster.
*/ inline UpdateMonitoringRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** *The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.
* */ inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; } /** *The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.
* */ inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; } /** *The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.
* */ inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; } /** *The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.
* */ inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); } /** *The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.
* */ inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); } /** *The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.
* */ inline UpdateMonitoringRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;} /** *The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.
* */ inline UpdateMonitoringRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;} /** *The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.
* */ inline UpdateMonitoringRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;} /** *Specifies which Apache Kafka metrics Amazon MSK gathers and * sends to Amazon CloudWatch for this cluster.
*/ inline const EnhancedMonitoring& GetEnhancedMonitoring() const{ return m_enhancedMonitoring; } /** *Specifies which Apache Kafka metrics Amazon MSK gathers and * sends to Amazon CloudWatch for this cluster.
*/ inline bool EnhancedMonitoringHasBeenSet() const { return m_enhancedMonitoringHasBeenSet; } /** *Specifies which Apache Kafka metrics Amazon MSK gathers and * sends to Amazon CloudWatch for this cluster.
*/ inline void SetEnhancedMonitoring(const EnhancedMonitoring& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = value; } /** *Specifies which Apache Kafka metrics Amazon MSK gathers and * sends to Amazon CloudWatch for this cluster.
*/ inline void SetEnhancedMonitoring(EnhancedMonitoring&& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = std::move(value); } /** *Specifies which Apache Kafka metrics Amazon MSK gathers and * sends to Amazon CloudWatch for this cluster.
*/ inline UpdateMonitoringRequest& WithEnhancedMonitoring(const EnhancedMonitoring& value) { SetEnhancedMonitoring(value); return *this;} /** *Specifies which Apache Kafka metrics Amazon MSK gathers and * sends to Amazon CloudWatch for this cluster.
*/ inline UpdateMonitoringRequest& WithEnhancedMonitoring(EnhancedMonitoring&& value) { SetEnhancedMonitoring(std::move(value)); return *this;} /** *The settings for open monitoring.
*/ inline const OpenMonitoringInfo& GetOpenMonitoring() const{ return m_openMonitoring; } /** *The settings for open monitoring.
*/ inline bool OpenMonitoringHasBeenSet() const { return m_openMonitoringHasBeenSet; } /** *The settings for open monitoring.
*/ inline void SetOpenMonitoring(const OpenMonitoringInfo& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = value; } /** *The settings for open monitoring.
*/ inline void SetOpenMonitoring(OpenMonitoringInfo&& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = std::move(value); } /** *The settings for open monitoring.
*/ inline UpdateMonitoringRequest& WithOpenMonitoring(const OpenMonitoringInfo& value) { SetOpenMonitoring(value); return *this;} /** *The settings for open monitoring.
*/ inline UpdateMonitoringRequest& WithOpenMonitoring(OpenMonitoringInfo&& value) { SetOpenMonitoring(std::move(value)); return *this;} inline const LoggingInfo& GetLoggingInfo() const{ return m_loggingInfo; } inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; } inline void SetLoggingInfo(const LoggingInfo& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = value; } inline void SetLoggingInfo(LoggingInfo&& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = std::move(value); } inline UpdateMonitoringRequest& WithLoggingInfo(const LoggingInfo& value) { SetLoggingInfo(value); return *this;} inline UpdateMonitoringRequest& WithLoggingInfo(LoggingInfo&& value) { SetLoggingInfo(std::move(value)); return *this;} private: Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; Aws::String m_currentVersion; bool m_currentVersionHasBeenSet = false; EnhancedMonitoring m_enhancedMonitoring; bool m_enhancedMonitoringHasBeenSet = false; OpenMonitoringInfo m_openMonitoring; bool m_openMonitoringHasBeenSet = false; LoggingInfo m_loggingInfo; bool m_loggingInfoHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws