/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of an exploit available for a finding discovered in your
* environment.See Also:
AWS
* API Reference
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