/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the chime-2018-05-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Chime.Model
{
///
/// Settings that allow management of telephony permissions for an Amazon Chime user,
/// such as inbound and outbound calling and text messaging.
///
public partial class TelephonySettings
{
private bool? _inboundCalling;
private bool? _outboundCalling;
private bool? _sms;
///
/// Gets and sets the property InboundCalling.
///
/// Allows or denies inbound calling.
///
///
[AWSProperty(Required=true)]
public bool InboundCalling
{
get { return this._inboundCalling.GetValueOrDefault(); }
set { this._inboundCalling = value; }
}
// Check to see if InboundCalling property is set
internal bool IsSetInboundCalling()
{
return this._inboundCalling.HasValue;
}
///
/// Gets and sets the property OutboundCalling.
///
/// Allows or denies outbound calling.
///
///
[AWSProperty(Required=true)]
public bool OutboundCalling
{
get { return this._outboundCalling.GetValueOrDefault(); }
set { this._outboundCalling = value; }
}
// Check to see if OutboundCalling property is set
internal bool IsSetOutboundCalling()
{
return this._outboundCalling.HasValue;
}
///
/// Gets and sets the property SMS.
///
/// Allows or denies SMS messaging.
///
///
[AWSProperty(Required=true)]
public bool SMS
{
get { return this._sms.GetValueOrDefault(); }
set { this._sms = value; }
}
// Check to see if SMS property is set
internal bool IsSetSMS()
{
return this._sms.HasValue;
}
}
}