text: ﻿/*
  * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  *
  * Licensed under the Apache License, Version 2.0 (the "License").
  * You may not use this file except in compliance with the License.
  * A copy of the License is located at
  *
  *  http://aws.amazon.com/apache2.0
  *
  * or in the "license" file accompanying this file. This file is distributed
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  * express or implied. See the License for the specific language governing
  * permissions and limitations under the License.
  */
  
  #pragma once
  #include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
  #include <aws/elasticloadbalancing/ElasticLoadBalancingRequest.h>
  #include <aws/core/utils/memory/stl/AWSVector.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  namespace ElasticLoadBalancing
  {
  namespace Model
  {
  
    /**
     * <p>Contains the parameters for DescribeLoadBalancers.</p><p><h3>See Also:</h3>  
     * <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccessPointsInput">AWS
     * API Reference</a></p>
     */
    class AWS_ELASTICLOADBALANCING_API DescribeLoadBalancersRequest : public ElasticLoadBalancingRequest
    {
    public:
      DescribeLoadBalancersRequest();
      
      // 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 "DescribeLoadBalancers"; }
  
      Aws::String SerializePayload() const override;
  
    protected:
      void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
  
    public:
  
      /**
       * <p>The names of the load balancers.</p>
       */
      inline const Aws::Vector<Aws::String>& GetLoadBalancerNames() const{ return m_loadBalancerNames; }
  
      /**
       * <p>The names of the load balancers.</p>
       */
      inline bool LoadBalancerNamesHasBeenSet() const { return m_loadBalancerNamesHasBeenSet; }
  
      /**
       * <p>The names of the load balancers.</p>
       */
      inline void SetLoadBalancerNames(const Aws::Vector<Aws::String>& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames = value; }
  
      /**
       * <p>The names of the load balancers.</p>
       */
      inline void SetLoadBalancerNames(Aws::Vector<Aws::String>&& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames = std::move(value); }
  
      /**
       * <p>The names of the load balancers.</p>
       */
      inline DescribeLoadBalancersRequest& WithLoadBalancerNames(const Aws::Vector<Aws::String>& value) { SetLoadBalancerNames(value); return *this;}
  
      /**
       * <p>The names of the load balancers.</p>
       */
      inline DescribeLoadBalancersRequest& WithLoadBalancerNames(Aws::Vector<Aws::String>&& value) { SetLoadBalancerNames(std::move(value)); return *this;}
  
      /**
       * <p>The names of the load balancers.</p>
       */
      inline DescribeLoadBalancersRequest& AddLoadBalancerNames(const Aws::String& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames.push_back(value); return *this; }
  
      /**
       * <p>The names of the load balancers.</p>
       */
      inline DescribeLoadBalancersRequest& AddLoadBalancerNames(Aws::String&& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames.push_back(std::move(value)); return *this; }
  
      /**
       * <p>The names of the load balancers.</p>
       */
      inline DescribeLoadBalancersRequest& AddLoadBalancerNames(const char* value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames.push_back(value); return *this; }
  
  
      /**
       * <p>The marker for the next set of results. (You received this marker from a
       * previous call.)</p>
       */
      inline const Aws::String& GetMarker() const{ return m_marker; }
  
      /**
       * <p>The marker for the next set of results. (You received this marker from a
       * previous call.)</p>
       */
      inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
  
      /**
       * <p>The marker for the next set of results. (You received this marker from a
       * previous call.)</p>
       */
      inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
  
      /**
       * <p>The marker for the next set of results. (You received this marker from a
       * previous call.)</p>
       */
      inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
  
      /**
       * <p>The marker for the next set of results. (You received this marker from a
       * previous call.)</p>
       */
      inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
  
      /**
       * <p>The marker for the next set of results. (You received this marker from a
       * previous call.)</p>
       */
      inline DescribeLoadBalancersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
  
      /**
       * <p>The marker for the next set of results. (You received this marker from a
       * previous call.)</p>
       */
      inline DescribeLoadBalancersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
  
      /**
       * <p>The marker for the next set of results. (You received this marker from a
       * previous call.)</p>
       */
      inline DescribeLoadBalancersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
  
  
      /**
       * <p>The maximum number of results to return with this call (a number from 1 to
       * 400). The default is 400.</p>
       */
      inline int GetPageSize() const{ return m_pageSize; }
  
      /**
       * <p>The maximum number of results to return with this call (a number from 1 to
       * 400). The default is 400.</p>
       */
      inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
  
      /**
       * <p>The maximum number of results to return with this call (a number from 1 to
       * 400). The default is 400.</p>
       */
      inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
  
      /**
       * <p>The maximum number of results to return with this call (a number from 1 to
       * 400). The default is 400.</p>
       */
      inline DescribeLoadBalancersRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
  
    private:
  
      Aws::Vector<Aws::String> m_loadBalancerNames;
      bool m_loadBalancerNamesHasBeenSet;
  
      Aws::String m_marker;
      bool m_markerHasBeenSet;
  
      int m_pageSize;
      bool m_pageSizeHasBeenSet;
    };
  
  } // namespace Model
  } // namespace ElasticLoadBalancing
  } // namespace Aws
  