AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Malware.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/MalwareType.h>
10#include <aws/securityhub/model/MalwareState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
33 class Malware
34 {
35 public:
36 AWS_SECURITYHUB_API Malware();
37 AWS_SECURITYHUB_API Malware(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Malware& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline Malware& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline Malware& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline Malware& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const MalwareType& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const MalwareType& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(MalwareType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline Malware& WithType(const MalwareType& value) { SetType(value); return *this;}
66 inline Malware& WithType(MalwareType&& value) { SetType(std::move(value)); return *this;}
68
70
74 inline const Aws::String& GetPath() const{ return m_path; }
75 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
76 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
77 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
78 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
79 inline Malware& WithPath(const Aws::String& value) { SetPath(value); return *this;}
80 inline Malware& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
81 inline Malware& WithPath(const char* value) { SetPath(value); return *this;}
83
85
88 inline const MalwareState& GetState() const{ return m_state; }
89 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
90 inline void SetState(const MalwareState& value) { m_stateHasBeenSet = true; m_state = value; }
91 inline void SetState(MalwareState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
92 inline Malware& WithState(const MalwareState& value) { SetState(value); return *this;}
93 inline Malware& WithState(MalwareState&& value) { SetState(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_name;
98 bool m_nameHasBeenSet = false;
99
100 MalwareType m_type;
101 bool m_typeHasBeenSet = false;
102
103 Aws::String m_path;
104 bool m_pathHasBeenSet = false;
105
106 MalwareState m_state;
107 bool m_stateHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SecurityHub
112} // namespace Aws
AWS_SECURITYHUB_API Malware & operator=(Aws::Utils::Json::JsonView jsonValue)
Malware & WithState(MalwareState &&value)
Definition Malware.h:93
Malware & WithPath(const Aws::String &value)
Definition Malware.h:79
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
Definition Malware.h:50
void SetName(const Aws::String &value)
Definition Malware.h:49
void SetPath(const Aws::String &value)
Definition Malware.h:76
const Aws::String & GetPath() const
Definition Malware.h:74
Malware & WithState(const MalwareState &value)
Definition Malware.h:92
void SetState(const MalwareState &value)
Definition Malware.h:90
AWS_SECURITYHUB_API Malware()
const MalwareType & GetType() const
Definition Malware.h:61
void SetType(const MalwareType &value)
Definition Malware.h:63
Malware & WithType(const MalwareType &value)
Definition Malware.h:65
const MalwareState & GetState() const
Definition Malware.h:88
AWS_SECURITYHUB_API Malware(Aws::Utils::Json::JsonView jsonValue)
Malware & WithName(const Aws::String &value)
Definition Malware.h:52
const Aws::String & GetName() const
Definition Malware.h:47
Malware & WithName(const char *value)
Definition Malware.h:54
void SetName(const char *value)
Definition Malware.h:51
void SetType(MalwareType &&value)
Definition Malware.h:64
void SetState(MalwareState &&value)
Definition Malware.h:91
void SetPath(const char *value)
Definition Malware.h:78
Malware & WithPath(Aws::String &&value)
Definition Malware.h:80
Malware & WithPath(const char *value)
Definition Malware.h:81
Malware & WithType(MalwareType &&value)
Definition Malware.h:66
Malware & WithName(Aws::String &&value)
Definition Malware.h:53
void SetPath(Aws::String &&value)
Definition Malware.h:77
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue