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

A complex type that contains information about the CIDR * location.

See Also:

AWS * API Reference

*/ class LocationSummary { public: AWS_ROUTE53_API LocationSummary(); AWS_ROUTE53_API LocationSummary(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ROUTE53_API LocationSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

A string that specifies a location name.

*/ inline const Aws::String& GetLocationName() const{ return m_locationName; } /** *

A string that specifies a location name.

*/ inline bool LocationNameHasBeenSet() const { return m_locationNameHasBeenSet; } /** *

A string that specifies a location name.

*/ inline void SetLocationName(const Aws::String& value) { m_locationNameHasBeenSet = true; m_locationName = value; } /** *

A string that specifies a location name.

*/ inline void SetLocationName(Aws::String&& value) { m_locationNameHasBeenSet = true; m_locationName = std::move(value); } /** *

A string that specifies a location name.

*/ inline void SetLocationName(const char* value) { m_locationNameHasBeenSet = true; m_locationName.assign(value); } /** *

A string that specifies a location name.

*/ inline LocationSummary& WithLocationName(const Aws::String& value) { SetLocationName(value); return *this;} /** *

A string that specifies a location name.

*/ inline LocationSummary& WithLocationName(Aws::String&& value) { SetLocationName(std::move(value)); return *this;} /** *

A string that specifies a location name.

*/ inline LocationSummary& WithLocationName(const char* value) { SetLocationName(value); return *this;} private: Aws::String m_locationName; bool m_locationNameHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws