/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Indicates whether a resource is a member of a group in the identity
* store.See Also:
AWS
* API Reference
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 bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; } /** *The identifier for a group in the identity store.
*/ inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; } /** *The identifier for a group in the identity store.
*/ inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); } /** *The identifier for a group in the identity store.
*/ inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); } /** *The identifier for a group in the identity store.
*/ inline GroupMembershipExistenceResult& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;} /** *The identifier for a group in the identity store.
*/ inline GroupMembershipExistenceResult& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;} /** *The identifier for a group in the identity store.
*/ inline GroupMembershipExistenceResult& WithGroupId(const char* value) { SetGroupId(value); return *this;} /** *An object that contains the identifier of a group member. Setting the
* UserID
field to the specific identifier for a user indicates that
* the user is a member of the group.
An object that contains the identifier of a group member. Setting the
* UserID
field to the specific identifier for a user indicates that
* the user is a member of the group.
An object that contains the identifier of a group member. Setting the
* UserID
field to the specific identifier for a user indicates that
* the user is a member of the group.
An object that contains the identifier of a group member. Setting the
* UserID
field to the specific identifier for a user indicates that
* the user is a member of the group.
An object that contains the identifier of a group member. Setting the
* UserID
field to the specific identifier for a user indicates that
* the user is a member of the group.
An object that contains the identifier of a group member. Setting the
* UserID
field to the specific identifier for a user indicates that
* the user is a member of the group.
Indicates whether a membership relation exists or not.
*/ inline bool GetMembershipExists() const{ return m_membershipExists; } /** *Indicates whether a membership relation exists or not.
*/ inline bool MembershipExistsHasBeenSet() const { return m_membershipExistsHasBeenSet; } /** *Indicates whether a membership relation exists or not.
*/ inline void SetMembershipExists(bool value) { m_membershipExistsHasBeenSet = true; m_membershipExists = value; } /** *Indicates whether a membership relation exists or not.
*/ inline GroupMembershipExistenceResult& WithMembershipExists(bool value) { SetMembershipExists(value); return *this;} private: Aws::String m_groupId; bool m_groupIdHasBeenSet = false; MemberId m_memberId; bool m_memberIdHasBeenSet = false; bool m_membershipExists; bool m_membershipExistsHasBeenSet = false; }; } // namespace Model } // namespace IdentityStore } // namespace Aws