AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ActorProcess.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GuardDuty {
20namespace Model {
21
30 public:
31 AWS_GUARDDUTY_API ActorProcess() = default;
32 AWS_GUARDDUTY_API ActorProcess(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GUARDDUTY_API ActorProcess& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 ActorProcess& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetPath() const { return m_path; }
59 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
60 template <typename PathT = Aws::String>
61 void SetPath(PathT&& value) {
62 m_pathHasBeenSet = true;
63 m_path = std::forward<PathT>(value);
64 }
65 template <typename PathT = Aws::String>
66 ActorProcess& WithPath(PathT&& value) {
67 SetPath(std::forward<PathT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetSha256() const { return m_sha256; }
78 inline bool Sha256HasBeenSet() const { return m_sha256HasBeenSet; }
79 template <typename Sha256T = Aws::String>
80 void SetSha256(Sha256T&& value) {
81 m_sha256HasBeenSet = true;
82 m_sha256 = std::forward<Sha256T>(value);
83 }
84 template <typename Sha256T = Aws::String>
85 ActorProcess& WithSha256(Sha256T&& value) {
86 SetSha256(std::forward<Sha256T>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_name;
92
93 Aws::String m_path;
94
95 Aws::String m_sha256;
96 bool m_nameHasBeenSet = false;
97 bool m_pathHasBeenSet = false;
98 bool m_sha256HasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace GuardDuty
103} // namespace Aws
ActorProcess & WithName(NameT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API ActorProcess(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::String & GetPath() const
void SetSha256(Sha256T &&value)
ActorProcess & WithPath(PathT &&value)
ActorProcess & WithSha256(Sha256T &&value)
const Aws::String & GetSha256() const
AWS_GUARDDUTY_API ActorProcess & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API ActorProcess()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue