/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The phone number country.See Also:
AWS
* API Reference
The phone number country code. Format: ISO 3166-1 alpha-2.
*/ inline const Aws::String& GetCountryCode() const{ return m_countryCode; } /** *The phone number country code. Format: ISO 3166-1 alpha-2.
*/ inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; } /** *The phone number country code. Format: ISO 3166-1 alpha-2.
*/ inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; } /** *The phone number country code. Format: ISO 3166-1 alpha-2.
*/ inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); } /** *The phone number country code. Format: ISO 3166-1 alpha-2.
*/ inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); } /** *The phone number country code. Format: ISO 3166-1 alpha-2.
*/ inline PhoneNumberCountry& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;} /** *The phone number country code. Format: ISO 3166-1 alpha-2.
*/ inline PhoneNumberCountry& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;} /** *The phone number country code. Format: ISO 3166-1 alpha-2.
*/ inline PhoneNumberCountry& WithCountryCode(const char* value) { SetCountryCode(value); return *this;} /** *The supported phone number types.
*/ inline const Aws::VectorThe supported phone number types.
*/ inline bool SupportedPhoneNumberTypesHasBeenSet() const { return m_supportedPhoneNumberTypesHasBeenSet; } /** *The supported phone number types.
*/ inline void SetSupportedPhoneNumberTypes(const Aws::VectorThe supported phone number types.
*/ inline void SetSupportedPhoneNumberTypes(Aws::VectorThe supported phone number types.
*/ inline PhoneNumberCountry& WithSupportedPhoneNumberTypes(const Aws::VectorThe supported phone number types.
*/ inline PhoneNumberCountry& WithSupportedPhoneNumberTypes(Aws::VectorThe supported phone number types.
*/ inline PhoneNumberCountry& AddSupportedPhoneNumberTypes(const PhoneNumberType& value) { m_supportedPhoneNumberTypesHasBeenSet = true; m_supportedPhoneNumberTypes.push_back(value); return *this; } /** *The supported phone number types.
*/ inline PhoneNumberCountry& AddSupportedPhoneNumberTypes(PhoneNumberType&& value) { m_supportedPhoneNumberTypesHasBeenSet = true; m_supportedPhoneNumberTypes.push_back(std::move(value)); return *this; } private: Aws::String m_countryCode; bool m_countryCodeHasBeenSet = false; Aws::Vector