text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
  #include <aws/managedblockchain/ManagedBlockchainRequest.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Http
  {
      class URI;
  } //namespace Http
  namespace ManagedBlockchain
  {
  namespace Model
  {
  
    /**
     */
    class AWS_MANAGEDBLOCKCHAIN_API ListProposalVotesRequest : public ManagedBlockchainRequest
    {
    public:
      ListProposalVotesRequest();
  
      // Service request name is the Operation name which will send this request out,
      // each operation should has unique request name, so that we can get operation's name from this request.
      // Note: this is not true for response, multiple operations may have the same response name,
      // so we can not get operation's name from response.
      inline virtual const char* GetServiceRequestName() const override { return "ListProposalVotes"; }
  
      Aws::String SerializePayload() const override;
  
      void AddQueryStringParameters(Aws::Http::URI& uri) const override;
  
  
      /**
       * <p> The unique identifier of the network. </p>
       */
      inline const Aws::String& GetNetworkId() const{ return m_networkId; }
  
      /**
       * <p> The unique identifier of the network. </p>
       */
      inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
  
      /**
       * <p> The unique identifier of the network. </p>
       */
      inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; }
  
      /**
       * <p> The unique identifier of the network. </p>
       */
      inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); }
  
      /**
       * <p> The unique identifier of the network. </p>
       */
      inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); }
  
      /**
       * <p> The unique identifier of the network. </p>
       */
      inline ListProposalVotesRequest& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
  
      /**
       * <p> The unique identifier of the network. </p>
       */
      inline ListProposalVotesRequest& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
  
      /**
       * <p> The unique identifier of the network. </p>
       */
      inline ListProposalVotesRequest& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
  
  
      /**
       * <p> The unique identifier of the proposal. </p>
       */
      inline const Aws::String& GetProposalId() const{ return m_proposalId; }
  
      /**
       * <p> The unique identifier of the proposal. </p>
       */
      inline bool ProposalIdHasBeenSet() const { return m_proposalIdHasBeenSet; }
  
      /**
       * <p> The unique identifier of the proposal. </p>
       */
      inline void SetProposalId(const Aws::String& value) { m_proposalIdHasBeenSet = true; m_proposalId = value; }
  
      /**
       * <p> The unique identifier of the proposal. </p>
       */
      inline void SetProposalId(Aws::String&& value) { m_proposalIdHasBeenSet = true; m_proposalId = std::move(value); }
  
      /**
       * <p> The unique identifier of the proposal. </p>
       */
      inline void SetProposalId(const char* value) { m_proposalIdHasBeenSet = true; m_proposalId.assign(value); }
  
      /**
       * <p> The unique identifier of the proposal. </p>
       */
      inline ListProposalVotesRequest& WithProposalId(const Aws::String& value) { SetProposalId(value); return *this;}
  
      /**
       * <p> The unique identifier of the proposal. </p>
       */
      inline ListProposalVotesRequest& WithProposalId(Aws::String&& value) { SetProposalId(std::move(value)); return *this;}
  
      /**
       * <p> The unique identifier of the proposal. </p>
       */
      inline ListProposalVotesRequest& WithProposalId(const char* value) { SetProposalId(value); return *this;}
  
  
      /**
       * <p> The maximum number of votes to return. </p>
       */
      inline int GetMaxResults() const{ return m_maxResults; }
  
      /**
       * <p> The maximum number of votes to return. </p>
       */
      inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
  
      /**
       * <p> The maximum number of votes to return. </p>
       */
      inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
  
      /**
       * <p> The maximum number of votes to return. </p>
       */
      inline ListProposalVotesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
  
  
      /**
       * <p> The pagination token that indicates the next set of results to retrieve.
       * </p>
       */
      inline const Aws::String& GetNextToken() const{ return m_nextToken; }
  
      /**
       * <p> The pagination token that indicates the next set of results to retrieve.
       * </p>
       */
      inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
  
      /**
       * <p> The pagination token that indicates the next set of results to retrieve.
       * </p>
       */
      inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
  
      /**
       * <p> The pagination token that indicates the next set of results to retrieve.
       * </p>
       */
      inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
  
      /**
       * <p> The pagination token that indicates the next set of results to retrieve.
       * </p>
       */
      inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
  
      /**
       * <p> The pagination token that indicates the next set of results to retrieve.
       * </p>
       */
      inline ListProposalVotesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
  
      /**
       * <p> The pagination token that indicates the next set of results to retrieve.
       * </p>
       */
      inline ListProposalVotesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
  
      /**
       * <p> The pagination token that indicates the next set of results to retrieve.
       * </p>
       */
      inline ListProposalVotesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
  
    private:
  
      Aws::String m_networkId;
      bool m_networkIdHasBeenSet;
  
      Aws::String m_proposalId;
      bool m_proposalIdHasBeenSet;
  
      int m_maxResults;
      bool m_maxResultsHasBeenSet;
  
      Aws::String m_nextToken;
      bool m_nextTokenHasBeenSet;
    };
  
  } // namespace Model
  } // namespace ManagedBlockchain
  } // namespace Aws
  