/*
* Copyright 2010-2014 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 email-2010-12-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SimpleEmail.Model
{
///
/// An object that contains the response from the SendBulkTemplatedEmail
/// operation.
///
public partial class BulkEmailDestinationStatus
{
private string _error;
private string _messageId;
private BulkEmailStatus _status;
///
/// Gets and sets the property Error.
///
/// A description of an error that prevented a message being sent using the SendBulkTemplatedEmail
/// operation.
///
///
public string Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
///
/// Gets and sets the property MessageId.
///
/// The unique message identifier returned from the SendBulkTemplatedEmail
/// operation.
///
///
public string MessageId
{
get { return this._messageId; }
set { this._messageId = value; }
}
// Check to see if MessageId property is set
internal bool IsSetMessageId()
{
return this._messageId != null;
}
///
/// Gets and sets the property Status.
///
/// The status of a message sent using the SendBulkTemplatedEmail
operation.
///
///
///
/// Possible values for this parameter include:
///
/// -
///
///
Success
: Amazon SES accepted the message, and will attempt to deliver
/// it to the recipients.
///
/// -
///
///
MessageRejected
: The message was rejected because it contained a virus.
///
/// -
///
///
MailFromDomainNotVerified
: The sender's email address or domain was
/// not verified.
///
/// -
///
///
ConfigurationSetDoesNotExist
: The configuration set you specified does
/// not exist.
///
/// -
///
///
TemplateDoesNotExist
: The template you specified does not exist.
///
/// -
///
///
AccountSuspended
: Your account has been shut down because of issues
/// related to your email sending practices.
///
/// -
///
///
AccountThrottled
: The number of emails you can send has been reduced
/// because your account has exceeded its allocated sending limit.
///
/// -
///
///
AccountDailyQuotaExceeded
: You have reached or exceeded the maximum
/// number of emails you can send from your account in a 24-hour period.
///
/// -
///
///
InvalidSendingPoolName
: The configuration set you specified refers to
/// an IP pool that does not exist.
///
/// -
///
///
AccountSendingPaused
: Email sending for the Amazon SES account was disabled
/// using the UpdateAccountSendingEnabled operation.
///
/// -
///
///
ConfigurationSetSendingPaused
: Email sending for this configuration
/// set was disabled using the UpdateConfigurationSetSendingEnabled operation.
///
/// -
///
///
InvalidParameterValue
: One or more of the parameters you specified when
/// calling this operation was invalid. See the error message for additional information.
///
/// -
///
///
TransientFailure
: Amazon SES was unable to process your request because
/// of a temporary issue.
///
/// -
///
///
Failed
: Amazon SES was unable to process your request. See the error
/// message for additional information.
///
///
///
public BulkEmailStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}