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

The globally unique identifier for the identity store.

*/ inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } /** *

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

*/ inline void SetIdentityStoreId(const char* value) { m_identityStoreId.assign(value); } /** *

The globally unique identifier for the identity store.

*/ inline DescribeGroupMembershipResult& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} /** *

The globally unique identifier for the identity store.

*/ inline DescribeGroupMembershipResult& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} /** *

The globally unique identifier for the identity store.

*/ inline DescribeGroupMembershipResult& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} /** *

The identifier for a GroupMembership in an identity store.

*/ inline const Aws::String& GetMembershipId() const{ return m_membershipId; } /** *

The identifier for a GroupMembership in an identity store.

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

The identifier for a GroupMembership in an identity store.

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

The identifier for a GroupMembership in an identity store.

*/ inline void SetMembershipId(const char* value) { m_membershipId.assign(value); } /** *

The identifier for a GroupMembership in an identity store.

*/ inline DescribeGroupMembershipResult& WithMembershipId(const Aws::String& value) { SetMembershipId(value); return *this;} /** *

The identifier for a GroupMembership in an identity store.

*/ inline DescribeGroupMembershipResult& WithMembershipId(Aws::String&& value) { SetMembershipId(std::move(value)); return *this;} /** *

The identifier for a GroupMembership in an identity store.

*/ inline DescribeGroupMembershipResult& WithMembershipId(const char* value) { SetMembershipId(value); return *this;} /** *

The identifier for a group in the identity store.

*/ inline const Aws::String& GetGroupId() const{ return m_groupId; } /** *

The identifier for a group in the identity store.

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

The identifier for a group in the identity store.

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

The identifier for a group in the identity store.

*/ inline void SetGroupId(const char* value) { m_groupId.assign(value); } /** *

The identifier for a group in the identity store.

*/ inline DescribeGroupMembershipResult& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;} /** *

The identifier for a group in the identity store.

*/ inline DescribeGroupMembershipResult& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;} /** *

The identifier for a group in the identity store.

*/ inline DescribeGroupMembershipResult& WithGroupId(const char* value) { SetGroupId(value); return *this;} inline const MemberId& GetMemberId() const{ return m_memberId; } inline void SetMemberId(const MemberId& value) { m_memberId = value; } inline void SetMemberId(MemberId&& value) { m_memberId = std::move(value); } inline DescribeGroupMembershipResult& WithMemberId(const MemberId& value) { SetMemberId(value); return *this;} inline DescribeGroupMembershipResult& WithMemberId(MemberId&& value) { SetMemberId(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeGroupMembershipResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeGroupMembershipResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeGroupMembershipResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_identityStoreId; Aws::String m_membershipId; Aws::String m_groupId; MemberId m_memberId; Aws::String m_requestId; }; } // namespace Model } // namespace IdentityStore } // namespace Aws