/*
* 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 codebuild-2016-10-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.CodeBuild.Model
{
///
/// Container for the parameters to the DeleteReportGroup operation.
/// Deletes a report group. Before you delete a report group, you must delete its reports.
///
public partial class DeleteReportGroupRequest : AmazonCodeBuildRequest
{
private string _arn;
private bool? _deleteReports;
///
/// Gets and sets the property Arn.
///
/// The ARN of the report group to delete.
///
///
[AWSProperty(Required=true, Min=1)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property DeleteReports.
///
/// If true
, deletes any reports that belong to a report group before deleting
/// the report group.
///
///
///
/// If false
, you must delete any reports in the report group. Use ListReportsForReportGroup
/// to get the reports in a report group. Use DeleteReport
/// to delete the reports. If you call DeleteReportGroup
for a report group
/// that contains one or more reports, an exception is thrown.
///
///
public bool DeleteReports
{
get { return this._deleteReports.GetValueOrDefault(); }
set { this._deleteReports = value; }
}
// Check to see if DeleteReports property is set
internal bool IsSetDeleteReports()
{
return this._deleteReports.HasValue;
}
}
}