/*
* 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 elasticache-2015-02-02.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.ElastiCache.Model
{
///
/// This is the response object from the CreateUser operation.
///
public partial class CreateUserResponse : AmazonWebServiceResponse
{
private string _accessString;
private string _arn;
private Authentication _authentication;
private string _engine;
private string _minimumEngineVersion;
private string _status;
private List _userGroupIds = new List();
private string _userId;
private string _userName;
///
/// 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 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 Engine.
///
/// The current supported value is Redis.
///
///
public string Engine
{
get { return this._engine; }
set { this._engine = value; }
}
// Check to see if Engine property is set
internal bool IsSetEngine()
{
return this._engine != null;
}
///
/// Gets and sets the property MinimumEngineVersion.
///
/// The minimum engine version required, which is Redis 6.0
///
///
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 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;
}
///
/// Gets and sets the property UserGroupIds.
///
/// Returns a list of the user group IDs the user belongs to.
///
///
public List UserGroupIds
{
get { return this._userGroupIds; }
set { this._userGroupIds = value; }
}
// Check to see if UserGroupIds property is set
internal bool IsSetUserGroupIds()
{
return this._userGroupIds != null && this._userGroupIds.Count > 0;
}
///
/// Gets and sets the property UserId.
///
/// The ID of the user.
///
///
public string UserId
{
get { return this._userId; }
set { this._userId = value; }
}
// Check to see if UserId property is set
internal bool IsSetUserId()
{
return this._userId != null;
}
///
/// Gets and sets the property UserName.
///
/// The username of the user.
///
///
public string UserName
{
get { return this._userName; }
set { this._userName = value; }
}
// Check to see if UserName property is set
internal bool IsSetUserName()
{
return this._userName != null;
}
}
}