AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProcessDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API ProcessDetails() = default;
36 AWS_SECURITYHUB_API ProcessDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API ProcessDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 ProcessDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
59 inline const Aws::String& GetPath() const { return m_path; }
60 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
61 template<typename PathT = Aws::String>
62 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
63 template<typename PathT = Aws::String>
64 ProcessDetails& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
66
68
71 inline int GetPid() const { return m_pid; }
72 inline bool PidHasBeenSet() const { return m_pidHasBeenSet; }
73 inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; }
74 inline ProcessDetails& WithPid(int value) { SetPid(value); return *this;}
76
78
82 inline int GetParentPid() const { return m_parentPid; }
83 inline bool ParentPidHasBeenSet() const { return m_parentPidHasBeenSet; }
84 inline void SetParentPid(int value) { m_parentPidHasBeenSet = true; m_parentPid = value; }
85 inline ProcessDetails& WithParentPid(int value) { SetParentPid(value); return *this;}
87
89
94 inline const Aws::String& GetLaunchedAt() const { return m_launchedAt; }
95 inline bool LaunchedAtHasBeenSet() const { return m_launchedAtHasBeenSet; }
96 template<typename LaunchedAtT = Aws::String>
97 void SetLaunchedAt(LaunchedAtT&& value) { m_launchedAtHasBeenSet = true; m_launchedAt = std::forward<LaunchedAtT>(value); }
98 template<typename LaunchedAtT = Aws::String>
99 ProcessDetails& WithLaunchedAt(LaunchedAtT&& value) { SetLaunchedAt(std::forward<LaunchedAtT>(value)); return *this;}
101
103
108 inline const Aws::String& GetTerminatedAt() const { return m_terminatedAt; }
109 inline bool TerminatedAtHasBeenSet() const { return m_terminatedAtHasBeenSet; }
110 template<typename TerminatedAtT = Aws::String>
111 void SetTerminatedAt(TerminatedAtT&& value) { m_terminatedAtHasBeenSet = true; m_terminatedAt = std::forward<TerminatedAtT>(value); }
112 template<typename TerminatedAtT = Aws::String>
113 ProcessDetails& WithTerminatedAt(TerminatedAtT&& value) { SetTerminatedAt(std::forward<TerminatedAtT>(value)); return *this;}
115 private:
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 Aws::String m_path;
121 bool m_pathHasBeenSet = false;
122
123 int m_pid{0};
124 bool m_pidHasBeenSet = false;
125
126 int m_parentPid{0};
127 bool m_parentPidHasBeenSet = false;
128
129 Aws::String m_launchedAt;
130 bool m_launchedAtHasBeenSet = false;
131
132 Aws::String m_terminatedAt;
133 bool m_terminatedAtHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace SecurityHub
138} // namespace Aws
void SetLaunchedAt(LaunchedAtT &&value)
AWS_SECURITYHUB_API ProcessDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTerminatedAt() const
ProcessDetails & WithPath(PathT &&value)
ProcessDetails & WithName(NameT &&value)
AWS_SECURITYHUB_API ProcessDetails()=default
void SetTerminatedAt(TerminatedAtT &&value)
AWS_SECURITYHUB_API ProcessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ProcessDetails & WithPid(int value)
const Aws::String & GetLaunchedAt() const
const Aws::String & GetName() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ProcessDetails & WithLaunchedAt(LaunchedAtT &&value)
ProcessDetails & WithTerminatedAt(TerminatedAtT &&value)
ProcessDetails & WithParentPid(int value)
const Aws::String & GetPath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue