/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/ec2/model/ResponseMetadata.h>
#include <aws/ec2/model/CoipAddressUsage.h>
#include <utility>

namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;

namespace Utils
{
namespace Xml
{
  class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace EC2
{
namespace Model
{
  class GetCoipPoolUsageResponse
  {
  public:
    AWS_EC2_API GetCoipPoolUsageResponse();
    AWS_EC2_API GetCoipPoolUsageResponse(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
    AWS_EC2_API GetCoipPoolUsageResponse& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);


    ///@{
    /**
     * <p>The ID of the customer-owned address pool.</p>
     */
    inline const Aws::String& GetCoipPoolId() const{ return m_coipPoolId; }
    inline void SetCoipPoolId(const Aws::String& value) { m_coipPoolId = value; }
    inline void SetCoipPoolId(Aws::String&& value) { m_coipPoolId = std::move(value); }
    inline void SetCoipPoolId(const char* value) { m_coipPoolId.assign(value); }
    inline GetCoipPoolUsageResponse& WithCoipPoolId(const Aws::String& value) { SetCoipPoolId(value); return *this;}
    inline GetCoipPoolUsageResponse& WithCoipPoolId(Aws::String&& value) { SetCoipPoolId(std::move(value)); return *this;}
    inline GetCoipPoolUsageResponse& WithCoipPoolId(const char* value) { SetCoipPoolId(value); return *this;}
    ///@}

    ///@{
    /**
     * <p>Information about the address usage.</p>
     */
    inline const Aws::Vector<CoipAddressUsage>& GetCoipAddressUsages() const{ return m_coipAddressUsages; }
    inline void SetCoipAddressUsages(const Aws::Vector<CoipAddressUsage>& value) { m_coipAddressUsages = value; }
    inline void SetCoipAddressUsages(Aws::Vector<CoipAddressUsage>&& value) { m_coipAddressUsages = std::move(value); }
    inline GetCoipPoolUsageResponse& WithCoipAddressUsages(const Aws::Vector<CoipAddressUsage>& value) { SetCoipAddressUsages(value); return *this;}
    inline GetCoipPoolUsageResponse& WithCoipAddressUsages(Aws::Vector<CoipAddressUsage>&& value) { SetCoipAddressUsages(std::move(value)); return *this;}
    inline GetCoipPoolUsageResponse& AddCoipAddressUsages(const CoipAddressUsage& value) { m_coipAddressUsages.push_back(value); return *this; }
    inline GetCoipPoolUsageResponse& AddCoipAddressUsages(CoipAddressUsage&& value) { m_coipAddressUsages.push_back(std::move(value)); return *this; }
    ///@}

    ///@{
    /**
     * <p>The ID of the local gateway route table.</p>
     */
    inline const Aws::String& GetLocalGatewayRouteTableId() const{ return m_localGatewayRouteTableId; }
    inline void SetLocalGatewayRouteTableId(const Aws::String& value) { m_localGatewayRouteTableId = value; }
    inline void SetLocalGatewayRouteTableId(Aws::String&& value) { m_localGatewayRouteTableId = std::move(value); }
    inline void SetLocalGatewayRouteTableId(const char* value) { m_localGatewayRouteTableId.assign(value); }
    inline GetCoipPoolUsageResponse& WithLocalGatewayRouteTableId(const Aws::String& value) { SetLocalGatewayRouteTableId(value); return *this;}
    inline GetCoipPoolUsageResponse& WithLocalGatewayRouteTableId(Aws::String&& value) { SetLocalGatewayRouteTableId(std::move(value)); return *this;}
    inline GetCoipPoolUsageResponse& WithLocalGatewayRouteTableId(const char* value) { SetLocalGatewayRouteTableId(value); return *this;}
    ///@}

    ///@{
    /**
     * <p>The token to use to retrieve the next page of results. This value is
     * <code>null</code> when there are no more results to return.</p>
     */
    inline const Aws::String& GetNextToken() const{ return m_nextToken; }
    inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
    inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
    inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
    inline GetCoipPoolUsageResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
    inline GetCoipPoolUsageResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
    inline GetCoipPoolUsageResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
    ///@}

    ///@{
    
    inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
    inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
    inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
    inline GetCoipPoolUsageResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
    inline GetCoipPoolUsageResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
    ///@}
  private:

    Aws::String m_coipPoolId;

    Aws::Vector<CoipAddressUsage> m_coipAddressUsages;

    Aws::String m_localGatewayRouteTableId;

    Aws::String m_nextToken;

    ResponseMetadata m_responseMetadata;
  };

} // namespace Model
} // namespace EC2
} // namespace Aws
