/* * 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 { /// /// Information about the state of a patch on a particular managed node as it relates /// to the patch baseline used to patch the node. /// public partial class PatchComplianceData { private string _classification; private string _cveIds; private DateTime? _installedTime; private string _kbId; private string _severity; private PatchComplianceDataState _state; private string _title; /// /// Gets and sets the property Classification. /// /// The classification of the patch, such as SecurityUpdates, Updates, /// and CriticalUpdates. /// /// [AWSProperty(Required=true)] public string Classification { get { return this._classification; } set { this._classification = value; } } // Check to see if Classification property is set internal bool IsSetClassification() { return this._classification != null; } /// /// Gets and sets the property CVEIds. /// /// The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that are resolved /// by the patch. /// /// public string CVEIds { get { return this._cveIds; } set { this._cveIds = value; } } // Check to see if CVEIds property is set internal bool IsSetCVEIds() { return this._cveIds != null; } /// /// Gets and sets the property InstalledTime. /// /// The date/time the patch was installed on the managed node. Not all operating systems /// provide this level of information. /// /// [AWSProperty(Required=true)] public DateTime InstalledTime { get { return this._installedTime.GetValueOrDefault(); } set { this._installedTime = value; } } // Check to see if InstalledTime property is set internal bool IsSetInstalledTime() { return this._installedTime.HasValue; } /// /// Gets and sets the property KBId. /// /// The operating system-specific ID of the patch. /// /// [AWSProperty(Required=true)] public string KBId { get { return this._kbId; } set { this._kbId = value; } } // Check to see if KBId property is set internal bool IsSetKBId() { return this._kbId != null; } /// /// Gets and sets the property Severity. /// /// The severity of the patch such as Critical, Important, and /// Moderate. /// /// [AWSProperty(Required=true)] public string Severity { get { return this._severity; } set { this._severity = value; } } // Check to see if Severity property is set internal bool IsSetSeverity() { return this._severity != null; } /// /// Gets and sets the property 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. /// /// [AWSProperty(Required=true)] public PatchComplianceDataState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// /// Gets and sets the property Title. /// /// The title of the patch. /// /// [AWSProperty(Required=true)] public string Title { get { return this._title; } set { this._title = value; } } // Check to see if Title property is set internal bool IsSetTitle() { return this._title != null; } } }