/*
* 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 number of managed nodes found for each patch severity level defined in the request
/// filter.
///
public partial class SeveritySummary
{
private int? _criticalCount;
private int? _highCount;
private int? _informationalCount;
private int? _lowCount;
private int? _mediumCount;
private int? _unspecifiedCount;
///
/// Gets and sets the property CriticalCount.
///
/// The total number of resources or compliance items that have a severity level of Critical
.
/// Critical severity is determined by the organization that published the compliance
/// items.
///
///
public int CriticalCount
{
get { return this._criticalCount.GetValueOrDefault(); }
set { this._criticalCount = value; }
}
// Check to see if CriticalCount property is set
internal bool IsSetCriticalCount()
{
return this._criticalCount.HasValue;
}
///
/// Gets and sets the property HighCount.
///
/// The total number of resources or compliance items that have a severity level of high.
/// High severity is determined by the organization that published the compliance items.
///
///
public int HighCount
{
get { return this._highCount.GetValueOrDefault(); }
set { this._highCount = value; }
}
// Check to see if HighCount property is set
internal bool IsSetHighCount()
{
return this._highCount.HasValue;
}
///
/// Gets and sets the property InformationalCount.
///
/// The total number of resources or compliance items that have a severity level of informational.
/// Informational severity is determined by the organization that published the compliance
/// items.
///
///
public int InformationalCount
{
get { return this._informationalCount.GetValueOrDefault(); }
set { this._informationalCount = value; }
}
// Check to see if InformationalCount property is set
internal bool IsSetInformationalCount()
{
return this._informationalCount.HasValue;
}
///
/// Gets and sets the property LowCount.
///
/// The total number of resources or compliance items that have a severity level of low.
/// Low severity is determined by the organization that published the compliance items.
///
///
public int LowCount
{
get { return this._lowCount.GetValueOrDefault(); }
set { this._lowCount = value; }
}
// Check to see if LowCount property is set
internal bool IsSetLowCount()
{
return this._lowCount.HasValue;
}
///
/// Gets and sets the property MediumCount.
///
/// The total number of resources or compliance items that have a severity level of medium.
/// Medium severity is determined by the organization that published the compliance items.
///
///
public int MediumCount
{
get { return this._mediumCount.GetValueOrDefault(); }
set { this._mediumCount = value; }
}
// Check to see if MediumCount property is set
internal bool IsSetMediumCount()
{
return this._mediumCount.HasValue;
}
///
/// Gets and sets the property UnspecifiedCount.
///
/// The total number of resources or compliance items that have a severity level of unspecified.
/// Unspecified severity is determined by the organization that published the compliance
/// items.
///
///
public int UnspecifiedCount
{
get { return this._unspecifiedCount.GetValueOrDefault(); }
set { this._unspecifiedCount = value; }
}
// Check to see if UnspecifiedCount property is set
internal bool IsSetUnspecifiedCount()
{
return this._unspecifiedCount.HasValue;
}
}
}