/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GuardDuty { namespace Model { /** *

Information about the runtime process details.

See Also:

AWS * API Reference

*/ class LineageObject { public: AWS_GUARDDUTY_API LineageObject(); AWS_GUARDDUTY_API LineageObject(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API LineageObject& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The time when the process started. This is in UTC format.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The time when the process started. This is in UTC format.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The time when the process started. This is in UTC format.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The time when the process started. This is in UTC format.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The time when the process started. This is in UTC format.

*/ inline LineageObject& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The time when the process started. This is in UTC format.

*/ inline LineageObject& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The process ID of the child process.

*/ inline int GetNamespacePid() const{ return m_namespacePid; } /** *

The process ID of the child process.

*/ inline bool NamespacePidHasBeenSet() const { return m_namespacePidHasBeenSet; } /** *

The process ID of the child process.

*/ inline void SetNamespacePid(int value) { m_namespacePidHasBeenSet = true; m_namespacePid = value; } /** *

The process ID of the child process.

*/ inline LineageObject& WithNamespacePid(int value) { SetNamespacePid(value); return *this;} /** *

The user ID of the user that executed the process.

*/ inline int GetUserId() const{ return m_userId; } /** *

The user ID of the user that executed the process.

*/ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** *

The user ID of the user that executed the process.

*/ inline void SetUserId(int value) { m_userIdHasBeenSet = true; m_userId = value; } /** *

The user ID of the user that executed the process.

*/ inline LineageObject& WithUserId(int value) { SetUserId(value); return *this;} /** *

The name of the process.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the process.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the process.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the process.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the process.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the process.

*/ inline LineageObject& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the process.

*/ inline LineageObject& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the process.

*/ inline LineageObject& WithName(const char* value) { SetName(value); return *this;} /** *

The ID of the process.

*/ inline int GetPid() const{ return m_pid; } /** *

The ID of the process.

*/ inline bool PidHasBeenSet() const { return m_pidHasBeenSet; } /** *

The ID of the process.

*/ inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; } /** *

The ID of the process.

*/ inline LineageObject& WithPid(int value) { SetPid(value); return *this;} /** *

The unique ID assigned to the process by GuardDuty.

*/ inline const Aws::String& GetUuid() const{ return m_uuid; } /** *

The unique ID assigned to the process by GuardDuty.

*/ inline bool UuidHasBeenSet() const { return m_uuidHasBeenSet; } /** *

The unique ID assigned to the process by GuardDuty.

*/ inline void SetUuid(const Aws::String& value) { m_uuidHasBeenSet = true; m_uuid = value; } /** *

The unique ID assigned to the process by GuardDuty.

*/ inline void SetUuid(Aws::String&& value) { m_uuidHasBeenSet = true; m_uuid = std::move(value); } /** *

The unique ID assigned to the process by GuardDuty.

*/ inline void SetUuid(const char* value) { m_uuidHasBeenSet = true; m_uuid.assign(value); } /** *

The unique ID assigned to the process by GuardDuty.

*/ inline LineageObject& WithUuid(const Aws::String& value) { SetUuid(value); return *this;} /** *

The unique ID assigned to the process by GuardDuty.

*/ inline LineageObject& WithUuid(Aws::String&& value) { SetUuid(std::move(value)); return *this;} /** *

The unique ID assigned to the process by GuardDuty.

*/ inline LineageObject& WithUuid(const char* value) { SetUuid(value); return *this;} /** *

The absolute path of the process executable file.

*/ inline const Aws::String& GetExecutablePath() const{ return m_executablePath; } /** *

The absolute path of the process executable file.

*/ inline bool ExecutablePathHasBeenSet() const { return m_executablePathHasBeenSet; } /** *

The absolute path of the process executable file.

*/ inline void SetExecutablePath(const Aws::String& value) { m_executablePathHasBeenSet = true; m_executablePath = value; } /** *

The absolute path of the process executable file.

*/ inline void SetExecutablePath(Aws::String&& value) { m_executablePathHasBeenSet = true; m_executablePath = std::move(value); } /** *

The absolute path of the process executable file.

*/ inline void SetExecutablePath(const char* value) { m_executablePathHasBeenSet = true; m_executablePath.assign(value); } /** *

The absolute path of the process executable file.

*/ inline LineageObject& WithExecutablePath(const Aws::String& value) { SetExecutablePath(value); return *this;} /** *

The absolute path of the process executable file.

*/ inline LineageObject& WithExecutablePath(Aws::String&& value) { SetExecutablePath(std::move(value)); return *this;} /** *

The absolute path of the process executable file.

*/ inline LineageObject& WithExecutablePath(const char* value) { SetExecutablePath(value); return *this;} /** *

The effective user ID that was used to execute the process.

*/ inline int GetEuid() const{ return m_euid; } /** *

The effective user ID that was used to execute the process.

*/ inline bool EuidHasBeenSet() const { return m_euidHasBeenSet; } /** *

The effective user ID that was used to execute the process.

*/ inline void SetEuid(int value) { m_euidHasBeenSet = true; m_euid = value; } /** *

The effective user ID that was used to execute the process.

*/ inline LineageObject& WithEuid(int value) { SetEuid(value); return *this;} /** *

The unique ID of the parent process. This ID is assigned to the parent * process by GuardDuty.

*/ inline const Aws::String& GetParentUuid() const{ return m_parentUuid; } /** *

The unique ID of the parent process. This ID is assigned to the parent * process by GuardDuty.

*/ inline bool ParentUuidHasBeenSet() const { return m_parentUuidHasBeenSet; } /** *

The unique ID of the parent process. This ID is assigned to the parent * process by GuardDuty.

*/ inline void SetParentUuid(const Aws::String& value) { m_parentUuidHasBeenSet = true; m_parentUuid = value; } /** *

The unique ID of the parent process. This ID is assigned to the parent * process by GuardDuty.

*/ inline void SetParentUuid(Aws::String&& value) { m_parentUuidHasBeenSet = true; m_parentUuid = std::move(value); } /** *

The unique ID of the parent process. This ID is assigned to the parent * process by GuardDuty.

*/ inline void SetParentUuid(const char* value) { m_parentUuidHasBeenSet = true; m_parentUuid.assign(value); } /** *

The unique ID of the parent process. This ID is assigned to the parent * process by GuardDuty.

*/ inline LineageObject& WithParentUuid(const Aws::String& value) { SetParentUuid(value); return *this;} /** *

The unique ID of the parent process. This ID is assigned to the parent * process by GuardDuty.

*/ inline LineageObject& WithParentUuid(Aws::String&& value) { SetParentUuid(std::move(value)); return *this;} /** *

The unique ID of the parent process. This ID is assigned to the parent * process by GuardDuty.

*/ inline LineageObject& WithParentUuid(const char* value) { SetParentUuid(value); return *this;} private: Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; int m_namespacePid; bool m_namespacePidHasBeenSet = false; int m_userId; bool m_userIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; int m_pid; bool m_pidHasBeenSet = false; Aws::String m_uuid; bool m_uuidHasBeenSet = false; Aws::String m_executablePath; bool m_executablePathHasBeenSet = false; int m_euid; bool m_euidHasBeenSet = false; Aws::String m_parentUuid; bool m_parentUuidHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws