/* * 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 storagegateway-2013-06-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.StorageGateway.Model { /// /// Describes the object returned by DescribeFileSystemAssociations that /// describes a created file system association. /// public partial class FileSystemAssociationInfo { private string _auditDestinationARN; private CacheAttributes _cacheAttributes; private EndpointNetworkConfiguration _endpointNetworkConfiguration; private string _fileSystemAssociationARN; private string _fileSystemAssociationStatus; private List _fileSystemAssociationStatusDetails = new List(); private string _gatewayARN; private string _locationARN; private List _tags = new List(); /// /// Gets and sets the property AuditDestinationARN. /// /// The Amazon Resource Name (ARN) of the storage used for the audit logs. /// /// [AWSProperty(Max=1024)] public string AuditDestinationARN { get { return this._auditDestinationARN; } set { this._auditDestinationARN = value; } } // Check to see if AuditDestinationARN property is set internal bool IsSetAuditDestinationARN() { return this._auditDestinationARN != null; } /// /// Gets and sets the property CacheAttributes. /// public CacheAttributes CacheAttributes { get { return this._cacheAttributes; } set { this._cacheAttributes = value; } } // Check to see if CacheAttributes property is set internal bool IsSetCacheAttributes() { return this._cacheAttributes != null; } /// /// Gets and sets the property EndpointNetworkConfiguration. /// /// Specifies network configuration information for the gateway associated with the Amazon /// FSx file system. /// /// /// /// If multiple file systems are associated with this gateway, this parameter's IpAddresses /// field is required. /// /// /// public EndpointNetworkConfiguration EndpointNetworkConfiguration { get { return this._endpointNetworkConfiguration; } set { this._endpointNetworkConfiguration = value; } } // Check to see if EndpointNetworkConfiguration property is set internal bool IsSetEndpointNetworkConfiguration() { return this._endpointNetworkConfiguration != null; } /// /// Gets and sets the property FileSystemAssociationARN. /// /// The Amazon Resource Name (ARN) of the file system association. /// /// [AWSProperty(Min=50, Max=500)] public string FileSystemAssociationARN { get { return this._fileSystemAssociationARN; } set { this._fileSystemAssociationARN = value; } } // Check to see if FileSystemAssociationARN property is set internal bool IsSetFileSystemAssociationARN() { return this._fileSystemAssociationARN != null; } /// /// Gets and sets the property FileSystemAssociationStatus. /// /// The status of the file system association. Valid Values: AVAILABLE | /// CREATING | DELETING | FORCE_DELETING | UPDATING /// | ERROR /// /// [AWSProperty(Min=3, Max=50)] public string FileSystemAssociationStatus { get { return this._fileSystemAssociationStatus; } set { this._fileSystemAssociationStatus = value; } } // Check to see if FileSystemAssociationStatus property is set internal bool IsSetFileSystemAssociationStatus() { return this._fileSystemAssociationStatus != null; } /// /// Gets and sets the property FileSystemAssociationStatusDetails. /// /// An array containing the FileSystemAssociationStatusDetail data type, which provides /// detailed information on file system association status. /// /// public List FileSystemAssociationStatusDetails { get { return this._fileSystemAssociationStatusDetails; } set { this._fileSystemAssociationStatusDetails = value; } } // Check to see if FileSystemAssociationStatusDetails property is set internal bool IsSetFileSystemAssociationStatusDetails() { return this._fileSystemAssociationStatusDetails != null && this._fileSystemAssociationStatusDetails.Count > 0; } /// /// Gets and sets the property GatewayARN. /// [AWSProperty(Min=50, Max=500)] public string GatewayARN { get { return this._gatewayARN; } set { this._gatewayARN = value; } } // Check to see if GatewayARN property is set internal bool IsSetGatewayARN() { return this._gatewayARN != null; } /// /// Gets and sets the property LocationARN. /// /// The ARN of the backend Amazon FSx file system used for storing file data. For information, /// see FileSystem /// in the Amazon FSx API Reference. /// /// [AWSProperty(Min=8, Max=512)] public string LocationARN { get { return this._locationARN; } set { this._locationARN = value; } } // Check to see if LocationARN property is set internal bool IsSetLocationARN() { return this._locationARN != null; } /// /// Gets and sets the property Tags. /// /// A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key /// name. Each tag is a key-value pair. /// /// public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }