AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExploitObserved.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Inspector2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_INSPECTOR2_API ExploitObserved();
36 AWS_INSPECTOR2_API ExploitObserved(Aws::Utils::Json::JsonView jsonValue);
38 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetFirstSeen() const{ return m_firstSeen; }
46 inline bool FirstSeenHasBeenSet() const { return m_firstSeenHasBeenSet; }
47 inline void SetFirstSeen(const Aws::Utils::DateTime& value) { m_firstSeenHasBeenSet = true; m_firstSeen = value; }
48 inline void SetFirstSeen(Aws::Utils::DateTime&& value) { m_firstSeenHasBeenSet = true; m_firstSeen = std::move(value); }
49 inline ExploitObserved& WithFirstSeen(const Aws::Utils::DateTime& value) { SetFirstSeen(value); return *this;}
50 inline ExploitObserved& WithFirstSeen(Aws::Utils::DateTime&& value) { SetFirstSeen(std::move(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetLastSeen() const{ return m_lastSeen; }
58 inline bool LastSeenHasBeenSet() const { return m_lastSeenHasBeenSet; }
59 inline void SetLastSeen(const Aws::Utils::DateTime& value) { m_lastSeenHasBeenSet = true; m_lastSeen = value; }
60 inline void SetLastSeen(Aws::Utils::DateTime&& value) { m_lastSeenHasBeenSet = true; m_lastSeen = std::move(value); }
61 inline ExploitObserved& WithLastSeen(const Aws::Utils::DateTime& value) { SetLastSeen(value); return *this;}
62 inline ExploitObserved& WithLastSeen(Aws::Utils::DateTime&& value) { SetLastSeen(std::move(value)); return *this;}
64 private:
65
66 Aws::Utils::DateTime m_firstSeen;
67 bool m_firstSeenHasBeenSet = false;
68
69 Aws::Utils::DateTime m_lastSeen;
70 bool m_lastSeenHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Inspector2
75} // namespace Aws
ExploitObserved & WithFirstSeen(Aws::Utils::DateTime &&value)
void SetLastSeen(const Aws::Utils::DateTime &value)
void SetLastSeen(Aws::Utils::DateTime &&value)
ExploitObserved & WithLastSeen(Aws::Utils::DateTime &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastSeen() const
ExploitObserved & WithLastSeen(const Aws::Utils::DateTime &value)
void SetFirstSeen(Aws::Utils::DateTime &&value)
void SetFirstSeen(const Aws::Utils::DateTime &value)
AWS_INSPECTOR2_API ExploitObserved & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetFirstSeen() const
AWS_INSPECTOR2_API ExploitObserved(Aws::Utils::Json::JsonView jsonValue)
ExploitObserved & WithFirstSeen(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue