/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A list of malware related to a finding.See Also:
AWS
* API Reference
The name of the malware that was observed.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the malware that was observed.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the malware that was observed.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the malware that was observed.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the malware that was observed.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the malware that was observed.
*/ inline Malware& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the malware that was observed.
*/ inline Malware& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the malware that was observed.
*/ inline Malware& WithName(const char* value) { SetName(value); return *this;} /** *The type of the malware that was observed.
*/ inline const MalwareType& GetType() const{ return m_type; } /** *The type of the malware that was observed.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the malware that was observed.
*/ inline void SetType(const MalwareType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the malware that was observed.
*/ inline void SetType(MalwareType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the malware that was observed.
*/ inline Malware& WithType(const MalwareType& value) { SetType(value); return *this;} /** *The type of the malware that was observed.
*/ inline Malware& WithType(MalwareType&& value) { SetType(std::move(value)); return *this;} /** *The file system path of the malware that was observed.
*/ inline const Aws::String& GetPath() const{ return m_path; } /** *The file system path of the malware that was observed.
*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *The file system path of the malware that was observed.
*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *The file system path of the malware that was observed.
*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *The file system path of the malware that was observed.
*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *The file system path of the malware that was observed.
*/ inline Malware& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *The file system path of the malware that was observed.
*/ inline Malware& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *The file system path of the malware that was observed.
*/ inline Malware& WithPath(const char* value) { SetPath(value); return *this;} /** *The state of the malware that was observed.
*/ inline const MalwareState& GetState() const{ return m_state; } /** *The state of the malware that was observed.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the malware that was observed.
*/ inline void SetState(const MalwareState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the malware that was observed.
*/ inline void SetState(MalwareState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the malware that was observed.
*/ inline Malware& WithState(const MalwareState& value) { SetState(value); return *this;} /** *The state of the malware that was observed.
*/ inline Malware& WithState(MalwareState&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; MalwareType m_type; bool m_typeHasBeenSet = false; Aws::String m_path; bool m_pathHasBeenSet = false; MalwareState m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws