/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace ElastiCache { namespace Model { class DeleteUserGroupResult { public: AWS_ELASTICACHE_API DeleteUserGroupResult(); AWS_ELASTICACHE_API DeleteUserGroupResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICACHE_API DeleteUserGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the user group.

*/ inline const Aws::String& GetUserGroupId() const{ return m_userGroupId; } /** *

The ID of the user group.

*/ inline void SetUserGroupId(const Aws::String& value) { m_userGroupId = value; } /** *

The ID of the user group.

*/ inline void SetUserGroupId(Aws::String&& value) { m_userGroupId = std::move(value); } /** *

The ID of the user group.

*/ inline void SetUserGroupId(const char* value) { m_userGroupId.assign(value); } /** *

The ID of the user group.

*/ inline DeleteUserGroupResult& WithUserGroupId(const Aws::String& value) { SetUserGroupId(value); return *this;} /** *

The ID of the user group.

*/ inline DeleteUserGroupResult& WithUserGroupId(Aws::String&& value) { SetUserGroupId(std::move(value)); return *this;} /** *

The ID of the user group.

*/ inline DeleteUserGroupResult& WithUserGroupId(const char* value) { SetUserGroupId(value); return *this;} /** *

Indicates user group status. Can be "creating", "active", "modifying", * "deleting".

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

Indicates user group status. Can be "creating", "active", "modifying", * "deleting".

*/ inline void SetStatus(const Aws::String& value) { m_status = value; } /** *

Indicates user group status. Can be "creating", "active", "modifying", * "deleting".

*/ inline void SetStatus(Aws::String&& value) { m_status = std::move(value); } /** *

Indicates user group status. Can be "creating", "active", "modifying", * "deleting".

*/ inline void SetStatus(const char* value) { m_status.assign(value); } /** *

Indicates user group status. Can be "creating", "active", "modifying", * "deleting".

*/ inline DeleteUserGroupResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

Indicates user group status. Can be "creating", "active", "modifying", * "deleting".

*/ inline DeleteUserGroupResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

Indicates user group status. Can be "creating", "active", "modifying", * "deleting".

*/ inline DeleteUserGroupResult& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

The current supported value is Redis.

*/ inline const Aws::String& GetEngine() const{ return m_engine; } /** *

The current supported value is Redis.

*/ inline void SetEngine(const Aws::String& value) { m_engine = value; } /** *

The current supported value is Redis.

*/ inline void SetEngine(Aws::String&& value) { m_engine = std::move(value); } /** *

The current supported value is Redis.

*/ inline void SetEngine(const char* value) { m_engine.assign(value); } /** *

The current supported value is Redis.

*/ inline DeleteUserGroupResult& WithEngine(const Aws::String& value) { SetEngine(value); return *this;} /** *

The current supported value is Redis.

*/ inline DeleteUserGroupResult& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;} /** *

The current supported value is Redis.

*/ inline DeleteUserGroupResult& WithEngine(const char* value) { SetEngine(value); return *this;} /** *

The list of user IDs that belong to the user group.

*/ inline const Aws::Vector& GetUserIds() const{ return m_userIds; } /** *

The list of user IDs that belong to the user group.

*/ inline void SetUserIds(const Aws::Vector& value) { m_userIds = value; } /** *

The list of user IDs that belong to the user group.

*/ inline void SetUserIds(Aws::Vector&& value) { m_userIds = std::move(value); } /** *

The list of user IDs that belong to the user group.

*/ inline DeleteUserGroupResult& WithUserIds(const Aws::Vector& value) { SetUserIds(value); return *this;} /** *

The list of user IDs that belong to the user group.

*/ inline DeleteUserGroupResult& WithUserIds(Aws::Vector&& value) { SetUserIds(std::move(value)); return *this;} /** *

The list of user IDs that belong to the user group.

*/ inline DeleteUserGroupResult& AddUserIds(const Aws::String& value) { m_userIds.push_back(value); return *this; } /** *

The list of user IDs that belong to the user group.

*/ inline DeleteUserGroupResult& AddUserIds(Aws::String&& value) { m_userIds.push_back(std::move(value)); return *this; } /** *

The list of user IDs that belong to the user group.

*/ inline DeleteUserGroupResult& AddUserIds(const char* value) { m_userIds.push_back(value); return *this; } /** *

The minimum engine version required, which is Redis 6.0

*/ inline const Aws::String& GetMinimumEngineVersion() const{ return m_minimumEngineVersion; } /** *

The minimum engine version required, which is Redis 6.0

*/ inline void SetMinimumEngineVersion(const Aws::String& value) { m_minimumEngineVersion = value; } /** *

The minimum engine version required, which is Redis 6.0

*/ inline void SetMinimumEngineVersion(Aws::String&& value) { m_minimumEngineVersion = std::move(value); } /** *

The minimum engine version required, which is Redis 6.0

*/ inline void SetMinimumEngineVersion(const char* value) { m_minimumEngineVersion.assign(value); } /** *

The minimum engine version required, which is Redis 6.0

*/ inline DeleteUserGroupResult& WithMinimumEngineVersion(const Aws::String& value) { SetMinimumEngineVersion(value); return *this;} /** *

The minimum engine version required, which is Redis 6.0

*/ inline DeleteUserGroupResult& WithMinimumEngineVersion(Aws::String&& value) { SetMinimumEngineVersion(std::move(value)); return *this;} /** *

The minimum engine version required, which is Redis 6.0

*/ inline DeleteUserGroupResult& WithMinimumEngineVersion(const char* value) { SetMinimumEngineVersion(value); return *this;} /** *

A list of updates being applied to the user group.

*/ inline const UserGroupPendingChanges& GetPendingChanges() const{ return m_pendingChanges; } /** *

A list of updates being applied to the user group.

*/ inline void SetPendingChanges(const UserGroupPendingChanges& value) { m_pendingChanges = value; } /** *

A list of updates being applied to the user group.

*/ inline void SetPendingChanges(UserGroupPendingChanges&& value) { m_pendingChanges = std::move(value); } /** *

A list of updates being applied to the user group.

*/ inline DeleteUserGroupResult& WithPendingChanges(const UserGroupPendingChanges& value) { SetPendingChanges(value); return *this;} /** *

A list of updates being applied to the user group.

*/ inline DeleteUserGroupResult& WithPendingChanges(UserGroupPendingChanges&& value) { SetPendingChanges(std::move(value)); return *this;} /** *

A list of replication groups that the user group can access.

*/ inline const Aws::Vector& GetReplicationGroups() const{ return m_replicationGroups; } /** *

A list of replication groups that the user group can access.

*/ inline void SetReplicationGroups(const Aws::Vector& value) { m_replicationGroups = value; } /** *

A list of replication groups that the user group can access.

*/ inline void SetReplicationGroups(Aws::Vector&& value) { m_replicationGroups = std::move(value); } /** *

A list of replication groups that the user group can access.

*/ inline DeleteUserGroupResult& WithReplicationGroups(const Aws::Vector& value) { SetReplicationGroups(value); return *this;} /** *

A list of replication groups that the user group can access.

*/ inline DeleteUserGroupResult& WithReplicationGroups(Aws::Vector&& value) { SetReplicationGroups(std::move(value)); return *this;} /** *

A list of replication groups that the user group can access.

*/ inline DeleteUserGroupResult& AddReplicationGroups(const Aws::String& value) { m_replicationGroups.push_back(value); return *this; } /** *

A list of replication groups that the user group can access.

*/ inline DeleteUserGroupResult& AddReplicationGroups(Aws::String&& value) { m_replicationGroups.push_back(std::move(value)); return *this; } /** *

A list of replication groups that the user group can access.

*/ inline DeleteUserGroupResult& AddReplicationGroups(const char* value) { m_replicationGroups.push_back(value); return *this; } /** *

The Amazon Resource Name (ARN) of the user group.

*/ inline const Aws::String& GetARN() const{ return m_aRN; } /** *

The Amazon Resource Name (ARN) of the user group.

*/ inline void SetARN(const Aws::String& value) { m_aRN = value; } /** *

The Amazon Resource Name (ARN) of the user group.

*/ inline void SetARN(Aws::String&& value) { m_aRN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the user group.

*/ inline void SetARN(const char* value) { m_aRN.assign(value); } /** *

The Amazon Resource Name (ARN) of the user group.

*/ inline DeleteUserGroupResult& WithARN(const Aws::String& value) { SetARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the user group.

*/ inline DeleteUserGroupResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the user group.

*/ inline DeleteUserGroupResult& WithARN(const char* value) { SetARN(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DeleteUserGroupResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DeleteUserGroupResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_userGroupId; Aws::String m_status; Aws::String m_engine; Aws::Vector m_userIds; Aws::String m_minimumEngineVersion; UserGroupPendingChanges m_pendingChanges; Aws::Vector m_replicationGroups; Aws::String m_aRN; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElastiCache } // namespace Aws