/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that contains information about a geographic
* location.See Also:
AWS
* API Reference
The two-letter code for the 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
Constraint: Specifying ContinentCode
with either
* CountryCode
or SubdivisionCode
returns an
* InvalidInput
error.
The two-letter code for the 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
Constraint: Specifying ContinentCode
with either
* CountryCode
or SubdivisionCode
returns an
* InvalidInput
error.
The two-letter code for the 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
Constraint: Specifying ContinentCode
with either
* CountryCode
or SubdivisionCode
returns an
* InvalidInput
error.
The two-letter code for the 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
Constraint: Specifying ContinentCode
with either
* CountryCode
or SubdivisionCode
returns an
* InvalidInput
error.
The two-letter code for the 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
Constraint: Specifying ContinentCode
with either
* CountryCode
or SubdivisionCode
returns an
* InvalidInput
error.
The two-letter code for the 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
Constraint: Specifying ContinentCode
with either
* CountryCode
or SubdivisionCode
returns an
* InvalidInput
error.
The two-letter code for the 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
Constraint: Specifying ContinentCode
with either
* CountryCode
or SubdivisionCode
returns an
* InvalidInput
error.
The two-letter code for the 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
Constraint: Specifying ContinentCode
with either
* CountryCode
or SubdivisionCode
returns an
* InvalidInput
error.
For geolocation resource record sets, the two-letter code for a country.
*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; } /** *For geolocation resource record sets, the two-letter code for a country.
*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; } /** *For geolocation resource record sets, the two-letter code for a country.
*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; } /** *For geolocation resource record sets, the two-letter code for a country.
*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); } /** *For geolocation resource record sets, the two-letter code for a country.
*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); } /** *For geolocation resource record sets, the two-letter code for a country.
*Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 * alpha-2.
*/ inline GeoLocation& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;} /** *For geolocation resource record sets, the two-letter code for a country.
*Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 * alpha-2.
*/ inline GeoLocation& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;} /** *For geolocation resource record sets, the two-letter code for a country.
*Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 * alpha-2.
*/ inline GeoLocation& WithCountryCode(const char* value) { SetCountryCode(value); return *this;} /** *For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* SubdivisionCode
. For a list of state abbreviations, see Appendix B: Two–Letter State and
* Possession Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify
* US
for CountryCode
.
For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* SubdivisionCode
. For a list of state abbreviations, see Appendix B: Two–Letter State and
* Possession Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify
* US
for CountryCode
.
For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* SubdivisionCode
. For a list of state abbreviations, see Appendix B: Two–Letter State and
* Possession Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify
* US
for CountryCode
.
For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* SubdivisionCode
. For a list of state abbreviations, see Appendix B: Two–Letter State and
* Possession Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify
* US
for CountryCode
.
For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* SubdivisionCode
. For a list of state abbreviations, see Appendix B: Two–Letter State and
* Possession Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify
* US
for CountryCode
.
For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* SubdivisionCode
. For a list of state abbreviations, see Appendix B: Two–Letter State and
* Possession Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify
* US
for CountryCode
.
For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* SubdivisionCode
. For a list of state abbreviations, see Appendix B: Two–Letter State and
* Possession Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify
* US
for CountryCode
.
For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* SubdivisionCode
. For a list of state abbreviations, see Appendix B: Two–Letter State and
* Possession Abbreviations on the United States Postal Service website.
If you specify subdivisioncode
, you must also specify
* US
for CountryCode
.