/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ManagedBlockchain { namespace Model { /** */ class RejectInvitationRequest : public ManagedBlockchainRequest { public: AWS_MANAGEDBLOCKCHAIN_API RejectInvitationRequest(); // 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 "RejectInvitation"; } AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override; /** *

The unique identifier of the invitation to reject.

*/ inline const Aws::String& GetInvitationId() const{ return m_invitationId; } /** *

The unique identifier of the invitation to reject.

*/ inline bool InvitationIdHasBeenSet() const { return m_invitationIdHasBeenSet; } /** *

The unique identifier of the invitation to reject.

*/ inline void SetInvitationId(const Aws::String& value) { m_invitationIdHasBeenSet = true; m_invitationId = value; } /** *

The unique identifier of the invitation to reject.

*/ inline void SetInvitationId(Aws::String&& value) { m_invitationIdHasBeenSet = true; m_invitationId = std::move(value); } /** *

The unique identifier of the invitation to reject.

*/ inline void SetInvitationId(const char* value) { m_invitationIdHasBeenSet = true; m_invitationId.assign(value); } /** *

The unique identifier of the invitation to reject.

*/ inline RejectInvitationRequest& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;} /** *

The unique identifier of the invitation to reject.

*/ inline RejectInvitationRequest& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;} /** *

The unique identifier of the invitation to reject.

*/ inline RejectInvitationRequest& WithInvitationId(const char* value) { SetInvitationId(value); return *this;} private: Aws::String m_invitationId; bool m_invitationIdHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws