/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the ssm-2014-11-06.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SimpleSystemsManagement.Model
{
///
/// The EffectivePatch
structure defines metadata about a patch along with
/// the approval state of the patch in a particular patch baseline. The approval state
/// includes information about whether the patch is currently approved, due to be approved
/// by a rule, explicitly approved, or explicitly rejected and the date the patch was
/// or will be approved.
///
public partial class EffectivePatch
{
private Patch _patch;
private PatchStatus _patchStatus;
///
/// Gets and sets the property Patch.
///
/// Provides metadata for a patch, including information such as the KB ID, severity,
/// classification and a URL for where more information can be obtained about the patch.
///
///
public Patch Patch
{
get { return this._patch; }
set { this._patch = value; }
}
// Check to see if Patch property is set
internal bool IsSetPatch()
{
return this._patch != null;
}
///
/// Gets and sets the property PatchStatus.
///
/// The status of the patch in a patch baseline. This includes information about whether
/// the patch is currently approved, due to be approved by a rule, explicitly approved,
/// or explicitly rejected and the date the patch was or will be approved.
///
///
public PatchStatus PatchStatus
{
get { return this._patchStatus; }
set { this._patchStatus = value; }
}
// Check to see if PatchStatus property is set
internal bool IsSetPatchStatus()
{
return this._patchStatus != null;
}
}
}