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

A complex type containing the response information for the hosted * zone.

See Also:

AWS * API Reference

*/ class CreateHostedZoneResult { public: AWS_ROUTE53_API CreateHostedZoneResult(); AWS_ROUTE53_API CreateHostedZoneResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53_API CreateHostedZoneResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A complex type that contains general information about the hosted zone.

*/ inline const HostedZone& GetHostedZone() const{ return m_hostedZone; } /** *

A complex type that contains general information about the hosted zone.

*/ inline void SetHostedZone(const HostedZone& value) { m_hostedZone = value; } /** *

A complex type that contains general information about the hosted zone.

*/ inline void SetHostedZone(HostedZone&& value) { m_hostedZone = std::move(value); } /** *

A complex type that contains general information about the hosted zone.

*/ inline CreateHostedZoneResult& WithHostedZone(const HostedZone& value) { SetHostedZone(value); return *this;} /** *

A complex type that contains general information about the hosted zone.

*/ inline CreateHostedZoneResult& WithHostedZone(HostedZone&& value) { SetHostedZone(std::move(value)); return *this;} /** *

A complex type that contains information about the * CreateHostedZone request.

*/ inline const ChangeInfo& GetChangeInfo() const{ return m_changeInfo; } /** *

A complex type that contains information about the * CreateHostedZone request.

*/ inline void SetChangeInfo(const ChangeInfo& value) { m_changeInfo = value; } /** *

A complex type that contains information about the * CreateHostedZone request.

*/ inline void SetChangeInfo(ChangeInfo&& value) { m_changeInfo = std::move(value); } /** *

A complex type that contains information about the * CreateHostedZone request.

*/ inline CreateHostedZoneResult& WithChangeInfo(const ChangeInfo& value) { SetChangeInfo(value); return *this;} /** *

A complex type that contains information about the * CreateHostedZone request.

*/ inline CreateHostedZoneResult& WithChangeInfo(ChangeInfo&& value) { SetChangeInfo(std::move(value)); return *this;} /** *

A complex type that describes the name servers for this hosted zone.

*/ inline const DelegationSet& GetDelegationSet() const{ return m_delegationSet; } /** *

A complex type that describes the name servers for this hosted zone.

*/ inline void SetDelegationSet(const DelegationSet& value) { m_delegationSet = value; } /** *

A complex type that describes the name servers for this hosted zone.

*/ inline void SetDelegationSet(DelegationSet&& value) { m_delegationSet = std::move(value); } /** *

A complex type that describes the name servers for this hosted zone.

*/ inline CreateHostedZoneResult& WithDelegationSet(const DelegationSet& value) { SetDelegationSet(value); return *this;} /** *

A complex type that describes the name servers for this hosted zone.

*/ inline CreateHostedZoneResult& WithDelegationSet(DelegationSet&& value) { SetDelegationSet(std::move(value)); return *this;} /** *

A complex type that contains information about an Amazon VPC that you * associated with this hosted zone.

*/ inline const VPC& GetVPC() const{ return m_vPC; } /** *

A complex type that contains information about an Amazon VPC that you * associated with this hosted zone.

*/ inline void SetVPC(const VPC& value) { m_vPC = value; } /** *

A complex type that contains information about an Amazon VPC that you * associated with this hosted zone.

*/ inline void SetVPC(VPC&& value) { m_vPC = std::move(value); } /** *

A complex type that contains information about an Amazon VPC that you * associated with this hosted zone.

*/ inline CreateHostedZoneResult& WithVPC(const VPC& value) { SetVPC(value); return *this;} /** *

A complex type that contains information about an Amazon VPC that you * associated with this hosted zone.

*/ inline CreateHostedZoneResult& WithVPC(VPC&& value) { SetVPC(std::move(value)); return *this;} /** *

The unique URL representing the new hosted zone.

*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *

The unique URL representing the new hosted zone.

*/ inline void SetLocation(const Aws::String& value) { m_location = value; } /** *

The unique URL representing the new hosted zone.

*/ inline void SetLocation(Aws::String&& value) { m_location = std::move(value); } /** *

The unique URL representing the new hosted zone.

*/ inline void SetLocation(const char* value) { m_location.assign(value); } /** *

The unique URL representing the new hosted zone.

*/ inline CreateHostedZoneResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *

The unique URL representing the new hosted zone.

*/ inline CreateHostedZoneResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *

The unique URL representing the new hosted zone.

*/ inline CreateHostedZoneResult& WithLocation(const char* value) { SetLocation(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateHostedZoneResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateHostedZoneResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateHostedZoneResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: HostedZone m_hostedZone; ChangeInfo m_changeInfo; DelegationSet m_delegationSet; VPC m_vPC; Aws::String m_location; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws