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>
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>
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>
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>
85 inline void SetNamespacePid(
int value) { m_namespacePidHasBeenSet =
true; m_namespacePid = value; }
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>
105 inline int GetPid()
const {
return m_pid; }
107 inline void SetPid(
int value) { m_pidHasBeenSet =
true; m_pid = value; }
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>
129 template<
typename Uu
idT = Aws::String>
130 void SetUuid(UuidT&& value) { m_uuidHasBeenSet =
true; m_uuid = std::forward<UuidT>(value); }
131 template<
typename Uu
idT = Aws::String>
142 template<
typename ParentUu
idT = Aws::String>
143 void SetParentUuid(ParentUuidT&& value) { m_parentUuidHasBeenSet =
true; m_parentUuid = std::forward<ParentUuidT>(value); }
144 template<
typename ParentUu
idT = Aws::String>
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>
166 inline void SetUserId(
int value) { m_userIdHasBeenSet =
true; m_userId = value; }
176 inline void SetEuid(
int value) { m_euidHasBeenSet =
true; m_euid = value; }
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>>
190 template<
typename LineageT = LineageObject>
191 ProcessDetails&
AddLineage(LineageT&& value) { m_lineageHasBeenSet =
true; m_lineage.emplace_back(std::forward<LineageT>(value));
return *
this; }
196 bool m_nameHasBeenSet =
false;
199 bool m_executablePathHasBeenSet =
false;
202 bool m_executableSha256HasBeenSet =
false;
204 int m_namespacePid{0};
205 bool m_namespacePidHasBeenSet =
false;
208 bool m_pwdHasBeenSet =
false;
211 bool m_pidHasBeenSet =
false;
214 bool m_startTimeHasBeenSet =
false;
217 bool m_uuidHasBeenSet =
false;
220 bool m_parentUuidHasBeenSet =
false;
223 bool m_userHasBeenSet =
false;
226 bool m_userIdHasBeenSet =
false;
229 bool m_euidHasBeenSet =
false;
232 bool m_lineageHasBeenSet =
false;
ProcessDetails & WithExecutableSha256(ExecutableSha256T &&value)
ProcessDetails & WithUserId(int value)
void SetStartTime(StartTimeT &&value)
void SetUser(UserT &&value)
const Aws::String & GetParentUuid() const
bool UserIdHasBeenSet() const
void SetName(NameT &&value)
bool UserHasBeenSet() 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)
void SetLineage(LineageT &&value)
bool EuidHasBeenSet() const
bool PwdHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserId(int value)
bool LineageHasBeenSet() const
const Aws::String & GetPwd() const
AWS_GUARDDUTY_API ProcessDetails(Aws::Utils::Json::JsonView jsonValue)
int GetNamespacePid() const
const Aws::String & GetExecutableSha256() const
bool ParentUuidHasBeenSet() const
ProcessDetails & WithName(NameT &&value)
void SetUuid(UuidT &&value)
AWS_GUARDDUTY_API ProcessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParentUuid(ParentUuidT &&value)
void SetExecutableSha256(ExecutableSha256T &&value)
void SetPwd(PwdT &&value)
const Aws::String & GetUuid() const
bool NameHasBeenSet() 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)
bool ExecutableSha256HasBeenSet() const
ProcessDetails & WithUuid(UuidT &&value)
bool PidHasBeenSet() const
bool StartTimeHasBeenSet() const
bool NamespacePidHasBeenSet() const
void SetNamespacePid(int value)
bool ExecutablePathHasBeenSet() const
ProcessDetails & WithPid(int value)
bool UuidHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue