/*
* 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 dms-2016-01-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.DatabaseMigrationService.Model
{
///
/// Describes a Fleet Advisor collector.
///
public partial class CollectorResponse
{
private CollectorHealthCheck _collectorHealthCheck;
private string _collectorName;
private string _collectorReferencedId;
private string _collectorVersion;
private string _createdDate;
private string _description;
private InventoryData _inventoryData;
private string _lastDataReceived;
private string _modifiedDate;
private string _registeredDate;
private string _s3BucketName;
private string _serviceAccessRoleArn;
private VersionStatus _versionStatus;
///
/// Gets and sets the property CollectorHealthCheck.
///
public CollectorHealthCheck CollectorHealthCheck
{
get { return this._collectorHealthCheck; }
set { this._collectorHealthCheck = value; }
}
// Check to see if CollectorHealthCheck property is set
internal bool IsSetCollectorHealthCheck()
{
return this._collectorHealthCheck != null;
}
///
/// Gets and sets the property CollectorName.
///
/// The name of the Fleet Advisor collector .
///
///
public string CollectorName
{
get { return this._collectorName; }
set { this._collectorName = value; }
}
// Check to see if CollectorName property is set
internal bool IsSetCollectorName()
{
return this._collectorName != null;
}
///
/// Gets and sets the property CollectorReferencedId.
///
/// The reference ID of the Fleet Advisor collector.
///
///
public string CollectorReferencedId
{
get { return this._collectorReferencedId; }
set { this._collectorReferencedId = value; }
}
// Check to see if CollectorReferencedId property is set
internal bool IsSetCollectorReferencedId()
{
return this._collectorReferencedId != null;
}
///
/// Gets and sets the property CollectorVersion.
///
/// The version of your Fleet Advisor collector, in semantic versioning format, for example
/// 1.0.2
///
///
public string CollectorVersion
{
get { return this._collectorVersion; }
set { this._collectorVersion = value; }
}
// Check to see if CollectorVersion property is set
internal bool IsSetCollectorVersion()
{
return this._collectorVersion != null;
}
///
/// Gets and sets the property CreatedDate.
///
/// The timestamp when you created the collector, in the following format: 2022-01-24T19:04:02.596113Z
///
///
///
public string CreatedDate
{
get { return this._createdDate; }
set { this._createdDate = value; }
}
// Check to see if CreatedDate property is set
internal bool IsSetCreatedDate()
{
return this._createdDate != null;
}
///
/// Gets and sets the property Description.
///
/// A summary description of the Fleet Advisor collector.
///
///
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 InventoryData.
///
public InventoryData InventoryData
{
get { return this._inventoryData; }
set { this._inventoryData = value; }
}
// Check to see if InventoryData property is set
internal bool IsSetInventoryData()
{
return this._inventoryData != null;
}
///
/// Gets and sets the property LastDataReceived.
///
/// The timestamp of the last time the collector received data, in the following format:
/// 2022-01-24T19:04:02.596113Z
///
///
public string LastDataReceived
{
get { return this._lastDataReceived; }
set { this._lastDataReceived = value; }
}
// Check to see if LastDataReceived property is set
internal bool IsSetLastDataReceived()
{
return this._lastDataReceived != null;
}
///
/// Gets and sets the property ModifiedDate.
///
/// The timestamp when DMS last modified the collector, in the following format: 2022-01-24T19:04:02.596113Z
///
///
///
public string ModifiedDate
{
get { return this._modifiedDate; }
set { this._modifiedDate = value; }
}
// Check to see if ModifiedDate property is set
internal bool IsSetModifiedDate()
{
return this._modifiedDate != null;
}
///
/// Gets and sets the property RegisteredDate.
///
/// The timestamp when DMS registered the collector, in the following format: 2022-01-24T19:04:02.596113Z
///
///
///
public string RegisteredDate
{
get { return this._registeredDate; }
set { this._registeredDate = value; }
}
// Check to see if RegisteredDate property is set
internal bool IsSetRegisteredDate()
{
return this._registeredDate != null;
}
///
/// Gets and sets the property S3BucketName.
///
/// The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory metadata.
///
///
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 ServiceAccessRoleArn.
///
/// The IAM role that grants permissions to access the specified Amazon S3 bucket.
///
///
public string ServiceAccessRoleArn
{
get { return this._serviceAccessRoleArn; }
set { this._serviceAccessRoleArn = value; }
}
// Check to see if ServiceAccessRoleArn property is set
internal bool IsSetServiceAccessRoleArn()
{
return this._serviceAccessRoleArn != null;
}
///
/// Gets and sets the property VersionStatus.
///
/// Whether the collector version is up to date.
///
///
public VersionStatus VersionStatus
{
get { return this._versionStatus; }
set { this._versionStatus = value; }
}
// Check to see if VersionStatus property is set
internal bool IsSetVersionStatus()
{
return this._versionStatus != null;
}
}
}