/*
* 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
{
///
/// Container for the parameters to the UpdateTrafficDistribution operation.
/// Updates the traffic distribution for a given traffic distribution group.
///
///
///
/// For more information about updating a traffic distribution group, see Update
/// telephony traffic distribution across Amazon Web Services Regions in the Amazon
/// Connect Administrator Guide.
///
///
public partial class UpdateTrafficDistributionRequest : AmazonConnectRequest
{
private string _id;
private TelephonyConfig _telephonyConfig;
///
/// Gets and sets the property Id.
///
/// The identifier of the traffic distribution group. This can be the ID or the ARN if
/// the API is being called in the Region where the traffic distribution group was created.
/// The ARN must be provided if the call is from the replicated Region.
///
///
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property TelephonyConfig.
///
/// The distribution of traffic between the instance and its replica(s).
///
///
public TelephonyConfig TelephonyConfig
{
get { return this._telephonyConfig; }
set { this._telephonyConfig = value; }
}
// Check to see if TelephonyConfig property is set
internal bool IsSetTelephonyConfig()
{
return this._telephonyConfig != null;
}
}
}