/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SESV2 { namespace Model { /** *

An object that contains information about the per-day and per-second sending * limits for your Amazon SES account in the current Amazon Web Services * Region.

See Also:

AWS API * Reference

*/ class SendQuota { public: AWS_SESV2_API SendQuota(); AWS_SESV2_API SendQuota(Aws::Utils::Json::JsonView jsonValue); AWS_SESV2_API SendQuota& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The maximum number of emails that you can send in the current Amazon Web * Services Region over a 24-hour period. A value of -1 signifies an unlimited * quota. (This value is also referred to as your sending quota.)

*/ inline double GetMax24HourSend() const{ return m_max24HourSend; } /** *

The maximum number of emails that you can send in the current Amazon Web * Services Region over a 24-hour period. A value of -1 signifies an unlimited * quota. (This value is also referred to as your sending quota.)

*/ inline bool Max24HourSendHasBeenSet() const { return m_max24HourSendHasBeenSet; } /** *

The maximum number of emails that you can send in the current Amazon Web * Services Region over a 24-hour period. A value of -1 signifies an unlimited * quota. (This value is also referred to as your sending quota.)

*/ inline void SetMax24HourSend(double value) { m_max24HourSendHasBeenSet = true; m_max24HourSend = value; } /** *

The maximum number of emails that you can send in the current Amazon Web * Services Region over a 24-hour period. A value of -1 signifies an unlimited * quota. (This value is also referred to as your sending quota.)

*/ inline SendQuota& WithMax24HourSend(double value) { SetMax24HourSend(value); return *this;} /** *

The maximum number of emails that you can send per second in the current * Amazon Web Services Region. This value is also called your maximum sending * rate or your maximum TPS (transactions per second) rate.

*/ inline double GetMaxSendRate() const{ return m_maxSendRate; } /** *

The maximum number of emails that you can send per second in the current * Amazon Web Services Region. This value is also called your maximum sending * rate or your maximum TPS (transactions per second) rate.

*/ inline bool MaxSendRateHasBeenSet() const { return m_maxSendRateHasBeenSet; } /** *

The maximum number of emails that you can send per second in the current * Amazon Web Services Region. This value is also called your maximum sending * rate or your maximum TPS (transactions per second) rate.

*/ inline void SetMaxSendRate(double value) { m_maxSendRateHasBeenSet = true; m_maxSendRate = value; } /** *

The maximum number of emails that you can send per second in the current * Amazon Web Services Region. This value is also called your maximum sending * rate or your maximum TPS (transactions per second) rate.

*/ inline SendQuota& WithMaxSendRate(double value) { SetMaxSendRate(value); return *this;} /** *

The number of emails sent from your Amazon SES account in the current Amazon * Web Services Region over the past 24 hours.

*/ inline double GetSentLast24Hours() const{ return m_sentLast24Hours; } /** *

The number of emails sent from your Amazon SES account in the current Amazon * Web Services Region over the past 24 hours.

*/ inline bool SentLast24HoursHasBeenSet() const { return m_sentLast24HoursHasBeenSet; } /** *

The number of emails sent from your Amazon SES account in the current Amazon * Web Services Region over the past 24 hours.

*/ inline void SetSentLast24Hours(double value) { m_sentLast24HoursHasBeenSet = true; m_sentLast24Hours = value; } /** *

The number of emails sent from your Amazon SES account in the current Amazon * Web Services Region over the past 24 hours.

*/ inline SendQuota& WithSentLast24Hours(double value) { SetSentLast24Hours(value); return *this;} private: double m_max24HourSend; bool m_max24HourSendHasBeenSet = false; double m_maxSendRate; bool m_maxSendRateHasBeenSet = false; double m_sentLast24Hours; bool m_sentLast24HoursHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws