/*
* 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
{
///
/// Container for the parameters to the UpdatePhoneNumber operation.
/// Updates phone number details, such as product type or calling name, for the specified
/// phone number ID. You can update one phone number detail at a time. For example, you
/// can update either the product type or the calling name in one action.
///
///
///
/// For toll-free numbers, you cannot use the Amazon Chime Business Calling product type.
/// For numbers outside the U.S., you must use the Amazon Chime SIP Media Application
/// Dial-In product type.
///
///
///
/// Updates to outbound calling names can take 72 hours to complete. Pending updates to
/// outbound calling names must be complete before you can request another update.
///
///
public partial class UpdatePhoneNumberRequest : AmazonChimeRequest
{
private string _callingName;
private string _phoneNumberId;
private PhoneNumberProductType _productType;
///
/// Gets and sets the property CallingName.
///
/// The outbound calling name associated with the phone number.
///
///
[AWSProperty(Sensitive=true)]
public string CallingName
{
get { return this._callingName; }
set { this._callingName = value; }
}
// Check to see if CallingName property is set
internal bool IsSetCallingName()
{
return this._callingName != null;
}
///
/// Gets and sets the property PhoneNumberId.
///
/// The phone number ID.
///
///
[AWSProperty(Required=true)]
public string PhoneNumberId
{
get { return this._phoneNumberId; }
set { this._phoneNumberId = value; }
}
// Check to see if PhoneNumberId property is set
internal bool IsSetPhoneNumberId()
{
return this._phoneNumberId != null;
}
///
/// Gets and sets the property ProductType.
///
/// The product type.
///
///
public PhoneNumberProductType ProductType
{
get { return this._productType; }
set { this._productType = value; }
}
// Check to see if ProductType property is set
internal bool IsSetProductType()
{
return this._productType != null;
}
}
}