/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an Amazon CloudWatch metric that is analyzed by DevOps
* Guru. It is one of many analyzed metrics that are used to generate insights.
* See Also:
AWS
* API Reference
The name of the CloudWatch metric.
*/ inline const Aws::String& GetMetricName() const{ return m_metricName; } /** *The name of the CloudWatch metric.
*/ inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; } /** *The name of the CloudWatch metric.
*/ inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; } /** *The name of the CloudWatch metric.
*/ inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); } /** *The name of the CloudWatch metric.
*/ inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); } /** *The name of the CloudWatch metric.
*/ inline RecommendationRelatedCloudWatchMetricsSourceDetail& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;} /** *The name of the CloudWatch metric.
*/ inline RecommendationRelatedCloudWatchMetricsSourceDetail& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;} /** *The name of the CloudWatch metric.
*/ inline RecommendationRelatedCloudWatchMetricsSourceDetail& WithMetricName(const char* value) { SetMetricName(value); return *this;} /** *The namespace of the CloudWatch metric. A namespace is a container for * CloudWatch metrics.
*/ inline const Aws::String& GetNamespace() const{ return m_namespace; } /** *The namespace of the CloudWatch metric. A namespace is a container for * CloudWatch metrics.
*/ inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } /** *The namespace of the CloudWatch metric. A namespace is a container for * CloudWatch metrics.
*/ inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } /** *The namespace of the CloudWatch metric. A namespace is a container for * CloudWatch metrics.
*/ inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } /** *The namespace of the CloudWatch metric. A namespace is a container for * CloudWatch metrics.
*/ inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } /** *The namespace of the CloudWatch metric. A namespace is a container for * CloudWatch metrics.
*/ inline RecommendationRelatedCloudWatchMetricsSourceDetail& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} /** *The namespace of the CloudWatch metric. A namespace is a container for * CloudWatch metrics.
*/ inline RecommendationRelatedCloudWatchMetricsSourceDetail& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} /** *The namespace of the CloudWatch metric. A namespace is a container for * CloudWatch metrics.
*/ inline RecommendationRelatedCloudWatchMetricsSourceDetail& WithNamespace(const char* value) { SetNamespace(value); return *this;} private: Aws::String m_metricName; bool m_metricNameHasBeenSet = false; Aws::String m_namespace; bool m_namespaceHasBeenSet = false; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws