/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details of the highest severity threat detected during scan and
* number of infected files.See Also:
AWS
* API Reference
Severity level of the highest severity threat detected.
*/ inline const Aws::String& GetSeverity() const{ return m_severity; } /** *Severity level of the highest severity threat detected.
*/ inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; } /** *Severity level of the highest severity threat detected.
*/ inline void SetSeverity(const Aws::String& value) { m_severityHasBeenSet = true; m_severity = value; } /** *Severity level of the highest severity threat detected.
*/ inline void SetSeverity(Aws::String&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); } /** *Severity level of the highest severity threat detected.
*/ inline void SetSeverity(const char* value) { m_severityHasBeenSet = true; m_severity.assign(value); } /** *Severity level of the highest severity threat detected.
*/ inline HighestSeverityThreatDetails& WithSeverity(const Aws::String& value) { SetSeverity(value); return *this;} /** *Severity level of the highest severity threat detected.
*/ inline HighestSeverityThreatDetails& WithSeverity(Aws::String&& value) { SetSeverity(std::move(value)); return *this;} /** *Severity level of the highest severity threat detected.
*/ inline HighestSeverityThreatDetails& WithSeverity(const char* value) { SetSeverity(value); return *this;} /** *Threat name of the highest severity threat detected as part of the malware * scan.
*/ inline const Aws::String& GetThreatName() const{ return m_threatName; } /** *Threat name of the highest severity threat detected as part of the malware * scan.
*/ inline bool ThreatNameHasBeenSet() const { return m_threatNameHasBeenSet; } /** *Threat name of the highest severity threat detected as part of the malware * scan.
*/ inline void SetThreatName(const Aws::String& value) { m_threatNameHasBeenSet = true; m_threatName = value; } /** *Threat name of the highest severity threat detected as part of the malware * scan.
*/ inline void SetThreatName(Aws::String&& value) { m_threatNameHasBeenSet = true; m_threatName = std::move(value); } /** *Threat name of the highest severity threat detected as part of the malware * scan.
*/ inline void SetThreatName(const char* value) { m_threatNameHasBeenSet = true; m_threatName.assign(value); } /** *Threat name of the highest severity threat detected as part of the malware * scan.
*/ inline HighestSeverityThreatDetails& WithThreatName(const Aws::String& value) { SetThreatName(value); return *this;} /** *Threat name of the highest severity threat detected as part of the malware * scan.
*/ inline HighestSeverityThreatDetails& WithThreatName(Aws::String&& value) { SetThreatName(std::move(value)); return *this;} /** *Threat name of the highest severity threat detected as part of the malware * scan.
*/ inline HighestSeverityThreatDetails& WithThreatName(const char* value) { SetThreatName(value); return *this;} /** *Total number of infected files with the highest severity threat detected.
*/ inline int GetCount() const{ return m_count; } /** *Total number of infected files with the highest severity threat detected.
*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *Total number of infected files with the highest severity threat detected.
*/ inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } /** *Total number of infected files with the highest severity threat detected.
*/ inline HighestSeverityThreatDetails& WithCount(int value) { SetCount(value); return *this;} private: Aws::String m_severity; bool m_severityHasBeenSet = false; Aws::String m_threatName; bool m_threatNameHasBeenSet = false; int m_count; bool m_countHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws