AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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#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
34 {
35 public:
36 AWS_GUARDDUTY_API RuntimeDetails() = default;
37 AWS_GUARDDUTY_API RuntimeDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ProcessDetails& GetProcess() const { return m_process; }
47 inline bool ProcessHasBeenSet() const { return m_processHasBeenSet; }
48 template<typename ProcessT = ProcessDetails>
49 void SetProcess(ProcessT&& value) { m_processHasBeenSet = true; m_process = std::forward<ProcessT>(value); }
50 template<typename ProcessT = ProcessDetails>
51 RuntimeDetails& WithProcess(ProcessT&& value) { SetProcess(std::forward<ProcessT>(value)); return *this;}
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) { m_contextHasBeenSet = true; m_context = std::forward<ContextT>(value); }
62 template<typename ContextT = RuntimeContext>
63 RuntimeDetails& WithContext(ContextT&& value) { SetContext(std::forward<ContextT>(value)); return *this;}
65 private:
66
67 ProcessDetails m_process;
68 bool m_processHasBeenSet = false;
69
70 RuntimeContext m_context;
71 bool m_contextHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace GuardDuty
76} // 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