/** * 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 Chime { namespace Model { /** *

The phone number and proxy phone number for a participant in an Amazon Chime * Voice Connector proxy session.

See Also:

AWS * API Reference

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

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 Chime } // namespace Aws