7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/managedblockchain/model/InviteAction.h>
10#include <aws/managedblockchain/model/RemoveAction.h>
23namespace ManagedBlockchain
50 template<
typename InvitationsT = Aws::Vector<InviteAction>>
51 void SetInvitations(InvitationsT&& value) { m_invitationsHasBeenSet =
true; m_invitations = std::forward<InvitationsT>(value); }
52 template<
typename InvitationsT = Aws::Vector<InviteAction>>
54 template<
typename InvitationsT = InviteAction>
55 ProposalActions&
AddInvitations(InvitationsT&& value) { m_invitationsHasBeenSet =
true; m_invitations.emplace_back(std::forward<InvitationsT>(value));
return *
this; }
66 template<
typename RemovalsT = Aws::Vector<RemoveAction>>
67 void SetRemovals(RemovalsT&& value) { m_removalsHasBeenSet =
true; m_removals = std::forward<RemovalsT>(value); }
68 template<
typename RemovalsT = Aws::Vector<RemoveAction>>
70 template<
typename RemovalsT = RemoveAction>
71 ProposalActions&
AddRemovals(RemovalsT&& value) { m_removalsHasBeenSet =
true; m_removals.emplace_back(std::forward<RemovalsT>(value));
return *
this; }
76 bool m_invitationsHasBeenSet =
false;
79 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