/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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
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