/*
* 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
{
///
/// Container for the parameters to the UpdateReportPlan operation.
/// Updates an existing report plan identified by its ReportPlanName
with
/// the input document in JSON format.
///
public partial class UpdateReportPlanRequest : AmazonBackupRequest
{
private string _idempotencyToken;
private ReportDeliveryChannel _reportDeliveryChannel;
private string _reportPlanDescription;
private string _reportPlanName;
private ReportSetting _reportSetting;
///
/// Gets and sets the property IdempotencyToken.
///
/// A customer-chosen string that you can use to distinguish between otherwise identical
/// calls to UpdateReportPlanInput
. Retrying a successful request with the
/// same idempotency token results in a success message with no action taken.
///
///
public string IdempotencyToken
{
get { return this._idempotencyToken; }
set { this._idempotencyToken = value; }
}
// Check to see if IdempotencyToken property is set
internal bool IsSetIdempotencyToken()
{
return this._idempotencyToken != null;
}
///
/// Gets and sets the property ReportDeliveryChannel.
///
/// A structure that contains information about where to deliver your reports, specifically
/// your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
///
///
public ReportDeliveryChannel ReportDeliveryChannel
{
get { return this._reportDeliveryChannel; }
set { this._reportDeliveryChannel = value; }
}
// Check to see if ReportDeliveryChannel property is set
internal bool IsSetReportDeliveryChannel()
{
return this._reportDeliveryChannel != null;
}
///
/// Gets and sets the property ReportPlanDescription.
///
/// An optional description of the report plan with a maximum 1,024 characters.
///
///
[AWSProperty(Min=0, Max=1024)]
public string ReportPlanDescription
{
get { return this._reportPlanDescription; }
set { this._reportPlanDescription = value; }
}
// Check to see if ReportPlanDescription property is set
internal bool IsSetReportPlanDescription()
{
return this._reportPlanDescription != null;
}
///
/// Gets and sets the property ReportPlanName.
///
/// The unique name of the report plan. This name is between 1 and 256 characters, starting
/// with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores
/// (_).
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string ReportPlanName
{
get { return this._reportPlanName; }
set { this._reportPlanName = value; }
}
// Check to see if ReportPlanName property is set
internal bool IsSetReportPlanName()
{
return this._reportPlanName != null;
}
///
/// Gets and sets the property ReportSetting.
///
/// 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
///
///
///
/// If the report template is RESOURCE_COMPLIANCE_REPORT
or CONTROL_COMPLIANCE_REPORT
,
/// this API resource also describes the report coverage by Amazon Web Services Regions
/// and frameworks.
///
///
public ReportSetting ReportSetting
{
get { return this._reportSetting; }
set { this._reportSetting = value; }
}
// Check to see if ReportSetting property is set
internal bool IsSetReportSetting()
{
return this._reportSetting != null;
}
}
}