/* * 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 DescribeHapg action. /// public partial class DescribeHapgResponse : AmazonWebServiceResponse { private string _hapgArn; private string _hapgSerial; private List _hsmsLastActionFailed = new List(); private List _hsmsPendingDeletion = new List(); private List _hsmsPendingRegistration = new List(); private string _label; private string _lastModifiedTimestamp; private List _partitionSerialList = new List(); private CloudHsmObjectState _state; /// /// Gets and sets the property HapgArn. /// /// The ARN of the high-availability partition group. /// /// public string HapgArn { get { return this._hapgArn; } set { this._hapgArn = value; } } // Check to see if HapgArn property is set internal bool IsSetHapgArn() { return this._hapgArn != null; } /// /// Gets and sets the property HapgSerial. /// /// The serial number of the high-availability partition group. /// /// public string HapgSerial { get { return this._hapgSerial; } set { this._hapgSerial = value; } } // Check to see if HapgSerial property is set internal bool IsSetHapgSerial() { return this._hapgSerial != null; } /// /// Gets and sets the property HsmsLastActionFailed. /// public List HsmsLastActionFailed { get { return this._hsmsLastActionFailed; } set { this._hsmsLastActionFailed = value; } } // Check to see if HsmsLastActionFailed property is set internal bool IsSetHsmsLastActionFailed() { return this._hsmsLastActionFailed != null && this._hsmsLastActionFailed.Count > 0; } /// /// Gets and sets the property HsmsPendingDeletion. /// public List HsmsPendingDeletion { get { return this._hsmsPendingDeletion; } set { this._hsmsPendingDeletion = value; } } // Check to see if HsmsPendingDeletion property is set internal bool IsSetHsmsPendingDeletion() { return this._hsmsPendingDeletion != null && this._hsmsPendingDeletion.Count > 0; } /// /// Gets and sets the property HsmsPendingRegistration. /// public List HsmsPendingRegistration { get { return this._hsmsPendingRegistration; } set { this._hsmsPendingRegistration = value; } } // Check to see if HsmsPendingRegistration property is set internal bool IsSetHsmsPendingRegistration() { return this._hsmsPendingRegistration != null && this._hsmsPendingRegistration.Count > 0; } /// /// Gets and sets the property Label. /// /// The label for the high-availability partition group. /// /// public string Label { get { return this._label; } set { this._label = value; } } // Check to see if Label property is set internal bool IsSetLabel() { return this._label != null; } /// /// Gets and sets the property LastModifiedTimestamp. /// /// The date and time the high-availability partition group was last modified. /// /// public string LastModifiedTimestamp { get { return this._lastModifiedTimestamp; } set { this._lastModifiedTimestamp = value; } } // Check to see if LastModifiedTimestamp property is set internal bool IsSetLastModifiedTimestamp() { return this._lastModifiedTimestamp != null; } /// /// Gets and sets the property PartitionSerialList. /// /// The list of partition serial numbers that belong to the high-availability partition /// group. /// /// public List PartitionSerialList { get { return this._partitionSerialList; } set { this._partitionSerialList = value; } } // Check to see if PartitionSerialList property is set internal bool IsSetPartitionSerialList() { return this._partitionSerialList != null && this._partitionSerialList.Count > 0; } /// /// Gets and sets the property State. /// /// The state of the high-availability partition group. /// /// public CloudHsmObjectState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } } }