/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The phone number and proxy phone number for a participant in an Amazon Chime
* SDK Voice Connector proxy session.See Also:
AWS
* API Reference
The participant's phone number.
*/ inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; } /** *The participant's phone number.
*/ inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; } /** *The participant's phone number.
*/ inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; } /** *The participant's phone number.
*/ inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); } /** *The participant's phone number.
*/ inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); } /** *The participant's phone number.
*/ inline Participant& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;} /** *The participant's phone number.
*/ inline Participant& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;} /** *The participant's phone number.
*/ inline Participant& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;} /** *The participant's proxy phone number.
*/ inline const Aws::String& GetProxyPhoneNumber() const{ return m_proxyPhoneNumber; } /** *The participant's proxy phone number.
*/ inline bool ProxyPhoneNumberHasBeenSet() const { return m_proxyPhoneNumberHasBeenSet; } /** *The participant's proxy phone number.
*/ inline void SetProxyPhoneNumber(const Aws::String& value) { m_proxyPhoneNumberHasBeenSet = true; m_proxyPhoneNumber = value; } /** *The participant's proxy phone number.
*/ inline void SetProxyPhoneNumber(Aws::String&& value) { m_proxyPhoneNumberHasBeenSet = true; m_proxyPhoneNumber = std::move(value); } /** *The participant's proxy phone number.
*/ inline void SetProxyPhoneNumber(const char* value) { m_proxyPhoneNumberHasBeenSet = true; m_proxyPhoneNumber.assign(value); } /** *The participant's proxy phone number.
*/ inline Participant& WithProxyPhoneNumber(const Aws::String& value) { SetProxyPhoneNumber(value); return *this;} /** *The participant's proxy phone number.
*/ inline Participant& WithProxyPhoneNumber(Aws::String&& value) { SetProxyPhoneNumber(std::move(value)); return *this;} /** *The participant's proxy phone number.
*/ inline Participant& WithProxyPhoneNumber(const char* value) { SetProxyPhoneNumber(value); return *this;} private: Aws::String m_phoneNumber; bool m_phoneNumberHasBeenSet = false; Aws::String m_proxyPhoneNumber; bool m_proxyPhoneNumberHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws