/** * 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 containing the response information for the * request.

See Also:

AWS * API Reference

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

A complex type that contains one GeoLocationDetails element for * each location that Amazon Route 53 supports for geolocation.

*/ inline const Aws::Vector& GetGeoLocationDetailsList() const{ return m_geoLocationDetailsList; } /** *

A complex type that contains one GeoLocationDetails element for * each location that Amazon Route 53 supports for geolocation.

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

A complex type that contains one GeoLocationDetails element for * each location that Amazon Route 53 supports for geolocation.

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

A complex type that contains one GeoLocationDetails element for * each location that Amazon Route 53 supports for geolocation.

*/ inline ListGeoLocationsResult& WithGeoLocationDetailsList(const Aws::Vector& value) { SetGeoLocationDetailsList(value); return *this;} /** *

A complex type that contains one GeoLocationDetails element for * each location that Amazon Route 53 supports for geolocation.

*/ inline ListGeoLocationsResult& WithGeoLocationDetailsList(Aws::Vector&& value) { SetGeoLocationDetailsList(std::move(value)); return *this;} /** *

A complex type that contains one GeoLocationDetails element for * each location that Amazon Route 53 supports for geolocation.

*/ inline ListGeoLocationsResult& AddGeoLocationDetailsList(const GeoLocationDetails& value) { m_geoLocationDetailsList.push_back(value); return *this; } /** *

A complex type that contains one GeoLocationDetails element for * each location that Amazon Route 53 supports for geolocation.

*/ inline ListGeoLocationsResult& AddGeoLocationDetailsList(GeoLocationDetails&& value) { m_geoLocationDetailsList.push_back(std::move(value)); return *this; } /** *

A value that indicates whether more locations remain to be listed after the * last location in this response. If so, the value of IsTruncated is * true. To get more values, submit another request and include the * values of NextContinentCode, NextCountryCode, and * NextSubdivisionCode in the startcontinentcode, * startcountrycode, and startsubdivisioncode, as * applicable.

*/ inline bool GetIsTruncated() const{ return m_isTruncated; } /** *

A value that indicates whether more locations remain to be listed after the * last location in this response. If so, the value of IsTruncated is * true. To get more values, submit another request and include the * values of NextContinentCode, NextCountryCode, and * NextSubdivisionCode in the startcontinentcode, * startcountrycode, and startsubdivisioncode, as * applicable.

*/ inline void SetIsTruncated(bool value) { m_isTruncated = value; } /** *

A value that indicates whether more locations remain to be listed after the * last location in this response. If so, the value of IsTruncated is * true. To get more values, submit another request and include the * values of NextContinentCode, NextCountryCode, and * NextSubdivisionCode in the startcontinentcode, * startcountrycode, and startsubdivisioncode, as * applicable.

*/ inline ListGeoLocationsResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;} /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextContinentCode in the startcontinentcode parameter * in another ListGeoLocations request.

*/ inline const Aws::String& GetNextContinentCode() const{ return m_nextContinentCode; } /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextContinentCode in the startcontinentcode parameter * in another ListGeoLocations request.

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

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextContinentCode in the startcontinentcode parameter * in another ListGeoLocations request.

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

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextContinentCode in the startcontinentcode parameter * in another ListGeoLocations request.

*/ inline void SetNextContinentCode(const char* value) { m_nextContinentCode.assign(value); } /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextContinentCode in the startcontinentcode parameter * in another ListGeoLocations request.

*/ inline ListGeoLocationsResult& WithNextContinentCode(const Aws::String& value) { SetNextContinentCode(value); return *this;} /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextContinentCode in the startcontinentcode parameter * in another ListGeoLocations request.

*/ inline ListGeoLocationsResult& WithNextContinentCode(Aws::String&& value) { SetNextContinentCode(std::move(value)); return *this;} /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextContinentCode in the startcontinentcode parameter * in another ListGeoLocations request.

*/ inline ListGeoLocationsResult& WithNextContinentCode(const char* value) { SetNextContinentCode(value); return *this;} /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextCountryCode in the startcountrycode parameter in * another ListGeoLocations request.

*/ inline const Aws::String& GetNextCountryCode() const{ return m_nextCountryCode; } /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextCountryCode in the startcountrycode parameter in * another ListGeoLocations request.

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

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextCountryCode in the startcountrycode parameter in * another ListGeoLocations request.

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

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextCountryCode in the startcountrycode parameter in * another ListGeoLocations request.

*/ inline void SetNextCountryCode(const char* value) { m_nextCountryCode.assign(value); } /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextCountryCode in the startcountrycode parameter in * another ListGeoLocations request.

*/ inline ListGeoLocationsResult& WithNextCountryCode(const Aws::String& value) { SetNextCountryCode(value); return *this;} /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextCountryCode in the startcountrycode parameter in * another ListGeoLocations request.

*/ inline ListGeoLocationsResult& WithNextCountryCode(Aws::String&& value) { SetNextCountryCode(std::move(value)); return *this;} /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextCountryCode in the startcountrycode parameter in * another ListGeoLocations request.

*/ inline ListGeoLocationsResult& WithNextCountryCode(const char* value) { SetNextCountryCode(value); return *this;} /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextSubdivisionCode in the startsubdivisioncode * parameter in another ListGeoLocations request.

*/ inline const Aws::String& GetNextSubdivisionCode() const{ return m_nextSubdivisionCode; } /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextSubdivisionCode in the startsubdivisioncode * parameter in another ListGeoLocations request.

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

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextSubdivisionCode in the startsubdivisioncode * parameter in another ListGeoLocations request.

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

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextSubdivisionCode in the startsubdivisioncode * parameter in another ListGeoLocations request.

*/ inline void SetNextSubdivisionCode(const char* value) { m_nextSubdivisionCode.assign(value); } /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextSubdivisionCode in the startsubdivisioncode * parameter in another ListGeoLocations request.

*/ inline ListGeoLocationsResult& WithNextSubdivisionCode(const Aws::String& value) { SetNextSubdivisionCode(value); return *this;} /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextSubdivisionCode in the startsubdivisioncode * parameter in another ListGeoLocations request.

*/ inline ListGeoLocationsResult& WithNextSubdivisionCode(Aws::String&& value) { SetNextSubdivisionCode(std::move(value)); return *this;} /** *

If IsTruncated is true, you can make a follow-up * request to display more locations. Enter the value of * NextSubdivisionCode in the startsubdivisioncode * parameter in another ListGeoLocations request.

*/ inline ListGeoLocationsResult& WithNextSubdivisionCode(const char* value) { SetNextSubdivisionCode(value); return *this;} /** *

The value that you specified for MaxItems in the request.

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

The value that you specified for MaxItems in the request.

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

The value that you specified for MaxItems in the request.

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

The value that you specified for MaxItems in the request.

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

The value that you specified for MaxItems in the request.

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

The value that you specified for MaxItems in the request.

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

The value that you specified for MaxItems in the request.

*/ inline ListGeoLocationsResult& WithMaxItems(const char* value) { SetMaxItems(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 ListGeoLocationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListGeoLocationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListGeoLocationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_geoLocationDetailsList; bool m_isTruncated; Aws::String m_nextContinentCode; Aws::String m_nextCountryCode; Aws::String m_nextSubdivisionCode; Aws::String m_maxItems; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws