7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
9#include <aws/managedblockchain/model/InviteAction.h>
10#include <aws/managedblockchain/model/RemoveAction.h>
21namespace ManagedBlockchain {
44 template <
typename InvitationsT = Aws::Vector<InviteAction>>
46 m_invitationsHasBeenSet =
true;
47 m_invitations = std::forward<InvitationsT>(value);
49 template <
typename InvitationsT = Aws::Vector<InviteAction>>
54 template <
typename InvitationsT = InviteAction>
56 m_invitationsHasBeenSet =
true;
57 m_invitations.emplace_back(std::forward<InvitationsT>(value));
70 template <
typename RemovalsT = Aws::Vector<RemoveAction>>
72 m_removalsHasBeenSet =
true;
73 m_removals = std::forward<RemovalsT>(value);
75 template <
typename RemovalsT = Aws::Vector<RemoveAction>>
80 template <
typename RemovalsT = RemoveAction>
82 m_removalsHasBeenSet =
true;
83 m_removals.emplace_back(std::forward<RemovalsT>(value));
91 bool m_invitationsHasBeenSet =
false;
92 bool m_removalsHasBeenSet =
false;
AWS_MANAGEDBLOCKCHAIN_API ProposalActions()=default
ProposalActions & WithInvitations(InvitationsT &&value)
bool RemovalsHasBeenSet() const
void SetInvitations(InvitationsT &&value)
bool InvitationsHasBeenSet() const
const Aws::Vector< RemoveAction > & GetRemovals() const
AWS_MANAGEDBLOCKCHAIN_API ProposalActions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API ProposalActions(Aws::Utils::Json::JsonView jsonValue)
ProposalActions & AddRemovals(RemovalsT &&value)
void SetRemovals(RemovalsT &&value)
ProposalActions & AddInvitations(InvitationsT &&value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
ProposalActions & WithRemovals(RemovalsT &&value)
const Aws::Vector< InviteAction > & GetInvitations() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue