/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about finding statistics.See Also:
AWS
* API Reference
Represents a map of severity to count statistics for a set of findings.
*/ inline const Aws::MapRepresents a map of severity to count statistics for a set of findings.
*/ inline bool CountBySeverityHasBeenSet() const { return m_countBySeverityHasBeenSet; } /** *Represents a map of severity to count statistics for a set of findings.
*/ inline void SetCountBySeverity(const Aws::MapRepresents a map of severity to count statistics for a set of findings.
*/ inline void SetCountBySeverity(Aws::MapRepresents a map of severity to count statistics for a set of findings.
*/ inline FindingStatistics& WithCountBySeverity(const Aws::MapRepresents a map of severity to count statistics for a set of findings.
*/ inline FindingStatistics& WithCountBySeverity(Aws::MapRepresents a map of severity to count statistics for a set of findings.
*/ inline FindingStatistics& AddCountBySeverity(const Aws::String& key, int value) { m_countBySeverityHasBeenSet = true; m_countBySeverity.emplace(key, value); return *this; } /** *Represents a map of severity to count statistics for a set of findings.
*/ inline FindingStatistics& AddCountBySeverity(Aws::String&& key, int value) { m_countBySeverityHasBeenSet = true; m_countBySeverity.emplace(std::move(key), value); return *this; } /** *Represents a map of severity to count statistics for a set of findings.
*/ inline FindingStatistics& AddCountBySeverity(const char* key, int value) { m_countBySeverityHasBeenSet = true; m_countBySeverity.emplace(key, value); return *this; } private: Aws::Map