/*
* 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 sesv2-2019-09-27.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.SimpleEmailV2.Model
{
///
/// Container for the parameters to the CreateConfigurationSetEventDestination operation.
/// Create an event destination. Events include message sends, deliveries, opens,
/// clicks, bounces, and complaints. Event destinations are places that you can
/// send information about these events to. For example, you can send event data to Amazon
/// SNS to receive notifications when you receive bounces or complaints, or you can use
/// Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
///
///
///
/// A single configuration set can include more than one event destination.
///
///
public partial class CreateConfigurationSetEventDestinationRequest : AmazonSimpleEmailServiceV2Request
{
private string _configurationSetName;
private EventDestinationDefinition _eventDestination;
private string _eventDestinationName;
///
/// Gets and sets the property ConfigurationSetName.
///
/// The name of the configuration set .
///
///
[AWSProperty(Required=true)]
public string ConfigurationSetName
{
get { return this._configurationSetName; }
set { this._configurationSetName = value; }
}
// Check to see if ConfigurationSetName property is set
internal bool IsSetConfigurationSetName()
{
return this._configurationSetName != null;
}
///
/// Gets and sets the property EventDestination.
///
/// An object that defines the event destination.
///
///
[AWSProperty(Required=true)]
public EventDestinationDefinition EventDestination
{
get { return this._eventDestination; }
set { this._eventDestination = value; }
}
// Check to see if EventDestination property is set
internal bool IsSetEventDestination()
{
return this._eventDestination != null;
}
///
/// Gets and sets the property EventDestinationName.
///
/// A name that identifies the event destination within the configuration set.
///
///
[AWSProperty(Required=true)]
public string EventDestinationName
{
get { return this._eventDestinationName; }
set { this._eventDestinationName = value; }
}
// Check to see if EventDestinationName property is set
internal bool IsSetEventDestinationName()
{
return this._eventDestinationName != null;
}
}
}