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/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/guardduty/model/LineageObject.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GuardDuty
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_GUARDDUTY_API ProcessDetails();
38 AWS_GUARDDUTY_API ProcessDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
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 ProcessDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline ProcessDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline ProcessDetails& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetExecutablePath() const{ return m_executablePath; }
62 inline bool ExecutablePathHasBeenSet() const { return m_executablePathHasBeenSet; }
63 inline void SetExecutablePath(const Aws::String& value) { m_executablePathHasBeenSet = true; m_executablePath = value; }
64 inline void SetExecutablePath(Aws::String&& value) { m_executablePathHasBeenSet = true; m_executablePath = std::move(value); }
65 inline void SetExecutablePath(const char* value) { m_executablePathHasBeenSet = true; m_executablePath.assign(value); }
66 inline ProcessDetails& WithExecutablePath(const Aws::String& value) { SetExecutablePath(value); return *this;}
67 inline ProcessDetails& WithExecutablePath(Aws::String&& value) { SetExecutablePath(std::move(value)); return *this;}
68 inline ProcessDetails& WithExecutablePath(const char* value) { SetExecutablePath(value); return *this;}
70
72
75 inline const Aws::String& GetExecutableSha256() const{ return m_executableSha256; }
76 inline bool ExecutableSha256HasBeenSet() const { return m_executableSha256HasBeenSet; }
77 inline void SetExecutableSha256(const Aws::String& value) { m_executableSha256HasBeenSet = true; m_executableSha256 = value; }
78 inline void SetExecutableSha256(Aws::String&& value) { m_executableSha256HasBeenSet = true; m_executableSha256 = std::move(value); }
79 inline void SetExecutableSha256(const char* value) { m_executableSha256HasBeenSet = true; m_executableSha256.assign(value); }
80 inline ProcessDetails& WithExecutableSha256(const Aws::String& value) { SetExecutableSha256(value); return *this;}
81 inline ProcessDetails& WithExecutableSha256(Aws::String&& value) { SetExecutableSha256(std::move(value)); return *this;}
82 inline ProcessDetails& WithExecutableSha256(const char* value) { SetExecutableSha256(value); return *this;}
84
86
89 inline int GetNamespacePid() const{ return m_namespacePid; }
90 inline bool NamespacePidHasBeenSet() const { return m_namespacePidHasBeenSet; }
91 inline void SetNamespacePid(int value) { m_namespacePidHasBeenSet = true; m_namespacePid = value; }
92 inline ProcessDetails& WithNamespacePid(int value) { SetNamespacePid(value); return *this;}
94
96
99 inline const Aws::String& GetPwd() const{ return m_pwd; }
100 inline bool PwdHasBeenSet() const { return m_pwdHasBeenSet; }
101 inline void SetPwd(const Aws::String& value) { m_pwdHasBeenSet = true; m_pwd = value; }
102 inline void SetPwd(Aws::String&& value) { m_pwdHasBeenSet = true; m_pwd = std::move(value); }
103 inline void SetPwd(const char* value) { m_pwdHasBeenSet = true; m_pwd.assign(value); }
104 inline ProcessDetails& WithPwd(const Aws::String& value) { SetPwd(value); return *this;}
105 inline ProcessDetails& WithPwd(Aws::String&& value) { SetPwd(std::move(value)); return *this;}
106 inline ProcessDetails& WithPwd(const char* value) { SetPwd(value); return *this;}
108
110
113 inline int GetPid() const{ return m_pid; }
114 inline bool PidHasBeenSet() const { return m_pidHasBeenSet; }
115 inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; }
116 inline ProcessDetails& WithPid(int value) { SetPid(value); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
124 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
125 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
126 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
127 inline ProcessDetails& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
128 inline ProcessDetails& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
130
132
135 inline const Aws::String& GetUuid() const{ return m_uuid; }
136 inline bool UuidHasBeenSet() const { return m_uuidHasBeenSet; }
137 inline void SetUuid(const Aws::String& value) { m_uuidHasBeenSet = true; m_uuid = value; }
138 inline void SetUuid(Aws::String&& value) { m_uuidHasBeenSet = true; m_uuid = std::move(value); }
139 inline void SetUuid(const char* value) { m_uuidHasBeenSet = true; m_uuid.assign(value); }
140 inline ProcessDetails& WithUuid(const Aws::String& value) { SetUuid(value); return *this;}
141 inline ProcessDetails& WithUuid(Aws::String&& value) { SetUuid(std::move(value)); return *this;}
142 inline ProcessDetails& WithUuid(const char* value) { SetUuid(value); return *this;}
144
146
150 inline const Aws::String& GetParentUuid() const{ return m_parentUuid; }
151 inline bool ParentUuidHasBeenSet() const { return m_parentUuidHasBeenSet; }
152 inline void SetParentUuid(const Aws::String& value) { m_parentUuidHasBeenSet = true; m_parentUuid = value; }
153 inline void SetParentUuid(Aws::String&& value) { m_parentUuidHasBeenSet = true; m_parentUuid = std::move(value); }
154 inline void SetParentUuid(const char* value) { m_parentUuidHasBeenSet = true; m_parentUuid.assign(value); }
155 inline ProcessDetails& WithParentUuid(const Aws::String& value) { SetParentUuid(value); return *this;}
156 inline ProcessDetails& WithParentUuid(Aws::String&& value) { SetParentUuid(std::move(value)); return *this;}
157 inline ProcessDetails& WithParentUuid(const char* value) { SetParentUuid(value); return *this;}
159
161
164 inline const Aws::String& GetUser() const{ return m_user; }
165 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
166 inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; }
167 inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
168 inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); }
169 inline ProcessDetails& WithUser(const Aws::String& value) { SetUser(value); return *this;}
170 inline ProcessDetails& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
171 inline ProcessDetails& WithUser(const char* value) { SetUser(value); return *this;}
173
175
178 inline int GetUserId() const{ return m_userId; }
179 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
180 inline void SetUserId(int value) { m_userIdHasBeenSet = true; m_userId = value; }
181 inline ProcessDetails& WithUserId(int value) { SetUserId(value); return *this;}
183
185
188 inline int GetEuid() const{ return m_euid; }
189 inline bool EuidHasBeenSet() const { return m_euidHasBeenSet; }
190 inline void SetEuid(int value) { m_euidHasBeenSet = true; m_euid = value; }
191 inline ProcessDetails& WithEuid(int value) { SetEuid(value); return *this;}
193
195
198 inline const Aws::Vector<LineageObject>& GetLineage() const{ return m_lineage; }
199 inline bool LineageHasBeenSet() const { return m_lineageHasBeenSet; }
200 inline void SetLineage(const Aws::Vector<LineageObject>& value) { m_lineageHasBeenSet = true; m_lineage = value; }
201 inline void SetLineage(Aws::Vector<LineageObject>&& value) { m_lineageHasBeenSet = true; m_lineage = std::move(value); }
202 inline ProcessDetails& WithLineage(const Aws::Vector<LineageObject>& value) { SetLineage(value); return *this;}
203 inline ProcessDetails& WithLineage(Aws::Vector<LineageObject>&& value) { SetLineage(std::move(value)); return *this;}
204 inline ProcessDetails& AddLineage(const LineageObject& value) { m_lineageHasBeenSet = true; m_lineage.push_back(value); return *this; }
205 inline ProcessDetails& AddLineage(LineageObject&& value) { m_lineageHasBeenSet = true; m_lineage.push_back(std::move(value)); return *this; }
207 private:
208
209 Aws::String m_name;
210 bool m_nameHasBeenSet = false;
211
212 Aws::String m_executablePath;
213 bool m_executablePathHasBeenSet = false;
214
215 Aws::String m_executableSha256;
216 bool m_executableSha256HasBeenSet = false;
217
218 int m_namespacePid;
219 bool m_namespacePidHasBeenSet = false;
220
221 Aws::String m_pwd;
222 bool m_pwdHasBeenSet = false;
223
224 int m_pid;
225 bool m_pidHasBeenSet = false;
226
227 Aws::Utils::DateTime m_startTime;
228 bool m_startTimeHasBeenSet = false;
229
230 Aws::String m_uuid;
231 bool m_uuidHasBeenSet = false;
232
233 Aws::String m_parentUuid;
234 bool m_parentUuidHasBeenSet = false;
235
236 Aws::String m_user;
237 bool m_userHasBeenSet = false;
238
239 int m_userId;
240 bool m_userIdHasBeenSet = false;
241
242 int m_euid;
243 bool m_euidHasBeenSet = false;
244
246 bool m_lineageHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace GuardDuty
251} // namespace Aws
void SetUser(const Aws::String &value)
ProcessDetails & WithUserId(int value)
const Aws::String & GetParentUuid() const
ProcessDetails & WithName(const char *value)
ProcessDetails & WithUuid(Aws::String &&value)
void SetExecutableSha256(const Aws::String &value)
void SetExecutablePath(const char *value)
ProcessDetails & WithParentUuid(const Aws::String &value)
ProcessDetails & WithEuid(int value)
ProcessDetails & WithName(const Aws::String &value)
ProcessDetails & WithNamespacePid(int value)
ProcessDetails & AddLineage(const LineageObject &value)
ProcessDetails & WithExecutableSha256(Aws::String &&value)
ProcessDetails & WithLineage(const Aws::Vector< LineageObject > &value)
ProcessDetails & WithExecutablePath(const Aws::String &value)
ProcessDetails & WithParentUuid(Aws::String &&value)
ProcessDetails & WithPwd(Aws::String &&value)
void SetPwd(const Aws::String &value)
ProcessDetails & WithStartTime(Aws::Utils::DateTime &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUser(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetParentUuid(Aws::String &&value)
ProcessDetails & WithStartTime(const Aws::Utils::DateTime &value)
void SetExecutablePath(Aws::String &&value)
ProcessDetails & WithUser(const char *value)
ProcessDetails & WithUuid(const Aws::String &value)
const Aws::String & GetPwd() const
ProcessDetails & AddLineage(LineageObject &&value)
ProcessDetails & WithExecutableSha256(const Aws::String &value)
AWS_GUARDDUTY_API ProcessDetails(Aws::Utils::Json::JsonView jsonValue)
ProcessDetails & WithUser(const Aws::String &value)
ProcessDetails & WithPwd(const char *value)
const Aws::String & GetExecutableSha256() const
AWS_GUARDDUTY_API ProcessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ProcessDetails & WithName(Aws::String &&value)
ProcessDetails & WithUuid(const char *value)
void SetParentUuid(const char *value)
const Aws::String & GetUuid() const
void SetExecutablePath(const Aws::String &value)
void SetLineage(Aws::Vector< LineageObject > &&value)
void SetParentUuid(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
const Aws::Vector< LineageObject > & GetLineage() const
const Aws::String & GetName() const
void SetExecutableSha256(Aws::String &&value)
const Aws::String & GetUser() const
const Aws::Utils::DateTime & GetStartTime() const
void SetExecutableSha256(const char *value)
ProcessDetails & WithPwd(const Aws::String &value)
ProcessDetails & WithExecutableSha256(const char *value)
void SetName(const Aws::String &value)
ProcessDetails & WithExecutablePath(Aws::String &&value)
const Aws::String & GetExecutablePath() const
ProcessDetails & WithUser(Aws::String &&value)
ProcessDetails & WithLineage(Aws::Vector< LineageObject > &&value)
void SetName(Aws::String &&value)
ProcessDetails & WithExecutablePath(const char *value)
void SetLineage(const Aws::Vector< LineageObject > &value)
ProcessDetails & WithParentUuid(const char *value)
void SetUuid(const Aws::String &value)
void SetUuid(Aws::String &&value)
ProcessDetails & WithPid(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue