7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
47 template<
typename FirstSeenT = Aws::Utils::DateTime>
48 void SetFirstSeen(FirstSeenT&& value) { m_firstSeenHasBeenSet =
true; m_firstSeen = std::forward<FirstSeenT>(value); }
49 template<
typename FirstSeenT = Aws::Utils::DateTime>
59 template<
typename LastSeenT = Aws::Utils::DateTime>
60 void SetLastSeen(LastSeenT&& value) { m_lastSeenHasBeenSet =
true; m_lastSeen = std::forward<LastSeenT>(value); }
61 template<
typename LastSeenT = Aws::Utils::DateTime>
67 bool m_firstSeenHasBeenSet =
false;
70 bool m_lastSeenHasBeenSet =
false;
void SetFirstSeen(FirstSeenT &&value)
ExploitObserved & WithLastSeen(LastSeenT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastSeen(LastSeenT &&value)
const Aws::Utils::DateTime & GetLastSeen() const
ExploitObserved & WithFirstSeen(FirstSeenT &&value)
AWS_INSPECTOR2_API ExploitObserved & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetFirstSeen() const
bool LastSeenHasBeenSet() const
AWS_INSPECTOR2_API ExploitObserved()=default
AWS_INSPECTOR2_API ExploitObserved(Aws::Utils::Json::JsonView jsonValue)
bool FirstSeenHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue