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

The Cybersecurity and Infrastructure Security Agency (CISA) details for a * specific vulnerability.

See Also:

AWS * API Reference

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

The remediation action recommended by CISA for this vulnerability.

*/ inline const Aws::String& GetAction() const{ return m_action; } /** *

The remediation action recommended by CISA for this vulnerability.

*/ inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } /** *

The remediation action recommended by CISA for this vulnerability.

*/ inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; } /** *

The remediation action recommended by CISA for this vulnerability.

*/ inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); } /** *

The remediation action recommended by CISA for this vulnerability.

*/ inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); } /** *

The remediation action recommended by CISA for this vulnerability.

*/ inline CisaData& WithAction(const Aws::String& value) { SetAction(value); return *this;} /** *

The remediation action recommended by CISA for this vulnerability.

*/ inline CisaData& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;} /** *

The remediation action recommended by CISA for this vulnerability.

*/ inline CisaData& WithAction(const char* value) { SetAction(value); return *this;} /** *

The date and time CISA added this vulnerability to their catalogue.

*/ inline const Aws::Utils::DateTime& GetDateAdded() const{ return m_dateAdded; } /** *

The date and time CISA added this vulnerability to their catalogue.

*/ inline bool DateAddedHasBeenSet() const { return m_dateAddedHasBeenSet; } /** *

The date and time CISA added this vulnerability to their catalogue.

*/ inline void SetDateAdded(const Aws::Utils::DateTime& value) { m_dateAddedHasBeenSet = true; m_dateAdded = value; } /** *

The date and time CISA added this vulnerability to their catalogue.

*/ inline void SetDateAdded(Aws::Utils::DateTime&& value) { m_dateAddedHasBeenSet = true; m_dateAdded = std::move(value); } /** *

The date and time CISA added this vulnerability to their catalogue.

*/ inline CisaData& WithDateAdded(const Aws::Utils::DateTime& value) { SetDateAdded(value); return *this;} /** *

The date and time CISA added this vulnerability to their catalogue.

*/ inline CisaData& WithDateAdded(Aws::Utils::DateTime&& value) { SetDateAdded(std::move(value)); return *this;} /** *

The date and time CISA expects a fix to have been provided vulnerability.

*/ inline const Aws::Utils::DateTime& GetDateDue() const{ return m_dateDue; } /** *

The date and time CISA expects a fix to have been provided vulnerability.

*/ inline bool DateDueHasBeenSet() const { return m_dateDueHasBeenSet; } /** *

The date and time CISA expects a fix to have been provided vulnerability.

*/ inline void SetDateDue(const Aws::Utils::DateTime& value) { m_dateDueHasBeenSet = true; m_dateDue = value; } /** *

The date and time CISA expects a fix to have been provided vulnerability.

*/ inline void SetDateDue(Aws::Utils::DateTime&& value) { m_dateDueHasBeenSet = true; m_dateDue = std::move(value); } /** *

The date and time CISA expects a fix to have been provided vulnerability.

*/ inline CisaData& WithDateDue(const Aws::Utils::DateTime& value) { SetDateDue(value); return *this;} /** *

The date and time CISA expects a fix to have been provided vulnerability.

*/ inline CisaData& WithDateDue(Aws::Utils::DateTime&& value) { SetDateDue(std::move(value)); return *this;} private: Aws::String m_action; bool m_actionHasBeenSet = false; Aws::Utils::DateTime m_dateAdded; bool m_dateAddedHasBeenSet = false; Aws::Utils::DateTime m_dateDue; bool m_dateDueHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws