/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the state of a patch on a particular managed node as it
* relates to the patch baseline used to patch the node.See Also:
* AWS
* API Reference
The title of the patch.
*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *The title of the patch.
*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *The title of the patch.
*/ inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } /** *The title of the patch.
*/ inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *The title of the patch.
*/ inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } /** *The title of the patch.
*/ inline PatchComplianceData& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *The title of the patch.
*/ inline PatchComplianceData& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *The title of the patch.
*/ inline PatchComplianceData& WithTitle(const char* value) { SetTitle(value); return *this;} /** *The operating system-specific ID of the patch.
*/ inline const Aws::String& GetKBId() const{ return m_kBId; } /** *The operating system-specific ID of the patch.
*/ inline bool KBIdHasBeenSet() const { return m_kBIdHasBeenSet; } /** *The operating system-specific ID of the patch.
*/ inline void SetKBId(const Aws::String& value) { m_kBIdHasBeenSet = true; m_kBId = value; } /** *The operating system-specific ID of the patch.
*/ inline void SetKBId(Aws::String&& value) { m_kBIdHasBeenSet = true; m_kBId = std::move(value); } /** *The operating system-specific ID of the patch.
*/ inline void SetKBId(const char* value) { m_kBIdHasBeenSet = true; m_kBId.assign(value); } /** *The operating system-specific ID of the patch.
*/ inline PatchComplianceData& WithKBId(const Aws::String& value) { SetKBId(value); return *this;} /** *The operating system-specific ID of the patch.
*/ inline PatchComplianceData& WithKBId(Aws::String&& value) { SetKBId(std::move(value)); return *this;} /** *The operating system-specific ID of the patch.
*/ inline PatchComplianceData& WithKBId(const char* value) { SetKBId(value); return *this;} /** *The classification of the patch, such as SecurityUpdates
,
* Updates
, and CriticalUpdates
.
The classification of the patch, such as SecurityUpdates
,
* Updates
, and CriticalUpdates
.
The classification of the patch, such as SecurityUpdates
,
* Updates
, and CriticalUpdates
.
The classification of the patch, such as SecurityUpdates
,
* Updates
, and CriticalUpdates
.
The classification of the patch, such as SecurityUpdates
,
* Updates
, and CriticalUpdates
.
The classification of the patch, such as SecurityUpdates
,
* Updates
, and CriticalUpdates
.
The classification of the patch, such as SecurityUpdates
,
* Updates
, and CriticalUpdates
.
The classification of the patch, such as SecurityUpdates
,
* Updates
, and CriticalUpdates
.
The severity of the patch such as Critical
,
* Important
, and Moderate
.
The severity of the patch such as Critical
,
* Important
, and Moderate
.
The severity of the patch such as Critical
,
* Important
, and Moderate
.
The severity of the patch such as Critical
,
* Important
, and Moderate
.
The severity of the patch such as Critical
,
* Important
, and Moderate
.
The severity of the patch such as Critical
,
* Important
, and Moderate
.
The severity of the patch such as Critical
,
* Important
, and Moderate
.
The severity of the patch such as Critical
,
* Important
, and Moderate
.
The state of the patch on the managed node, such as INSTALLED or FAILED.
*For descriptions of each patch state, see About * patch compliance in the Amazon Web Services Systems Manager User * Guide.
*/ inline const PatchComplianceDataState& GetState() const{ return m_state; } /** *The state of the patch on the managed node, such as INSTALLED or FAILED.
*For descriptions of each patch state, see About * patch compliance in the Amazon Web Services Systems Manager User * Guide.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the patch on the managed node, such as INSTALLED or FAILED.
*For descriptions of each patch state, see About * patch compliance in the Amazon Web Services Systems Manager User * Guide.
*/ inline void SetState(const PatchComplianceDataState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the patch on the managed node, such as INSTALLED or FAILED.
*For descriptions of each patch state, see About * patch compliance in the Amazon Web Services Systems Manager User * Guide.
*/ inline void SetState(PatchComplianceDataState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the patch on the managed node, such as INSTALLED or FAILED.
*For descriptions of each patch state, see About * patch compliance in the Amazon Web Services Systems Manager User * Guide.
*/ inline PatchComplianceData& WithState(const PatchComplianceDataState& value) { SetState(value); return *this;} /** *The state of the patch on the managed node, such as INSTALLED or FAILED.
*For descriptions of each patch state, see About * patch compliance in the Amazon Web Services Systems Manager User * Guide.
*/ inline PatchComplianceData& WithState(PatchComplianceDataState&& value) { SetState(std::move(value)); return *this;} /** *The date/time the patch was installed on the managed node. Not all operating * systems provide this level of information.
*/ inline const Aws::Utils::DateTime& GetInstalledTime() const{ return m_installedTime; } /** *The date/time the patch was installed on the managed node. Not all operating * systems provide this level of information.
*/ inline bool InstalledTimeHasBeenSet() const { return m_installedTimeHasBeenSet; } /** *The date/time the patch was installed on the managed node. Not all operating * systems provide this level of information.
*/ inline void SetInstalledTime(const Aws::Utils::DateTime& value) { m_installedTimeHasBeenSet = true; m_installedTime = value; } /** *The date/time the patch was installed on the managed node. Not all operating * systems provide this level of information.
*/ inline void SetInstalledTime(Aws::Utils::DateTime&& value) { m_installedTimeHasBeenSet = true; m_installedTime = std::move(value); } /** *The date/time the patch was installed on the managed node. Not all operating * systems provide this level of information.
*/ inline PatchComplianceData& WithInstalledTime(const Aws::Utils::DateTime& value) { SetInstalledTime(value); return *this;} /** *The date/time the patch was installed on the managed node. Not all operating * systems provide this level of information.
*/ inline PatchComplianceData& WithInstalledTime(Aws::Utils::DateTime&& value) { SetInstalledTime(std::move(value)); return *this;} /** *The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that * are resolved by the patch.
*/ inline const Aws::String& GetCVEIds() const{ return m_cVEIds; } /** *The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that * are resolved by the patch.
*/ inline bool CVEIdsHasBeenSet() const { return m_cVEIdsHasBeenSet; } /** *The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that * are resolved by the patch.
*/ inline void SetCVEIds(const Aws::String& value) { m_cVEIdsHasBeenSet = true; m_cVEIds = value; } /** *The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that * are resolved by the patch.
*/ inline void SetCVEIds(Aws::String&& value) { m_cVEIdsHasBeenSet = true; m_cVEIds = std::move(value); } /** *The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that * are resolved by the patch.
*/ inline void SetCVEIds(const char* value) { m_cVEIdsHasBeenSet = true; m_cVEIds.assign(value); } /** *The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that * are resolved by the patch.
*/ inline PatchComplianceData& WithCVEIds(const Aws::String& value) { SetCVEIds(value); return *this;} /** *The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that * are resolved by the patch.
*/ inline PatchComplianceData& WithCVEIds(Aws::String&& value) { SetCVEIds(std::move(value)); return *this;} /** *The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that * are resolved by the patch.
*/ inline PatchComplianceData& WithCVEIds(const char* value) { SetCVEIds(value); return *this;} private: Aws::String m_title; bool m_titleHasBeenSet = false; Aws::String m_kBId; bool m_kBIdHasBeenSet = false; Aws::String m_classification; bool m_classificationHasBeenSet = false; Aws::String m_severity; bool m_severityHasBeenSet = false; PatchComplianceDataState m_state; bool m_stateHasBeenSet = false; Aws::Utils::DateTime m_installedTime; bool m_installedTimeHasBeenSet = false; Aws::String m_cVEIds; bool m_cVEIdsHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws