text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
  #include <aws/apigatewayv2/ApiGatewayV2Request.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Http
  {
      class URI;
  } //namespace Http
  namespace ApiGatewayV2
  {
  namespace Model
  {
  
    /**
     */
    class AWS_APIGATEWAYV2_API GetIntegrationsRequest : public ApiGatewayV2Request
    {
    public:
      GetIntegrationsRequest();
  
      // 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 "GetIntegrations"; }
  
      Aws::String SerializePayload() const override;
  
      void AddQueryStringParameters(Aws::Http::URI& uri) const override;
  
  
      /**
       * <p>The API identifier.</p>
       */
      inline const Aws::String& GetApiId() const{ return m_apiId; }
  
      /**
       * <p>The API identifier.</p>
       */
      inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
  
      /**
       * <p>The API identifier.</p>
       */
      inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
  
      /**
       * <p>The API identifier.</p>
       */
      inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
  
      /**
       * <p>The API identifier.</p>
       */
      inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
  
      /**
       * <p>The API identifier.</p>
       */
      inline GetIntegrationsRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
  
      /**
       * <p>The API identifier.</p>
       */
      inline GetIntegrationsRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
  
      /**
       * <p>The API identifier.</p>
       */
      inline GetIntegrationsRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
  
  
      /**
       * <p>The maximum number of elements to be returned for this resource.</p>
       */
      inline const Aws::String& GetMaxResults() const{ return m_maxResults; }
  
      /**
       * <p>The maximum number of elements to be returned for this resource.</p>
       */
      inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
  
      /**
       * <p>The maximum number of elements to be returned for this resource.</p>
       */
      inline void SetMaxResults(const Aws::String& value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
  
      /**
       * <p>The maximum number of elements to be returned for this resource.</p>
       */
      inline void SetMaxResults(Aws::String&& value) { m_maxResultsHasBeenSet = true; m_maxResults = std::move(value); }
  
      /**
       * <p>The maximum number of elements to be returned for this resource.</p>
       */
      inline void SetMaxResults(const char* value) { m_maxResultsHasBeenSet = true; m_maxResults.assign(value); }
  
      /**
       * <p>The maximum number of elements to be returned for this resource.</p>
       */
      inline GetIntegrationsRequest& WithMaxResults(const Aws::String& value) { SetMaxResults(value); return *this;}
  
      /**
       * <p>The maximum number of elements to be returned for this resource.</p>
       */
      inline GetIntegrationsRequest& WithMaxResults(Aws::String&& value) { SetMaxResults(std::move(value)); return *this;}
  
      /**
       * <p>The maximum number of elements to be returned for this resource.</p>
       */
      inline GetIntegrationsRequest& WithMaxResults(const char* value) { SetMaxResults(value); return *this;}
  
  
      /**
       * <p>The next page of elements from this collection. Not valid for the last
       * element of the collection.</p>
       */
      inline const Aws::String& GetNextToken() const{ return m_nextToken; }
  
      /**
       * <p>The next page of elements from this collection. Not valid for the last
       * element of the collection.</p>
       */
      inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
  
      /**
       * <p>The next page of elements from this collection. Not valid for the last
       * element of the collection.</p>
       */
      inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
  
      /**
       * <p>The next page of elements from this collection. Not valid for the last
       * element of the collection.</p>
       */
      inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
  
      /**
       * <p>The next page of elements from this collection. Not valid for the last
       * element of the collection.</p>
       */
      inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
  
      /**
       * <p>The next page of elements from this collection. Not valid for the last
       * element of the collection.</p>
       */
      inline GetIntegrationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
  
      /**
       * <p>The next page of elements from this collection. Not valid for the last
       * element of the collection.</p>
       */
      inline GetIntegrationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
  
      /**
       * <p>The next page of elements from this collection. Not valid for the last
       * element of the collection.</p>
       */
      inline GetIntegrationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
  
    private:
  
      Aws::String m_apiId;
      bool m_apiIdHasBeenSet;
  
      Aws::String m_maxResults;
      bool m_maxResultsHasBeenSet;
  
      Aws::String m_nextToken;
      bool m_nextTokenHasBeenSet;
    };
  
  } // namespace Model
  } // namespace ApiGatewayV2
  } // namespace Aws
  