/*
* 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 cloudhsm-2014-05-30.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.CloudHSM.Model
{
///
/// Contains the output of the DescribeHsm operation.
///
public partial class DescribeHsmResponse : AmazonWebServiceResponse
{
private string _availabilityZone;
private string _eniId;
private string _eniIp;
private string _hsmArn;
private string _hsmType;
private string _iamRoleArn;
private List _partitions = new List();
private string _serialNumber;
private string _serverCertLastUpdated;
private string _serverCertUri;
private string _softwareVersion;
private string _sshKeyLastUpdated;
private string _sshPublicKey;
private HsmStatus _status;
private string _statusDetails;
private string _subnetId;
private string _subscriptionEndDate;
private string _subscriptionStartDate;
private SubscriptionType _subscriptionType;
private string _vendorName;
private string _vpcId;
///
/// Gets and sets the property AvailabilityZone.
///
/// The Availability Zone that the HSM is in.
///
///
public string AvailabilityZone
{
get { return this._availabilityZone; }
set { this._availabilityZone = value; }
}
// Check to see if AvailabilityZone property is set
internal bool IsSetAvailabilityZone()
{
return this._availabilityZone != null;
}
///
/// Gets and sets the property EniId.
///
/// The identifier of the elastic network interface (ENI) attached to the HSM.
///
///
public string EniId
{
get { return this._eniId; }
set { this._eniId = value; }
}
// Check to see if EniId property is set
internal bool IsSetEniId()
{
return this._eniId != null;
}
///
/// Gets and sets the property EniIp.
///
/// The IP address assigned to the HSM's ENI.
///
///
public string EniIp
{
get { return this._eniIp; }
set { this._eniIp = value; }
}
// Check to see if EniIp property is set
internal bool IsSetEniIp()
{
return this._eniIp != null;
}
///
/// Gets and sets the property HsmArn.
///
/// The ARN of the HSM.
///
///
public string HsmArn
{
get { return this._hsmArn; }
set { this._hsmArn = value; }
}
// Check to see if HsmArn property is set
internal bool IsSetHsmArn()
{
return this._hsmArn != null;
}
///
/// Gets and sets the property HsmType.
///
/// The HSM model type.
///
///
public string HsmType
{
get { return this._hsmType; }
set { this._hsmType = value; }
}
// Check to see if HsmType property is set
internal bool IsSetHsmType()
{
return this._hsmType != null;
}
///
/// Gets and sets the property IamRoleArn.
///
/// The ARN of the IAM role assigned to the HSM.
///
///
public string IamRoleArn
{
get { return this._iamRoleArn; }
set { this._iamRoleArn = value; }
}
// Check to see if IamRoleArn property is set
internal bool IsSetIamRoleArn()
{
return this._iamRoleArn != null;
}
///
/// Gets and sets the property Partitions.
///
/// The list of partitions on the HSM.
///
///
public List Partitions
{
get { return this._partitions; }
set { this._partitions = value; }
}
// Check to see if Partitions property is set
internal bool IsSetPartitions()
{
return this._partitions != null && this._partitions.Count > 0;
}
///
/// Gets and sets the property SerialNumber.
///
/// The serial number of the HSM.
///
///
public string SerialNumber
{
get { return this._serialNumber; }
set { this._serialNumber = value; }
}
// Check to see if SerialNumber property is set
internal bool IsSetSerialNumber()
{
return this._serialNumber != null;
}
///
/// Gets and sets the property ServerCertLastUpdated.
///
/// The date and time that the server certificate was last updated.
///
///
public string ServerCertLastUpdated
{
get { return this._serverCertLastUpdated; }
set { this._serverCertLastUpdated = value; }
}
// Check to see if ServerCertLastUpdated property is set
internal bool IsSetServerCertLastUpdated()
{
return this._serverCertLastUpdated != null;
}
///
/// Gets and sets the property ServerCertUri.
///
/// The URI of the certificate server.
///
///
public string ServerCertUri
{
get { return this._serverCertUri; }
set { this._serverCertUri = value; }
}
// Check to see if ServerCertUri property is set
internal bool IsSetServerCertUri()
{
return this._serverCertUri != null;
}
///
/// Gets and sets the property SoftwareVersion.
///
/// The HSM software version.
///
///
public string SoftwareVersion
{
get { return this._softwareVersion; }
set { this._softwareVersion = value; }
}
// Check to see if SoftwareVersion property is set
internal bool IsSetSoftwareVersion()
{
return this._softwareVersion != null;
}
///
/// Gets and sets the property SshKeyLastUpdated.
///
/// The date and time that the SSH key was last updated.
///
///
public string SshKeyLastUpdated
{
get { return this._sshKeyLastUpdated; }
set { this._sshKeyLastUpdated = value; }
}
// Check to see if SshKeyLastUpdated property is set
internal bool IsSetSshKeyLastUpdated()
{
return this._sshKeyLastUpdated != null;
}
///
/// Gets and sets the property SshPublicKey.
///
/// The public SSH key.
///
///
public string SshPublicKey
{
get { return this._sshPublicKey; }
set { this._sshPublicKey = value; }
}
// Check to see if SshPublicKey property is set
internal bool IsSetSshPublicKey()
{
return this._sshPublicKey != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the HSM.
///
///
public HsmStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property StatusDetails.
///
/// Contains additional information about the status of the HSM.
///
///
public string StatusDetails
{
get { return this._statusDetails; }
set { this._statusDetails = value; }
}
// Check to see if StatusDetails property is set
internal bool IsSetStatusDetails()
{
return this._statusDetails != null;
}
///
/// Gets and sets the property SubnetId.
///
/// The identifier of the subnet that the HSM is in.
///
///
public string SubnetId
{
get { return this._subnetId; }
set { this._subnetId = value; }
}
// Check to see if SubnetId property is set
internal bool IsSetSubnetId()
{
return this._subnetId != null;
}
///
/// Gets and sets the property SubscriptionEndDate.
///
/// The subscription end date.
///
///
public string SubscriptionEndDate
{
get { return this._subscriptionEndDate; }
set { this._subscriptionEndDate = value; }
}
// Check to see if SubscriptionEndDate property is set
internal bool IsSetSubscriptionEndDate()
{
return this._subscriptionEndDate != null;
}
///
/// Gets and sets the property SubscriptionStartDate.
///
/// The subscription start date.
///
///
public string SubscriptionStartDate
{
get { return this._subscriptionStartDate; }
set { this._subscriptionStartDate = value; }
}
// Check to see if SubscriptionStartDate property is set
internal bool IsSetSubscriptionStartDate()
{
return this._subscriptionStartDate != null;
}
///
/// Gets and sets the property SubscriptionType.
///
public SubscriptionType SubscriptionType
{
get { return this._subscriptionType; }
set { this._subscriptionType = value; }
}
// Check to see if SubscriptionType property is set
internal bool IsSetSubscriptionType()
{
return this._subscriptionType != null;
}
///
/// Gets and sets the property VendorName.
///
/// The name of the HSM vendor.
///
///
public string VendorName
{
get { return this._vendorName; }
set { this._vendorName = value; }
}
// Check to see if VendorName property is set
internal bool IsSetVendorName()
{
return this._vendorName != null;
}
///
/// Gets and sets the property VpcId.
///
/// The identifier of the VPC that the HSM is in.
///
///
public string VpcId
{
get { return this._vpcId; }
set { this._vpcId = value; }
}
// Check to see if VpcId property is set
internal bool IsSetVpcId()
{
return this._vpcId != null;
}
}
}