/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ChimeSDKVoice { namespace Model { /** *

The phone number capabilities for Amazon Chime SDK phone numbers, such as * enabled inbound and outbound calling, and text messaging.

See * Also:

AWS * API Reference

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

Allows or denies inbound calling for the specified phone number.

*/ inline bool GetInboundCall() const{ return m_inboundCall; } /** *

Allows or denies inbound calling for the specified phone number.

*/ inline bool InboundCallHasBeenSet() const { return m_inboundCallHasBeenSet; } /** *

Allows or denies inbound calling for the specified phone number.

*/ inline void SetInboundCall(bool value) { m_inboundCallHasBeenSet = true; m_inboundCall = value; } /** *

Allows or denies inbound calling for the specified phone number.

*/ inline PhoneNumberCapabilities& WithInboundCall(bool value) { SetInboundCall(value); return *this;} /** *

Allows or denies outbound calling for the specified phone number.

*/ inline bool GetOutboundCall() const{ return m_outboundCall; } /** *

Allows or denies outbound calling for the specified phone number.

*/ inline bool OutboundCallHasBeenSet() const { return m_outboundCallHasBeenSet; } /** *

Allows or denies outbound calling for the specified phone number.

*/ inline void SetOutboundCall(bool value) { m_outboundCallHasBeenSet = true; m_outboundCall = value; } /** *

Allows or denies outbound calling for the specified phone number.

*/ inline PhoneNumberCapabilities& WithOutboundCall(bool value) { SetOutboundCall(value); return *this;} /** *

Allows or denies inbound SMS messaging for the specified phone number.

*/ inline bool GetInboundSMS() const{ return m_inboundSMS; } /** *

Allows or denies inbound SMS messaging for the specified phone number.

*/ inline bool InboundSMSHasBeenSet() const { return m_inboundSMSHasBeenSet; } /** *

Allows or denies inbound SMS messaging for the specified phone number.

*/ inline void SetInboundSMS(bool value) { m_inboundSMSHasBeenSet = true; m_inboundSMS = value; } /** *

Allows or denies inbound SMS messaging for the specified phone number.

*/ inline PhoneNumberCapabilities& WithInboundSMS(bool value) { SetInboundSMS(value); return *this;} /** *

Allows or denies outbound SMS messaging for the specified phone number.

*/ inline bool GetOutboundSMS() const{ return m_outboundSMS; } /** *

Allows or denies outbound SMS messaging for the specified phone number.

*/ inline bool OutboundSMSHasBeenSet() const { return m_outboundSMSHasBeenSet; } /** *

Allows or denies outbound SMS messaging for the specified phone number.

*/ inline void SetOutboundSMS(bool value) { m_outboundSMSHasBeenSet = true; m_outboundSMS = value; } /** *

Allows or denies outbound SMS messaging for the specified phone number.

*/ inline PhoneNumberCapabilities& WithOutboundSMS(bool value) { SetOutboundSMS(value); return *this;} /** *

Allows or denies inbound MMS messaging for the specified phone number.

*/ inline bool GetInboundMMS() const{ return m_inboundMMS; } /** *

Allows or denies inbound MMS messaging for the specified phone number.

*/ inline bool InboundMMSHasBeenSet() const { return m_inboundMMSHasBeenSet; } /** *

Allows or denies inbound MMS messaging for the specified phone number.

*/ inline void SetInboundMMS(bool value) { m_inboundMMSHasBeenSet = true; m_inboundMMS = value; } /** *

Allows or denies inbound MMS messaging for the specified phone number.

*/ inline PhoneNumberCapabilities& WithInboundMMS(bool value) { SetInboundMMS(value); return *this;} /** *

Allows or denies inbound MMS messaging for the specified phone number.

*/ inline bool GetOutboundMMS() const{ return m_outboundMMS; } /** *

Allows or denies inbound MMS messaging for the specified phone number.

*/ inline bool OutboundMMSHasBeenSet() const { return m_outboundMMSHasBeenSet; } /** *

Allows or denies inbound MMS messaging for the specified phone number.

*/ inline void SetOutboundMMS(bool value) { m_outboundMMSHasBeenSet = true; m_outboundMMS = value; } /** *

Allows or denies inbound MMS messaging for the specified phone number.

*/ inline PhoneNumberCapabilities& WithOutboundMMS(bool value) { SetOutboundMMS(value); return *this;} private: bool m_inboundCall; bool m_inboundCallHasBeenSet = false; bool m_outboundCall; bool m_outboundCallHasBeenSet = false; bool m_inboundSMS; bool m_inboundSMSHasBeenSet = false; bool m_outboundSMS; bool m_outboundSMSHasBeenSet = false; bool m_inboundMMS; bool m_inboundMMSHasBeenSet = false; bool m_outboundMMS; bool m_outboundMMSHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws