/** * 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 get a list of geographic locations that Amazon Route 53 supports * for geolocation resource record sets.

See Also:

AWS * API Reference

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

The code for the continent with which you want to start listing locations * that Amazon Route 53 supports for geolocation. If Route 53 has already returned * a page or more of results, if IsTruncated is true, and if * NextContinentCode from the previous response has a value, enter * that value in startcontinentcode to return the next page of * results.

Include startcontinentcode only if you want to list * continents. Don't include startcontinentcode when you're listing * countries or countries with their subdivisions.

*/ inline const Aws::String& GetStartContinentCode() const{ return m_startContinentCode; } /** *

The code for the continent with which you want to start listing locations * that Amazon Route 53 supports for geolocation. If Route 53 has already returned * a page or more of results, if IsTruncated is true, and if * NextContinentCode from the previous response has a value, enter * that value in startcontinentcode to return the next page of * results.

Include startcontinentcode only if you want to list * continents. Don't include startcontinentcode when you're listing * countries or countries with their subdivisions.

*/ inline bool StartContinentCodeHasBeenSet() const { return m_startContinentCodeHasBeenSet; } /** *

The code for the continent with which you want to start listing locations * that Amazon Route 53 supports for geolocation. If Route 53 has already returned * a page or more of results, if IsTruncated is true, and if * NextContinentCode from the previous response has a value, enter * that value in startcontinentcode to return the next page of * results.

Include startcontinentcode only if you want to list * continents. Don't include startcontinentcode when you're listing * countries or countries with their subdivisions.

*/ inline void SetStartContinentCode(const Aws::String& value) { m_startContinentCodeHasBeenSet = true; m_startContinentCode = value; } /** *

The code for the continent with which you want to start listing locations * that Amazon Route 53 supports for geolocation. If Route 53 has already returned * a page or more of results, if IsTruncated is true, and if * NextContinentCode from the previous response has a value, enter * that value in startcontinentcode to return the next page of * results.

Include startcontinentcode only if you want to list * continents. Don't include startcontinentcode when you're listing * countries or countries with their subdivisions.

*/ inline void SetStartContinentCode(Aws::String&& value) { m_startContinentCodeHasBeenSet = true; m_startContinentCode = std::move(value); } /** *

The code for the continent with which you want to start listing locations * that Amazon Route 53 supports for geolocation. If Route 53 has already returned * a page or more of results, if IsTruncated is true, and if * NextContinentCode from the previous response has a value, enter * that value in startcontinentcode to return the next page of * results.

Include startcontinentcode only if you want to list * continents. Don't include startcontinentcode when you're listing * countries or countries with their subdivisions.

*/ inline void SetStartContinentCode(const char* value) { m_startContinentCodeHasBeenSet = true; m_startContinentCode.assign(value); } /** *

The code for the continent with which you want to start listing locations * that Amazon Route 53 supports for geolocation. If Route 53 has already returned * a page or more of results, if IsTruncated is true, and if * NextContinentCode from the previous response has a value, enter * that value in startcontinentcode to return the next page of * results.

Include startcontinentcode only if you want to list * continents. Don't include startcontinentcode when you're listing * countries or countries with their subdivisions.

*/ inline ListGeoLocationsRequest& WithStartContinentCode(const Aws::String& value) { SetStartContinentCode(value); return *this;} /** *

The code for the continent with which you want to start listing locations * that Amazon Route 53 supports for geolocation. If Route 53 has already returned * a page or more of results, if IsTruncated is true, and if * NextContinentCode from the previous response has a value, enter * that value in startcontinentcode to return the next page of * results.

Include startcontinentcode only if you want to list * continents. Don't include startcontinentcode when you're listing * countries or countries with their subdivisions.

*/ inline ListGeoLocationsRequest& WithStartContinentCode(Aws::String&& value) { SetStartContinentCode(std::move(value)); return *this;} /** *

The code for the continent with which you want to start listing locations * that Amazon Route 53 supports for geolocation. If Route 53 has already returned * a page or more of results, if IsTruncated is true, and if * NextContinentCode from the previous response has a value, enter * that value in startcontinentcode to return the next page of * results.

Include startcontinentcode only if you want to list * continents. Don't include startcontinentcode when you're listing * countries or countries with their subdivisions.

*/ inline ListGeoLocationsRequest& WithStartContinentCode(const char* value) { SetStartContinentCode(value); return *this;} /** *

The code for the country with which you want to start listing locations that * Amazon Route 53 supports for geolocation. If Route 53 has already returned a * page or more of results, if IsTruncated is true, and * if NextCountryCode from the previous response has a value, enter * that value in startcountrycode to return the next page of * results.

*/ inline const Aws::String& GetStartCountryCode() const{ return m_startCountryCode; } /** *

The code for the country with which you want to start listing locations that * Amazon Route 53 supports for geolocation. If Route 53 has already returned a * page or more of results, if IsTruncated is true, and * if NextCountryCode from the previous response has a value, enter * that value in startcountrycode to return the next page of * results.

*/ inline bool StartCountryCodeHasBeenSet() const { return m_startCountryCodeHasBeenSet; } /** *

The code for the country with which you want to start listing locations that * Amazon Route 53 supports for geolocation. If Route 53 has already returned a * page or more of results, if IsTruncated is true, and * if NextCountryCode from the previous response has a value, enter * that value in startcountrycode to return the next page of * results.

*/ inline void SetStartCountryCode(const Aws::String& value) { m_startCountryCodeHasBeenSet = true; m_startCountryCode = value; } /** *

The code for the country with which you want to start listing locations that * Amazon Route 53 supports for geolocation. If Route 53 has already returned a * page or more of results, if IsTruncated is true, and * if NextCountryCode from the previous response has a value, enter * that value in startcountrycode to return the next page of * results.

*/ inline void SetStartCountryCode(Aws::String&& value) { m_startCountryCodeHasBeenSet = true; m_startCountryCode = std::move(value); } /** *

The code for the country with which you want to start listing locations that * Amazon Route 53 supports for geolocation. If Route 53 has already returned a * page or more of results, if IsTruncated is true, and * if NextCountryCode from the previous response has a value, enter * that value in startcountrycode to return the next page of * results.

*/ inline void SetStartCountryCode(const char* value) { m_startCountryCodeHasBeenSet = true; m_startCountryCode.assign(value); } /** *

The code for the country with which you want to start listing locations that * Amazon Route 53 supports for geolocation. If Route 53 has already returned a * page or more of results, if IsTruncated is true, and * if NextCountryCode from the previous response has a value, enter * that value in startcountrycode to return the next page of * results.

*/ inline ListGeoLocationsRequest& WithStartCountryCode(const Aws::String& value) { SetStartCountryCode(value); return *this;} /** *

The code for the country with which you want to start listing locations that * Amazon Route 53 supports for geolocation. If Route 53 has already returned a * page or more of results, if IsTruncated is true, and * if NextCountryCode from the previous response has a value, enter * that value in startcountrycode to return the next page of * results.

*/ inline ListGeoLocationsRequest& WithStartCountryCode(Aws::String&& value) { SetStartCountryCode(std::move(value)); return *this;} /** *

The code for the country with which you want to start listing locations that * Amazon Route 53 supports for geolocation. If Route 53 has already returned a * page or more of results, if IsTruncated is true, and * if NextCountryCode from the previous response has a value, enter * that value in startcountrycode to return the next page of * results.

*/ inline ListGeoLocationsRequest& WithStartCountryCode(const char* value) { SetStartCountryCode(value); return *this;} /** *

The code for the state of the United States with which you want to start * listing locations that Amazon Route 53 supports for geolocation. If Route 53 has * already returned a page or more of results, if IsTruncated is * true, and if NextSubdivisionCode from the previous * response has a value, enter that value in startsubdivisioncode to * return the next page of results.

To list subdivisions (U.S. states), you * must include both startcountrycode and * startsubdivisioncode.

*/ inline const Aws::String& GetStartSubdivisionCode() const{ return m_startSubdivisionCode; } /** *

The code for the state of the United States with which you want to start * listing locations that Amazon Route 53 supports for geolocation. If Route 53 has * already returned a page or more of results, if IsTruncated is * true, and if NextSubdivisionCode from the previous * response has a value, enter that value in startsubdivisioncode to * return the next page of results.

To list subdivisions (U.S. states), you * must include both startcountrycode and * startsubdivisioncode.

*/ inline bool StartSubdivisionCodeHasBeenSet() const { return m_startSubdivisionCodeHasBeenSet; } /** *

The code for the state of the United States with which you want to start * listing locations that Amazon Route 53 supports for geolocation. If Route 53 has * already returned a page or more of results, if IsTruncated is * true, and if NextSubdivisionCode from the previous * response has a value, enter that value in startsubdivisioncode to * return the next page of results.

To list subdivisions (U.S. states), you * must include both startcountrycode and * startsubdivisioncode.

*/ inline void SetStartSubdivisionCode(const Aws::String& value) { m_startSubdivisionCodeHasBeenSet = true; m_startSubdivisionCode = value; } /** *

The code for the state of the United States with which you want to start * listing locations that Amazon Route 53 supports for geolocation. If Route 53 has * already returned a page or more of results, if IsTruncated is * true, and if NextSubdivisionCode from the previous * response has a value, enter that value in startsubdivisioncode to * return the next page of results.

To list subdivisions (U.S. states), you * must include both startcountrycode and * startsubdivisioncode.

*/ inline void SetStartSubdivisionCode(Aws::String&& value) { m_startSubdivisionCodeHasBeenSet = true; m_startSubdivisionCode = std::move(value); } /** *

The code for the state of the United States with which you want to start * listing locations that Amazon Route 53 supports for geolocation. If Route 53 has * already returned a page or more of results, if IsTruncated is * true, and if NextSubdivisionCode from the previous * response has a value, enter that value in startsubdivisioncode to * return the next page of results.

To list subdivisions (U.S. states), you * must include both startcountrycode and * startsubdivisioncode.

*/ inline void SetStartSubdivisionCode(const char* value) { m_startSubdivisionCodeHasBeenSet = true; m_startSubdivisionCode.assign(value); } /** *

The code for the state of the United States with which you want to start * listing locations that Amazon Route 53 supports for geolocation. If Route 53 has * already returned a page or more of results, if IsTruncated is * true, and if NextSubdivisionCode from the previous * response has a value, enter that value in startsubdivisioncode to * return the next page of results.

To list subdivisions (U.S. states), you * must include both startcountrycode and * startsubdivisioncode.

*/ inline ListGeoLocationsRequest& WithStartSubdivisionCode(const Aws::String& value) { SetStartSubdivisionCode(value); return *this;} /** *

The code for the state of the United States with which you want to start * listing locations that Amazon Route 53 supports for geolocation. If Route 53 has * already returned a page or more of results, if IsTruncated is * true, and if NextSubdivisionCode from the previous * response has a value, enter that value in startsubdivisioncode to * return the next page of results.

To list subdivisions (U.S. states), you * must include both startcountrycode and * startsubdivisioncode.

*/ inline ListGeoLocationsRequest& WithStartSubdivisionCode(Aws::String&& value) { SetStartSubdivisionCode(std::move(value)); return *this;} /** *

The code for the state of the United States with which you want to start * listing locations that Amazon Route 53 supports for geolocation. If Route 53 has * already returned a page or more of results, if IsTruncated is * true, and if NextSubdivisionCode from the previous * response has a value, enter that value in startsubdivisioncode to * return the next page of results.

To list subdivisions (U.S. states), you * must include both startcountrycode and * startsubdivisioncode.

*/ inline ListGeoLocationsRequest& WithStartSubdivisionCode(const char* value) { SetStartSubdivisionCode(value); return *this;} /** *

(Optional) The maximum number of geolocations to be included in the response * body for this request. If more than maxitems geolocations remain to * be listed, then the value of the IsTruncated element in the * response is true.

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

(Optional) The maximum number of geolocations to be included in the response * body for this request. If more than maxitems geolocations remain to * be listed, then the value of the IsTruncated element in the * response is true.

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

(Optional) The maximum number of geolocations to be included in the response * body for this request. If more than maxitems geolocations remain to * be listed, then the value of the IsTruncated element in the * response is true.

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

(Optional) The maximum number of geolocations to be included in the response * body for this request. If more than maxitems geolocations remain to * be listed, then the value of the IsTruncated element in the * response is true.

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

(Optional) The maximum number of geolocations to be included in the response * body for this request. If more than maxitems geolocations remain to * be listed, then the value of the IsTruncated element in the * response is true.

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

(Optional) The maximum number of geolocations to be included in the response * body for this request. If more than maxitems geolocations remain to * be listed, then the value of the IsTruncated element in the * response is true.

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

(Optional) The maximum number of geolocations to be included in the response * body for this request. If more than maxitems geolocations remain to * be listed, then the value of the IsTruncated element in the * response is true.

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

(Optional) The maximum number of geolocations to be included in the response * body for this request. If more than maxitems geolocations remain to * be listed, then the value of the IsTruncated element in the * response is true.

*/ inline ListGeoLocationsRequest& WithMaxItems(const char* value) { SetMaxItems(value); return *this;} private: Aws::String m_startContinentCode; bool m_startContinentCodeHasBeenSet = false; Aws::String m_startCountryCode; bool m_startCountryCodeHasBeenSet = false; Aws::String m_startSubdivisionCode; bool m_startSubdivisionCodeHasBeenSet = false; Aws::String m_maxItems; bool m_maxItemsHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws