/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ChimeSDKVoice { namespace Model { /** *

The country and area code for a proxy phone number in a proxy phone * session.

See Also:

AWS * API Reference

*/ class GeoMatchParams { public: AWS_CHIMESDKVOICE_API GeoMatchParams(); AWS_CHIMESDKVOICE_API GeoMatchParams(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKVOICE_API GeoMatchParams& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKVOICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The country.

*/ inline const Aws::String& GetCountry() const{ return m_country; } /** *

The country.

*/ inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; } /** *

The country.

*/ inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; } /** *

The country.

*/ inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); } /** *

The country.

*/ inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); } /** *

The country.

*/ inline GeoMatchParams& WithCountry(const Aws::String& value) { SetCountry(value); return *this;} /** *

The country.

*/ inline GeoMatchParams& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;} /** *

The country.

*/ inline GeoMatchParams& WithCountry(const char* value) { SetCountry(value); return *this;} /** *

The area code.

*/ inline const Aws::String& GetAreaCode() const{ return m_areaCode; } /** *

The area code.

*/ inline bool AreaCodeHasBeenSet() const { return m_areaCodeHasBeenSet; } /** *

The area code.

*/ inline void SetAreaCode(const Aws::String& value) { m_areaCodeHasBeenSet = true; m_areaCode = value; } /** *

The area code.

*/ inline void SetAreaCode(Aws::String&& value) { m_areaCodeHasBeenSet = true; m_areaCode = std::move(value); } /** *

The area code.

*/ inline void SetAreaCode(const char* value) { m_areaCodeHasBeenSet = true; m_areaCode.assign(value); } /** *

The area code.

*/ inline GeoMatchParams& WithAreaCode(const Aws::String& value) { SetAreaCode(value); return *this;} /** *

The area code.

*/ inline GeoMatchParams& WithAreaCode(Aws::String&& value) { SetAreaCode(std::move(value)); return *this;} /** *

The area code.

*/ inline GeoMatchParams& WithAreaCode(const char* value) { SetAreaCode(value); return *this;} private: Aws::String m_country; bool m_countryHasBeenSet = false; Aws::String m_areaCode; bool m_areaCodeHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws