/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about available phone numbers.See Also:
AWS
* API Reference
The phone number. Phone numbers are formatted [+] [country code]
* [subscriber number including area code]
.
The phone number. Phone numbers are formatted [+] [country code]
* [subscriber number including area code]
.
The phone number. Phone numbers are formatted [+] [country code]
* [subscriber number including area code]
.
The phone number. Phone numbers are formatted [+] [country code]
* [subscriber number including area code]
.
The phone number. Phone numbers are formatted [+] [country code]
* [subscriber number including area code]
.
The phone number. Phone numbers are formatted [+] [country code]
* [subscriber number including area code]
.
The phone number. Phone numbers are formatted [+] [country code]
* [subscriber number including area code]
.
The phone number. Phone numbers are formatted [+] [country code]
* [subscriber number including area code]
.
The ISO country code.
*/ inline const PhoneNumberCountryCode& GetPhoneNumberCountryCode() const{ return m_phoneNumberCountryCode; } /** *The ISO country code.
*/ inline bool PhoneNumberCountryCodeHasBeenSet() const { return m_phoneNumberCountryCodeHasBeenSet; } /** *The ISO country code.
*/ inline void SetPhoneNumberCountryCode(const PhoneNumberCountryCode& value) { m_phoneNumberCountryCodeHasBeenSet = true; m_phoneNumberCountryCode = value; } /** *The ISO country code.
*/ inline void SetPhoneNumberCountryCode(PhoneNumberCountryCode&& value) { m_phoneNumberCountryCodeHasBeenSet = true; m_phoneNumberCountryCode = std::move(value); } /** *The ISO country code.
*/ inline AvailableNumberSummary& WithPhoneNumberCountryCode(const PhoneNumberCountryCode& value) { SetPhoneNumberCountryCode(value); return *this;} /** *The ISO country code.
*/ inline AvailableNumberSummary& WithPhoneNumberCountryCode(PhoneNumberCountryCode&& value) { SetPhoneNumberCountryCode(std::move(value)); return *this;} /** *The type of phone number.
*/ inline const PhoneNumberType& GetPhoneNumberType() const{ return m_phoneNumberType; } /** *The type of phone number.
*/ inline bool PhoneNumberTypeHasBeenSet() const { return m_phoneNumberTypeHasBeenSet; } /** *The type of phone number.
*/ inline void SetPhoneNumberType(const PhoneNumberType& value) { m_phoneNumberTypeHasBeenSet = true; m_phoneNumberType = value; } /** *The type of phone number.
*/ inline void SetPhoneNumberType(PhoneNumberType&& value) { m_phoneNumberTypeHasBeenSet = true; m_phoneNumberType = std::move(value); } /** *The type of phone number.
*/ inline AvailableNumberSummary& WithPhoneNumberType(const PhoneNumberType& value) { SetPhoneNumberType(value); return *this;} /** *The type of phone number.
*/ inline AvailableNumberSummary& WithPhoneNumberType(PhoneNumberType&& value) { SetPhoneNumberType(std::move(value)); return *this;} private: Aws::String m_phoneNumber; bool m_phoneNumberHasBeenSet = false; PhoneNumberCountryCode m_phoneNumberCountryCode; bool m_phoneNumberCountryCodeHasBeenSet = false; PhoneNumberType m_phoneNumberType; bool m_phoneNumberTypeHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws