/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An action to invite a specific Amazon Web Services account to create a member
* and join the network. The Applies only to
* Hyperledger Fabric.InviteAction
is carried out when a
* Proposal
is APPROVED
.See Also:
AWS
* API Reference
The Amazon Web Services account ID to invite.
*/ inline const Aws::String& GetPrincipal() const{ return m_principal; } /** *The Amazon Web Services account ID to invite.
*/ inline bool PrincipalHasBeenSet() const { return m_principalHasBeenSet; } /** *The Amazon Web Services account ID to invite.
*/ inline void SetPrincipal(const Aws::String& value) { m_principalHasBeenSet = true; m_principal = value; } /** *The Amazon Web Services account ID to invite.
*/ inline void SetPrincipal(Aws::String&& value) { m_principalHasBeenSet = true; m_principal = std::move(value); } /** *The Amazon Web Services account ID to invite.
*/ inline void SetPrincipal(const char* value) { m_principalHasBeenSet = true; m_principal.assign(value); } /** *The Amazon Web Services account ID to invite.
*/ inline InviteAction& WithPrincipal(const Aws::String& value) { SetPrincipal(value); return *this;} /** *The Amazon Web Services account ID to invite.
*/ inline InviteAction& WithPrincipal(Aws::String&& value) { SetPrincipal(std::move(value)); return *this;} /** *The Amazon Web Services account ID to invite.
*/ inline InviteAction& WithPrincipal(const char* value) { SetPrincipal(value); return *this;} private: Aws::String m_principal; bool m_principalHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws