/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 that contains the response information from a * CreateVPCAssociationAuthorization request.

See Also:

* AWS * API Reference

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

The ID of the hosted zone that you authorized associating a VPC with.

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

The ID of the hosted zone that you authorized associating a VPC with.

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

The ID of the hosted zone that you authorized associating a VPC with.

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

The ID of the hosted zone that you authorized associating a VPC with.

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

The ID of the hosted zone that you authorized associating a VPC with.

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

The ID of the hosted zone that you authorized associating a VPC with.

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

The ID of the hosted zone that you authorized associating a VPC with.

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

The VPC that you authorized associating with a hosted zone.

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

The VPC that you authorized associating with a hosted zone.

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

The VPC that you authorized associating with a hosted zone.

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

The VPC that you authorized associating with a hosted zone.

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

The VPC that you authorized associating with a hosted zone.

*/ inline CreateVPCAssociationAuthorizationResult& WithVPC(VPC&& value) { SetVPC(std::move(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 CreateVPCAssociationAuthorizationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateVPCAssociationAuthorizationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateVPCAssociationAuthorizationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_hostedZoneId; VPC m_vPC; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws