/*
* 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 connect-2017-08-08.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.Connect.Model
{
///
/// The status of the phone number.
///
/// -
///
///
CLAIMED
means the previous ClaimedPhoneNumber
/// or UpdatePhoneNumber
/// operation succeeded.
///
/// -
///
///
IN_PROGRESS
means a ClaimedPhoneNumber
/// or UpdatePhoneNumber
/// operation is still in progress and has not yet completed. You can call DescribePhoneNumber
/// at a later time to verify if the previous operation has completed.
///
/// -
///
///
FAILED
indicates that the previous ClaimedPhoneNumber
/// or UpdatePhoneNumber
/// operation has failed. It will include a message indicating the failure reason. A common
/// reason for a failure may be that the TargetArn
value you are claiming
/// or updating a phone number to has reached its limit of total claimed numbers. If you
/// received a FAILED
status from a ClaimPhoneNumber
API call,
/// you have one day to retry claiming the phone number before the number is released
/// back to the inventory for other customers to claim.
///
///
///
public partial class PhoneNumberStatus
{
private string _message;
private PhoneNumberWorkflowStatus _status;
///
/// Gets and sets the property Message.
///
/// The status message.
///
///
[AWSProperty(Min=0, Max=255)]
public string Message
{
get { return this._message; }
set { this._message = value; }
}
// Check to see if Message property is set
internal bool IsSetMessage()
{
return this._message != null;
}
///
/// Gets and sets the property Status.
///
/// The status.
///
///
public PhoneNumberWorkflowStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}