/** * 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 AWS Region.

See * Also:

AWS API * Reference

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

The maximum number of emails that you can send in the current AWS Region over * a 24-hour period. This value is also called your sending quota.

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

The maximum number of emails that you can send in the current AWS Region over * a 24-hour period. This value is also called your sending quota.

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

The maximum number of emails that you can send in the current AWS Region over * a 24-hour period. This value is also called 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 AWS Region over * a 24-hour period. This value is also called 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 AWS * 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 AWS * 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 AWS * 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 AWS * 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 AWS * 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 AWS * 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 AWS * 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 AWS * Region over the past 24 hours.

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