AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
RuntimeDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/ProcessDetails.h>
9#include <aws/guardduty/model/RuntimeContext.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
30 public:
31 AWS_GUARDDUTY_API RuntimeDetails() = default;
32 AWS_GUARDDUTY_API RuntimeDetails(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const ProcessDetails& GetProcess() const { return m_process; }
41 inline bool ProcessHasBeenSet() const { return m_processHasBeenSet; }
42 template <typename ProcessT = ProcessDetails>
43 void SetProcess(ProcessT&& value) {
44 m_processHasBeenSet = true;
45 m_process = std::forward<ProcessT>(value);
46 }
47 template <typename ProcessT = ProcessDetails>
48 RuntimeDetails& WithProcess(ProcessT&& value) {
49 SetProcess(std::forward<ProcessT>(value));
50 return *this;
51 }
53
55
58 inline const RuntimeContext& GetContext() const { return m_context; }
59 inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; }
60 template <typename ContextT = RuntimeContext>
61 void SetContext(ContextT&& value) {
62 m_contextHasBeenSet = true;
63 m_context = std::forward<ContextT>(value);
64 }
65 template <typename ContextT = RuntimeContext>
66 RuntimeDetails& WithContext(ContextT&& value) {
67 SetContext(std::forward<ContextT>(value));
68 return *this;
69 }
71 private:
72 ProcessDetails m_process;
73
74 RuntimeContext m_context;
75 bool m_processHasBeenSet = false;
76 bool m_contextHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace GuardDuty
81} // namespace Aws
RuntimeDetails & WithContext(ContextT &&value)
AWS_GUARDDUTY_API RuntimeDetails(Aws::Utils::Json::JsonView jsonValue)
const ProcessDetails & GetProcess() const
const RuntimeContext & GetContext() const
RuntimeDetails & WithProcess(ProcessT &&value)
AWS_GUARDDUTY_API RuntimeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API RuntimeDetails()=default
Aws::Utils::Json::JsonValue JsonValue