/*
* 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 backup-2018-11-15.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.Backup.Model
{
///
/// Contains detailed information about a report setting.
///
public partial class ReportSetting
{
private List _accounts = new List();
private List _frameworkArns = new List();
private int? _numberOfFrameworks;
private List _organizationUnits = new List();
private List _regions = new List();
private string _reportTemplate;
///
/// Gets and sets the property Accounts.
///
/// These are the accounts to be included in the report.
///
///
public List Accounts
{
get { return this._accounts; }
set { this._accounts = value; }
}
// Check to see if Accounts property is set
internal bool IsSetAccounts()
{
return this._accounts != null && this._accounts.Count > 0;
}
///
/// Gets and sets the property FrameworkArns.
///
/// The Amazon Resource Names (ARNs) of the frameworks a report covers.
///
///
public List FrameworkArns
{
get { return this._frameworkArns; }
set { this._frameworkArns = value; }
}
// Check to see if FrameworkArns property is set
internal bool IsSetFrameworkArns()
{
return this._frameworkArns != null && this._frameworkArns.Count > 0;
}
///
/// Gets and sets the property NumberOfFrameworks.
///
/// The number of frameworks a report covers.
///
///
public int NumberOfFrameworks
{
get { return this._numberOfFrameworks.GetValueOrDefault(); }
set { this._numberOfFrameworks = value; }
}
// Check to see if NumberOfFrameworks property is set
internal bool IsSetNumberOfFrameworks()
{
return this._numberOfFrameworks.HasValue;
}
///
/// Gets and sets the property OrganizationUnits.
///
/// These are the Organizational Units to be included in the report.
///
///
public List OrganizationUnits
{
get { return this._organizationUnits; }
set { this._organizationUnits = value; }
}
// Check to see if OrganizationUnits property is set
internal bool IsSetOrganizationUnits()
{
return this._organizationUnits != null && this._organizationUnits.Count > 0;
}
///
/// Gets and sets the property Regions.
///
/// These are the Regions to be included in the report.
///
///
public List Regions
{
get { return this._regions; }
set { this._regions = value; }
}
// Check to see if Regions property is set
internal bool IsSetRegions()
{
return this._regions != null && this._regions.Count > 0;
}
///
/// Gets and sets the property ReportTemplate.
///
/// Identifies the report template for the report. Reports are built using a report template.
/// The report templates are:
///
///
///
/// RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT
/// | COPY_JOB_REPORT | RESTORE_JOB_REPORT
///
///
[AWSProperty(Required=true)]
public string ReportTemplate
{
get { return this._reportTemplate; }
set { this._reportTemplate = value; }
}
// Check to see if ReportTemplate property is set
internal bool IsSetReportTemplate()
{
return this._reportTemplate != null;
}
}
}