AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
LineageObject.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GuardDuty {
21namespace Model {
22
29 public:
30 AWS_GUARDDUTY_API LineageObject() = default;
31 AWS_GUARDDUTY_API LineageObject(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GUARDDUTY_API LineageObject& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
40 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
41 template <typename StartTimeT = Aws::Utils::DateTime>
42 void SetStartTime(StartTimeT&& value) {
43 m_startTimeHasBeenSet = true;
44 m_startTime = std::forward<StartTimeT>(value);
45 }
46 template <typename StartTimeT = Aws::Utils::DateTime>
47 LineageObject& WithStartTime(StartTimeT&& value) {
48 SetStartTime(std::forward<StartTimeT>(value));
49 return *this;
50 }
52
54
57 inline int GetNamespacePid() const { return m_namespacePid; }
58 inline bool NamespacePidHasBeenSet() const { return m_namespacePidHasBeenSet; }
59 inline void SetNamespacePid(int value) {
60 m_namespacePidHasBeenSet = true;
61 m_namespacePid = value;
62 }
63 inline LineageObject& WithNamespacePid(int value) {
64 SetNamespacePid(value);
65 return *this;
66 }
68
70
73 inline int GetUserId() const { return m_userId; }
74 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
75 inline void SetUserId(int value) {
76 m_userIdHasBeenSet = true;
77 m_userId = value;
78 }
79 inline LineageObject& WithUserId(int value) {
80 SetUserId(value);
81 return *this;
82 }
84
86
89 inline const Aws::String& GetName() const { return m_name; }
90 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 template <typename NameT = Aws::String>
92 void SetName(NameT&& value) {
93 m_nameHasBeenSet = true;
94 m_name = std::forward<NameT>(value);
95 }
96 template <typename NameT = Aws::String>
97 LineageObject& WithName(NameT&& value) {
98 SetName(std::forward<NameT>(value));
99 return *this;
100 }
102
104
107 inline int GetPid() const { return m_pid; }
108 inline bool PidHasBeenSet() const { return m_pidHasBeenSet; }
109 inline void SetPid(int value) {
110 m_pidHasBeenSet = true;
111 m_pid = value;
112 }
113 inline LineageObject& WithPid(int value) {
114 SetPid(value);
115 return *this;
116 }
118
120
123 inline const Aws::String& GetUuid() const { return m_uuid; }
124 inline bool UuidHasBeenSet() const { return m_uuidHasBeenSet; }
125 template <typename UuidT = Aws::String>
126 void SetUuid(UuidT&& value) {
127 m_uuidHasBeenSet = true;
128 m_uuid = std::forward<UuidT>(value);
129 }
130 template <typename UuidT = Aws::String>
131 LineageObject& WithUuid(UuidT&& value) {
132 SetUuid(std::forward<UuidT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetExecutablePath() const { return m_executablePath; }
142 inline bool ExecutablePathHasBeenSet() const { return m_executablePathHasBeenSet; }
143 template <typename ExecutablePathT = Aws::String>
144 void SetExecutablePath(ExecutablePathT&& value) {
145 m_executablePathHasBeenSet = true;
146 m_executablePath = std::forward<ExecutablePathT>(value);
147 }
148 template <typename ExecutablePathT = Aws::String>
149 LineageObject& WithExecutablePath(ExecutablePathT&& value) {
150 SetExecutablePath(std::forward<ExecutablePathT>(value));
151 return *this;
152 }
154
156
159 inline int GetEuid() const { return m_euid; }
160 inline bool EuidHasBeenSet() const { return m_euidHasBeenSet; }
161 inline void SetEuid(int value) {
162 m_euidHasBeenSet = true;
163 m_euid = value;
164 }
165 inline LineageObject& WithEuid(int value) {
166 SetEuid(value);
167 return *this;
168 }
170
172
176 inline const Aws::String& GetParentUuid() const { return m_parentUuid; }
177 inline bool ParentUuidHasBeenSet() const { return m_parentUuidHasBeenSet; }
178 template <typename ParentUuidT = Aws::String>
179 void SetParentUuid(ParentUuidT&& value) {
180 m_parentUuidHasBeenSet = true;
181 m_parentUuid = std::forward<ParentUuidT>(value);
182 }
183 template <typename ParentUuidT = Aws::String>
184 LineageObject& WithParentUuid(ParentUuidT&& value) {
185 SetParentUuid(std::forward<ParentUuidT>(value));
186 return *this;
187 }
189 private:
190 Aws::Utils::DateTime m_startTime{};
191
192 int m_namespacePid{0};
193
194 int m_userId{0};
195
196 Aws::String m_name;
197
198 int m_pid{0};
199
200 Aws::String m_uuid;
201
202 Aws::String m_executablePath;
203
204 int m_euid{0};
205
206 Aws::String m_parentUuid;
207 bool m_startTimeHasBeenSet = false;
208 bool m_namespacePidHasBeenSet = false;
209 bool m_userIdHasBeenSet = false;
210 bool m_nameHasBeenSet = false;
211 bool m_pidHasBeenSet = false;
212 bool m_uuidHasBeenSet = false;
213 bool m_executablePathHasBeenSet = false;
214 bool m_euidHasBeenSet = false;
215 bool m_parentUuidHasBeenSet = false;
216};
217
218} // namespace Model
219} // namespace GuardDuty
220} // 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