/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that lists the CIDR blocks.See Also:
AWS
* API Reference
Value for the CIDR block.
*/ inline const Aws::String& GetCidrBlock() const{ return m_cidrBlock; } /** *Value for the CIDR block.
*/ inline bool CidrBlockHasBeenSet() const { return m_cidrBlockHasBeenSet; } /** *Value for the CIDR block.
*/ inline void SetCidrBlock(const Aws::String& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = value; } /** *Value for the CIDR block.
*/ inline void SetCidrBlock(Aws::String&& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = std::move(value); } /** *Value for the CIDR block.
*/ inline void SetCidrBlock(const char* value) { m_cidrBlockHasBeenSet = true; m_cidrBlock.assign(value); } /** *Value for the CIDR block.
*/ inline CidrBlockSummary& WithCidrBlock(const Aws::String& value) { SetCidrBlock(value); return *this;} /** *Value for the CIDR block.
*/ inline CidrBlockSummary& WithCidrBlock(Aws::String&& value) { SetCidrBlock(std::move(value)); return *this;} /** *Value for the CIDR block.
*/ inline CidrBlockSummary& WithCidrBlock(const char* value) { SetCidrBlock(value); return *this;} /** *The location name of the CIDR block.
*/ inline const Aws::String& GetLocationName() const{ return m_locationName; } /** *The location name of the CIDR block.
*/ inline bool LocationNameHasBeenSet() const { return m_locationNameHasBeenSet; } /** *The location name of the CIDR block.
*/ inline void SetLocationName(const Aws::String& value) { m_locationNameHasBeenSet = true; m_locationName = value; } /** *The location name of the CIDR block.
*/ inline void SetLocationName(Aws::String&& value) { m_locationNameHasBeenSet = true; m_locationName = std::move(value); } /** *The location name of the CIDR block.
*/ inline void SetLocationName(const char* value) { m_locationNameHasBeenSet = true; m_locationName.assign(value); } /** *The location name of the CIDR block.
*/ inline CidrBlockSummary& WithLocationName(const Aws::String& value) { SetLocationName(value); return *this;} /** *The location name of the CIDR block.
*/ inline CidrBlockSummary& WithLocationName(Aws::String&& value) { SetLocationName(std::move(value)); return *this;} /** *The location name of the CIDR block.
*/ inline CidrBlockSummary& WithLocationName(const char* value) { SetLocationName(value); return *this;} private: Aws::String m_cidrBlock; bool m_cidrBlockHasBeenSet = false; Aws::String m_locationName; bool m_locationNameHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws