/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The severity assigned to the finding by the finding provider.See
* Also:
AWS
* API Reference
The severity label assigned to the finding by the finding provider.
*/ inline const SeverityLabel& GetLabel() const{ return m_label; } /** *The severity label assigned to the finding by the finding provider.
*/ inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } /** *The severity label assigned to the finding by the finding provider.
*/ inline void SetLabel(const SeverityLabel& value) { m_labelHasBeenSet = true; m_label = value; } /** *The severity label assigned to the finding by the finding provider.
*/ inline void SetLabel(SeverityLabel&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } /** *The severity label assigned to the finding by the finding provider.
*/ inline FindingProviderSeverity& WithLabel(const SeverityLabel& value) { SetLabel(value); return *this;} /** *The severity label assigned to the finding by the finding provider.
*/ inline FindingProviderSeverity& WithLabel(SeverityLabel&& value) { SetLabel(std::move(value)); return *this;} /** *The finding provider's original value for the severity.
*/ inline const Aws::String& GetOriginal() const{ return m_original; } /** *The finding provider's original value for the severity.
*/ inline bool OriginalHasBeenSet() const { return m_originalHasBeenSet; } /** *The finding provider's original value for the severity.
*/ inline void SetOriginal(const Aws::String& value) { m_originalHasBeenSet = true; m_original = value; } /** *The finding provider's original value for the severity.
*/ inline void SetOriginal(Aws::String&& value) { m_originalHasBeenSet = true; m_original = std::move(value); } /** *The finding provider's original value for the severity.
*/ inline void SetOriginal(const char* value) { m_originalHasBeenSet = true; m_original.assign(value); } /** *The finding provider's original value for the severity.
*/ inline FindingProviderSeverity& WithOriginal(const Aws::String& value) { SetOriginal(value); return *this;} /** *The finding provider's original value for the severity.
*/ inline FindingProviderSeverity& WithOriginal(Aws::String&& value) { SetOriginal(std::move(value)); return *this;} /** *The finding provider's original value for the severity.
*/ inline FindingProviderSeverity& WithOriginal(const char* value) { SetOriginal(value); return *this;} private: SeverityLabel m_label; bool m_labelHasBeenSet = false; Aws::String m_original; bool m_originalHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws