AWS SDK for C++  1.9.125
AWS SDK for C++
Public Member Functions | List of all members
Aws::ManagedBlockchain::Model::Proposal Class Reference

#include <Proposal.h>

Public Member Functions

 Proposal ()
 
 Proposal (Aws::Utils::Json::JsonView jsonValue)
 
Proposaloperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetProposalId () const
 
bool ProposalIdHasBeenSet () const
 
void SetProposalId (const Aws::String &value)
 
void SetProposalId (Aws::String &&value)
 
void SetProposalId (const char *value)
 
ProposalWithProposalId (const Aws::String &value)
 
ProposalWithProposalId (Aws::String &&value)
 
ProposalWithProposalId (const char *value)
 
const Aws::StringGetNetworkId () const
 
bool NetworkIdHasBeenSet () const
 
void SetNetworkId (const Aws::String &value)
 
void SetNetworkId (Aws::String &&value)
 
void SetNetworkId (const char *value)
 
ProposalWithNetworkId (const Aws::String &value)
 
ProposalWithNetworkId (Aws::String &&value)
 
ProposalWithNetworkId (const char *value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
ProposalWithDescription (const Aws::String &value)
 
ProposalWithDescription (Aws::String &&value)
 
ProposalWithDescription (const char *value)
 
const ProposalActionsGetActions () const
 
bool ActionsHasBeenSet () const
 
void SetActions (const ProposalActions &value)
 
void SetActions (ProposalActions &&value)
 
ProposalWithActions (const ProposalActions &value)
 
ProposalWithActions (ProposalActions &&value)
 
const Aws::StringGetProposedByMemberId () const
 
bool ProposedByMemberIdHasBeenSet () const
 
void SetProposedByMemberId (const Aws::String &value)
 
void SetProposedByMemberId (Aws::String &&value)
 
void SetProposedByMemberId (const char *value)
 
ProposalWithProposedByMemberId (const Aws::String &value)
 
ProposalWithProposedByMemberId (Aws::String &&value)
 
ProposalWithProposedByMemberId (const char *value)
 
const Aws::StringGetProposedByMemberName () const
 
bool ProposedByMemberNameHasBeenSet () const
 
void SetProposedByMemberName (const Aws::String &value)
 
void SetProposedByMemberName (Aws::String &&value)
 
void SetProposedByMemberName (const char *value)
 
ProposalWithProposedByMemberName (const Aws::String &value)
 
ProposalWithProposedByMemberName (Aws::String &&value)
 
ProposalWithProposedByMemberName (const char *value)
 
const ProposalStatusGetStatus () const
 
bool StatusHasBeenSet () const
 
void SetStatus (const ProposalStatus &value)
 
void SetStatus (ProposalStatus &&value)
 
ProposalWithStatus (const ProposalStatus &value)
 
ProposalWithStatus (ProposalStatus &&value)
 
const Aws::Utils::DateTimeGetCreationDate () const
 
bool CreationDateHasBeenSet () const
 
void SetCreationDate (const Aws::Utils::DateTime &value)
 
void SetCreationDate (Aws::Utils::DateTime &&value)
 
ProposalWithCreationDate (const Aws::Utils::DateTime &value)
 
ProposalWithCreationDate (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetExpirationDate () const
 
bool ExpirationDateHasBeenSet () const
 
void SetExpirationDate (const Aws::Utils::DateTime &value)
 
void SetExpirationDate (Aws::Utils::DateTime &&value)
 
ProposalWithExpirationDate (const Aws::Utils::DateTime &value)
 
ProposalWithExpirationDate (Aws::Utils::DateTime &&value)
 
int GetYesVoteCount () const
 
bool YesVoteCountHasBeenSet () const
 
void SetYesVoteCount (int value)
 
ProposalWithYesVoteCount (int value)
 
int GetNoVoteCount () const
 
bool NoVoteCountHasBeenSet () const
 
void SetNoVoteCount (int value)
 
ProposalWithNoVoteCount (int value)
 
int GetOutstandingVoteCount () const
 
bool OutstandingVoteCountHasBeenSet () const
 
void SetOutstandingVoteCount (int value)
 
ProposalWithOutstandingVoteCount (int value)
 
const Aws::Map< Aws::String, Aws::String > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetTags (Aws::Map< Aws::String, Aws::String > &&value)
 
ProposalWithTags (const Aws::Map< Aws::String, Aws::String > &value)
 
ProposalWithTags (Aws::Map< Aws::String, Aws::String > &&value)
 
ProposalAddTags (const Aws::String &key, const Aws::String &value)
 
ProposalAddTags (Aws::String &&key, const Aws::String &value)
 
ProposalAddTags (const Aws::String &key, Aws::String &&value)
 
ProposalAddTags (Aws::String &&key, Aws::String &&value)
 
ProposalAddTags (const char *key, Aws::String &&value)
 
ProposalAddTags (Aws::String &&key, const char *value)
 
ProposalAddTags (const char *key, const char *value)
 
const Aws::StringGetArn () const
 
bool ArnHasBeenSet () const
 
void SetArn (const Aws::String &value)
 
void SetArn (Aws::String &&value)
 
void SetArn (const char *value)
 
ProposalWithArn (const Aws::String &value)
 
ProposalWithArn (Aws::String &&value)
 
ProposalWithArn (const char *value)
 

Detailed Description

Properties of a proposal on a Managed Blockchain network.

Applies only to Hyperledger Fabric.

See Also:

AWS API Reference

Definition at line 36 of file Proposal.h.

Constructor & Destructor Documentation

◆ Proposal() [1/2]

Aws::ManagedBlockchain::Model::Proposal::Proposal ( )

◆ Proposal() [2/2]

Aws::ManagedBlockchain::Model::Proposal::Proposal ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ActionsHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::ActionsHasBeenSet ( ) const
inline

The actions to perform on the network if the proposal is APPROVED.

Definition at line 178 of file Proposal.h.

◆ AddTags() [1/7]

Proposal& Aws::ManagedBlockchain::Model::Proposal::AddTags ( Aws::String &&  key,
Aws::String &&  value 
)
inline

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Definition at line 703 of file Proposal.h.

◆ AddTags() [2/7]

Proposal& Aws::ManagedBlockchain::Model::Proposal::AddTags ( Aws::String &&  key,
const Aws::String value 
)
inline

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Definition at line 679 of file Proposal.h.

◆ AddTags() [3/7]

Proposal& Aws::ManagedBlockchain::Model::Proposal::AddTags ( Aws::String &&  key,
const char *  value 
)
inline

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Definition at line 727 of file Proposal.h.

◆ AddTags() [4/7]

Proposal& Aws::ManagedBlockchain::Model::Proposal::AddTags ( const Aws::String key,
Aws::String &&  value 
)
inline

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Definition at line 691 of file Proposal.h.

◆ AddTags() [5/7]

Proposal& Aws::ManagedBlockchain::Model::Proposal::AddTags ( const Aws::String key,
const Aws::String value 
)
inline

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Definition at line 667 of file Proposal.h.

◆ AddTags() [6/7]

Proposal& Aws::ManagedBlockchain::Model::Proposal::AddTags ( const char *  key,
Aws::String &&  value 
)
inline

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Definition at line 715 of file Proposal.h.

◆ AddTags() [7/7]

Proposal& Aws::ManagedBlockchain::Model::Proposal::AddTags ( const char *  key,
const char *  value 
)
inline

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Definition at line 739 of file Proposal.h.

◆ ArnHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::ArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

Definition at line 756 of file Proposal.h.

◆ CreationDateHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::CreationDateHasBeenSet ( ) const
inline

The date and time that the proposal was created.

Definition at line 422 of file Proposal.h.

◆ DescriptionHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::DescriptionHasBeenSet ( ) const
inline

The description of the proposal.

Definition at line 135 of file Proposal.h.

◆ ExpirationDateHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::ExpirationDateHasBeenSet ( ) const
inline

The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

Definition at line 463 of file Proposal.h.

◆ GetActions()

const ProposalActions& Aws::ManagedBlockchain::Model::Proposal::GetActions ( ) const
inline

The actions to perform on the network if the proposal is APPROVED.

Definition at line 172 of file Proposal.h.

◆ GetArn()

const Aws::String& Aws::ManagedBlockchain::Model::Proposal::GetArn ( ) const
inline

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

Definition at line 748 of file Proposal.h.

◆ GetCreationDate()

const Aws::Utils::DateTime& Aws::ManagedBlockchain::Model::Proposal::GetCreationDate ( ) const
inline

The date and time that the proposal was created.

Definition at line 417 of file Proposal.h.

◆ GetDescription()

const Aws::String& Aws::ManagedBlockchain::Model::Proposal::GetDescription ( ) const
inline

The description of the proposal.

Definition at line 130 of file Proposal.h.

◆ GetExpirationDate()

const Aws::Utils::DateTime& Aws::ManagedBlockchain::Model::Proposal::GetExpirationDate ( ) const
inline

The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

Definition at line 453 of file Proposal.h.

◆ GetNetworkId()

const Aws::String& Aws::ManagedBlockchain::Model::Proposal::GetNetworkId ( ) const
inline

The unique identifier of the network for which the proposal is made.

Definition at line 89 of file Proposal.h.

◆ GetNoVoteCount()

int Aws::ManagedBlockchain::Model::Proposal::GetNoVoteCount ( ) const
inline

The current total of NO votes cast on the proposal by members.

Definition at line 535 of file Proposal.h.

◆ GetOutstandingVoteCount()

int Aws::ManagedBlockchain::Model::Proposal::GetOutstandingVoteCount ( ) const
inline

The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES votes and NO votes.

Definition at line 561 of file Proposal.h.

◆ GetProposalId()

const Aws::String& Aws::ManagedBlockchain::Model::Proposal::GetProposalId ( ) const
inline

The unique identifier of the proposal.

Definition at line 48 of file Proposal.h.

◆ GetProposedByMemberId()

const Aws::String& Aws::ManagedBlockchain::Model::Proposal::GetProposedByMemberId ( ) const
inline

The unique identifier of the member that created the proposal.

Definition at line 208 of file Proposal.h.

◆ GetProposedByMemberName()

const Aws::String& Aws::ManagedBlockchain::Model::Proposal::GetProposedByMemberName ( ) const
inline

The name of the member that created the proposal.

Definition at line 249 of file Proposal.h.

◆ GetStatus()

const ProposalStatus& Aws::ManagedBlockchain::Model::Proposal::GetStatus ( ) const
inline

The status of the proposal. Values are as follows:

  • IN_PROGRESS - The proposal is active and open for member voting.

  • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.

  • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions are not carried out.

  • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.

  • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error. The ACTION_FAILED status occurs even if only one ProposalAction fails and other actions are successful.

Definition at line 306 of file Proposal.h.

◆ GetTags()

const Aws::Map<Aws::String, Aws::String>& Aws::ManagedBlockchain::Model::Proposal::GetTags ( ) const
inline

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Definition at line 595 of file Proposal.h.

◆ GetYesVoteCount()

int Aws::ManagedBlockchain::Model::Proposal::GetYesVoteCount ( ) const
inline

The current total of YES votes cast on the proposal by members.

Definition at line 510 of file Proposal.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ManagedBlockchain::Model::Proposal::Jsonize ( ) const

◆ NetworkIdHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::NetworkIdHasBeenSet ( ) const
inline

The unique identifier of the network for which the proposal is made.

Definition at line 94 of file Proposal.h.

◆ NoVoteCountHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::NoVoteCountHasBeenSet ( ) const
inline

The current total of NO votes cast on the proposal by members.

Definition at line 541 of file Proposal.h.

◆ operator=()

Proposal& Aws::ManagedBlockchain::Model::Proposal::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ OutstandingVoteCountHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::OutstandingVoteCountHasBeenSet ( ) const
inline

The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES votes and NO votes.

Definition at line 568 of file Proposal.h.

◆ ProposalIdHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::ProposalIdHasBeenSet ( ) const
inline

The unique identifier of the proposal.

Definition at line 53 of file Proposal.h.

◆ ProposedByMemberIdHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::ProposedByMemberIdHasBeenSet ( ) const
inline

The unique identifier of the member that created the proposal.

Definition at line 213 of file Proposal.h.

◆ ProposedByMemberNameHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::ProposedByMemberNameHasBeenSet ( ) const
inline

The name of the member that created the proposal.

Definition at line 254 of file Proposal.h.

◆ SetActions() [1/2]

void Aws::ManagedBlockchain::Model::Proposal::SetActions ( const ProposalActions value)
inline

The actions to perform on the network if the proposal is APPROVED.

Definition at line 184 of file Proposal.h.

◆ SetActions() [2/2]

void Aws::ManagedBlockchain::Model::Proposal::SetActions ( ProposalActions &&  value)
inline

The actions to perform on the network if the proposal is APPROVED.

Definition at line 190 of file Proposal.h.

◆ SetArn() [1/3]

void Aws::ManagedBlockchain::Model::Proposal::SetArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

Definition at line 772 of file Proposal.h.

◆ SetArn() [2/3]

void Aws::ManagedBlockchain::Model::Proposal::SetArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

Definition at line 764 of file Proposal.h.

◆ SetArn() [3/3]

void Aws::ManagedBlockchain::Model::Proposal::SetArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

Definition at line 780 of file Proposal.h.

◆ SetCreationDate() [1/2]

void Aws::ManagedBlockchain::Model::Proposal::SetCreationDate ( Aws::Utils::DateTime &&  value)
inline

The date and time that the proposal was created.

Definition at line 432 of file Proposal.h.

◆ SetCreationDate() [2/2]

void Aws::ManagedBlockchain::Model::Proposal::SetCreationDate ( const Aws::Utils::DateTime value)
inline

The date and time that the proposal was created.

Definition at line 427 of file Proposal.h.

◆ SetDescription() [1/3]

void Aws::ManagedBlockchain::Model::Proposal::SetDescription ( Aws::String &&  value)
inline

The description of the proposal.

Definition at line 145 of file Proposal.h.

◆ SetDescription() [2/3]

void Aws::ManagedBlockchain::Model::Proposal::SetDescription ( const Aws::String value)
inline

The description of the proposal.

Definition at line 140 of file Proposal.h.

◆ SetDescription() [3/3]

void Aws::ManagedBlockchain::Model::Proposal::SetDescription ( const char *  value)
inline

The description of the proposal.

Definition at line 150 of file Proposal.h.

◆ SetExpirationDate() [1/2]

void Aws::ManagedBlockchain::Model::Proposal::SetExpirationDate ( Aws::Utils::DateTime &&  value)
inline

The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

Definition at line 483 of file Proposal.h.

◆ SetExpirationDate() [2/2]

void Aws::ManagedBlockchain::Model::Proposal::SetExpirationDate ( const Aws::Utils::DateTime value)
inline

The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

Definition at line 473 of file Proposal.h.

◆ SetNetworkId() [1/3]

void Aws::ManagedBlockchain::Model::Proposal::SetNetworkId ( Aws::String &&  value)
inline

The unique identifier of the network for which the proposal is made.

Definition at line 104 of file Proposal.h.

◆ SetNetworkId() [2/3]

void Aws::ManagedBlockchain::Model::Proposal::SetNetworkId ( const Aws::String value)
inline

The unique identifier of the network for which the proposal is made.

Definition at line 99 of file Proposal.h.

◆ SetNetworkId() [3/3]

void Aws::ManagedBlockchain::Model::Proposal::SetNetworkId ( const char *  value)
inline

The unique identifier of the network for which the proposal is made.

Definition at line 109 of file Proposal.h.

◆ SetNoVoteCount()

void Aws::ManagedBlockchain::Model::Proposal::SetNoVoteCount ( int  value)
inline

The current total of NO votes cast on the proposal by members.

Definition at line 547 of file Proposal.h.

◆ SetOutstandingVoteCount()

void Aws::ManagedBlockchain::Model::Proposal::SetOutstandingVoteCount ( int  value)
inline

The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES votes and NO votes.

Definition at line 575 of file Proposal.h.

◆ SetProposalId() [1/3]

void Aws::ManagedBlockchain::Model::Proposal::SetProposalId ( Aws::String &&  value)
inline

The unique identifier of the proposal.

Definition at line 63 of file Proposal.h.

◆ SetProposalId() [2/3]

void Aws::ManagedBlockchain::Model::Proposal::SetProposalId ( const Aws::String value)
inline

The unique identifier of the proposal.

Definition at line 58 of file Proposal.h.

◆ SetProposalId() [3/3]

void Aws::ManagedBlockchain::Model::Proposal::SetProposalId ( const char *  value)
inline

The unique identifier of the proposal.

Definition at line 68 of file Proposal.h.

◆ SetProposedByMemberId() [1/3]

void Aws::ManagedBlockchain::Model::Proposal::SetProposedByMemberId ( Aws::String &&  value)
inline

The unique identifier of the member that created the proposal.

Definition at line 223 of file Proposal.h.

◆ SetProposedByMemberId() [2/3]

void Aws::ManagedBlockchain::Model::Proposal::SetProposedByMemberId ( const Aws::String value)
inline

The unique identifier of the member that created the proposal.

Definition at line 218 of file Proposal.h.

◆ SetProposedByMemberId() [3/3]

void Aws::ManagedBlockchain::Model::Proposal::SetProposedByMemberId ( const char *  value)
inline

The unique identifier of the member that created the proposal.

Definition at line 228 of file Proposal.h.

◆ SetProposedByMemberName() [1/3]

void Aws::ManagedBlockchain::Model::Proposal::SetProposedByMemberName ( Aws::String &&  value)
inline

The name of the member that created the proposal.

Definition at line 264 of file Proposal.h.

◆ SetProposedByMemberName() [2/3]

void Aws::ManagedBlockchain::Model::Proposal::SetProposedByMemberName ( const Aws::String value)
inline

The name of the member that created the proposal.

Definition at line 259 of file Proposal.h.

◆ SetProposedByMemberName() [3/3]

void Aws::ManagedBlockchain::Model::Proposal::SetProposedByMemberName ( const char *  value)
inline

The name of the member that created the proposal.

Definition at line 269 of file Proposal.h.

◆ SetStatus() [1/2]

void Aws::ManagedBlockchain::Model::Proposal::SetStatus ( const ProposalStatus value)
inline

The status of the proposal. Values are as follows:

  • IN_PROGRESS - The proposal is active and open for member voting.

  • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.

  • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions are not carried out.

  • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.

  • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error. The ACTION_FAILED status occurs even if only one ProposalAction fails and other actions are successful.

Definition at line 348 of file Proposal.h.

◆ SetStatus() [2/2]

void Aws::ManagedBlockchain::Model::Proposal::SetStatus ( ProposalStatus &&  value)
inline

The status of the proposal. Values are as follows:

  • IN_PROGRESS - The proposal is active and open for member voting.

  • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.

  • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions are not carried out.

  • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.

  • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error. The ACTION_FAILED status occurs even if only one ProposalAction fails and other actions are successful.

Definition at line 369 of file Proposal.h.

◆ SetTags() [1/2]

void Aws::ManagedBlockchain::Model::Proposal::SetTags ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Definition at line 631 of file Proposal.h.

◆ SetTags() [2/2]

void Aws::ManagedBlockchain::Model::Proposal::SetTags ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Definition at line 619 of file Proposal.h.

◆ SetYesVoteCount()

void Aws::ManagedBlockchain::Model::Proposal::SetYesVoteCount ( int  value)
inline

The current total of YES votes cast on the proposal by members.

Definition at line 522 of file Proposal.h.

◆ StatusHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::StatusHasBeenSet ( ) const
inline

The status of the proposal. Values are as follows:

  • IN_PROGRESS - The proposal is active and open for member voting.

  • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.

  • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions are not carried out.

  • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.

  • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error. The ACTION_FAILED status occurs even if only one ProposalAction fails and other actions are successful.

Definition at line 327 of file Proposal.h.

◆ TagsHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::TagsHasBeenSet ( ) const
inline

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Definition at line 607 of file Proposal.h.

◆ WithActions() [1/2]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithActions ( const ProposalActions value)
inline

The actions to perform on the network if the proposal is APPROVED.

Definition at line 196 of file Proposal.h.

◆ WithActions() [2/2]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithActions ( ProposalActions &&  value)
inline

The actions to perform on the network if the proposal is APPROVED.

Definition at line 202 of file Proposal.h.

◆ WithArn() [1/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

Definition at line 796 of file Proposal.h.

◆ WithArn() [2/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

Definition at line 788 of file Proposal.h.

◆ WithArn() [3/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.

Definition at line 804 of file Proposal.h.

◆ WithCreationDate() [1/2]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithCreationDate ( Aws::Utils::DateTime &&  value)
inline

The date and time that the proposal was created.

Definition at line 442 of file Proposal.h.

◆ WithCreationDate() [2/2]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithCreationDate ( const Aws::Utils::DateTime value)
inline

The date and time that the proposal was created.

Definition at line 437 of file Proposal.h.

◆ WithDescription() [1/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithDescription ( Aws::String &&  value)
inline

The description of the proposal.

Definition at line 160 of file Proposal.h.

◆ WithDescription() [2/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithDescription ( const Aws::String value)
inline

The description of the proposal.

Definition at line 155 of file Proposal.h.

◆ WithDescription() [3/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithDescription ( const char *  value)
inline

The description of the proposal.

Definition at line 165 of file Proposal.h.

◆ WithExpirationDate() [1/2]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithExpirationDate ( Aws::Utils::DateTime &&  value)
inline

The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

Definition at line 503 of file Proposal.h.

◆ WithExpirationDate() [2/2]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithExpirationDate ( const Aws::Utils::DateTime value)
inline

The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.

Definition at line 493 of file Proposal.h.

◆ WithNetworkId() [1/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithNetworkId ( Aws::String &&  value)
inline

The unique identifier of the network for which the proposal is made.

Definition at line 119 of file Proposal.h.

◆ WithNetworkId() [2/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithNetworkId ( const Aws::String value)
inline

The unique identifier of the network for which the proposal is made.

Definition at line 114 of file Proposal.h.

◆ WithNetworkId() [3/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithNetworkId ( const char *  value)
inline

The unique identifier of the network for which the proposal is made.

Definition at line 124 of file Proposal.h.

◆ WithNoVoteCount()

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithNoVoteCount ( int  value)
inline

The current total of NO votes cast on the proposal by members.

Definition at line 553 of file Proposal.h.

◆ WithOutstandingVoteCount()

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithOutstandingVoteCount ( int  value)
inline

The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES votes and NO votes.

Definition at line 582 of file Proposal.h.

◆ WithProposalId() [1/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithProposalId ( Aws::String &&  value)
inline

The unique identifier of the proposal.

Definition at line 78 of file Proposal.h.

◆ WithProposalId() [2/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithProposalId ( const Aws::String value)
inline

The unique identifier of the proposal.

Definition at line 73 of file Proposal.h.

◆ WithProposalId() [3/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithProposalId ( const char *  value)
inline

The unique identifier of the proposal.

Definition at line 83 of file Proposal.h.

◆ WithProposedByMemberId() [1/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithProposedByMemberId ( Aws::String &&  value)
inline

The unique identifier of the member that created the proposal.

Definition at line 238 of file Proposal.h.

◆ WithProposedByMemberId() [2/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithProposedByMemberId ( const Aws::String value)
inline

The unique identifier of the member that created the proposal.

Definition at line 233 of file Proposal.h.

◆ WithProposedByMemberId() [3/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithProposedByMemberId ( const char *  value)
inline

The unique identifier of the member that created the proposal.

Definition at line 243 of file Proposal.h.

◆ WithProposedByMemberName() [1/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithProposedByMemberName ( Aws::String &&  value)
inline

The name of the member that created the proposal.

Definition at line 279 of file Proposal.h.

◆ WithProposedByMemberName() [2/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithProposedByMemberName ( const Aws::String value)
inline

The name of the member that created the proposal.

Definition at line 274 of file Proposal.h.

◆ WithProposedByMemberName() [3/3]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithProposedByMemberName ( const char *  value)
inline

The name of the member that created the proposal.

Definition at line 284 of file Proposal.h.

◆ WithStatus() [1/2]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithStatus ( const ProposalStatus value)
inline

The status of the proposal. Values are as follows:

  • IN_PROGRESS - The proposal is active and open for member voting.

  • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.

  • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions are not carried out.

  • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.

  • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error. The ACTION_FAILED status occurs even if only one ProposalAction fails and other actions are successful.

Definition at line 390 of file Proposal.h.

◆ WithStatus() [2/2]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithStatus ( ProposalStatus &&  value)
inline

The status of the proposal. Values are as follows:

  • IN_PROGRESS - The proposal is active and open for member voting.

  • APPROVED - The proposal was approved with sufficient YES votes among members according to the VotingPolicy specified for the Network. The specified proposal actions are carried out.

  • REJECTED - The proposal was rejected with insufficient YES votes among members according to the VotingPolicy specified for the Network. The specified ProposalActions are not carried out.

  • EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out.

  • ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error. The ACTION_FAILED status occurs even if only one ProposalAction fails and other actions are successful.

Definition at line 411 of file Proposal.h.

◆ WithTags() [1/2]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithTags ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Definition at line 655 of file Proposal.h.

◆ WithTags() [2/2]

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithTags ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Definition at line 643 of file Proposal.h.

◆ WithYesVoteCount()

Proposal& Aws::ManagedBlockchain::Model::Proposal::WithYesVoteCount ( int  value)
inline

The current total of YES votes cast on the proposal by members.

Definition at line 528 of file Proposal.h.

◆ YesVoteCountHasBeenSet()

bool Aws::ManagedBlockchain::Model::Proposal::YesVoteCountHasBeenSet ( ) const
inline

The current total of YES votes cast on the proposal by members.

Definition at line 516 of file Proposal.h.


The documentation for this class was generated from the following file: