AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ExploitabilityDetails.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Inspector2 {
20namespace Model {
21
29 public:
30 AWS_INSPECTOR2_API ExploitabilityDetails() = default;
33 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::Utils::DateTime& GetLastKnownExploitAt() const { return m_lastKnownExploitAt; }
41 inline bool LastKnownExploitAtHasBeenSet() const { return m_lastKnownExploitAtHasBeenSet; }
42 template <typename LastKnownExploitAtT = Aws::Utils::DateTime>
43 void SetLastKnownExploitAt(LastKnownExploitAtT&& value) {
44 m_lastKnownExploitAtHasBeenSet = true;
45 m_lastKnownExploitAt = std::forward<LastKnownExploitAtT>(value);
46 }
47 template <typename LastKnownExploitAtT = Aws::Utils::DateTime>
48 ExploitabilityDetails& WithLastKnownExploitAt(LastKnownExploitAtT&& value) {
49 SetLastKnownExploitAt(std::forward<LastKnownExploitAtT>(value));
50 return *this;
51 }
53 private:
54 Aws::Utils::DateTime m_lastKnownExploitAt{};
55 bool m_lastKnownExploitAtHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace Inspector2
60} // namespace Aws
AWS_INSPECTOR2_API ExploitabilityDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastKnownExploitAt() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastKnownExploitAt(LastKnownExploitAtT &&value)
AWS_INSPECTOR2_API ExploitabilityDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API ExploitabilityDetails()=default
ExploitabilityDetails & WithLastKnownExploitAt(LastKnownExploitAtT &&value)
Aws::Utils::Json::JsonValue JsonValue