/** * 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 Route53 { namespace Model { /** *

In the response to a ListHostedZonesByVPC request, the * HostedZoneSummaries element contains one * HostedZoneSummary element for each hosted zone that the specified * Amazon VPC is associated with. Each HostedZoneSummary element * contains the hosted zone name and ID, and information about who owns the hosted * zone.

See Also:

AWS * API Reference

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

The Route 53 hosted zone ID of a private hosted zone that the specified VPC * is associated with.

*/ inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; } /** *

The Route 53 hosted zone ID of a private hosted zone that the specified VPC * is associated with.

*/ inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; } /** *

The Route 53 hosted zone ID of a private hosted zone that the specified VPC * is associated with.

*/ inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; } /** *

The Route 53 hosted zone ID of a private hosted zone that the specified VPC * is associated with.

*/ inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); } /** *

The Route 53 hosted zone ID of a private hosted zone that the specified VPC * is associated with.

*/ inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); } /** *

The Route 53 hosted zone ID of a private hosted zone that the specified VPC * is associated with.

*/ inline HostedZoneSummary& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;} /** *

The Route 53 hosted zone ID of a private hosted zone that the specified VPC * is associated with.

*/ inline HostedZoneSummary& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;} /** *

The Route 53 hosted zone ID of a private hosted zone that the specified VPC * is associated with.

*/ inline HostedZoneSummary& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;} /** *

The name of the private hosted zone, such as example.com.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the private hosted zone, such as example.com.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the private hosted zone, such as example.com.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the private hosted zone, such as example.com.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the private hosted zone, such as example.com.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the private hosted zone, such as example.com.

*/ inline HostedZoneSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the private hosted zone, such as example.com.

*/ inline HostedZoneSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the private hosted zone, such as example.com.

*/ inline HostedZoneSummary& WithName(const char* value) { SetName(value); return *this;} /** *

The owner of a private hosted zone that the specified VPC is associated with. * The owner can be either an Amazon Web Services account or an Amazon Web Services * service.

*/ inline const HostedZoneOwner& GetOwner() const{ return m_owner; } /** *

The owner of a private hosted zone that the specified VPC is associated with. * The owner can be either an Amazon Web Services account or an Amazon Web Services * service.

*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *

The owner of a private hosted zone that the specified VPC is associated with. * The owner can be either an Amazon Web Services account or an Amazon Web Services * service.

*/ inline void SetOwner(const HostedZoneOwner& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *

The owner of a private hosted zone that the specified VPC is associated with. * The owner can be either an Amazon Web Services account or an Amazon Web Services * service.

*/ inline void SetOwner(HostedZoneOwner&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *

The owner of a private hosted zone that the specified VPC is associated with. * The owner can be either an Amazon Web Services account or an Amazon Web Services * service.

*/ inline HostedZoneSummary& WithOwner(const HostedZoneOwner& value) { SetOwner(value); return *this;} /** *

The owner of a private hosted zone that the specified VPC is associated with. * The owner can be either an Amazon Web Services account or an Amazon Web Services * service.

*/ inline HostedZoneSummary& WithOwner(HostedZoneOwner&& value) { SetOwner(std::move(value)); return *this;} private: Aws::String m_hostedZoneId; bool m_hostedZoneIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; HostedZoneOwner m_owner; bool m_ownerHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws