/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Properties of an individual vote that a member cast for a proposal. Applies only to Hyperledger Fabric.See Also:
AWS
* API Reference
The vote value, either YES or NO.
The vote value, either YES or NO.
The vote value, either YES or NO.
The vote value, either YES or NO.
The vote value, either YES or NO.
The vote value, either YES or NO.
The name of the member that cast the vote.
*/ inline const Aws::String& GetMemberName() const{ return m_memberName; } /** *The name of the member that cast the vote.
*/ inline bool MemberNameHasBeenSet() const { return m_memberNameHasBeenSet; } /** *The name of the member that cast the vote.
*/ inline void SetMemberName(const Aws::String& value) { m_memberNameHasBeenSet = true; m_memberName = value; } /** *The name of the member that cast the vote.
*/ inline void SetMemberName(Aws::String&& value) { m_memberNameHasBeenSet = true; m_memberName = std::move(value); } /** *The name of the member that cast the vote.
*/ inline void SetMemberName(const char* value) { m_memberNameHasBeenSet = true; m_memberName.assign(value); } /** *The name of the member that cast the vote.
*/ inline VoteSummary& WithMemberName(const Aws::String& value) { SetMemberName(value); return *this;} /** *The name of the member that cast the vote.
*/ inline VoteSummary& WithMemberName(Aws::String&& value) { SetMemberName(std::move(value)); return *this;} /** *The name of the member that cast the vote.
*/ inline VoteSummary& WithMemberName(const char* value) { SetMemberName(value); return *this;} /** *The unique identifier of the member that cast the vote.
*/ inline const Aws::String& GetMemberId() const{ return m_memberId; } /** *The unique identifier of the member that cast the vote.
*/ inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; } /** *The unique identifier of the member that cast the vote.
*/ inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; } /** *The unique identifier of the member that cast the vote.
*/ inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); } /** *The unique identifier of the member that cast the vote.
*/ inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); } /** *The unique identifier of the member that cast the vote.
*/ inline VoteSummary& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;} /** *The unique identifier of the member that cast the vote.
*/ inline VoteSummary& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;} /** *The unique identifier of the member that cast the vote.
*/ inline VoteSummary& WithMemberId(const char* value) { SetMemberId(value); return *this;} private: VoteValue m_vote; bool m_voteHasBeenSet = false; Aws::String m_memberName; bool m_memberNameHasBeenSet = false; Aws::String m_memberId; bool m_memberIdHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws