/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The value to use in an Amazon CloudWatch custom metric dimension. This is
* used in the Network Firewall sets the dimension name to For more information about
* CloudWatch custom metric dimensions, see Publishing
* Custom Metrics in the Amazon
* CloudWatch User Guide.PublishMetrics
CustomAction. A CloudWatch custom
* metric dimension is a name/value pair that's part of the identity of a metric.
* CustomAction
* and you provide the dimension value. See Also:
AWS
* API Reference
The value to use in the custom metric dimension.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The value to use in the custom metric dimension.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value to use in the custom metric dimension.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The value to use in the custom metric dimension.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The value to use in the custom metric dimension.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The value to use in the custom metric dimension.
*/ inline Dimension& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The value to use in the custom metric dimension.
*/ inline Dimension& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The value to use in the custom metric dimension.
*/ inline Dimension& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace NetworkFirewall } // namespace Aws