/* * 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 license-manager-2018-08-01.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.LicenseManager.Model { /// /// Describe the details of a report generator. /// public partial class ReportGenerator { private string _createTime; private string _description; private string _lastReportGenerationTime; private string _lastRunFailureReason; private string _lastRunStatus; private string _licenseManagerReportGeneratorArn; private ReportContext _reportContext; private string _reportCreatorAccount; private ReportFrequency _reportFrequency; private string _reportGeneratorName; private List _reportType = new List(); private S3Location _s3Location; private List _tags = new List(); /// /// Gets and sets the property CreateTime. /// /// Time the report was created. /// /// public string CreateTime { get { return this._createTime; } set { this._createTime = value; } } // Check to see if CreateTime property is set internal bool IsSetCreateTime() { return this._createTime != null; } /// /// Gets and sets the property Description. /// /// Description of the report generator. /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property LastReportGenerationTime. /// /// Time the last report was generated at. /// /// public string LastReportGenerationTime { get { return this._lastReportGenerationTime; } set { this._lastReportGenerationTime = value; } } // Check to see if LastReportGenerationTime property is set internal bool IsSetLastReportGenerationTime() { return this._lastReportGenerationTime != null; } /// /// Gets and sets the property LastRunFailureReason. /// /// Failure message for the last report generation attempt. /// /// public string LastRunFailureReason { get { return this._lastRunFailureReason; } set { this._lastRunFailureReason = value; } } // Check to see if LastRunFailureReason property is set internal bool IsSetLastRunFailureReason() { return this._lastRunFailureReason != null; } /// /// Gets and sets the property LastRunStatus. /// /// Status of the last report generation attempt. /// /// public string LastRunStatus { get { return this._lastRunStatus; } set { this._lastRunStatus = value; } } // Check to see if LastRunStatus property is set internal bool IsSetLastRunStatus() { return this._lastRunStatus != null; } /// /// Gets and sets the property LicenseManagerReportGeneratorArn. /// /// Amazon Resource Name (ARN) of the report generator. /// /// public string LicenseManagerReportGeneratorArn { get { return this._licenseManagerReportGeneratorArn; } set { this._licenseManagerReportGeneratorArn = value; } } // Check to see if LicenseManagerReportGeneratorArn property is set internal bool IsSetLicenseManagerReportGeneratorArn() { return this._licenseManagerReportGeneratorArn != null; } /// /// Gets and sets the property ReportContext. /// /// License configuration type for this generator. /// /// public ReportContext ReportContext { get { return this._reportContext; } set { this._reportContext = value; } } // Check to see if ReportContext property is set internal bool IsSetReportContext() { return this._reportContext != null; } /// /// Gets and sets the property ReportCreatorAccount. /// /// The Amazon Web Services account ID used to create the report generator. /// /// public string ReportCreatorAccount { get { return this._reportCreatorAccount; } set { this._reportCreatorAccount = value; } } // Check to see if ReportCreatorAccount property is set internal bool IsSetReportCreatorAccount() { return this._reportCreatorAccount != null; } /// /// Gets and sets the property ReportFrequency. /// /// Details about how frequently reports are generated. /// /// public ReportFrequency ReportFrequency { get { return this._reportFrequency; } set { this._reportFrequency = value; } } // Check to see if ReportFrequency property is set internal bool IsSetReportFrequency() { return this._reportFrequency != null; } /// /// Gets and sets the property ReportGeneratorName. /// /// Name of the report generator. /// /// public string ReportGeneratorName { get { return this._reportGeneratorName; } set { this._reportGeneratorName = value; } } // Check to see if ReportGeneratorName property is set internal bool IsSetReportGeneratorName() { return this._reportGeneratorName != null; } /// /// Gets and sets the property ReportType. /// /// Type of reports that are generated. /// /// public List ReportType { get { return this._reportType; } set { this._reportType = value; } } // Check to see if ReportType property is set internal bool IsSetReportType() { return this._reportType != null && this._reportType.Count > 0; } /// /// Gets and sets the property S3Location. /// /// Details of the S3 bucket that report generator reports are published to. /// /// public S3Location S3Location { get { return this._s3Location; } set { this._s3Location = value; } } // Check to see if S3Location property is set internal bool IsSetS3Location() { return this._s3Location != null; } /// /// Gets and sets the property Tags. /// /// Tags associated with the report generator. /// /// 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; } } }