/** * 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 request to retrieve a list of the public and private hosted zones that are * associated with the current Amazon Web Services account.

See * Also:

AWS * API Reference

*/ class ListHostedZonesRequest : public Route53Request { public: AWS_ROUTE53_API ListHostedZonesRequest(); // 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 "ListHostedZones"; } AWS_ROUTE53_API Aws::String SerializePayload() const override; AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

If the value of IsTruncated in the previous response was * true, you have more hosted zones. To get more hosted zones, submit * another ListHostedZones request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first hosted zone that Amazon Route 53 * will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more hosted zones to get.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

If the value of IsTruncated in the previous response was * true, you have more hosted zones. To get more hosted zones, submit * another ListHostedZones request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first hosted zone that Amazon Route 53 * will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more hosted zones to get.

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

If the value of IsTruncated in the previous response was * true, you have more hosted zones. To get more hosted zones, submit * another ListHostedZones request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first hosted zone that Amazon Route 53 * will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more hosted zones to get.

*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *

If the value of IsTruncated in the previous response was * true, you have more hosted zones. To get more hosted zones, submit * another ListHostedZones request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first hosted zone that Amazon Route 53 * will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more hosted zones to get.

*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *

If the value of IsTruncated in the previous response was * true, you have more hosted zones. To get more hosted zones, submit * another ListHostedZones request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first hosted zone that Amazon Route 53 * will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more hosted zones to get.

*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *

If the value of IsTruncated in the previous response was * true, you have more hosted zones. To get more hosted zones, submit * another ListHostedZones request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first hosted zone that Amazon Route 53 * will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more hosted zones to get.

*/ inline ListHostedZonesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

If the value of IsTruncated in the previous response was * true, you have more hosted zones. To get more hosted zones, submit * another ListHostedZones request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first hosted zone that Amazon Route 53 * will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more hosted zones to get.

*/ inline ListHostedZonesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

If the value of IsTruncated in the previous response was * true, you have more hosted zones. To get more hosted zones, submit * another ListHostedZones request.

For the value of * marker, specify the value of NextMarker from the * previous response, which is the ID of the first hosted zone that Amazon Route 53 * will return if you submit another request.

If the value of * IsTruncated in the previous response was false, there * are no more hosted zones to get.

*/ inline ListHostedZonesRequest& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

(Optional) The maximum number of hosted zones that you want Amazon Route 53 * to return. If you have more than maxitems hosted zones, the value * of IsTruncated in the response is true, and the value * of NextMarker is the hosted zone ID of the first hosted zone that * Route 53 will return if you submit another request.

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

(Optional) The maximum number of hosted zones that you want Amazon Route 53 * to return. If you have more than maxitems hosted zones, the value * of IsTruncated in the response is true, and the value * of NextMarker is the hosted zone ID of the first hosted zone that * Route 53 will return if you submit another request.

*/ inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; } /** *

(Optional) The maximum number of hosted zones that you want Amazon Route 53 * to return. If you have more than maxitems hosted zones, the value * of IsTruncated in the response is true, and the value * of NextMarker is the hosted zone ID of the first hosted zone that * Route 53 will return if you submit another request.

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

(Optional) The maximum number of hosted zones that you want Amazon Route 53 * to return. If you have more than maxitems hosted zones, the value * of IsTruncated in the response is true, and the value * of NextMarker is the hosted zone ID of the first hosted zone that * Route 53 will return if you submit another request.

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

(Optional) The maximum number of hosted zones that you want Amazon Route 53 * to return. If you have more than maxitems hosted zones, the value * of IsTruncated in the response is true, and the value * of NextMarker is the hosted zone ID of the first hosted zone that * Route 53 will return if you submit another request.

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

(Optional) The maximum number of hosted zones that you want Amazon Route 53 * to return. If you have more than maxitems hosted zones, the value * of IsTruncated in the response is true, and the value * of NextMarker is the hosted zone ID of the first hosted zone that * Route 53 will return if you submit another request.

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

(Optional) The maximum number of hosted zones that you want Amazon Route 53 * to return. If you have more than maxitems hosted zones, the value * of IsTruncated in the response is true, and the value * of NextMarker is the hosted zone ID of the first hosted zone that * Route 53 will return if you submit another request.

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

(Optional) The maximum number of hosted zones that you want Amazon Route 53 * to return. If you have more than maxitems hosted zones, the value * of IsTruncated in the response is true, and the value * of NextMarker is the hosted zone ID of the first hosted zone that * Route 53 will return if you submit another request.

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

If you're using reusable delegation sets and you want to list all of the * hosted zones that are associated with a reusable delegation set, specify the ID * of that reusable delegation set.

*/ inline const Aws::String& GetDelegationSetId() const{ return m_delegationSetId; } /** *

If you're using reusable delegation sets and you want to list all of the * hosted zones that are associated with a reusable delegation set, specify the ID * of that reusable delegation set.

*/ inline bool DelegationSetIdHasBeenSet() const { return m_delegationSetIdHasBeenSet; } /** *

If you're using reusable delegation sets and you want to list all of the * hosted zones that are associated with a reusable delegation set, specify the ID * of that reusable delegation set.

*/ inline void SetDelegationSetId(const Aws::String& value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId = value; } /** *

If you're using reusable delegation sets and you want to list all of the * hosted zones that are associated with a reusable delegation set, specify the ID * of that reusable delegation set.

*/ inline void SetDelegationSetId(Aws::String&& value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId = std::move(value); } /** *

If you're using reusable delegation sets and you want to list all of the * hosted zones that are associated with a reusable delegation set, specify the ID * of that reusable delegation set.

*/ inline void SetDelegationSetId(const char* value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId.assign(value); } /** *

If you're using reusable delegation sets and you want to list all of the * hosted zones that are associated with a reusable delegation set, specify the ID * of that reusable delegation set.

*/ inline ListHostedZonesRequest& WithDelegationSetId(const Aws::String& value) { SetDelegationSetId(value); return *this;} /** *

If you're using reusable delegation sets and you want to list all of the * hosted zones that are associated with a reusable delegation set, specify the ID * of that reusable delegation set.

*/ inline ListHostedZonesRequest& WithDelegationSetId(Aws::String&& value) { SetDelegationSetId(std::move(value)); return *this;} /** *

If you're using reusable delegation sets and you want to list all of the * hosted zones that are associated with a reusable delegation set, specify the ID * of that reusable delegation set.

*/ inline ListHostedZonesRequest& WithDelegationSetId(const char* value) { SetDelegationSetId(value); return *this;} private: Aws::String m_marker; bool m_markerHasBeenSet = false; Aws::String m_maxItems; bool m_maxItemsHasBeenSet = false; Aws::String m_delegationSetId; bool m_delegationSetIdHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws