/* * 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 memorydb-2021-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.MemoryDB.Model { /// /// You create users and assign them specific permissions by using an access string. You /// assign the users to Access Control Lists aligned with a specific role (administrators, /// human resources) that are then deployed to one or more MemoryDB clusters. /// public partial class User { private string _accessString; private List _aclNames = new List(); private string _arn; private Authentication _authentication; private string _minimumEngineVersion; private string _name; private string _status; /// /// Gets and sets the property AccessString. /// /// Access permissions string used for this user. /// /// public string AccessString { get { return this._accessString; } set { this._accessString = value; } } // Check to see if AccessString property is set internal bool IsSetAccessString() { return this._accessString != null; } /// /// Gets and sets the property ACLNames. /// /// The names of the Access Control Lists to which the user belongs /// /// public List ACLNames { get { return this._aclNames; } set { this._aclNames = value; } } // Check to see if ACLNames property is set internal bool IsSetACLNames() { return this._aclNames != null && this._aclNames.Count > 0; } /// /// Gets and sets the property ARN. /// /// The Amazon Resource Name (ARN) of the user. /// /// public string ARN { get { return this._arn; } set { this._arn = value; } } // Check to see if ARN property is set internal bool IsSetARN() { return this._arn != null; } /// /// Gets and sets the property Authentication. /// /// Denotes whether the user requires a password to authenticate. /// /// public Authentication Authentication { get { return this._authentication; } set { this._authentication = value; } } // Check to see if Authentication property is set internal bool IsSetAuthentication() { return this._authentication != null; } /// /// Gets and sets the property MinimumEngineVersion. /// /// The minimum engine version supported for the user /// /// public string MinimumEngineVersion { get { return this._minimumEngineVersion; } set { this._minimumEngineVersion = value; } } // Check to see if MinimumEngineVersion property is set internal bool IsSetMinimumEngineVersion() { return this._minimumEngineVersion != null; } /// /// Gets and sets the property Name. /// /// The name of the user /// /// public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property Status. /// /// Indicates the user status. Can be "active", "modifying" or "deleting". /// /// public string Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }