/* * 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model { /// /// Container for the parameters to the CreateBusinessReportSchedule operation. /// Creates a recurring schedule for usage reports to deliver to the specified S3 location /// with a specified daily or weekly interval. /// public partial class CreateBusinessReportScheduleRequest : AmazonAlexaForBusinessRequest { private string _clientRequestToken; private BusinessReportContentRange _contentRange; private BusinessReportFormat _format; private BusinessReportRecurrence _recurrence; private string _s3BucketName; private string _s3KeyPrefix; private string _scheduleName; private List _tags = new List(); /// /// Gets and sets the property ClientRequestToken. /// /// The client request token. /// /// [AWSProperty(Min=10, Max=150)] public string ClientRequestToken { get { return this._clientRequestToken; } set { this._clientRequestToken = value; } } // Check to see if ClientRequestToken property is set internal bool IsSetClientRequestToken() { return this._clientRequestToken != null; } /// /// Gets and sets the property ContentRange. /// /// The content range of the reports. /// /// [AWSProperty(Required=true)] public BusinessReportContentRange ContentRange { get { return this._contentRange; } set { this._contentRange = value; } } // Check to see if ContentRange property is set internal bool IsSetContentRange() { return this._contentRange != null; } /// /// Gets and sets the property Format. /// /// The format of the generated report (individual CSV files or zipped files of individual /// files). /// /// [AWSProperty(Required=true)] public BusinessReportFormat 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 Recurrence. /// /// The recurrence of the reports. If this isn't specified, the report will only be delivered /// one time when the API is called. /// /// public BusinessReportRecurrence Recurrence { get { return this._recurrence; } set { this._recurrence = value; } } // Check to see if Recurrence property is set internal bool IsSetRecurrence() { return this._recurrence != null; } /// /// Gets and sets the property S3BucketName. /// /// The S3 bucket name of the output reports. If this isn't specified, the report can /// be retrieved from a download link by calling ListBusinessReportSchedule. /// /// public string S3BucketName { get { return this._s3BucketName; } set { this._s3BucketName = value; } } // Check to see if S3BucketName property is set internal bool IsSetS3BucketName() { return this._s3BucketName != null; } /// /// Gets and sets the property S3KeyPrefix. /// /// The S3 key where the report is delivered. /// /// [AWSProperty(Min=0, Max=100)] public string S3KeyPrefix { get { return this._s3KeyPrefix; } set { this._s3KeyPrefix = value; } } // Check to see if S3KeyPrefix property is set internal bool IsSetS3KeyPrefix() { return this._s3KeyPrefix != null; } /// /// Gets and sets the property ScheduleName. /// /// The name identifier of the schedule. /// /// [AWSProperty(Min=0, Max=64)] public string ScheduleName { get { return this._scheduleName; } set { this._scheduleName = value; } } // Check to see if ScheduleName property is set internal bool IsSetScheduleName() { return this._scheduleName != null; } /// /// Gets and sets the property Tags. /// /// The tags for the business report schedule. /// /// public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }