AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
LineageObject.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GuardDuty
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GUARDDUTY_API LineageObject() = default;
36 AWS_GUARDDUTY_API LineageObject(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GUARDDUTY_API LineageObject& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
46 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
47 template<typename StartTimeT = Aws::Utils::DateTime>
48 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
49 template<typename StartTimeT = Aws::Utils::DateTime>
50 LineageObject& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
52
54
57 inline int GetNamespacePid() const { return m_namespacePid; }
58 inline bool NamespacePidHasBeenSet() const { return m_namespacePidHasBeenSet; }
59 inline void SetNamespacePid(int value) { m_namespacePidHasBeenSet = true; m_namespacePid = value; }
60 inline LineageObject& WithNamespacePid(int value) { SetNamespacePid(value); return *this;}
62
64
67 inline int GetUserId() const { return m_userId; }
68 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
69 inline void SetUserId(int value) { m_userIdHasBeenSet = true; m_userId = value; }
70 inline LineageObject& WithUserId(int value) { SetUserId(value); return *this;}
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template<typename NameT = Aws::String>
80 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
81 template<typename NameT = Aws::String>
82 LineageObject& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
84
86
89 inline int GetPid() const { return m_pid; }
90 inline bool PidHasBeenSet() const { return m_pidHasBeenSet; }
91 inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; }
92 inline LineageObject& WithPid(int value) { SetPid(value); return *this;}
94
96
99 inline const Aws::String& GetUuid() const { return m_uuid; }
100 inline bool UuidHasBeenSet() const { return m_uuidHasBeenSet; }
101 template<typename UuidT = Aws::String>
102 void SetUuid(UuidT&& value) { m_uuidHasBeenSet = true; m_uuid = std::forward<UuidT>(value); }
103 template<typename UuidT = Aws::String>
104 LineageObject& WithUuid(UuidT&& value) { SetUuid(std::forward<UuidT>(value)); return *this;}
106
108
111 inline const Aws::String& GetExecutablePath() const { return m_executablePath; }
112 inline bool ExecutablePathHasBeenSet() const { return m_executablePathHasBeenSet; }
113 template<typename ExecutablePathT = Aws::String>
114 void SetExecutablePath(ExecutablePathT&& value) { m_executablePathHasBeenSet = true; m_executablePath = std::forward<ExecutablePathT>(value); }
115 template<typename ExecutablePathT = Aws::String>
116 LineageObject& WithExecutablePath(ExecutablePathT&& value) { SetExecutablePath(std::forward<ExecutablePathT>(value)); return *this;}
118
120
123 inline int GetEuid() const { return m_euid; }
124 inline bool EuidHasBeenSet() const { return m_euidHasBeenSet; }
125 inline void SetEuid(int value) { m_euidHasBeenSet = true; m_euid = value; }
126 inline LineageObject& WithEuid(int value) { SetEuid(value); return *this;}
128
130
134 inline const Aws::String& GetParentUuid() const { return m_parentUuid; }
135 inline bool ParentUuidHasBeenSet() const { return m_parentUuidHasBeenSet; }
136 template<typename ParentUuidT = Aws::String>
137 void SetParentUuid(ParentUuidT&& value) { m_parentUuidHasBeenSet = true; m_parentUuid = std::forward<ParentUuidT>(value); }
138 template<typename ParentUuidT = Aws::String>
139 LineageObject& WithParentUuid(ParentUuidT&& value) { SetParentUuid(std::forward<ParentUuidT>(value)); return *this;}
141 private:
142
143 Aws::Utils::DateTime m_startTime{};
144 bool m_startTimeHasBeenSet = false;
145
146 int m_namespacePid{0};
147 bool m_namespacePidHasBeenSet = false;
148
149 int m_userId{0};
150 bool m_userIdHasBeenSet = false;
151
152 Aws::String m_name;
153 bool m_nameHasBeenSet = false;
154
155 int m_pid{0};
156 bool m_pidHasBeenSet = false;
157
158 Aws::String m_uuid;
159 bool m_uuidHasBeenSet = false;
160
161 Aws::String m_executablePath;
162 bool m_executablePathHasBeenSet = false;
163
164 int m_euid{0};
165 bool m_euidHasBeenSet = false;
166
167 Aws::String m_parentUuid;
168 bool m_parentUuidHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace GuardDuty
173} // namespace Aws
AWS_GUARDDUTY_API LineageObject & operator=(Aws::Utils::Json::JsonView jsonValue)
LineageObject & WithEuid(int value)
const Aws::String & GetParentUuid() const
const Aws::Utils::DateTime & GetStartTime() const
AWS_GUARDDUTY_API LineageObject(Aws::Utils::Json::JsonView jsonValue)
LineageObject & WithNamespacePid(int value)
void SetParentUuid(ParentUuidT &&value)
LineageObject & WithName(NameT &&value)
const Aws::String & GetExecutablePath() const
LineageObject & WithParentUuid(ParentUuidT &&value)
LineageObject & WithExecutablePath(ExecutablePathT &&value)
AWS_GUARDDUTY_API LineageObject()=default
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStartTime(StartTimeT &&value)
void SetExecutablePath(ExecutablePathT &&value)
const Aws::String & GetUuid() const
LineageObject & WithUuid(UuidT &&value)
LineageObject & WithPid(int value)
const Aws::String & GetName() const
LineageObject & WithUserId(int value)
LineageObject & WithStartTime(StartTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue