/*
* 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 iot-2015-05-28.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.IoT.Model
{
///
/// Filters out specific findings of a Device Defender audit.
///
public partial class AuditSuppression
{
private string _checkName;
private string _description;
private DateTime? _expirationDate;
private ResourceIdentifier _resourceIdentifier;
private bool? _suppressIndefinitely;
///
/// Gets and sets the property CheckName.
///
[AWSProperty(Required=true)]
public string CheckName
{
get { return this._checkName; }
set { this._checkName = value; }
}
// Check to see if CheckName property is set
internal bool IsSetCheckName()
{
return this._checkName != null;
}
///
/// Gets and sets the property Description.
///
/// The description of the audit suppression.
///
///
[AWSProperty(Max=1000)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property ExpirationDate.
///
/// The expiration date (epoch timestamp in seconds) that you want the suppression to
/// adhere to.
///
///
public DateTime ExpirationDate
{
get { return this._expirationDate.GetValueOrDefault(); }
set { this._expirationDate = value; }
}
// Check to see if ExpirationDate property is set
internal bool IsSetExpirationDate()
{
return this._expirationDate.HasValue;
}
///
/// Gets and sets the property ResourceIdentifier.
///
[AWSProperty(Required=true)]
public ResourceIdentifier ResourceIdentifier
{
get { return this._resourceIdentifier; }
set { this._resourceIdentifier = value; }
}
// Check to see if ResourceIdentifier property is set
internal bool IsSetResourceIdentifier()
{
return this._resourceIdentifier != null;
}
///
/// Gets and sets the property SuppressIndefinitely.
///
/// Indicates whether a suppression should exist indefinitely or not.
///
///
public bool SuppressIndefinitely
{
get { return this._suppressIndefinitely.GetValueOrDefault(); }
set { this._suppressIndefinitely = value; }
}
// Check to see if SuppressIndefinitely property is set
internal bool IsSetSuppressIndefinitely()
{
return this._suppressIndefinitely.HasValue;
}
}
}