AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 ProcessDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetExecutablePath() const { return m_executablePath; }
60 inline bool ExecutablePathHasBeenSet() const { return m_executablePathHasBeenSet; }
61 template<typename ExecutablePathT = Aws::String>
62 void SetExecutablePath(ExecutablePathT&& value) { m_executablePathHasBeenSet = true; m_executablePath = std::forward<ExecutablePathT>(value); }
63 template<typename ExecutablePathT = Aws::String>
64 ProcessDetails& WithExecutablePath(ExecutablePathT&& value) { SetExecutablePath(std::forward<ExecutablePathT>(value)); return *this;}
66
68
71 inline const Aws::String& GetExecutableSha256() const { return m_executableSha256; }
72 inline bool ExecutableSha256HasBeenSet() const { return m_executableSha256HasBeenSet; }
73 template<typename ExecutableSha256T = Aws::String>
74 void SetExecutableSha256(ExecutableSha256T&& value) { m_executableSha256HasBeenSet = true; m_executableSha256 = std::forward<ExecutableSha256T>(value); }
75 template<typename ExecutableSha256T = Aws::String>
76 ProcessDetails& WithExecutableSha256(ExecutableSha256T&& value) { SetExecutableSha256(std::forward<ExecutableSha256T>(value)); return *this;}
78
80
83 inline int GetNamespacePid() const { return m_namespacePid; }
84 inline bool NamespacePidHasBeenSet() const { return m_namespacePidHasBeenSet; }
85 inline void SetNamespacePid(int value) { m_namespacePidHasBeenSet = true; m_namespacePid = value; }
86 inline ProcessDetails& WithNamespacePid(int value) { SetNamespacePid(value); return *this;}
88
90
93 inline const Aws::String& GetPwd() const { return m_pwd; }
94 inline bool PwdHasBeenSet() const { return m_pwdHasBeenSet; }
95 template<typename PwdT = Aws::String>
96 void SetPwd(PwdT&& value) { m_pwdHasBeenSet = true; m_pwd = std::forward<PwdT>(value); }
97 template<typename PwdT = Aws::String>
98 ProcessDetails& WithPwd(PwdT&& value) { SetPwd(std::forward<PwdT>(value)); return *this;}
100
102
105 inline int GetPid() const { return m_pid; }
106 inline bool PidHasBeenSet() const { return m_pidHasBeenSet; }
107 inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; }
108 inline ProcessDetails& WithPid(int value) { SetPid(value); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
116 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
117 template<typename StartTimeT = Aws::Utils::DateTime>
118 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
119 template<typename StartTimeT = Aws::Utils::DateTime>
120 ProcessDetails& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
122
124
127 inline const Aws::String& GetUuid() const { return m_uuid; }
128 inline bool UuidHasBeenSet() const { return m_uuidHasBeenSet; }
129 template<typename UuidT = Aws::String>
130 void SetUuid(UuidT&& value) { m_uuidHasBeenSet = true; m_uuid = std::forward<UuidT>(value); }
131 template<typename UuidT = Aws::String>
132 ProcessDetails& WithUuid(UuidT&& value) { SetUuid(std::forward<UuidT>(value)); return *this;}
134
136
140 inline const Aws::String& GetParentUuid() const { return m_parentUuid; }
141 inline bool ParentUuidHasBeenSet() const { return m_parentUuidHasBeenSet; }
142 template<typename ParentUuidT = Aws::String>
143 void SetParentUuid(ParentUuidT&& value) { m_parentUuidHasBeenSet = true; m_parentUuid = std::forward<ParentUuidT>(value); }
144 template<typename ParentUuidT = Aws::String>
145 ProcessDetails& WithParentUuid(ParentUuidT&& value) { SetParentUuid(std::forward<ParentUuidT>(value)); return *this;}
147
149
152 inline const Aws::String& GetUser() const { return m_user; }
153 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
154 template<typename UserT = Aws::String>
155 void SetUser(UserT&& value) { m_userHasBeenSet = true; m_user = std::forward<UserT>(value); }
156 template<typename UserT = Aws::String>
157 ProcessDetails& WithUser(UserT&& value) { SetUser(std::forward<UserT>(value)); return *this;}
159
161
164 inline int GetUserId() const { return m_userId; }
165 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
166 inline void SetUserId(int value) { m_userIdHasBeenSet = true; m_userId = value; }
167 inline ProcessDetails& WithUserId(int value) { SetUserId(value); return *this;}
169
171
174 inline int GetEuid() const { return m_euid; }
175 inline bool EuidHasBeenSet() const { return m_euidHasBeenSet; }
176 inline void SetEuid(int value) { m_euidHasBeenSet = true; m_euid = value; }
177 inline ProcessDetails& WithEuid(int value) { SetEuid(value); return *this;}
179
181
184 inline const Aws::Vector<LineageObject>& GetLineage() const { return m_lineage; }
185 inline bool LineageHasBeenSet() const { return m_lineageHasBeenSet; }
186 template<typename LineageT = Aws::Vector<LineageObject>>
187 void SetLineage(LineageT&& value) { m_lineageHasBeenSet = true; m_lineage = std::forward<LineageT>(value); }
188 template<typename LineageT = Aws::Vector<LineageObject>>
189 ProcessDetails& WithLineage(LineageT&& value) { SetLineage(std::forward<LineageT>(value)); return *this;}
190 template<typename LineageT = LineageObject>
191 ProcessDetails& AddLineage(LineageT&& value) { m_lineageHasBeenSet = true; m_lineage.emplace_back(std::forward<LineageT>(value)); return *this; }
193 private:
194
195 Aws::String m_name;
196 bool m_nameHasBeenSet = false;
197
198 Aws::String m_executablePath;
199 bool m_executablePathHasBeenSet = false;
200
201 Aws::String m_executableSha256;
202 bool m_executableSha256HasBeenSet = false;
203
204 int m_namespacePid{0};
205 bool m_namespacePidHasBeenSet = false;
206
207 Aws::String m_pwd;
208 bool m_pwdHasBeenSet = false;
209
210 int m_pid{0};
211 bool m_pidHasBeenSet = false;
212
213 Aws::Utils::DateTime m_startTime{};
214 bool m_startTimeHasBeenSet = false;
215
216 Aws::String m_uuid;
217 bool m_uuidHasBeenSet = false;
218
219 Aws::String m_parentUuid;
220 bool m_parentUuidHasBeenSet = false;
221
222 Aws::String m_user;
223 bool m_userHasBeenSet = false;
224
225 int m_userId{0};
226 bool m_userIdHasBeenSet = false;
227
228 int m_euid{0};
229 bool m_euidHasBeenSet = false;
230
232 bool m_lineageHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace GuardDuty
237} // namespace Aws
ProcessDetails & WithExecutableSha256(ExecutableSha256T &&value)
ProcessDetails & WithUserId(int value)
void SetStartTime(StartTimeT &&value)
const Aws::String & GetParentUuid() const
ProcessDetails & WithParentUuid(ParentUuidT &&value)
ProcessDetails & WithStartTime(StartTimeT &&value)
ProcessDetails & WithUser(UserT &&value)
ProcessDetails & WithLineage(LineageT &&value)
ProcessDetails & WithEuid(int value)
AWS_GUARDDUTY_API ProcessDetails()=default
ProcessDetails & WithNamespacePid(int value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPwd() const
AWS_GUARDDUTY_API ProcessDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetExecutableSha256() const
ProcessDetails & WithName(NameT &&value)
AWS_GUARDDUTY_API ProcessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParentUuid(ParentUuidT &&value)
void SetExecutableSha256(ExecutableSha256T &&value)
const Aws::String & GetUuid() const
ProcessDetails & AddLineage(LineageT &&value)
const Aws::Vector< LineageObject > & GetLineage() const
const Aws::String & GetName() const
const Aws::String & GetUser() const
const Aws::Utils::DateTime & GetStartTime() const
ProcessDetails & WithExecutablePath(ExecutablePathT &&value)
const Aws::String & GetExecutablePath() const
ProcessDetails & WithPwd(PwdT &&value)
void SetExecutablePath(ExecutablePathT &&value)
ProcessDetails & WithUuid(UuidT &&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