AWS SDK for C++  1.9.102
AWS SDK for C++
ProcessDetails.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline ProcessDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline ProcessDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline ProcessDetails& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const Aws::String& GetPath() const{ return m_path; }
86 
90  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
91 
95  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
96 
100  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
101 
105  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
106 
110  inline ProcessDetails& WithPath(const Aws::String& value) { SetPath(value); return *this;}
111 
115  inline ProcessDetails& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
116 
120  inline ProcessDetails& WithPath(const char* value) { SetPath(value); return *this;}
121 
122 
126  inline int GetPid() const{ return m_pid; }
127 
131  inline bool PidHasBeenSet() const { return m_pidHasBeenSet; }
132 
136  inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; }
137 
141  inline ProcessDetails& WithPid(int value) { SetPid(value); return *this;}
142 
143 
147  inline int GetParentPid() const{ return m_parentPid; }
148 
152  inline bool ParentPidHasBeenSet() const { return m_parentPidHasBeenSet; }
153 
157  inline void SetParentPid(int value) { m_parentPidHasBeenSet = true; m_parentPid = value; }
158 
162  inline ProcessDetails& WithParentPid(int value) { SetParentPid(value); return *this;}
163 
164 
172  inline const Aws::String& GetLaunchedAt() const{ return m_launchedAt; }
173 
181  inline bool LaunchedAtHasBeenSet() const { return m_launchedAtHasBeenSet; }
182 
190  inline void SetLaunchedAt(const Aws::String& value) { m_launchedAtHasBeenSet = true; m_launchedAt = value; }
191 
199  inline void SetLaunchedAt(Aws::String&& value) { m_launchedAtHasBeenSet = true; m_launchedAt = std::move(value); }
200 
208  inline void SetLaunchedAt(const char* value) { m_launchedAtHasBeenSet = true; m_launchedAt.assign(value); }
209 
217  inline ProcessDetails& WithLaunchedAt(const Aws::String& value) { SetLaunchedAt(value); return *this;}
218 
226  inline ProcessDetails& WithLaunchedAt(Aws::String&& value) { SetLaunchedAt(std::move(value)); return *this;}
227 
235  inline ProcessDetails& WithLaunchedAt(const char* value) { SetLaunchedAt(value); return *this;}
236 
237 
245  inline const Aws::String& GetTerminatedAt() const{ return m_terminatedAt; }
246 
254  inline bool TerminatedAtHasBeenSet() const { return m_terminatedAtHasBeenSet; }
255 
263  inline void SetTerminatedAt(const Aws::String& value) { m_terminatedAtHasBeenSet = true; m_terminatedAt = value; }
264 
272  inline void SetTerminatedAt(Aws::String&& value) { m_terminatedAtHasBeenSet = true; m_terminatedAt = std::move(value); }
273 
281  inline void SetTerminatedAt(const char* value) { m_terminatedAtHasBeenSet = true; m_terminatedAt.assign(value); }
282 
290  inline ProcessDetails& WithTerminatedAt(const Aws::String& value) { SetTerminatedAt(value); return *this;}
291 
299  inline ProcessDetails& WithTerminatedAt(Aws::String&& value) { SetTerminatedAt(std::move(value)); return *this;}
300 
308  inline ProcessDetails& WithTerminatedAt(const char* value) { SetTerminatedAt(value); return *this;}
309 
310  private:
311 
312  Aws::String m_name;
313  bool m_nameHasBeenSet;
314 
315  Aws::String m_path;
316  bool m_pathHasBeenSet;
317 
318  int m_pid;
319  bool m_pidHasBeenSet;
320 
321  int m_parentPid;
322  bool m_parentPidHasBeenSet;
323 
324  Aws::String m_launchedAt;
325  bool m_launchedAtHasBeenSet;
326 
327  Aws::String m_terminatedAt;
328  bool m_terminatedAtHasBeenSet;
329  };
330 
331 } // namespace Model
332 } // namespace SecurityHub
333 } // namespace Aws
Aws::SecurityHub::Model::ProcessDetails::SetLaunchedAt
void SetLaunchedAt(const Aws::String &value)
Definition: ProcessDetails.h:190
Aws::SecurityHub::Model::ProcessDetails::WithTerminatedAt
ProcessDetails & WithTerminatedAt(const char *value)
Definition: ProcessDetails.h:308
Aws::SecurityHub::Model::ProcessDetails::SetName
void SetName(Aws::String &&value)
Definition: ProcessDetails.h:59
Aws::SecurityHub::Model::ProcessDetails
Definition: ProcessDetails.h:33
Aws::SecurityHub::Model::ProcessDetails::GetLaunchedAt
const Aws::String & GetLaunchedAt() const
Definition: ProcessDetails.h:172
Aws::SecurityHub::Model::ProcessDetails::WithName
ProcessDetails & WithName(Aws::String &&value)
Definition: ProcessDetails.h:74
Aws::SecurityHub::Model::ProcessDetails::operator=
ProcessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::ProcessDetails::SetLaunchedAt
void SetLaunchedAt(Aws::String &&value)
Definition: ProcessDetails.h:199
Aws::SecurityHub::Model::ProcessDetails::SetName
void SetName(const char *value)
Definition: ProcessDetails.h:64
Aws::SecurityHub::Model::ProcessDetails::WithLaunchedAt
ProcessDetails & WithLaunchedAt(const char *value)
Definition: ProcessDetails.h:235
Aws::SecurityHub::Model::ProcessDetails::SetTerminatedAt
void SetTerminatedAt(Aws::String &&value)
Definition: ProcessDetails.h:272
Aws::SecurityHub::Model::ProcessDetails::WithLaunchedAt
ProcessDetails & WithLaunchedAt(Aws::String &&value)
Definition: ProcessDetails.h:226
Aws::SecurityHub::Model::ProcessDetails::SetTerminatedAt
void SetTerminatedAt(const Aws::String &value)
Definition: ProcessDetails.h:263
Aws::SecurityHub::Model::ProcessDetails::WithPath
ProcessDetails & WithPath(const char *value)
Definition: ProcessDetails.h:120
Aws::SecurityHub::Model::ProcessDetails::ProcessDetails
ProcessDetails()
Aws::SecurityHub::Model::ProcessDetails::SetPid
void SetPid(int value)
Definition: ProcessDetails.h:136
Aws::SecurityHub::Model::ProcessDetails::PathHasBeenSet
bool PathHasBeenSet() const
Definition: ProcessDetails.h:90
Aws::SecurityHub::Model::ProcessDetails::WithPath
ProcessDetails & WithPath(const Aws::String &value)
Definition: ProcessDetails.h:110
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::ProcessDetails::TerminatedAtHasBeenSet
bool TerminatedAtHasBeenSet() const
Definition: ProcessDetails.h:254
Aws::SecurityHub::Model::ProcessDetails::SetName
void SetName(const Aws::String &value)
Definition: ProcessDetails.h:54
Aws::SecurityHub::Model::ProcessDetails::WithTerminatedAt
ProcessDetails & WithTerminatedAt(const Aws::String &value)
Definition: ProcessDetails.h:290
Aws::SecurityHub::Model::ProcessDetails::LaunchedAtHasBeenSet
bool LaunchedAtHasBeenSet() const
Definition: ProcessDetails.h:181
Aws::SecurityHub::Model::ProcessDetails::GetName
const Aws::String & GetName() const
Definition: ProcessDetails.h:44
Aws::SecurityHub::Model::ProcessDetails::WithPid
ProcessDetails & WithPid(int value)
Definition: ProcessDetails.h:141
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SecurityHub::Model::ProcessDetails::GetPath
const Aws::String & GetPath() const
Definition: ProcessDetails.h:85
Aws::SecurityHub::Model::ProcessDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::ProcessDetails::PidHasBeenSet
bool PidHasBeenSet() const
Definition: ProcessDetails.h:131
Aws::SecurityHub::Model::ProcessDetails::SetLaunchedAt
void SetLaunchedAt(const char *value)
Definition: ProcessDetails.h:208
Aws::SecurityHub::Model::ProcessDetails::WithName
ProcessDetails & WithName(const Aws::String &value)
Definition: ProcessDetails.h:69
Aws::SecurityHub::Model::ProcessDetails::GetParentPid
int GetParentPid() const
Definition: ProcessDetails.h:147
Aws::SecurityHub::Model::ProcessDetails::SetParentPid
void SetParentPid(int value)
Definition: ProcessDetails.h:157
Aws::SecurityHub::Model::ProcessDetails::SetTerminatedAt
void SetTerminatedAt(const char *value)
Definition: ProcessDetails.h:281
Aws::SecurityHub::Model::ProcessDetails::SetPath
void SetPath(const char *value)
Definition: ProcessDetails.h:105
Aws::SecurityHub::Model::ProcessDetails::SetPath
void SetPath(const Aws::String &value)
Definition: ProcessDetails.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::ProcessDetails::GetTerminatedAt
const Aws::String & GetTerminatedAt() const
Definition: ProcessDetails.h:245
Aws::SecurityHub::Model::ProcessDetails::ProcessDetails
ProcessDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::ProcessDetails::WithTerminatedAt
ProcessDetails & WithTerminatedAt(Aws::String &&value)
Definition: ProcessDetails.h:299
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::ProcessDetails::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ProcessDetails.h:49
Aws::SecurityHub::Model::ProcessDetails::WithLaunchedAt
ProcessDetails & WithLaunchedAt(const Aws::String &value)
Definition: ProcessDetails.h:217
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::ProcessDetails::WithParentPid
ProcessDetails & WithParentPid(int value)
Definition: ProcessDetails.h:162
Aws::SecurityHub::Model::ProcessDetails::ParentPidHasBeenSet
bool ParentPidHasBeenSet() const
Definition: ProcessDetails.h:152
Aws::SecurityHub::Model::ProcessDetails::SetPath
void SetPath(Aws::String &&value)
Definition: ProcessDetails.h:100
Aws::SecurityHub::Model::ProcessDetails::GetPid
int GetPid() const
Definition: ProcessDetails.h:126
Aws::SecurityHub::Model::ProcessDetails::WithName
ProcessDetails & WithName(const char *value)
Definition: ProcessDetails.h:79
Aws::SecurityHub::Model::ProcessDetails::WithPath
ProcessDetails & WithPath(Aws::String &&value)
Definition: ProcessDetails.h:115