AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProcessDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API ProcessDetails();
36 AWS_SECURITYHUB_API ProcessDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API ProcessDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline ProcessDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline ProcessDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline ProcessDetails& WithName(const char* value) { SetName(value); return *this;}
55
57
61 inline const Aws::String& GetPath() const{ return m_path; }
62 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
63 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
64 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
65 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
66 inline ProcessDetails& WithPath(const Aws::String& value) { SetPath(value); return *this;}
67 inline ProcessDetails& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
68 inline ProcessDetails& WithPath(const char* value) { SetPath(value); return *this;}
70
72
75 inline int GetPid() const{ return m_pid; }
76 inline bool PidHasBeenSet() const { return m_pidHasBeenSet; }
77 inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; }
78 inline ProcessDetails& WithPid(int value) { SetPid(value); return *this;}
80
82
86 inline int GetParentPid() const{ return m_parentPid; }
87 inline bool ParentPidHasBeenSet() const { return m_parentPidHasBeenSet; }
88 inline void SetParentPid(int value) { m_parentPidHasBeenSet = true; m_parentPid = value; }
89 inline ProcessDetails& WithParentPid(int value) { SetParentPid(value); return *this;}
91
93
110 inline const Aws::String& GetLaunchedAt() const{ return m_launchedAt; }
111 inline bool LaunchedAtHasBeenSet() const { return m_launchedAtHasBeenSet; }
112 inline void SetLaunchedAt(const Aws::String& value) { m_launchedAtHasBeenSet = true; m_launchedAt = value; }
113 inline void SetLaunchedAt(Aws::String&& value) { m_launchedAtHasBeenSet = true; m_launchedAt = std::move(value); }
114 inline void SetLaunchedAt(const char* value) { m_launchedAtHasBeenSet = true; m_launchedAt.assign(value); }
115 inline ProcessDetails& WithLaunchedAt(const Aws::String& value) { SetLaunchedAt(value); return *this;}
116 inline ProcessDetails& WithLaunchedAt(Aws::String&& value) { SetLaunchedAt(std::move(value)); return *this;}
117 inline ProcessDetails& WithLaunchedAt(const char* value) { SetLaunchedAt(value); return *this;}
119
121
138 inline const Aws::String& GetTerminatedAt() const{ return m_terminatedAt; }
139 inline bool TerminatedAtHasBeenSet() const { return m_terminatedAtHasBeenSet; }
140 inline void SetTerminatedAt(const Aws::String& value) { m_terminatedAtHasBeenSet = true; m_terminatedAt = value; }
141 inline void SetTerminatedAt(Aws::String&& value) { m_terminatedAtHasBeenSet = true; m_terminatedAt = std::move(value); }
142 inline void SetTerminatedAt(const char* value) { m_terminatedAtHasBeenSet = true; m_terminatedAt.assign(value); }
143 inline ProcessDetails& WithTerminatedAt(const Aws::String& value) { SetTerminatedAt(value); return *this;}
144 inline ProcessDetails& WithTerminatedAt(Aws::String&& value) { SetTerminatedAt(std::move(value)); return *this;}
145 inline ProcessDetails& WithTerminatedAt(const char* value) { SetTerminatedAt(value); return *this;}
147 private:
148
149 Aws::String m_name;
150 bool m_nameHasBeenSet = false;
151
152 Aws::String m_path;
153 bool m_pathHasBeenSet = false;
154
155 int m_pid;
156 bool m_pidHasBeenSet = false;
157
158 int m_parentPid;
159 bool m_parentPidHasBeenSet = false;
160
161 Aws::String m_launchedAt;
162 bool m_launchedAtHasBeenSet = false;
163
164 Aws::String m_terminatedAt;
165 bool m_terminatedAtHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace SecurityHub
170} // namespace Aws
ProcessDetails & WithPath(const Aws::String &value)
ProcessDetails & WithLaunchedAt(Aws::String &&value)
ProcessDetails & WithName(const char *value)
ProcessDetails & WithLaunchedAt(const char *value)
ProcessDetails & WithTerminatedAt(Aws::String &&value)
ProcessDetails & WithTerminatedAt(const Aws::String &value)
AWS_SECURITYHUB_API ProcessDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTerminatedAt() const
void SetName(const Aws::String &value)
void SetPath(const Aws::String &value)
void SetLaunchedAt(Aws::String &&value)
ProcessDetails & WithTerminatedAt(const char *value)
ProcessDetails & WithPath(Aws::String &&value)
ProcessDetails & WithPath(const char *value)
void SetTerminatedAt(const Aws::String &value)
ProcessDetails & WithName(const Aws::String &value)
AWS_SECURITYHUB_API ProcessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ProcessDetails & WithName(Aws::String &&value)
void SetLaunchedAt(const Aws::String &value)
ProcessDetails & WithLaunchedAt(const Aws::String &value)
ProcessDetails & WithPid(int value)
const Aws::String & GetLaunchedAt() const
const Aws::String & GetName() const
void SetTerminatedAt(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ProcessDetails & WithParentPid(int value)
const Aws::String & GetPath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue