/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ManagedBlockchain { namespace Model { /** *

An action to remove a member from a Managed Blockchain network as the result * of a removal proposal that is APPROVED. The member and all * associated resources are deleted from the network.

Applies only to * Hyperledger Fabric.

See Also:

AWS * API Reference

*/ class RemoveAction { public: AWS_MANAGEDBLOCKCHAIN_API RemoveAction(); AWS_MANAGEDBLOCKCHAIN_API RemoveAction(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDBLOCKCHAIN_API RemoveAction& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier of the member to remove.

*/ inline const Aws::String& GetMemberId() const{ return m_memberId; } /** *

The unique identifier of the member to remove.

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

The unique identifier of the member to remove.

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

The unique identifier of the member to remove.

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

The unique identifier of the member to remove.

*/ inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); } /** *

The unique identifier of the member to remove.

*/ inline RemoveAction& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;} /** *

The unique identifier of the member to remove.

*/ inline RemoveAction& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;} /** *

The unique identifier of the member to remove.

*/ inline RemoveAction& WithMemberId(const char* value) { SetMemberId(value); return *this;} private: Aws::String m_memberId; bool m_memberIdHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws