/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a CIDR block for an address pool.See Also:
AWS
* API Reference
The CIDR block.
*/ inline const Aws::String& GetCidr() const{ return m_cidr; } /** *The CIDR block.
*/ inline bool CidrHasBeenSet() const { return m_cidrHasBeenSet; } /** *The CIDR block.
*/ inline void SetCidr(const Aws::String& value) { m_cidrHasBeenSet = true; m_cidr = value; } /** *The CIDR block.
*/ inline void SetCidr(Aws::String&& value) { m_cidrHasBeenSet = true; m_cidr = std::move(value); } /** *The CIDR block.
*/ inline void SetCidr(const char* value) { m_cidrHasBeenSet = true; m_cidr.assign(value); } /** *The CIDR block.
*/ inline PoolCidrBlock& WithCidr(const Aws::String& value) { SetCidr(value); return *this;} /** *The CIDR block.
*/ inline PoolCidrBlock& WithCidr(Aws::String&& value) { SetCidr(std::move(value)); return *this;} /** *The CIDR block.
*/ inline PoolCidrBlock& WithCidr(const char* value) { SetCidr(value); return *this;} private: Aws::String m_cidr; bool m_cidrHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws