/* * 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 { /// /// This is the response object from the DescribeSMBSettings operation. /// public partial class DescribeSMBSettingsResponse : AmazonWebServiceResponse { private ActiveDirectoryStatus _activeDirectoryStatus; private string _domainName; private bool? _fileSharesVisible; private string _gatewayARN; private bool? _smbGuestPasswordSet; private SMBLocalGroups _smbLocalGroups; private SMBSecurityStrategy _smbSecurityStrategy; /// /// Gets and sets the property ActiveDirectoryStatus. /// /// Indicates the status of a gateway that is a member of the Active Directory domain. /// /// /// public ActiveDirectoryStatus ActiveDirectoryStatus { get { return this._activeDirectoryStatus; } set { this._activeDirectoryStatus = value; } } // Check to see if ActiveDirectoryStatus property is set internal bool IsSetActiveDirectoryStatus() { return this._activeDirectoryStatus != null; } /// /// Gets and sets the property DomainName. /// /// The name of the domain that the gateway is joined to. /// /// [AWSProperty(Min=1, Max=1024)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } /// /// Gets and sets the property FileSharesVisible. /// /// The shares on this gateway appear when listing shares. Only supported for S3 File /// Gateways. /// /// public bool FileSharesVisible { get { return this._fileSharesVisible.GetValueOrDefault(); } set { this._fileSharesVisible = value; } } // Check to see if FileSharesVisible property is set internal bool IsSetFileSharesVisible() { return this._fileSharesVisible.HasValue; } /// /// 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 SMBGuestPasswordSet. /// /// This value is true if a password for the guest user smbguest /// is set, otherwise false. Only supported for S3 File Gateways. /// /// /// /// Valid Values: true | false /// /// public bool SMBGuestPasswordSet { get { return this._smbGuestPasswordSet.GetValueOrDefault(); } set { this._smbGuestPasswordSet = value; } } // Check to see if SMBGuestPasswordSet property is set internal bool IsSetSMBGuestPasswordSet() { return this._smbGuestPasswordSet.HasValue; } /// /// Gets and sets the property SMBLocalGroups. /// /// A list of Active Directory users and groups that have special permissions for SMB /// file shares on the gateway. /// /// public SMBLocalGroups SMBLocalGroups { get { return this._smbLocalGroups; } set { this._smbLocalGroups = value; } } // Check to see if SMBLocalGroups property is set internal bool IsSetSMBLocalGroups() { return this._smbLocalGroups != null; } /// /// Gets and sets the property SMBSecurityStrategy. /// /// The type of security strategy that was specified for file gateway. /// /// /// public SMBSecurityStrategy SMBSecurityStrategy { get { return this._smbSecurityStrategy; } set { this._smbSecurityStrategy = value; } } // Check to see if SMBSecurityStrategy property is set internal bool IsSetSMBSecurityStrategy() { return this._smbSecurityStrategy != null; } } }