/*
* 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 database in a Fleet Advisor collector inventory.
///
public partial class DatabaseResponse
{
private List _collectors = new List();
private string _databaseId;
private string _databaseName;
private string _ipAddress;
private long? _numberOfSchemas;
private ServerShortInfoResponse _server;
private DatabaseInstanceSoftwareDetailsResponse _softwareDetails;
///
/// Gets and sets the property Collectors.
///
/// A list of collectors associated with the database.
///
///
public List Collectors
{
get { return this._collectors; }
set { this._collectors = value; }
}
// Check to see if Collectors property is set
internal bool IsSetCollectors()
{
return this._collectors != null && this._collectors.Count > 0;
}
///
/// Gets and sets the property DatabaseId.
///
/// The ID of a database in a Fleet Advisor collector inventory.
///
///
public string DatabaseId
{
get { return this._databaseId; }
set { this._databaseId = value; }
}
// Check to see if DatabaseId property is set
internal bool IsSetDatabaseId()
{
return this._databaseId != null;
}
///
/// Gets and sets the property DatabaseName.
///
/// The name of a database in a Fleet Advisor collector inventory.
///
///
public string DatabaseName
{
get { return this._databaseName; }
set { this._databaseName = value; }
}
// Check to see if DatabaseName property is set
internal bool IsSetDatabaseName()
{
return this._databaseName != null;
}
///
/// Gets and sets the property IpAddress.
///
/// The IP address of a database in a Fleet Advisor collector inventory.
///
///
public string IpAddress
{
get { return this._ipAddress; }
set { this._ipAddress = value; }
}
// Check to see if IpAddress property is set
internal bool IsSetIpAddress()
{
return this._ipAddress != null;
}
///
/// Gets and sets the property NumberOfSchemas.
///
/// The number of schemas in a Fleet Advisor collector inventory database.
///
///
public long NumberOfSchemas
{
get { return this._numberOfSchemas.GetValueOrDefault(); }
set { this._numberOfSchemas = value; }
}
// Check to see if NumberOfSchemas property is set
internal bool IsSetNumberOfSchemas()
{
return this._numberOfSchemas.HasValue;
}
///
/// Gets and sets the property Server.
///
/// The server name of a database in a Fleet Advisor collector inventory.
///
///
public ServerShortInfoResponse Server
{
get { return this._server; }
set { this._server = value; }
}
// Check to see if Server property is set
internal bool IsSetServer()
{
return this._server != null;
}
///
/// Gets and sets the property SoftwareDetails.
///
/// The software details of a database in a Fleet Advisor collector inventory, such as
/// database engine and version.
///
///
public DatabaseInstanceSoftwareDetailsResponse SoftwareDetails
{
get { return this._softwareDetails; }
set { this._softwareDetails = value; }
}
// Check to see if SoftwareDetails property is set
internal bool IsSetSoftwareDetails()
{
return this._softwareDetails != null;
}
}
}