AWS SDK for C++

AWS SDK for C++ Version 1.11.939

Loading...
Searching...
No Matches
Process.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/FindingReference.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GuardDuty {
22namespace Model {
23
31class Process {
32 public:
33 AWS_GUARDDUTY_API Process() = default;
34 AWS_GUARDDUTY_API Process(Aws::Utils::Json::JsonView jsonValue);
35 AWS_GUARDDUTY_API Process& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetUuid() const { return m_uuid; }
43 inline bool UuidHasBeenSet() const { return m_uuidHasBeenSet; }
44 template <typename UuidT = Aws::String>
45 void SetUuid(UuidT&& value) {
46 m_uuidHasBeenSet = true;
47 m_uuid = std::forward<UuidT>(value);
48 }
49 template <typename UuidT = Aws::String>
50 Process& WithUuid(UuidT&& value) {
51 SetUuid(std::forward<UuidT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
68 Process& WithName(NameT&& value) {
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetPath() const { return m_path; }
79 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
80 template <typename PathT = Aws::String>
81 void SetPath(PathT&& value) {
82 m_pathHasBeenSet = true;
83 m_path = std::forward<PathT>(value);
84 }
85 template <typename PathT = Aws::String>
86 Process& WithPath(PathT&& value) {
87 SetPath(std::forward<PathT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetParentUuid() const { return m_parentUuid; }
98 inline bool ParentUuidHasBeenSet() const { return m_parentUuidHasBeenSet; }
99 template <typename ParentUuidT = Aws::String>
100 void SetParentUuid(ParentUuidT&& value) {
101 m_parentUuidHasBeenSet = true;
102 m_parentUuid = std::forward<ParentUuidT>(value);
103 }
104 template <typename ParentUuidT = Aws::String>
105 Process& WithParentUuid(ParentUuidT&& value) {
106 SetParentUuid(std::forward<ParentUuidT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::Vector<FindingReference>& GetFindings() const { return m_findings; }
116 inline bool FindingsHasBeenSet() const { return m_findingsHasBeenSet; }
117 template <typename FindingsT = Aws::Vector<FindingReference>>
118 void SetFindings(FindingsT&& value) {
119 m_findingsHasBeenSet = true;
120 m_findings = std::forward<FindingsT>(value);
121 }
122 template <typename FindingsT = Aws::Vector<FindingReference>>
123 Process& WithFindings(FindingsT&& value) {
124 SetFindings(std::forward<FindingsT>(value));
125 return *this;
126 }
127 template <typename FindingsT = FindingReference>
128 Process& AddFindings(FindingsT&& value) {
129 m_findingsHasBeenSet = true;
130 m_findings.emplace_back(std::forward<FindingsT>(value));
131 return *this;
132 }
134 private:
135 Aws::String m_uuid;
136
137 Aws::String m_name;
138
139 Aws::String m_path;
140
141 Aws::String m_parentUuid;
142
144 bool m_uuidHasBeenSet = false;
145 bool m_nameHasBeenSet = false;
146 bool m_pathHasBeenSet = false;
147 bool m_parentUuidHasBeenSet = false;
148 bool m_findingsHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace GuardDuty
153} // namespace Aws
Process & AddFindings(FindingsT &&value)
Definition Process.h:128
const Aws::String & GetParentUuid() const
Definition Process.h:97
Process & WithUuid(UuidT &&value)
Definition Process.h:50
Process & WithFindings(FindingsT &&value)
Definition Process.h:123
AWS_GUARDDUTY_API Process(Aws::Utils::Json::JsonView jsonValue)
Process & WithParentUuid(ParentUuidT &&value)
Definition Process.h:105
void SetUuid(UuidT &&value)
Definition Process.h:45
void SetFindings(FindingsT &&value)
Definition Process.h:118
const Aws::String & GetPath() const
Definition Process.h:78
const Aws::String & GetUuid() const
Definition Process.h:42
AWS_GUARDDUTY_API Process()=default
bool ParentUuidHasBeenSet() const
Definition Process.h:98
Process & WithName(NameT &&value)
Definition Process.h:68
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool FindingsHasBeenSet() const
Definition Process.h:116
void SetParentUuid(ParentUuidT &&value)
Definition Process.h:100
Process & WithPath(PathT &&value)
Definition Process.h:86
const Aws::String & GetName() const
Definition Process.h:60
const Aws::Vector< FindingReference > & GetFindings() const
Definition Process.h:115
void SetName(NameT &&value)
Definition Process.h:63
void SetPath(PathT &&value)
Definition Process.h:81
AWS_GUARDDUTY_API Process & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue