/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details of infected file including name, file path and
* hash.See Also:
AWS
* API Reference
The file path of the infected file.
*/ inline const Aws::String& GetFilePath() const{ return m_filePath; } /** *The file path of the infected file.
*/ inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; } /** *The file path of the infected file.
*/ inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; } /** *The file path of the infected file.
*/ inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); } /** *The file path of the infected file.
*/ inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); } /** *The file path of the infected file.
*/ inline ScanFilePath& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;} /** *The file path of the infected file.
*/ inline ScanFilePath& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;} /** *The file path of the infected file.
*/ inline ScanFilePath& WithFilePath(const char* value) { SetFilePath(value); return *this;} /** *EBS volume Arn details of the infected file.
*/ inline const Aws::String& GetVolumeArn() const{ return m_volumeArn; } /** *EBS volume Arn details of the infected file.
*/ inline bool VolumeArnHasBeenSet() const { return m_volumeArnHasBeenSet; } /** *EBS volume Arn details of the infected file.
*/ inline void SetVolumeArn(const Aws::String& value) { m_volumeArnHasBeenSet = true; m_volumeArn = value; } /** *EBS volume Arn details of the infected file.
*/ inline void SetVolumeArn(Aws::String&& value) { m_volumeArnHasBeenSet = true; m_volumeArn = std::move(value); } /** *EBS volume Arn details of the infected file.
*/ inline void SetVolumeArn(const char* value) { m_volumeArnHasBeenSet = true; m_volumeArn.assign(value); } /** *EBS volume Arn details of the infected file.
*/ inline ScanFilePath& WithVolumeArn(const Aws::String& value) { SetVolumeArn(value); return *this;} /** *EBS volume Arn details of the infected file.
*/ inline ScanFilePath& WithVolumeArn(Aws::String&& value) { SetVolumeArn(std::move(value)); return *this;} /** *EBS volume Arn details of the infected file.
*/ inline ScanFilePath& WithVolumeArn(const char* value) { SetVolumeArn(value); return *this;} /** *The hash value of the infected file.
*/ inline const Aws::String& GetHash() const{ return m_hash; } /** *The hash value of the infected file.
*/ inline bool HashHasBeenSet() const { return m_hashHasBeenSet; } /** *The hash value of the infected file.
*/ inline void SetHash(const Aws::String& value) { m_hashHasBeenSet = true; m_hash = value; } /** *The hash value of the infected file.
*/ inline void SetHash(Aws::String&& value) { m_hashHasBeenSet = true; m_hash = std::move(value); } /** *The hash value of the infected file.
*/ inline void SetHash(const char* value) { m_hashHasBeenSet = true; m_hash.assign(value); } /** *The hash value of the infected file.
*/ inline ScanFilePath& WithHash(const Aws::String& value) { SetHash(value); return *this;} /** *The hash value of the infected file.
*/ inline ScanFilePath& WithHash(Aws::String&& value) { SetHash(std::move(value)); return *this;} /** *The hash value of the infected file.
*/ inline ScanFilePath& WithHash(const char* value) { SetHash(value); return *this;} /** *File name of the infected file.
*/ inline const Aws::String& GetFileName() const{ return m_fileName; } /** *File name of the infected file.
*/ inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; } /** *File name of the infected file.
*/ inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; } /** *File name of the infected file.
*/ inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); } /** *File name of the infected file.
*/ inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); } /** *File name of the infected file.
*/ inline ScanFilePath& WithFileName(const Aws::String& value) { SetFileName(value); return *this;} /** *File name of the infected file.
*/ inline ScanFilePath& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;} /** *File name of the infected file.
*/ inline ScanFilePath& WithFileName(const char* value) { SetFileName(value); return *this;} private: Aws::String m_filePath; bool m_filePathHasBeenSet = false; Aws::String m_volumeArn; bool m_volumeArnHasBeenSet = false; Aws::String m_hash; bool m_hashHasBeenSet = false; Aws::String m_fileName; bool m_fileNameHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws