/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The phone number for the contact containing the raw number and phone number
* type.See Also:
AWS
* API Reference
The raw value of the phone number.
*/ inline const Aws::String& GetNumber() const{ return m_number; } /** *The raw value of the phone number.
*/ inline bool NumberHasBeenSet() const { return m_numberHasBeenSet; } /** *The raw value of the phone number.
*/ inline void SetNumber(const Aws::String& value) { m_numberHasBeenSet = true; m_number = value; } /** *The raw value of the phone number.
*/ inline void SetNumber(Aws::String&& value) { m_numberHasBeenSet = true; m_number = std::move(value); } /** *The raw value of the phone number.
*/ inline void SetNumber(const char* value) { m_numberHasBeenSet = true; m_number.assign(value); } /** *The raw value of the phone number.
*/ inline PhoneNumber& WithNumber(const Aws::String& value) { SetNumber(value); return *this;} /** *The raw value of the phone number.
*/ inline PhoneNumber& WithNumber(Aws::String&& value) { SetNumber(std::move(value)); return *this;} /** *The raw value of the phone number.
*/ inline PhoneNumber& WithNumber(const char* value) { SetNumber(value); return *this;} /** *The type of the phone number.
*/ inline const PhoneNumberType& GetType() const{ return m_type; } /** *The type of the phone number.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the phone number.
*/ inline void SetType(const PhoneNumberType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the phone number.
*/ inline void SetType(PhoneNumberType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the phone number.
*/ inline PhoneNumber& WithType(const PhoneNumberType& value) { SetType(value); return *this;} /** *The type of the phone number.
*/ inline PhoneNumber& WithType(PhoneNumberType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_number; bool m_numberHasBeenSet = false; PhoneNumberType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace AlexaForBusiness } // namespace Aws