/** * 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 SecurityHub { namespace Model { /** *

Provides information about the state of a patch on an instance based on the * patch baseline that was used to patch the instance.

See Also:

* AWS * API Reference

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

Information about the status of a patch.

*/ inline const AwsSsmPatch& GetPatch() const{ return m_patch; } /** *

Information about the status of a patch.

*/ inline bool PatchHasBeenSet() const { return m_patchHasBeenSet; } /** *

Information about the status of a patch.

*/ inline void SetPatch(const AwsSsmPatch& value) { m_patchHasBeenSet = true; m_patch = value; } /** *

Information about the status of a patch.

*/ inline void SetPatch(AwsSsmPatch&& value) { m_patchHasBeenSet = true; m_patch = std::move(value); } /** *

Information about the status of a patch.

*/ inline AwsSsmPatchComplianceDetails& WithPatch(const AwsSsmPatch& value) { SetPatch(value); return *this;} /** *

Information about the status of a patch.

*/ inline AwsSsmPatchComplianceDetails& WithPatch(AwsSsmPatch&& value) { SetPatch(std::move(value)); return *this;} private: AwsSsmPatch m_patch; bool m_patchHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws