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

The details of an exploit available for a finding discovered in your * environment.

See Also:

AWS * API Reference

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

The date and time of the last exploit associated with a finding discovered in * your environment.

*/ inline const Aws::Utils::DateTime& GetLastKnownExploitAt() const{ return m_lastKnownExploitAt; } /** *

The date and time of the last exploit associated with a finding discovered in * your environment.

*/ inline bool LastKnownExploitAtHasBeenSet() const { return m_lastKnownExploitAtHasBeenSet; } /** *

The date and time of the last exploit associated with a finding discovered in * your environment.

*/ inline void SetLastKnownExploitAt(const Aws::Utils::DateTime& value) { m_lastKnownExploitAtHasBeenSet = true; m_lastKnownExploitAt = value; } /** *

The date and time of the last exploit associated with a finding discovered in * your environment.

*/ inline void SetLastKnownExploitAt(Aws::Utils::DateTime&& value) { m_lastKnownExploitAtHasBeenSet = true; m_lastKnownExploitAt = std::move(value); } /** *

The date and time of the last exploit associated with a finding discovered in * your environment.

*/ inline ExploitabilityDetails& WithLastKnownExploitAt(const Aws::Utils::DateTime& value) { SetLastKnownExploitAt(value); return *this;} /** *

The date and time of the last exploit associated with a finding discovered in * your environment.

*/ inline ExploitabilityDetails& WithLastKnownExploitAt(Aws::Utils::DateTime&& value) { SetLastKnownExploitAt(std::move(value)); return *this;} private: Aws::Utils::DateTime m_lastKnownExploitAt; bool m_lastKnownExploitAtHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws