/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GuardDuty { namespace Model { /** *

Total number of scanned files.

See Also:

AWS * API Reference

*/ class ScannedItemCount { public: AWS_GUARDDUTY_API ScannedItemCount(); AWS_GUARDDUTY_API ScannedItemCount(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API ScannedItemCount& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Total GB of files scanned for malware.

*/ inline int GetTotalGb() const{ return m_totalGb; } /** *

Total GB of files scanned for malware.

*/ inline bool TotalGbHasBeenSet() const { return m_totalGbHasBeenSet; } /** *

Total GB of files scanned for malware.

*/ inline void SetTotalGb(int value) { m_totalGbHasBeenSet = true; m_totalGb = value; } /** *

Total GB of files scanned for malware.

*/ inline ScannedItemCount& WithTotalGb(int value) { SetTotalGb(value); return *this;} /** *

Number of files scanned.

*/ inline int GetFiles() const{ return m_files; } /** *

Number of files scanned.

*/ inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; } /** *

Number of files scanned.

*/ inline void SetFiles(int value) { m_filesHasBeenSet = true; m_files = value; } /** *

Number of files scanned.

*/ inline ScannedItemCount& WithFiles(int value) { SetFiles(value); return *this;} /** *

Total number of scanned volumes.

*/ inline int GetVolumes() const{ return m_volumes; } /** *

Total number of scanned volumes.

*/ inline bool VolumesHasBeenSet() const { return m_volumesHasBeenSet; } /** *

Total number of scanned volumes.

*/ inline void SetVolumes(int value) { m_volumesHasBeenSet = true; m_volumes = value; } /** *

Total number of scanned volumes.

*/ inline ScannedItemCount& WithVolumes(int value) { SetVolumes(value); return *this;} private: int m_totalGb; bool m_totalGbHasBeenSet = false; int m_files; bool m_filesHasBeenSet = false; int m_volumes; bool m_volumesHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws