/* * 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 s3control-2018-08-20.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.S3Control.Model { /// /// Contains the configuration parameters for a job-completion report. /// public partial class JobReport { private string _bucket; private bool? _enabled; private JobReportFormat _format; private string _prefix; private JobReportScope _reportScope; /// /// Gets and sets the property Bucket. /// /// The Amazon Resource Name (ARN) for the bucket where specified job-completion report /// will be stored. /// /// [AWSProperty(Min=1, Max=128)] public string Bucket { get { return this._bucket; } set { this._bucket = value; } } // Check to see if Bucket property is set internal bool IsSetBucket() { return this._bucket != null; } /// /// Gets and sets the property Enabled. /// /// Indicates whether the specified job will generate a job-completion report. /// /// [AWSProperty(Required=true)] public bool Enabled { get { return this._enabled.GetValueOrDefault(); } set { this._enabled = value; } } // Check to see if Enabled property is set internal bool IsSetEnabled() { return this._enabled.HasValue; } /// /// Gets and sets the property Format. /// /// The format of the specified job-completion report. /// /// public JobReportFormat Format { get { return this._format; } set { this._format = value; } } // Check to see if Format property is set internal bool IsSetFormat() { return this._format != null; } /// /// Gets and sets the property Prefix. /// /// An optional prefix to describe where in the specified bucket the job-completion report /// will be stored. Amazon S3 stores the job-completion report at <prefix>/job-<job-id>/report.json. /// /// [AWSProperty(Min=1, Max=512)] public string Prefix { get { return this._prefix; } set { this._prefix = value; } } // Check to see if Prefix property is set internal bool IsSetPrefix() { return this._prefix != null; } /// /// Gets and sets the property ReportScope. /// /// Indicates whether the job-completion report will include details of all tasks or only /// failed tasks. /// /// public JobReportScope ReportScope { get { return this._reportScope; } set { this._reportScope = value; } } // Check to see if ReportScope property is set internal bool IsSetReportScope() { return this._reportScope != null; } } }