/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns information about the configuration element or attribute that was
* sanitized in the configuration.See Also:
AWS
* API Reference
The name of the configuration attribute that has been sanitized.
*/ inline const Aws::String& GetAttributeName() const{ return m_attributeName; } /** *The name of the configuration attribute that has been sanitized.
*/ inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; } /** *The name of the configuration attribute that has been sanitized.
*/ inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; } /** *The name of the configuration attribute that has been sanitized.
*/ inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); } /** *The name of the configuration attribute that has been sanitized.
*/ inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); } /** *The name of the configuration attribute that has been sanitized.
*/ inline SanitizationWarning& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;} /** *The name of the configuration attribute that has been sanitized.
*/ inline SanitizationWarning& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;} /** *The name of the configuration attribute that has been sanitized.
*/ inline SanitizationWarning& WithAttributeName(const char* value) { SetAttributeName(value); return *this;} /** *The name of the configuration element that has been sanitized.
*/ inline const Aws::String& GetElementName() const{ return m_elementName; } /** *The name of the configuration element that has been sanitized.
*/ inline bool ElementNameHasBeenSet() const { return m_elementNameHasBeenSet; } /** *The name of the configuration element that has been sanitized.
*/ inline void SetElementName(const Aws::String& value) { m_elementNameHasBeenSet = true; m_elementName = value; } /** *The name of the configuration element that has been sanitized.
*/ inline void SetElementName(Aws::String&& value) { m_elementNameHasBeenSet = true; m_elementName = std::move(value); } /** *The name of the configuration element that has been sanitized.
*/ inline void SetElementName(const char* value) { m_elementNameHasBeenSet = true; m_elementName.assign(value); } /** *The name of the configuration element that has been sanitized.
*/ inline SanitizationWarning& WithElementName(const Aws::String& value) { SetElementName(value); return *this;} /** *The name of the configuration element that has been sanitized.
*/ inline SanitizationWarning& WithElementName(Aws::String&& value) { SetElementName(std::move(value)); return *this;} /** *The name of the configuration element that has been sanitized.
*/ inline SanitizationWarning& WithElementName(const char* value) { SetElementName(value); return *this;} /** *The reason for which the configuration elements or attributes were * sanitized.
*/ inline const SanitizationWarningReason& GetReason() const{ return m_reason; } /** *The reason for which the configuration elements or attributes were * sanitized.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason for which the configuration elements or attributes were * sanitized.
*/ inline void SetReason(const SanitizationWarningReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason for which the configuration elements or attributes were * sanitized.
*/ inline void SetReason(SanitizationWarningReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason for which the configuration elements or attributes were * sanitized.
*/ inline SanitizationWarning& WithReason(const SanitizationWarningReason& value) { SetReason(value); return *this;} /** *The reason for which the configuration elements or attributes were * sanitized.
*/ inline SanitizationWarning& WithReason(SanitizationWarningReason&& value) { SetReason(std::move(value)); return *this;} private: Aws::String m_attributeName; bool m_attributeNameHasBeenSet = false; Aws::String m_elementName; bool m_elementNameHasBeenSet = false; SanitizationWarningReason m_reason; bool m_reasonHasBeenSet = false; }; } // namespace Model } // namespace MQ } // namespace Aws