AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
48 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
49 inline LineageObject& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
50 inline LineageObject& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline LineageObject& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline LineageObject& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline LineageObject& WithName(const char* value) { SetName(value); return *this;}
86
88
91 inline int GetPid() const{ return m_pid; }
92 inline bool PidHasBeenSet() const { return m_pidHasBeenSet; }
93 inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; }
94 inline LineageObject& WithPid(int value) { SetPid(value); return *this;}
96
98
101 inline const Aws::String& GetUuid() const{ return m_uuid; }
102 inline bool UuidHasBeenSet() const { return m_uuidHasBeenSet; }
103 inline void SetUuid(const Aws::String& value) { m_uuidHasBeenSet = true; m_uuid = value; }
104 inline void SetUuid(Aws::String&& value) { m_uuidHasBeenSet = true; m_uuid = std::move(value); }
105 inline void SetUuid(const char* value) { m_uuidHasBeenSet = true; m_uuid.assign(value); }
106 inline LineageObject& WithUuid(const Aws::String& value) { SetUuid(value); return *this;}
107 inline LineageObject& WithUuid(Aws::String&& value) { SetUuid(std::move(value)); return *this;}
108 inline LineageObject& WithUuid(const char* value) { SetUuid(value); return *this;}
110
112
115 inline const Aws::String& GetExecutablePath() const{ return m_executablePath; }
116 inline bool ExecutablePathHasBeenSet() const { return m_executablePathHasBeenSet; }
117 inline void SetExecutablePath(const Aws::String& value) { m_executablePathHasBeenSet = true; m_executablePath = value; }
118 inline void SetExecutablePath(Aws::String&& value) { m_executablePathHasBeenSet = true; m_executablePath = std::move(value); }
119 inline void SetExecutablePath(const char* value) { m_executablePathHasBeenSet = true; m_executablePath.assign(value); }
120 inline LineageObject& WithExecutablePath(const Aws::String& value) { SetExecutablePath(value); return *this;}
121 inline LineageObject& WithExecutablePath(Aws::String&& value) { SetExecutablePath(std::move(value)); return *this;}
122 inline LineageObject& WithExecutablePath(const char* value) { SetExecutablePath(value); return *this;}
124
126
129 inline int GetEuid() const{ return m_euid; }
130 inline bool EuidHasBeenSet() const { return m_euidHasBeenSet; }
131 inline void SetEuid(int value) { m_euidHasBeenSet = true; m_euid = value; }
132 inline LineageObject& WithEuid(int value) { SetEuid(value); return *this;}
134
136
140 inline const Aws::String& GetParentUuid() const{ return m_parentUuid; }
141 inline bool ParentUuidHasBeenSet() const { return m_parentUuidHasBeenSet; }
142 inline void SetParentUuid(const Aws::String& value) { m_parentUuidHasBeenSet = true; m_parentUuid = value; }
143 inline void SetParentUuid(Aws::String&& value) { m_parentUuidHasBeenSet = true; m_parentUuid = std::move(value); }
144 inline void SetParentUuid(const char* value) { m_parentUuidHasBeenSet = true; m_parentUuid.assign(value); }
145 inline LineageObject& WithParentUuid(const Aws::String& value) { SetParentUuid(value); return *this;}
146 inline LineageObject& WithParentUuid(Aws::String&& value) { SetParentUuid(std::move(value)); return *this;}
147 inline LineageObject& WithParentUuid(const char* value) { SetParentUuid(value); return *this;}
149 private:
150
151 Aws::Utils::DateTime m_startTime;
152 bool m_startTimeHasBeenSet = false;
153
154 int m_namespacePid;
155 bool m_namespacePidHasBeenSet = false;
156
157 int m_userId;
158 bool m_userIdHasBeenSet = false;
159
160 Aws::String m_name;
161 bool m_nameHasBeenSet = false;
162
163 int m_pid;
164 bool m_pidHasBeenSet = false;
165
166 Aws::String m_uuid;
167 bool m_uuidHasBeenSet = false;
168
169 Aws::String m_executablePath;
170 bool m_executablePathHasBeenSet = false;
171
172 int m_euid;
173 bool m_euidHasBeenSet = false;
174
175 Aws::String m_parentUuid;
176 bool m_parentUuidHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace GuardDuty
181} // namespace Aws
AWS_GUARDDUTY_API LineageObject & operator=(Aws::Utils::Json::JsonView jsonValue)
LineageObject & WithEuid(int value)
void SetName(const Aws::String &value)
const Aws::String & GetParentUuid() const
LineageObject & WithName(const Aws::String &value)
LineageObject & WithStartTime(const Aws::Utils::DateTime &value)
void SetStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetParentUuid(Aws::String &&value)
AWS_GUARDDUTY_API LineageObject(Aws::Utils::Json::JsonView jsonValue)
LineageObject & WithNamespacePid(int value)
void SetExecutablePath(Aws::String &&value)
LineageObject & WithName(Aws::String &&value)
LineageObject & WithParentUuid(const Aws::String &value)
void SetName(Aws::String &&value)
LineageObject & WithExecutablePath(const char *value)
void SetUuid(Aws::String &&value)
void SetExecutablePath(const char *value)
const Aws::String & GetExecutablePath() const
LineageObject & WithExecutablePath(Aws::String &&value)
LineageObject & WithStartTime(Aws::Utils::DateTime &&value)
void SetParentUuid(const char *value)
LineageObject & WithName(const char *value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
LineageObject & WithParentUuid(const char *value)
LineageObject & WithExecutablePath(const Aws::String &value)
LineageObject & WithUuid(const char *value)
void SetParentUuid(const Aws::String &value)
const Aws::String & GetUuid() const
LineageObject & WithParentUuid(Aws::String &&value)
void SetName(const char *value)
LineageObject & WithUuid(Aws::String &&value)
LineageObject & WithPid(int value)
const Aws::String & GetName() const
void SetStartTime(const Aws::Utils::DateTime &value)
LineageObject & WithUserId(int value)
LineageObject & WithUuid(const Aws::String &value)
void SetExecutablePath(const Aws::String &value)
void SetUuid(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue