/*
* 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 discovery-2015-11-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.ApplicationDiscoveryService.Model
{
///
/// Information regarding the export status of discovered data. The value is an array
/// of objects.
///
public partial class ExportInfo
{
private string _configurationsDownloadUrl;
private string _exportId;
private DateTime? _exportRequestTime;
private ExportStatus _exportStatus;
private bool? _isTruncated;
private DateTime? _requestedEndTime;
private DateTime? _requestedStartTime;
private string _statusMessage;
///
/// Gets and sets the property ConfigurationsDownloadUrl.
///
/// A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed
/// only if the export succeeded.
///
///
public string ConfigurationsDownloadUrl
{
get { return this._configurationsDownloadUrl; }
set { this._configurationsDownloadUrl = value; }
}
// Check to see if ConfigurationsDownloadUrl property is set
internal bool IsSetConfigurationsDownloadUrl()
{
return this._configurationsDownloadUrl != null;
}
///
/// Gets and sets the property ExportId.
///
/// A unique identifier used to query an export.
///
///
[AWSProperty(Required=true, Max=200)]
public string ExportId
{
get { return this._exportId; }
set { this._exportId = value; }
}
// Check to see if ExportId property is set
internal bool IsSetExportId()
{
return this._exportId != null;
}
///
/// Gets and sets the property ExportRequestTime.
///
/// The time that the data export was initiated.
///
///
[AWSProperty(Required=true)]
public DateTime ExportRequestTime
{
get { return this._exportRequestTime.GetValueOrDefault(); }
set { this._exportRequestTime = value; }
}
// Check to see if ExportRequestTime property is set
internal bool IsSetExportRequestTime()
{
return this._exportRequestTime.HasValue;
}
///
/// Gets and sets the property ExportStatus.
///
/// The status of the data export job.
///
///
[AWSProperty(Required=true)]
public ExportStatus ExportStatus
{
get { return this._exportStatus; }
set { this._exportStatus = value; }
}
// Check to see if ExportStatus property is set
internal bool IsSetExportStatus()
{
return this._exportStatus != null;
}
///
/// Gets and sets the property IsTruncated.
///
/// If true, the export of agent information exceeded the size limit for a single export
/// and the exported data is incomplete for the requested time range. To address this,
/// select a smaller time range for the export by using startDate
and endDate
.
///
///
public bool IsTruncated
{
get { return this._isTruncated.GetValueOrDefault(); }
set { this._isTruncated = value; }
}
// Check to see if IsTruncated property is set
internal bool IsSetIsTruncated()
{
return this._isTruncated.HasValue;
}
///
/// Gets and sets the property RequestedEndTime.
///
/// The endTime
used in the StartExportTask
request. If no endTime
/// was requested, this result does not appear in ExportInfo
.
///
///
public DateTime RequestedEndTime
{
get { return this._requestedEndTime.GetValueOrDefault(); }
set { this._requestedEndTime = value; }
}
// Check to see if RequestedEndTime property is set
internal bool IsSetRequestedEndTime()
{
return this._requestedEndTime.HasValue;
}
///
/// Gets and sets the property RequestedStartTime.
///
/// The value of startTime
parameter in the StartExportTask
/// request. If no startTime
was requested, this result does not appear in
/// ExportInfo
.
///
///
public DateTime RequestedStartTime
{
get { return this._requestedStartTime.GetValueOrDefault(); }
set { this._requestedStartTime = value; }
}
// Check to see if RequestedStartTime property is set
internal bool IsSetRequestedStartTime()
{
return this._requestedStartTime.HasValue;
}
///
/// Gets and sets the property StatusMessage.
///
/// A status message provided for API callers.
///
///
[AWSProperty(Required=true)]
public string StatusMessage
{
get { return this._statusMessage; }
set { this._statusMessage = value; }
}
// Check to see if StatusMessage property is set
internal bool IsSetStatusMessage()
{
return this._statusMessage != null;
}
}
}