/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GuardDuty { namespace Model { /** *

Information about the process and any required context values for a specific * finding.

See Also:

AWS * API Reference

*/ class RuntimeDetails { public: AWS_GUARDDUTY_API RuntimeDetails(); AWS_GUARDDUTY_API RuntimeDetails(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API RuntimeDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Information about the observed process.

*/ inline const ProcessDetails& GetProcess() const{ return m_process; } /** *

Information about the observed process.

*/ inline bool ProcessHasBeenSet() const { return m_processHasBeenSet; } /** *

Information about the observed process.

*/ inline void SetProcess(const ProcessDetails& value) { m_processHasBeenSet = true; m_process = value; } /** *

Information about the observed process.

*/ inline void SetProcess(ProcessDetails&& value) { m_processHasBeenSet = true; m_process = std::move(value); } /** *

Information about the observed process.

*/ inline RuntimeDetails& WithProcess(const ProcessDetails& value) { SetProcess(value); return *this;} /** *

Information about the observed process.

*/ inline RuntimeDetails& WithProcess(ProcessDetails&& value) { SetProcess(std::move(value)); return *this;} /** *

Additional information about the suspicious activity.

*/ inline const RuntimeContext& GetContext() const{ return m_context; } /** *

Additional information about the suspicious activity.

*/ inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } /** *

Additional information about the suspicious activity.

*/ inline void SetContext(const RuntimeContext& value) { m_contextHasBeenSet = true; m_context = value; } /** *

Additional information about the suspicious activity.

*/ inline void SetContext(RuntimeContext&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } /** *

Additional information about the suspicious activity.

*/ inline RuntimeDetails& WithContext(const RuntimeContext& value) { SetContext(value); return *this;} /** *

Additional information about the suspicious activity.

*/ inline RuntimeDetails& WithContext(RuntimeContext&& value) { SetContext(std::move(value)); return *this;} private: ProcessDetails m_process; bool m_processHasBeenSet = false; RuntimeContext m_context; bool m_contextHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws