/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ManagedBlockchain { namespace Model { /** *

Properties of a proposal on a Managed Blockchain network.

Applies only * to Hyperledger Fabric.

See Also:

AWS * API Reference

*/ class Proposal { public: AWS_MANAGEDBLOCKCHAIN_API Proposal(); AWS_MANAGEDBLOCKCHAIN_API Proposal(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDBLOCKCHAIN_API Proposal& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier of the proposal.

*/ inline const Aws::String& GetProposalId() const{ return m_proposalId; } /** *

The unique identifier of the proposal.

*/ inline bool ProposalIdHasBeenSet() const { return m_proposalIdHasBeenSet; } /** *

The unique identifier of the proposal.

*/ inline void SetProposalId(const Aws::String& value) { m_proposalIdHasBeenSet = true; m_proposalId = value; } /** *

The unique identifier of the proposal.

*/ inline void SetProposalId(Aws::String&& value) { m_proposalIdHasBeenSet = true; m_proposalId = std::move(value); } /** *

The unique identifier of the proposal.

*/ inline void SetProposalId(const char* value) { m_proposalIdHasBeenSet = true; m_proposalId.assign(value); } /** *

The unique identifier of the proposal.

*/ inline Proposal& WithProposalId(const Aws::String& value) { SetProposalId(value); return *this;} /** *

The unique identifier of the proposal.

*/ inline Proposal& WithProposalId(Aws::String&& value) { SetProposalId(std::move(value)); return *this;} /** *

The unique identifier of the proposal.

*/ inline Proposal& WithProposalId(const char* value) { SetProposalId(value); return *this;} /** *

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

*/ inline const Aws::String& GetNetworkId() const{ return m_networkId; } /** *

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

*/ inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; } /** *

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

*/ inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; } /** *

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

*/ inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); } /** *

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

*/ inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); } /** *

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

*/ inline Proposal& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;} /** *

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

*/ inline Proposal& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;} /** *

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

*/ inline Proposal& WithNetworkId(const char* value) { SetNetworkId(value); return *this;} /** *

The description of the proposal.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the proposal.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the proposal.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the proposal.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the proposal.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the proposal.

*/ inline Proposal& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the proposal.

*/ inline Proposal& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the proposal.

*/ inline Proposal& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

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

*/ inline const ProposalActions& GetActions() const{ return m_actions; } /** *

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

*/ inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; } /** *

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

*/ inline void SetActions(const ProposalActions& value) { m_actionsHasBeenSet = true; m_actions = value; } /** *

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

*/ inline void SetActions(ProposalActions&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); } /** *

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

*/ inline Proposal& WithActions(const ProposalActions& value) { SetActions(value); return *this;} /** *

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

*/ inline Proposal& WithActions(ProposalActions&& value) { SetActions(std::move(value)); return *this;} /** *

The unique identifier of the member that created the proposal.

*/ inline const Aws::String& GetProposedByMemberId() const{ return m_proposedByMemberId; } /** *

The unique identifier of the member that created the proposal.

*/ inline bool ProposedByMemberIdHasBeenSet() const { return m_proposedByMemberIdHasBeenSet; } /** *

The unique identifier of the member that created the proposal.

*/ inline void SetProposedByMemberId(const Aws::String& value) { m_proposedByMemberIdHasBeenSet = true; m_proposedByMemberId = value; } /** *

The unique identifier of the member that created the proposal.

*/ inline void SetProposedByMemberId(Aws::String&& value) { m_proposedByMemberIdHasBeenSet = true; m_proposedByMemberId = std::move(value); } /** *

The unique identifier of the member that created the proposal.

*/ inline void SetProposedByMemberId(const char* value) { m_proposedByMemberIdHasBeenSet = true; m_proposedByMemberId.assign(value); } /** *

The unique identifier of the member that created the proposal.

*/ inline Proposal& WithProposedByMemberId(const Aws::String& value) { SetProposedByMemberId(value); return *this;} /** *

The unique identifier of the member that created the proposal.

*/ inline Proposal& WithProposedByMemberId(Aws::String&& value) { SetProposedByMemberId(std::move(value)); return *this;} /** *

The unique identifier of the member that created the proposal.

*/ inline Proposal& WithProposedByMemberId(const char* value) { SetProposedByMemberId(value); return *this;} /** *

The name of the member that created the proposal.

*/ inline const Aws::String& GetProposedByMemberName() const{ return m_proposedByMemberName; } /** *

The name of the member that created the proposal.

*/ inline bool ProposedByMemberNameHasBeenSet() const { return m_proposedByMemberNameHasBeenSet; } /** *

The name of the member that created the proposal.

*/ inline void SetProposedByMemberName(const Aws::String& value) { m_proposedByMemberNameHasBeenSet = true; m_proposedByMemberName = value; } /** *

The name of the member that created the proposal.

*/ inline void SetProposedByMemberName(Aws::String&& value) { m_proposedByMemberNameHasBeenSet = true; m_proposedByMemberName = std::move(value); } /** *

The name of the member that created the proposal.

*/ inline void SetProposedByMemberName(const char* value) { m_proposedByMemberNameHasBeenSet = true; m_proposedByMemberName.assign(value); } /** *

The name of the member that created the proposal.

*/ inline Proposal& WithProposedByMemberName(const Aws::String& value) { SetProposedByMemberName(value); return *this;} /** *

The name of the member that created the proposal.

*/ inline Proposal& WithProposedByMemberName(Aws::String&& value) { SetProposedByMemberName(std::move(value)); return *this;} /** *

The name of the member that created the proposal.

*/ inline Proposal& WithProposedByMemberName(const char* value) { SetProposedByMemberName(value); return *this;} /** *

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 aren't carried * out.

  • EXPIRED - Members didn't cast the number of * votes required to determine the proposal outcome before the proposal expired. * The specified ProposalActions aren't carried out.

  • *

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

  • *
*/ inline const ProposalStatus& GetStatus() const{ return m_status; } /** *

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 aren't carried * out.

  • EXPIRED - Members didn't cast the number of * votes required to determine the proposal outcome before the proposal expired. * The specified ProposalActions aren't carried out.

  • *

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

  • *
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

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 aren't carried * out.

  • EXPIRED - Members didn't cast the number of * votes required to determine the proposal outcome before the proposal expired. * The specified ProposalActions aren't carried out.

  • *

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

  • *
*/ inline void SetStatus(const ProposalStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

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 aren't carried * out.

  • EXPIRED - Members didn't cast the number of * votes required to determine the proposal outcome before the proposal expired. * The specified ProposalActions aren't carried out.

  • *

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

  • *
*/ inline void SetStatus(ProposalStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

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 aren't carried * out.

  • EXPIRED - Members didn't cast the number of * votes required to determine the proposal outcome before the proposal expired. * The specified ProposalActions aren't carried out.

  • *

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

  • *
*/ inline Proposal& WithStatus(const ProposalStatus& value) { SetStatus(value); return *this;} /** *

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 aren't carried * out.

  • EXPIRED - Members didn't cast the number of * votes required to determine the proposal outcome before the proposal expired. * The specified ProposalActions aren't carried out.

  • *

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

  • *
*/ inline Proposal& WithStatus(ProposalStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The date and time that the proposal was created.

*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *

The date and time that the proposal was created.

*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *

The date and time that the proposal was created.

*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *

The date and time that the proposal was created.

*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *

The date and time that the proposal was created.

*/ inline Proposal& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *

The date and time that the proposal was created.

*/ inline Proposal& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *

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 haven't cast enough votes to determine the outcome according to the * voting policy, the proposal is EXPIRED and Actions * aren't carried out.

*/ inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; } /** *

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 haven't cast enough votes to determine the outcome according to the * voting policy, the proposal is EXPIRED and Actions * aren't carried out.

*/ inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; } /** *

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 haven't cast enough votes to determine the outcome according to the * voting policy, the proposal is EXPIRED and Actions * aren't carried out.

*/ inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; } /** *

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 haven't cast enough votes to determine the outcome according to the * voting policy, the proposal is EXPIRED and Actions * aren't carried out.

*/ inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); } /** *

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 haven't cast enough votes to determine the outcome according to the * voting policy, the proposal is EXPIRED and Actions * aren't carried out.

*/ inline Proposal& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;} /** *

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 haven't cast enough votes to determine the outcome according to the * voting policy, the proposal is EXPIRED and Actions * aren't carried out.

*/ inline Proposal& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;} /** *

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

*/ inline int GetYesVoteCount() const{ return m_yesVoteCount; } /** *

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

*/ inline bool YesVoteCountHasBeenSet() const { return m_yesVoteCountHasBeenSet; } /** *

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

*/ inline void SetYesVoteCount(int value) { m_yesVoteCountHasBeenSet = true; m_yesVoteCount = value; } /** *

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

*/ inline Proposal& WithYesVoteCount(int value) { SetYesVoteCount(value); return *this;} /** *

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

*/ inline int GetNoVoteCount() const{ return m_noVoteCount; } /** *

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

*/ inline bool NoVoteCountHasBeenSet() const { return m_noVoteCountHasBeenSet; } /** *

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

*/ inline void SetNoVoteCount(int value) { m_noVoteCountHasBeenSet = true; m_noVoteCount = value; } /** *

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

*/ inline Proposal& WithNoVoteCount(int value) { SetNoVoteCount(value); return *this;} /** *

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.

*/ inline int GetOutstandingVoteCount() const{ return m_outstandingVoteCount; } /** *

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.

*/ inline bool OutstandingVoteCountHasBeenSet() const { return m_outstandingVoteCountHasBeenSet; } /** *

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.

*/ inline void SetOutstandingVoteCount(int value) { m_outstandingVoteCountHasBeenSet = true; m_outstandingVoteCount = value; } /** *

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.

*/ inline Proposal& WithOutstandingVoteCount(int value) { SetOutstandingVoteCount(value); return *this;} /** *

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.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

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.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

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.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

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.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

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.

*/ inline Proposal& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

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.

*/ inline Proposal& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

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.

*/ inline Proposal& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

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.

*/ inline Proposal& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

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.

*/ inline Proposal& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

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.

*/ inline Proposal& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

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.

*/ inline Proposal& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

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.

*/ inline Proposal& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

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.

*/ inline Proposal& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

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

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

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

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

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

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

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

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

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

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

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

*/ inline Proposal& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

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

*/ inline Proposal& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

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

*/ inline Proposal& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_proposalId; bool m_proposalIdHasBeenSet = false; Aws::String m_networkId; bool m_networkIdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; ProposalActions m_actions; bool m_actionsHasBeenSet = false; Aws::String m_proposedByMemberId; bool m_proposedByMemberIdHasBeenSet = false; Aws::String m_proposedByMemberName; bool m_proposedByMemberNameHasBeenSet = false; ProposalStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::Utils::DateTime m_expirationDate; bool m_expirationDateHasBeenSet = false; int m_yesVoteCount; bool m_yesVoteCountHasBeenSet = false; int m_noVoteCount; bool m_noVoteCountHasBeenSet = false; int m_outstandingVoteCount; bool m_outstandingVoteCountHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws