/* * 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 applicationcostprofiler-2020-09-10.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.ApplicationCostProfiler.Model { /// /// This is the response object from the GetReportDefinition operation. /// public partial class GetReportDefinitionResponse : AmazonWebServiceResponse { private DateTime? _createdAt; private S3Location _destinations3Location; private Format _format; private DateTime? _lastUpdated; private string _reportDescription; private ReportFrequency _reportFrequency; private string _reportId; /// /// Gets and sets the property CreatedAt. /// /// Timestamp (milliseconds) when this report definition was created. /// /// [AWSProperty(Required=true)] public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// /// Gets and sets the property DestinationS3Location. /// /// Amazon Simple Storage Service (Amazon S3) location where the report is uploaded. /// /// [AWSProperty(Required=true)] public S3Location DestinationS3Location { get { return this._destinations3Location; } set { this._destinations3Location = value; } } // Check to see if DestinationS3Location property is set internal bool IsSetDestinationS3Location() { return this._destinations3Location != null; } /// /// Gets and sets the property Format. /// /// Format of the generated report. /// /// [AWSProperty(Required=true)] public Format 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 LastUpdated. /// /// Timestamp (milliseconds) when this report definition was last updated. /// /// [AWSProperty(Required=true)] public DateTime LastUpdated { get { return this._lastUpdated.GetValueOrDefault(); } set { this._lastUpdated = value; } } // Check to see if LastUpdated property is set internal bool IsSetLastUpdated() { return this._lastUpdated.HasValue; } /// /// Gets and sets the property ReportDescription. /// /// Description of the report. /// /// [AWSProperty(Required=true, Min=1, Max=1024)] public string ReportDescription { get { return this._reportDescription; } set { this._reportDescription = value; } } // Check to see if ReportDescription property is set internal bool IsSetReportDescription() { return this._reportDescription != null; } /// /// Gets and sets the property ReportFrequency. /// /// Cadence used to generate the report. /// /// [AWSProperty(Required=true)] 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 ReportId. /// /// ID of the report retrieved. /// /// [AWSProperty(Required=true, Min=1, Max=255)] public string ReportId { get { return this._reportId; } set { this._reportId = value; } } // Check to see if ReportId property is set internal bool IsSetReportId() { return this._reportId != null; } } }