/*
* 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 shield-2016-06-02.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.Shield.Model
{
///
/// Container for the parameters to the AssociateProactiveEngagementDetails operation.
/// Initializes proactive engagement and sets the list of contacts for the Shield Response
/// Team (SRT) to use. You must provide at least one phone number in the emergency contact
/// list.
///
///
///
/// After you have initialized proactive engagement using this call, to disable or enable
/// proactive engagement, use the calls DisableProactiveEngagement
and EnableProactiveEngagement
.
///
///
///
///
/// This call defines the list of email addresses and phone numbers that the SRT can use
/// to contact you for escalations to the SRT and to initiate proactive customer support.
///
///
///
/// The contacts that you provide in the request replace any contacts that were already
/// defined. If you already have contacts defined and want to use them, retrieve the list
/// using DescribeEmergencyContactSettings
and then provide it to this call.
///
///
///
///
public partial class AssociateProactiveEngagementDetailsRequest : AmazonShieldRequest
{
private List _emergencyContactList = new List();
///
/// Gets and sets the property EmergencyContactList.
///
/// A list of email addresses and phone numbers that the Shield Response Team (SRT) can
/// use to contact you for escalations to the SRT and to initiate proactive customer support.
///
///
///
///
/// To enable proactive engagement, the contact list must include at least one phone number.
///
///
///
/// The contacts that you provide here replace any contacts that were already defined.
/// If you already have contacts defined and want to use them, retrieve the list using
/// DescribeEmergencyContactSettings
and then provide it here.
///
///
///
[AWSProperty(Required=true, Min=0, Max=10)]
public List EmergencyContactList
{
get { return this._emergencyContactList; }
set { this._emergencyContactList = value; }
}
// Check to see if EmergencyContactList property is set
internal bool IsSetEmergencyContactList()
{
return this._emergencyContactList != null && this._emergencyContactList.Count > 0;
}
}
}