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

See Also:

AWS * API Reference

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

The ID of the hosted zone that you can associate the listed VPCs with.

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

The ID of the hosted zone that you can associate the listed VPCs with.

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

The ID of the hosted zone that you can associate the listed VPCs with.

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

The ID of the hosted zone that you can associate the listed VPCs with.

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

The ID of the hosted zone that you can associate the listed VPCs with.

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

The ID of the hosted zone that you can associate the listed VPCs with.

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

The ID of the hosted zone that you can associate the listed VPCs with.

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

When the response includes a NextToken element, there are more * VPCs that can be associated with the specified hosted zone. To get the next page * of VPCs, submit another ListVPCAssociationAuthorizations request, * and include the value of the NextToken element from the response in * the nexttoken request parameter.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

When the response includes a NextToken element, there are more * VPCs that can be associated with the specified hosted zone. To get the next page * of VPCs, submit another ListVPCAssociationAuthorizations request, * and include the value of the NextToken element from the response in * the nexttoken request parameter.

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

When the response includes a NextToken element, there are more * VPCs that can be associated with the specified hosted zone. To get the next page * of VPCs, submit another ListVPCAssociationAuthorizations request, * and include the value of the NextToken element from the response in * the nexttoken request parameter.

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

When the response includes a NextToken element, there are more * VPCs that can be associated with the specified hosted zone. To get the next page * of VPCs, submit another ListVPCAssociationAuthorizations request, * and include the value of the NextToken element from the response in * the nexttoken request parameter.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

When the response includes a NextToken element, there are more * VPCs that can be associated with the specified hosted zone. To get the next page * of VPCs, submit another ListVPCAssociationAuthorizations request, * and include the value of the NextToken element from the response in * the nexttoken request parameter.

*/ inline ListVPCAssociationAuthorizationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

When the response includes a NextToken element, there are more * VPCs that can be associated with the specified hosted zone. To get the next page * of VPCs, submit another ListVPCAssociationAuthorizations request, * and include the value of the NextToken element from the response in * the nexttoken request parameter.

*/ inline ListVPCAssociationAuthorizationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

When the response includes a NextToken element, there are more * VPCs that can be associated with the specified hosted zone. To get the next page * of VPCs, submit another ListVPCAssociationAuthorizations request, * and include the value of the NextToken element from the response in * the nexttoken request parameter.

*/ inline ListVPCAssociationAuthorizationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The list of VPCs that are authorized to be associated with the specified * hosted zone.

*/ inline const Aws::Vector& GetVPCs() const{ return m_vPCs; } /** *

The list of VPCs that are authorized to be associated with the specified * hosted zone.

*/ inline void SetVPCs(const Aws::Vector& value) { m_vPCs = value; } /** *

The list of VPCs that are authorized to be associated with the specified * hosted zone.

*/ inline void SetVPCs(Aws::Vector&& value) { m_vPCs = std::move(value); } /** *

The list of VPCs that are authorized to be associated with the specified * hosted zone.

*/ inline ListVPCAssociationAuthorizationsResult& WithVPCs(const Aws::Vector& value) { SetVPCs(value); return *this;} /** *

The list of VPCs that are authorized to be associated with the specified * hosted zone.

*/ inline ListVPCAssociationAuthorizationsResult& WithVPCs(Aws::Vector&& value) { SetVPCs(std::move(value)); return *this;} /** *

The list of VPCs that are authorized to be associated with the specified * hosted zone.

*/ inline ListVPCAssociationAuthorizationsResult& AddVPCs(const VPC& value) { m_vPCs.push_back(value); return *this; } /** *

The list of VPCs that are authorized to be associated with the specified * hosted zone.

*/ inline ListVPCAssociationAuthorizationsResult& AddVPCs(VPC&& value) { m_vPCs.push_back(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 ListVPCAssociationAuthorizationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListVPCAssociationAuthorizationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListVPCAssociationAuthorizationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_hostedZoneId; Aws::String m_nextToken; Aws::Vector m_vPCs; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws