/**
* 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; } inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } inline PatchComplianceData& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} inline PatchComplianceData& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} 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; } inline bool KBIdHasBeenSet() const { return m_kBIdHasBeenSet; } inline void SetKBId(const Aws::String& value) { m_kBIdHasBeenSet = true; m_kBId = value; } inline void SetKBId(Aws::String&& value) { m_kBIdHasBeenSet = true; m_kBId = std::move(value); } inline void SetKBId(const char* value) { m_kBIdHasBeenSet = true; m_kBId.assign(value); } inline PatchComplianceData& WithKBId(const Aws::String& value) { SetKBId(value); return *this;} inline PatchComplianceData& WithKBId(Aws::String&& value) { SetKBId(std::move(value)); return *this;} inline PatchComplianceData& WithKBId(const char* value) { SetKBId(value); return *this;} ///@} ///@{ /** *The classification of the patch, such as SecurityUpdates,
* Updates, and CriticalUpdates.
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; } inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } inline void SetState(const PatchComplianceDataState& value) { m_stateHasBeenSet = true; m_state = value; } inline void SetState(PatchComplianceDataState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } inline PatchComplianceData& WithState(const PatchComplianceDataState& value) { SetState(value); return *this;} 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; } inline bool InstalledTimeHasBeenSet() const { return m_installedTimeHasBeenSet; } inline void SetInstalledTime(const Aws::Utils::DateTime& value) { m_installedTimeHasBeenSet = true; m_installedTime = value; } inline void SetInstalledTime(Aws::Utils::DateTime&& value) { m_installedTimeHasBeenSet = true; m_installedTime = std::move(value); } inline PatchComplianceData& WithInstalledTime(const Aws::Utils::DateTime& value) { SetInstalledTime(value); return *this;} 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.
Currently, CVE ID values are reported
* only for patches with a status of Missing or
* Failed.