/** * 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 { class ListHostedZonesByVPCResult { public: AWS_ROUTE53_API ListHostedZonesByVPCResult(); AWS_ROUTE53_API ListHostedZonesByVPCResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53_API ListHostedZonesByVPCResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list that 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.

*/ inline const Aws::Vector& GetHostedZoneSummaries() const{ return m_hostedZoneSummaries; } /** *

A list that 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.

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

A list that 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.

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

A list that 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.

*/ inline ListHostedZonesByVPCResult& WithHostedZoneSummaries(const Aws::Vector& value) { SetHostedZoneSummaries(value); return *this;} /** *

A list that 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.

*/ inline ListHostedZonesByVPCResult& WithHostedZoneSummaries(Aws::Vector&& value) { SetHostedZoneSummaries(std::move(value)); return *this;} /** *

A list that 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.

*/ inline ListHostedZonesByVPCResult& AddHostedZoneSummaries(const HostedZoneSummary& value) { m_hostedZoneSummaries.push_back(value); return *this; } /** *

A list that 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.

*/ inline ListHostedZonesByVPCResult& AddHostedZoneSummaries(HostedZoneSummary&& value) { m_hostedZoneSummaries.push_back(std::move(value)); return *this; } /** *

The value that you specified for MaxItems in the most recent * ListHostedZonesByVPC request.

*/ inline const Aws::String& GetMaxItems() const{ return m_maxItems; } /** *

The value that you specified for MaxItems in the most recent * ListHostedZonesByVPC request.

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

The value that you specified for MaxItems in the most recent * ListHostedZonesByVPC request.

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

The value that you specified for MaxItems in the most recent * ListHostedZonesByVPC request.

*/ inline void SetMaxItems(const char* value) { m_maxItems.assign(value); } /** *

The value that you specified for MaxItems in the most recent * ListHostedZonesByVPC request.

*/ inline ListHostedZonesByVPCResult& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;} /** *

The value that you specified for MaxItems in the most recent * ListHostedZonesByVPC request.

*/ inline ListHostedZonesByVPCResult& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;} /** *

The value that you specified for MaxItems in the most recent * ListHostedZonesByVPC request.

*/ inline ListHostedZonesByVPCResult& WithMaxItems(const char* value) { SetMaxItems(value); return *this;} /** *

The value that you will use for NextToken in the next * ListHostedZonesByVPC request.

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

The value that you will use for NextToken in the next * ListHostedZonesByVPC request.

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

The value that you will use for NextToken in the next * ListHostedZonesByVPC request.

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

The value that you will use for NextToken in the next * ListHostedZonesByVPC request.

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

The value that you will use for NextToken in the next * ListHostedZonesByVPC request.

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

The value that you will use for NextToken in the next * ListHostedZonesByVPC request.

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

The value that you will use for NextToken in the next * ListHostedZonesByVPC request.

*/ inline ListHostedZonesByVPCResult& WithNextToken(const char* value) { SetNextToken(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 ListHostedZonesByVPCResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListHostedZonesByVPCResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListHostedZonesByVPCResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_hostedZoneSummaries; Aws::String m_maxItems; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws