/*
* 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
{
///
/// This is the response object from the DescribePatchGroupState operation.
///
public partial class DescribePatchGroupStateResponse : AmazonWebServiceResponse
{
private int? _instances;
private int? _instancesWithCriticalNonCompliantPatches;
private int? _instancesWithFailedPatches;
private int? _instancesWithInstalledOtherPatches;
private int? _instancesWithInstalledPatches;
private int? _instancesWithInstalledPendingRebootPatches;
private int? _instancesWithInstalledRejectedPatches;
private int? _instancesWithMissingPatches;
private int? _instancesWithNotApplicablePatches;
private int? _instancesWithOtherNonCompliantPatches;
private int? _instancesWithSecurityNonCompliantPatches;
private int? _instancesWithUnreportedNotApplicablePatches;
///
/// Gets and sets the property Instances.
///
/// The number of managed nodes in the patch group.
///
///
public int Instances
{
get { return this._instances.GetValueOrDefault(); }
set { this._instances = value; }
}
// Check to see if Instances property is set
internal bool IsSetInstances()
{
return this._instances.HasValue;
}
///
/// Gets and sets the property InstancesWithCriticalNonCompliantPatches.
///
/// The number of managed nodes where patches that are specified as Critical
/// for compliance reporting in the patch baseline aren't installed. These patches might
/// be missing, have failed installation, were rejected, or were installed but awaiting
/// a required managed node reboot. The status of these managed nodes is NON_COMPLIANT
.
///
///
public int InstancesWithCriticalNonCompliantPatches
{
get { return this._instancesWithCriticalNonCompliantPatches.GetValueOrDefault(); }
set { this._instancesWithCriticalNonCompliantPatches = value; }
}
// Check to see if InstancesWithCriticalNonCompliantPatches property is set
internal bool IsSetInstancesWithCriticalNonCompliantPatches()
{
return this._instancesWithCriticalNonCompliantPatches.HasValue;
}
///
/// Gets and sets the property InstancesWithFailedPatches.
///
/// The number of managed nodes with patches from the patch baseline that failed to install.
///
///
public int InstancesWithFailedPatches
{
get { return this._instancesWithFailedPatches.GetValueOrDefault(); }
set { this._instancesWithFailedPatches = value; }
}
// Check to see if InstancesWithFailedPatches property is set
internal bool IsSetInstancesWithFailedPatches()
{
return this._instancesWithFailedPatches.HasValue;
}
///
/// Gets and sets the property InstancesWithInstalledOtherPatches.
///
/// The number of managed nodes with patches installed that aren't defined in the patch
/// baseline.
///
///
public int InstancesWithInstalledOtherPatches
{
get { return this._instancesWithInstalledOtherPatches.GetValueOrDefault(); }
set { this._instancesWithInstalledOtherPatches = value; }
}
// Check to see if InstancesWithInstalledOtherPatches property is set
internal bool IsSetInstancesWithInstalledOtherPatches()
{
return this._instancesWithInstalledOtherPatches.HasValue;
}
///
/// Gets and sets the property InstancesWithInstalledPatches.
///
/// The number of managed nodes with installed patches.
///
///
public int InstancesWithInstalledPatches
{
get { return this._instancesWithInstalledPatches.GetValueOrDefault(); }
set { this._instancesWithInstalledPatches = value; }
}
// Check to see if InstancesWithInstalledPatches property is set
internal bool IsSetInstancesWithInstalledPatches()
{
return this._instancesWithInstalledPatches.HasValue;
}
///
/// Gets and sets the property InstancesWithInstalledPendingRebootPatches.
///
/// The number of managed nodes with patches installed by Patch Manager that haven't been
/// rebooted after the patch installation. The status of these managed nodes is NON_COMPLIANT
.
///
///
public int InstancesWithInstalledPendingRebootPatches
{
get { return this._instancesWithInstalledPendingRebootPatches.GetValueOrDefault(); }
set { this._instancesWithInstalledPendingRebootPatches = value; }
}
// Check to see if InstancesWithInstalledPendingRebootPatches property is set
internal bool IsSetInstancesWithInstalledPendingRebootPatches()
{
return this._instancesWithInstalledPendingRebootPatches.HasValue;
}
///
/// Gets and sets the property InstancesWithInstalledRejectedPatches.
///
/// The number of managed nodes with patches installed that are specified in a RejectedPatches
/// list. Patches with a status of INSTALLED_REJECTED
were typically installed
/// before they were added to a RejectedPatches
list.
///
///
///
/// If ALLOW_AS_DEPENDENCY
is the specified option for RejectedPatchesAction
,
/// the value of InstancesWithInstalledRejectedPatches
will always be 0
/// (zero).
///
///
///
public int InstancesWithInstalledRejectedPatches
{
get { return this._instancesWithInstalledRejectedPatches.GetValueOrDefault(); }
set { this._instancesWithInstalledRejectedPatches = value; }
}
// Check to see if InstancesWithInstalledRejectedPatches property is set
internal bool IsSetInstancesWithInstalledRejectedPatches()
{
return this._instancesWithInstalledRejectedPatches.HasValue;
}
///
/// Gets and sets the property InstancesWithMissingPatches.
///
/// The number of managed nodes with missing patches from the patch baseline.
///
///
public int InstancesWithMissingPatches
{
get { return this._instancesWithMissingPatches.GetValueOrDefault(); }
set { this._instancesWithMissingPatches = value; }
}
// Check to see if InstancesWithMissingPatches property is set
internal bool IsSetInstancesWithMissingPatches()
{
return this._instancesWithMissingPatches.HasValue;
}
///
/// Gets and sets the property InstancesWithNotApplicablePatches.
///
/// The number of managed nodes with patches that aren't applicable.
///
///
public int InstancesWithNotApplicablePatches
{
get { return this._instancesWithNotApplicablePatches.GetValueOrDefault(); }
set { this._instancesWithNotApplicablePatches = value; }
}
// Check to see if InstancesWithNotApplicablePatches property is set
internal bool IsSetInstancesWithNotApplicablePatches()
{
return this._instancesWithNotApplicablePatches.HasValue;
}
///
/// Gets and sets the property InstancesWithOtherNonCompliantPatches.
///
/// The number of managed nodes with patches installed that are specified as other than
/// Critical
or Security
but aren't compliant with the patch
/// baseline. The status of these managed nodes is NON_COMPLIANT
.
///
///
public int InstancesWithOtherNonCompliantPatches
{
get { return this._instancesWithOtherNonCompliantPatches.GetValueOrDefault(); }
set { this._instancesWithOtherNonCompliantPatches = value; }
}
// Check to see if InstancesWithOtherNonCompliantPatches property is set
internal bool IsSetInstancesWithOtherNonCompliantPatches()
{
return this._instancesWithOtherNonCompliantPatches.HasValue;
}
///
/// Gets and sets the property InstancesWithSecurityNonCompliantPatches.
///
/// The number of managed nodes where patches that are specified as Security
/// in a patch advisory aren't installed. These patches might be missing, have failed
/// installation, were rejected, or were installed but awaiting a required managed node
/// reboot. The status of these managed nodes is NON_COMPLIANT
.
///
///
public int InstancesWithSecurityNonCompliantPatches
{
get { return this._instancesWithSecurityNonCompliantPatches.GetValueOrDefault(); }
set { this._instancesWithSecurityNonCompliantPatches = value; }
}
// Check to see if InstancesWithSecurityNonCompliantPatches property is set
internal bool IsSetInstancesWithSecurityNonCompliantPatches()
{
return this._instancesWithSecurityNonCompliantPatches.HasValue;
}
///
/// Gets and sets the property InstancesWithUnreportedNotApplicablePatches.
///
/// The number of managed nodes with NotApplicable
patches beyond the supported
/// limit, which aren't reported by name to Inventory. Inventory is a capability of Amazon
/// Web Services Systems Manager.
///
///
public int InstancesWithUnreportedNotApplicablePatches
{
get { return this._instancesWithUnreportedNotApplicablePatches.GetValueOrDefault(); }
set { this._instancesWithUnreportedNotApplicablePatches = value; }
}
// Check to see if InstancesWithUnreportedNotApplicablePatches property is set
internal bool IsSetInstancesWithUnreportedNotApplicablePatches()
{
return this._instancesWithUnreportedNotApplicablePatches.HasValue;
}
}
}