/*
* 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
{
///
/// This is the response object from the DescribeScheduledAudit operation.
///
public partial class DescribeScheduledAuditResponse : AmazonWebServiceResponse
{
private string _dayOfMonth;
private DayOfWeek _dayOfWeek;
private AuditFrequency _frequency;
private string _scheduledAuditArn;
private string _scheduledAuditName;
private List _targetCheckNames = new List();
///
/// Gets and sets the property DayOfMonth.
///
/// The day of the month on which the scheduled audit takes place. This is will be 1
/// through 31
or LAST
. If days 29
-31
/// are specified, and the month does not have that many days, the audit takes place on
/// the LAST
day of the month.
///
///
public string DayOfMonth
{
get { return this._dayOfMonth; }
set { this._dayOfMonth = value; }
}
// Check to see if DayOfMonth property is set
internal bool IsSetDayOfMonth()
{
return this._dayOfMonth != null;
}
///
/// Gets and sets the property DayOfWeek.
///
/// The day of the week on which the scheduled audit takes place, either one of SUN
,
/// MON
, TUE
, WED
, THU
, FRI
,
/// or SAT
.
///
///
public DayOfWeek DayOfWeek
{
get { return this._dayOfWeek; }
set { this._dayOfWeek = value; }
}
// Check to see if DayOfWeek property is set
internal bool IsSetDayOfWeek()
{
return this._dayOfWeek != null;
}
///
/// Gets and sets the property Frequency.
///
/// How often the scheduled audit takes place, either one of DAILY
, WEEKLY
,
/// BIWEEKLY
, or MONTHLY
. The start time of each audit is determined
/// by the system.
///
///
public AuditFrequency Frequency
{
get { return this._frequency; }
set { this._frequency = value; }
}
// Check to see if Frequency property is set
internal bool IsSetFrequency()
{
return this._frequency != null;
}
///
/// Gets and sets the property ScheduledAuditArn.
///
/// The ARN of the scheduled audit.
///
///
public string ScheduledAuditArn
{
get { return this._scheduledAuditArn; }
set { this._scheduledAuditArn = value; }
}
// Check to see if ScheduledAuditArn property is set
internal bool IsSetScheduledAuditArn()
{
return this._scheduledAuditArn != null;
}
///
/// Gets and sets the property ScheduledAuditName.
///
/// The name of the scheduled audit.
///
///
[AWSProperty(Min=1, Max=128)]
public string ScheduledAuditName
{
get { return this._scheduledAuditName; }
set { this._scheduledAuditName = value; }
}
// Check to see if ScheduledAuditName property is set
internal bool IsSetScheduledAuditName()
{
return this._scheduledAuditName != null;
}
///
/// Gets and sets the property TargetCheckNames.
///
/// Which checks are performed during the scheduled audit. Checks must be enabled for
/// your account. (Use DescribeAccountAuditConfiguration
to see the list
/// of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
/// to select which checks are enabled.)
///
///
public List TargetCheckNames
{
get { return this._targetCheckNames; }
set { this._targetCheckNames = value; }
}
// Check to see if TargetCheckNames property is set
internal bool IsSetTargetCheckNames()
{
return this._targetCheckNames != null && this._targetCheckNames.Count > 0;
}
}
}