/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** *

The operating Regions for an IPAM. Operating Regions are Amazon Web Services * Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only * discovers and monitors resources in the Amazon Web Services Regions you select * as operating Regions.

For more information about operating Regions, see * Create an * IPAM in the Amazon VPC IPAM User Guide.

See Also:

AWS * API Reference

*/ class IpamOperatingRegion { public: AWS_EC2_API IpamOperatingRegion(); AWS_EC2_API IpamOperatingRegion(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API IpamOperatingRegion& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The name of the operating Region.

*/ inline const Aws::String& GetRegionName() const{ return m_regionName; } /** *

The name of the operating Region.

*/ inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; } /** *

The name of the operating Region.

*/ inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; } /** *

The name of the operating Region.

*/ inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); } /** *

The name of the operating Region.

*/ inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); } /** *

The name of the operating Region.

*/ inline IpamOperatingRegion& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;} /** *

The name of the operating Region.

*/ inline IpamOperatingRegion& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;} /** *

The name of the operating Region.

*/ inline IpamOperatingRegion& WithRegionName(const char* value) { SetRegionName(value); return *this;} private: Aws::String m_regionName; bool m_regionNameHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws