AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetProcess(const ProcessDetails& value) { m_processHasBeenSet = true; m_process = value; }
49 inline void SetProcess(ProcessDetails&& value) { m_processHasBeenSet = true; m_process = std::move(value); }
50 inline RuntimeDetails& WithProcess(const ProcessDetails& value) { SetProcess(value); return *this;}
51 inline RuntimeDetails& WithProcess(ProcessDetails&& value) { SetProcess(std::move(value)); return *this;}
53
55
58 inline const RuntimeContext& GetContext() const{ return m_context; }
59 inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; }
60 inline void SetContext(const RuntimeContext& value) { m_contextHasBeenSet = true; m_context = value; }
61 inline void SetContext(RuntimeContext&& value) { m_contextHasBeenSet = true; m_context = std::move(value); }
62 inline RuntimeDetails& WithContext(const RuntimeContext& value) { SetContext(value); return *this;}
63 inline RuntimeDetails& WithContext(RuntimeContext&& value) { SetContext(std::move(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
void SetProcess(const ProcessDetails &value)
AWS_GUARDDUTY_API RuntimeDetails(Aws::Utils::Json::JsonView jsonValue)
const ProcessDetails & GetProcess() const
RuntimeDetails & WithContext(const RuntimeContext &value)
void SetContext(RuntimeContext &&value)
const RuntimeContext & GetContext() const
void SetContext(const RuntimeContext &value)
AWS_GUARDDUTY_API RuntimeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
RuntimeDetails & WithProcess(const ProcessDetails &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
RuntimeDetails & WithContext(RuntimeContext &&value)
void SetProcess(ProcessDetails &&value)
RuntimeDetails & WithProcess(ProcessDetails &&value)
Aws::Utils::Json::JsonValue JsonValue