/*
* 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 pinpoint-email-2018-07-26.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.PinpointEmail.Model
{
///
/// Container for the parameters to the CreateConfigurationSet operation.
/// Create a configuration set. Configuration sets are groups of rules that you
/// can apply to the emails you send using Amazon Pinpoint. You apply a configuration
/// set to an email by including a reference to the configuration set in the headers of
/// the email. When you apply a configuration set to an email, all of the rules in that
/// configuration set are applied to the email.
///
public partial class CreateConfigurationSetRequest : AmazonPinpointEmailRequest
{
private string _configurationSetName;
private DeliveryOptions _deliveryOptions;
private ReputationOptions _reputationOptions;
private SendingOptions _sendingOptions;
private List _tags = new List();
private TrackingOptions _trackingOptions;
///
/// 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 DeliveryOptions.
///
/// An object that defines the dedicated IP pool that is used to send emails that you
/// send using the configuration set.
///
///
public DeliveryOptions DeliveryOptions
{
get { return this._deliveryOptions; }
set { this._deliveryOptions = value; }
}
// Check to see if DeliveryOptions property is set
internal bool IsSetDeliveryOptions()
{
return this._deliveryOptions != null;
}
///
/// Gets and sets the property ReputationOptions.
///
/// An object that defines whether or not Amazon Pinpoint collects reputation metrics
/// for the emails that you send that use the configuration set.
///
///
public ReputationOptions ReputationOptions
{
get { return this._reputationOptions; }
set { this._reputationOptions = value; }
}
// Check to see if ReputationOptions property is set
internal bool IsSetReputationOptions()
{
return this._reputationOptions != null;
}
///
/// Gets and sets the property SendingOptions.
///
/// An object that defines whether or not Amazon Pinpoint can send email that you send
/// using the configuration set.
///
///
public SendingOptions SendingOptions
{
get { return this._sendingOptions; }
set { this._sendingOptions = value; }
}
// Check to see if SendingOptions property is set
internal bool IsSetSendingOptions()
{
return this._sendingOptions != null;
}
///
/// Gets and sets the property Tags.
///
/// An array of objects that define the tags (keys and values) that you want to associate
/// with the configuration set.
///
///
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
///
/// Gets and sets the property TrackingOptions.
///
/// An object that defines the open and click tracking options for emails that you send
/// using the configuration set.
///
///
public TrackingOptions TrackingOptions
{
get { return this._trackingOptions; }
set { this._trackingOptions = value; }
}
// Check to see if TrackingOptions property is set
internal bool IsSetTrackingOptions()
{
return this._trackingOptions != null;
}
}
}