/* * 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 ModifyUserGroup operation. /// public partial class ModifyUserGroupResponse : AmazonWebServiceResponse { private string _arn; private string _engine; private string _minimumEngineVersion; private UserGroupPendingChanges _pendingChanges; private List _replicationGroups = new List(); private string _status; private string _userGroupId; private List _userIds = new List(); /// /// Gets and sets the property ARN. /// /// The Amazon Resource Name (ARN) of the user group. /// /// 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 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 PendingChanges. /// /// A list of updates being applied to the user group. /// /// public UserGroupPendingChanges PendingChanges { get { return this._pendingChanges; } set { this._pendingChanges = value; } } // Check to see if PendingChanges property is set internal bool IsSetPendingChanges() { return this._pendingChanges != null; } /// /// Gets and sets the property ReplicationGroups. /// /// A list of replication groups that the user group can access. /// /// public List ReplicationGroups { get { return this._replicationGroups; } set { this._replicationGroups = value; } } // Check to see if ReplicationGroups property is set internal bool IsSetReplicationGroups() { return this._replicationGroups != null && this._replicationGroups.Count > 0; } /// /// Gets and sets the property Status. /// /// Indicates user group status. Can be "creating", "active", "modifying", "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 UserGroupId. /// /// The ID of the user group. /// /// public string UserGroupId { get { return this._userGroupId; } set { this._userGroupId = value; } } // Check to see if UserGroupId property is set internal bool IsSetUserGroupId() { return this._userGroupId != null; } /// /// Gets and sets the property UserIds. /// /// The list of user IDs that belong to the user group. /// /// public List UserIds { get { return this._userIds; } set { this._userIds = value; } } // Check to see if UserIds property is set internal bool IsSetUserIds() { return this._userIds != null && this._userIds.Count > 0; } } }