/** * 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 { namespace IdentityStore { namespace Model { /** */ class IsMemberInGroupsRequest : public IdentityStoreRequest { public: AWS_IDENTITYSTORE_API IsMemberInGroupsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "IsMemberInGroups"; } AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override; AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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 bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } /** *

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

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

An object containing the identifier of a group member.

*/ inline const MemberId& GetMemberId() const{ return m_memberId; } /** *

An object containing the identifier of a group member.

*/ inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; } /** *

An object containing the identifier of a group member.

*/ inline void SetMemberId(const MemberId& value) { m_memberIdHasBeenSet = true; m_memberId = value; } /** *

An object containing the identifier of a group member.

*/ inline void SetMemberId(MemberId&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); } /** *

An object containing the identifier of a group member.

*/ inline IsMemberInGroupsRequest& WithMemberId(const MemberId& value) { SetMemberId(value); return *this;} /** *

An object containing the identifier of a group member.

*/ inline IsMemberInGroupsRequest& WithMemberId(MemberId&& value) { SetMemberId(std::move(value)); return *this;} /** *

A list of identifiers for groups in the identity store.

*/ inline const Aws::Vector& GetGroupIds() const{ return m_groupIds; } /** *

A list of identifiers for groups in the identity store.

*/ inline bool GroupIdsHasBeenSet() const { return m_groupIdsHasBeenSet; } /** *

A list of identifiers for groups in the identity store.

*/ inline void SetGroupIds(const Aws::Vector& value) { m_groupIdsHasBeenSet = true; m_groupIds = value; } /** *

A list of identifiers for groups in the identity store.

*/ inline void SetGroupIds(Aws::Vector&& value) { m_groupIdsHasBeenSet = true; m_groupIds = std::move(value); } /** *

A list of identifiers for groups in the identity store.

*/ inline IsMemberInGroupsRequest& WithGroupIds(const Aws::Vector& value) { SetGroupIds(value); return *this;} /** *

A list of identifiers for groups in the identity store.

*/ inline IsMemberInGroupsRequest& WithGroupIds(Aws::Vector&& value) { SetGroupIds(std::move(value)); return *this;} /** *

A list of identifiers for groups in the identity store.

*/ inline IsMemberInGroupsRequest& AddGroupIds(const Aws::String& value) { m_groupIdsHasBeenSet = true; m_groupIds.push_back(value); return *this; } /** *

A list of identifiers for groups in the identity store.

*/ inline IsMemberInGroupsRequest& AddGroupIds(Aws::String&& value) { m_groupIdsHasBeenSet = true; m_groupIds.push_back(std::move(value)); return *this; } /** *

A list of identifiers for groups in the identity store.

*/ inline IsMemberInGroupsRequest& AddGroupIds(const char* value) { m_groupIdsHasBeenSet = true; m_groupIds.push_back(value); return *this; } private: Aws::String m_identityStoreId; bool m_identityStoreIdHasBeenSet = false; MemberId m_memberId; bool m_memberIdHasBeenSet = false; Aws::Vector m_groupIds; bool m_groupIdsHasBeenSet = false; }; } // namespace Model } // namespace IdentityStore } // namespace Aws