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

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 GetGroupMembershipIdResult& WithMembershipId(const Aws::String& value) { SetMembershipId(value); return *this;} /** *

The identifier for a GroupMembership in an identity store.

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

The identifier for a GroupMembership in an identity store.

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

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 GetGroupMembershipIdResult& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} /** *

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

*/ inline GetGroupMembershipIdResult& WithIdentityStoreId(const char* value) { SetIdentityStoreId(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 GetGroupMembershipIdResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetGroupMembershipIdResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetGroupMembershipIdResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_membershipId; Aws::String m_identityStoreId; Aws::String m_requestId; }; } // namespace Model } // namespace IdentityStore } // namespace Aws