/*
* 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
{
///
/// Represents your Amazon SES daily sending quota, maximum send rate, and the number
/// of emails you have sent in the last 24 hours.
///
public partial class GetSendQuotaResponse : AmazonWebServiceResponse
{
private double? _max24HourSend;
private double? _maxSendRate;
private double? _sentLast24Hours;
///
/// Gets and sets the property Max24HourSend.
///
/// The maximum number of emails the user is allowed to send in a 24-hour interval. A
/// value of -1 signifies an unlimited quota.
///
///
public double Max24HourSend
{
get { return this._max24HourSend.GetValueOrDefault(); }
set { this._max24HourSend = value; }
}
// Check to see if Max24HourSend property is set
internal bool IsSetMax24HourSend()
{
return this._max24HourSend.HasValue;
}
///
/// Gets and sets the property MaxSendRate.
///
/// The maximum number of emails that Amazon SES can accept from the user's account per
/// second.
///
///
///
/// The rate at which Amazon SES accepts the user's messages might be less than the maximum
/// send rate.
///
///
///
public double MaxSendRate
{
get { return this._maxSendRate.GetValueOrDefault(); }
set { this._maxSendRate = value; }
}
// Check to see if MaxSendRate property is set
internal bool IsSetMaxSendRate()
{
return this._maxSendRate.HasValue;
}
///
/// Gets and sets the property SentLast24Hours.
///
/// The number of emails sent during the previous 24 hours.
///
///
public double SentLast24Hours
{
get { return this._sentLast24Hours.GetValueOrDefault(); }
set { this._sentLast24Hours = value; }
}
// Check to see if SentLast24Hours property is set
internal bool IsSetSentLast24Hours()
{
return this._sentLast24Hours.HasValue;
}
}
}