/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A request for information about whether a specified geographic location is
* supported for Amazon Route 53 geolocation resource record sets.See
* Also:
AWS
* API Reference
For geolocation resource record sets, a two-letter abbreviation that * identifies a continent. Amazon Route 53 supports the following continent * codes:
AF: Africa
AN: * Antarctica
AS: Asia
EU: * Europe
OC: Oceania
NA: North * America
SA: South America
For geolocation resource record sets, a two-letter abbreviation that * identifies a continent. Amazon Route 53 supports the following continent * codes:
AF: Africa
AN: * Antarctica
AS: Asia
EU: * Europe
OC: Oceania
NA: North * America
SA: South America
For geolocation resource record sets, a two-letter abbreviation that * identifies a continent. Amazon Route 53 supports the following continent * codes:
AF: Africa
AN: * Antarctica
AS: Asia
EU: * Europe
OC: Oceania
NA: North * America
SA: South America
For geolocation resource record sets, a two-letter abbreviation that * identifies a continent. Amazon Route 53 supports the following continent * codes:
AF: Africa
AN: * Antarctica
AS: Asia
EU: * Europe
OC: Oceania
NA: North * America
SA: South America
For geolocation resource record sets, a two-letter abbreviation that * identifies a continent. Amazon Route 53 supports the following continent * codes:
AF: Africa
AN: * Antarctica
AS: Asia
EU: * Europe
OC: Oceania
NA: North * America
SA: South America
For geolocation resource record sets, a two-letter abbreviation that * identifies a continent. Amazon Route 53 supports the following continent * codes:
AF: Africa
AN: * Antarctica
AS: Asia
EU: * Europe
OC: Oceania
NA: North * America
SA: South America
For geolocation resource record sets, a two-letter abbreviation that * identifies a continent. Amazon Route 53 supports the following continent * codes:
AF: Africa
AN: * Antarctica
AS: Asia
EU: * Europe
OC: Oceania
NA: North * America
SA: South America
For geolocation resource record sets, a two-letter abbreviation that * identifies a continent. Amazon Route 53 supports the following continent * codes:
AF: Africa
AN: * Antarctica
AS: Asia
EU: * Europe
OC: Oceania
NA: North * America
SA: South America
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 * alpha-2.
*/ inline const Aws::String& GetCountryCode() const{ return m_countryCode; } /** *Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 * alpha-2.
*/ inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; } /** *Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 * alpha-2.
*/ inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; } /** *Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 * alpha-2.
*/ inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); } /** *Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 * alpha-2.
*/ inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); } /** *Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 * alpha-2.
*/ inline GetGeoLocationRequest& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;} /** *Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 * alpha-2.
*/ inline GetGeoLocationRequest& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;} /** *Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 * alpha-2.
*/ inline GetGeoLocationRequest& WithCountryCode(const char* value) { SetCountryCode(value); return *this;} /** *The code for the subdivision, such as a particular state within the United * States. For a list of US state abbreviations, see Appendix B: Two–Letter State and * Possession Abbreviations on the United States Postal Service website. For a * list of all supported subdivision codes, use the ListGeoLocations * API.
*/ inline const Aws::String& GetSubdivisionCode() const{ return m_subdivisionCode; } /** *The code for the subdivision, such as a particular state within the United * States. For a list of US state abbreviations, see Appendix B: Two–Letter State and * Possession Abbreviations on the United States Postal Service website. For a * list of all supported subdivision codes, use the ListGeoLocations * API.
*/ inline bool SubdivisionCodeHasBeenSet() const { return m_subdivisionCodeHasBeenSet; } /** *The code for the subdivision, such as a particular state within the United * States. For a list of US state abbreviations, see Appendix B: Two–Letter State and * Possession Abbreviations on the United States Postal Service website. For a * list of all supported subdivision codes, use the ListGeoLocations * API.
*/ inline void SetSubdivisionCode(const Aws::String& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = value; } /** *The code for the subdivision, such as a particular state within the United * States. For a list of US state abbreviations, see Appendix B: Two–Letter State and * Possession Abbreviations on the United States Postal Service website. For a * list of all supported subdivision codes, use the ListGeoLocations * API.
*/ inline void SetSubdivisionCode(Aws::String&& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = std::move(value); } /** *The code for the subdivision, such as a particular state within the United * States. For a list of US state abbreviations, see Appendix B: Two–Letter State and * Possession Abbreviations on the United States Postal Service website. For a * list of all supported subdivision codes, use the ListGeoLocations * API.
*/ inline void SetSubdivisionCode(const char* value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode.assign(value); } /** *The code for the subdivision, such as a particular state within the United * States. For a list of US state abbreviations, see Appendix B: Two–Letter State and * Possession Abbreviations on the United States Postal Service website. For a * list of all supported subdivision codes, use the ListGeoLocations * API.
*/ inline GetGeoLocationRequest& WithSubdivisionCode(const Aws::String& value) { SetSubdivisionCode(value); return *this;} /** *The code for the subdivision, such as a particular state within the United * States. For a list of US state abbreviations, see Appendix B: Two–Letter State and * Possession Abbreviations on the United States Postal Service website. For a * list of all supported subdivision codes, use the ListGeoLocations * API.
*/ inline GetGeoLocationRequest& WithSubdivisionCode(Aws::String&& value) { SetSubdivisionCode(std::move(value)); return *this;} /** *The code for the subdivision, such as a particular state within the United * States. For a list of US state abbreviations, see Appendix B: Two–Letter State and * Possession Abbreviations on the United States Postal Service website. For a * list of all supported subdivision codes, use the ListGeoLocations * API.
*/ inline GetGeoLocationRequest& WithSubdivisionCode(const char* value) { SetSubdivisionCode(value); return *this;} private: Aws::String m_continentCode; bool m_continentCodeHasBeenSet = false; Aws::String m_countryCode; bool m_countryCodeHasBeenSet = false; Aws::String m_subdivisionCode; bool m_subdivisionCodeHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws