AWS SDK for C++  1.9.131
AWS SDK for C++
Malware.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SecurityHub
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline Malware& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline Malware& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline Malware& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const MalwareType& GetType() const{ return m_type; }
87 
91  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
92 
96  inline void SetType(const MalwareType& value) { m_typeHasBeenSet = true; m_type = value; }
97 
101  inline void SetType(MalwareType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
102 
106  inline Malware& WithType(const MalwareType& value) { SetType(value); return *this;}
107 
111  inline Malware& WithType(MalwareType&& value) { SetType(std::move(value)); return *this;}
112 
113 
117  inline const Aws::String& GetPath() const{ return m_path; }
118 
122  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
123 
127  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
128 
132  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
133 
137  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
138 
142  inline Malware& WithPath(const Aws::String& value) { SetPath(value); return *this;}
143 
147  inline Malware& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
148 
152  inline Malware& WithPath(const char* value) { SetPath(value); return *this;}
153 
154 
158  inline const MalwareState& GetState() const{ return m_state; }
159 
163  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
164 
168  inline void SetState(const MalwareState& value) { m_stateHasBeenSet = true; m_state = value; }
169 
173  inline void SetState(MalwareState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
174 
178  inline Malware& WithState(const MalwareState& value) { SetState(value); return *this;}
179 
183  inline Malware& WithState(MalwareState&& value) { SetState(std::move(value)); return *this;}
184 
185  private:
186 
187  Aws::String m_name;
188  bool m_nameHasBeenSet;
189 
190  MalwareType m_type;
191  bool m_typeHasBeenSet;
192 
193  Aws::String m_path;
194  bool m_pathHasBeenSet;
195 
196  MalwareState m_state;
197  bool m_stateHasBeenSet;
198  };
199 
200 } // namespace Model
201 } // namespace SecurityHub
202 } // namespace Aws
Aws::SecurityHub::Model::Malware::GetPath
const Aws::String & GetPath() const
Definition: Malware.h:117
Aws::SecurityHub::Model::Malware::SetType
void SetType(MalwareType &&value)
Definition: Malware.h:101
Aws::SecurityHub::Model::Malware::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: Malware.h:91
Aws::SecurityHub::Model::Malware::PathHasBeenSet
bool PathHasBeenSet() const
Definition: Malware.h:122
Aws::SecurityHub::Model::Malware::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::Malware::Malware
Malware()
Aws::SecurityHub::Model::Malware::WithPath
Malware & WithPath(Aws::String &&value)
Definition: Malware.h:147
Aws::SecurityHub::Model::Malware::GetName
const Aws::String & GetName() const
Definition: Malware.h:45
Aws::SecurityHub::Model::Malware
Definition: Malware.h:34
Aws::SecurityHub::Model::Malware::WithName
Malware & WithName(Aws::String &&value)
Definition: Malware.h:75
Aws::SecurityHub::Model::Malware::SetType
void SetType(const MalwareType &value)
Definition: Malware.h:96
Aws::SecurityHub::Model::Malware::SetState
void SetState(MalwareState &&value)
Definition: Malware.h:173
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::Malware::WithName
Malware & WithName(const Aws::String &value)
Definition: Malware.h:70
Aws::SecurityHub::Model::Malware::SetPath
void SetPath(const char *value)
Definition: Malware.h:137
Aws::SecurityHub::Model::Malware::WithState
Malware & WithState(const MalwareState &value)
Definition: Malware.h:178
MalwareType.h
Aws::SecurityHub::Model::Malware::GetState
const MalwareState & GetState() const
Definition: Malware.h:158
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::MalwareType
MalwareType
Definition: MalwareType.h:17
Aws::SecurityHub::Model::Malware::WithPath
Malware & WithPath(const Aws::String &value)
Definition: Malware.h:142
Aws::SecurityHub::Model::Malware::WithName
Malware & WithName(const char *value)
Definition: Malware.h:80
Aws::SecurityHub::Model::Malware::SetPath
void SetPath(const Aws::String &value)
Definition: Malware.h:127
Aws::SecurityHub::Model::Malware::WithPath
Malware & WithPath(const char *value)
Definition: Malware.h:152
Aws::SecurityHub::Model::Malware::SetName
void SetName(Aws::String &&value)
Definition: Malware.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::MalwareState
MalwareState
Definition: MalwareState.h:17
Aws::SecurityHub::Model::Malware::SetName
void SetName(const Aws::String &value)
Definition: Malware.h:55
Aws::SecurityHub::Model::Malware::operator=
Malware & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::Malware::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Malware.h:50
Aws::SecurityHub::Model::Malware::SetName
void SetName(const char *value)
Definition: Malware.h:65
Aws::SecurityHub::Model::Malware::Malware
Malware(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::Malware::StateHasBeenSet
bool StateHasBeenSet() const
Definition: Malware.h:163
Aws::SecurityHub::Model::Malware::WithType
Malware & WithType(const MalwareType &value)
Definition: Malware.h:106
Aws::SecurityHub::Model::Malware::SetPath
void SetPath(Aws::String &&value)
Definition: Malware.h:132
Aws::SecurityHub::Model::Malware::SetState
void SetState(const MalwareState &value)
Definition: Malware.h:168
Aws::SecurityHub::Model::Malware::GetType
const MalwareType & GetType() const
Definition: Malware.h:86
Aws::SecurityHub::Model::Malware::WithType
Malware & WithType(MalwareType &&value)
Definition: Malware.h:111
MalwareState.h
Aws::SecurityHub::Model::Malware::WithState
Malware & WithState(MalwareState &&value)
Definition: Malware.h:183