/*
* 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 codedeploy-2014-10-06.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.CodeDeploy.Model
{
///
/// Information about notification triggers for the deployment group.
///
public partial class TriggerConfig
{
private List _triggerEvents = new List();
private string _triggerName;
private string _triggerTargetArn;
///
/// Gets and sets the property TriggerEvents.
///
/// The event type or types for which notifications are triggered.
///
///
public List TriggerEvents
{
get { return this._triggerEvents; }
set { this._triggerEvents = value; }
}
// Check to see if TriggerEvents property is set
internal bool IsSetTriggerEvents()
{
return this._triggerEvents != null && this._triggerEvents.Count > 0;
}
///
/// Gets and sets the property TriggerName.
///
/// The name of the notification trigger.
///
///
public string TriggerName
{
get { return this._triggerName; }
set { this._triggerName = value; }
}
// Check to see if TriggerName property is set
internal bool IsSetTriggerName()
{
return this._triggerName != null;
}
///
/// Gets and sets the property TriggerTargetArn.
///
/// The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through
/// which notifications about deployment or instance events are sent.
///
///
public string TriggerTargetArn
{
get { return this._triggerTargetArn; }
set { this._triggerTargetArn = value; }
}
// Check to see if TriggerTargetArn property is set
internal bool IsSetTriggerTargetArn()
{
return this._triggerTargetArn != null;
}
}
}