/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a finding category with open findings.See
* Also:
AWS
* API Reference
The name of the finding category. A finding category is determined by the * detector that detected the finding.
*/ inline const Aws::String& GetCategoryName() const{ return m_categoryName; } /** *The name of the finding category. A finding category is determined by the * detector that detected the finding.
*/ inline bool CategoryNameHasBeenSet() const { return m_categoryNameHasBeenSet; } /** *The name of the finding category. A finding category is determined by the * detector that detected the finding.
*/ inline void SetCategoryName(const Aws::String& value) { m_categoryNameHasBeenSet = true; m_categoryName = value; } /** *The name of the finding category. A finding category is determined by the * detector that detected the finding.
*/ inline void SetCategoryName(Aws::String&& value) { m_categoryNameHasBeenSet = true; m_categoryName = std::move(value); } /** *The name of the finding category. A finding category is determined by the * detector that detected the finding.
*/ inline void SetCategoryName(const char* value) { m_categoryNameHasBeenSet = true; m_categoryName.assign(value); } /** *The name of the finding category. A finding category is determined by the * detector that detected the finding.
*/ inline CategoryWithFindingNum& WithCategoryName(const Aws::String& value) { SetCategoryName(value); return *this;} /** *The name of the finding category. A finding category is determined by the * detector that detected the finding.
*/ inline CategoryWithFindingNum& WithCategoryName(Aws::String&& value) { SetCategoryName(std::move(value)); return *this;} /** *The name of the finding category. A finding category is determined by the * detector that detected the finding.
*/ inline CategoryWithFindingNum& WithCategoryName(const char* value) { SetCategoryName(value); return *this;} /** *The number of open findings in the category.
*/ inline int GetFindingNumber() const{ return m_findingNumber; } /** *The number of open findings in the category.
*/ inline bool FindingNumberHasBeenSet() const { return m_findingNumberHasBeenSet; } /** *The number of open findings in the category.
*/ inline void SetFindingNumber(int value) { m_findingNumberHasBeenSet = true; m_findingNumber = value; } /** *The number of open findings in the category.
*/ inline CategoryWithFindingNum& WithFindingNumber(int value) { SetFindingNumber(value); return *this;} private: Aws::String m_categoryName; bool m_categoryNameHasBeenSet = false; int m_findingNumber; bool m_findingNumberHasBeenSet = false; }; } // namespace Model } // namespace CodeGuruSecurity } // namespace Aws