/** * 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 Http { class URI; } //namespace Http namespace Route53 { namespace Model { /** *

A complex type that contains information about that can be associated with * your hosted zone.

See Also:

AWS * API Reference

*/ class ListVPCAssociationAuthorizationsRequest : public Route53Request { public: AWS_ROUTE53_API ListVPCAssociationAuthorizationsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListVPCAssociationAuthorizations"; } AWS_ROUTE53_API Aws::String SerializePayload() const override; AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The ID of the hosted zone for which you want a list of VPCs that can be * associated with the hosted zone.

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

The ID of the hosted zone for which you want a list of VPCs that can be * associated with the hosted zone.

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

The ID of the hosted zone for which you want a list of VPCs that can be * associated with the hosted zone.

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

The ID of the hosted zone for which you want a list of VPCs that can be * associated with the hosted zone.

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

The ID of the hosted zone for which you want a list of VPCs that can be * associated with the hosted zone.

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

The ID of the hosted zone for which you want a list of VPCs that can be * associated with the hosted zone.

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

The ID of the hosted zone for which you want a list of VPCs that can be * associated with the hosted zone.

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

The ID of the hosted zone for which you want a list of VPCs that can be * associated with the hosted zone.

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

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

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

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

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

Optional: An integer that specifies the maximum number of VPCs that * you want Amazon Route 53 to return. If you don't specify a value for * MaxResults, Route 53 returns up to 50 VPCs per page.

*/ inline const Aws::String& GetMaxResults() const{ return m_maxResults; } /** *

Optional: An integer that specifies the maximum number of VPCs that * you want Amazon Route 53 to return. If you don't specify a value for * MaxResults, Route 53 returns up to 50 VPCs per page.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

Optional: An integer that specifies the maximum number of VPCs that * you want Amazon Route 53 to return. If you don't specify a value for * MaxResults, Route 53 returns up to 50 VPCs per page.

*/ inline void SetMaxResults(const Aws::String& value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

Optional: An integer that specifies the maximum number of VPCs that * you want Amazon Route 53 to return. If you don't specify a value for * MaxResults, Route 53 returns up to 50 VPCs per page.

*/ inline void SetMaxResults(Aws::String&& value) { m_maxResultsHasBeenSet = true; m_maxResults = std::move(value); } /** *

Optional: An integer that specifies the maximum number of VPCs that * you want Amazon Route 53 to return. If you don't specify a value for * MaxResults, Route 53 returns up to 50 VPCs per page.

*/ inline void SetMaxResults(const char* value) { m_maxResultsHasBeenSet = true; m_maxResults.assign(value); } /** *

Optional: An integer that specifies the maximum number of VPCs that * you want Amazon Route 53 to return. If you don't specify a value for * MaxResults, Route 53 returns up to 50 VPCs per page.

*/ inline ListVPCAssociationAuthorizationsRequest& WithMaxResults(const Aws::String& value) { SetMaxResults(value); return *this;} /** *

Optional: An integer that specifies the maximum number of VPCs that * you want Amazon Route 53 to return. If you don't specify a value for * MaxResults, Route 53 returns up to 50 VPCs per page.

*/ inline ListVPCAssociationAuthorizationsRequest& WithMaxResults(Aws::String&& value) { SetMaxResults(std::move(value)); return *this;} /** *

Optional: An integer that specifies the maximum number of VPCs that * you want Amazon Route 53 to return. If you don't specify a value for * MaxResults, Route 53 returns up to 50 VPCs per page.

*/ inline ListVPCAssociationAuthorizationsRequest& WithMaxResults(const char* value) { SetMaxResults(value); return *this;} private: Aws::String m_hostedZoneId; bool m_hostedZoneIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws