AWS SDK for C++  1.9.153
AWS SDK for C++
SendQuota.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace SESV2
20 {
21 namespace Model
22 {
23 
32  {
33  public:
38 
39 
45  inline double GetMax24HourSend() const{ return m_max24HourSend; }
46 
52  inline bool Max24HourSendHasBeenSet() const { return m_max24HourSendHasBeenSet; }
53 
59  inline void SetMax24HourSend(double value) { m_max24HourSendHasBeenSet = true; m_max24HourSend = value; }
60 
66  inline SendQuota& WithMax24HourSend(double value) { SetMax24HourSend(value); return *this;}
67 
68 
74  inline double GetMaxSendRate() const{ return m_maxSendRate; }
75 
81  inline bool MaxSendRateHasBeenSet() const { return m_maxSendRateHasBeenSet; }
82 
88  inline void SetMaxSendRate(double value) { m_maxSendRateHasBeenSet = true; m_maxSendRate = value; }
89 
95  inline SendQuota& WithMaxSendRate(double value) { SetMaxSendRate(value); return *this;}
96 
97 
102  inline double GetSentLast24Hours() const{ return m_sentLast24Hours; }
103 
108  inline bool SentLast24HoursHasBeenSet() const { return m_sentLast24HoursHasBeenSet; }
109 
114  inline void SetSentLast24Hours(double value) { m_sentLast24HoursHasBeenSet = true; m_sentLast24Hours = value; }
115 
120  inline SendQuota& WithSentLast24Hours(double value) { SetSentLast24Hours(value); return *this;}
121 
122  private:
123 
124  double m_max24HourSend;
125  bool m_max24HourSendHasBeenSet;
126 
127  double m_maxSendRate;
128  bool m_maxSendRateHasBeenSet;
129 
130  double m_sentLast24Hours;
131  bool m_sentLast24HoursHasBeenSet;
132  };
133 
134 } // namespace Model
135 } // namespace SESV2
136 } // namespace Aws
Aws::SESV2::Model::SendQuota::WithSentLast24Hours
SendQuota & WithSentLast24Hours(double value)
Definition: SendQuota.h:120
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::SendQuota::GetMax24HourSend
double GetMax24HourSend() const
Definition: SendQuota.h:45
Aws::SESV2::Model::SendQuota::GetSentLast24Hours
double GetSentLast24Hours() const
Definition: SendQuota.h:102
Aws::SESV2::Model::SendQuota::operator=
SendQuota & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::SendQuota::SendQuota
SendQuota()
Aws::SESV2::Model::SendQuota::SetMaxSendRate
void SetMaxSendRate(double value)
Definition: SendQuota.h:88
Aws::SESV2::Model::SendQuota::Max24HourSendHasBeenSet
bool Max24HourSendHasBeenSet() const
Definition: SendQuota.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SESV2::Model::SendQuota
Definition: SendQuota.h:32
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::SendQuota::WithMax24HourSend
SendQuota & WithMax24HourSend(double value)
Definition: SendQuota.h:66
SESV2_EXPORTS.h
Aws::SESV2::Model::SendQuota::SetMax24HourSend
void SetMax24HourSend(double value)
Definition: SendQuota.h:59
Aws::SESV2::Model::SendQuota::SetSentLast24Hours
void SetSentLast24Hours(double value)
Definition: SendQuota.h:114
Aws::SESV2::Model::SendQuota::MaxSendRateHasBeenSet
bool MaxSendRateHasBeenSet() const
Definition: SendQuota.h:81
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::SendQuota::WithMaxSendRate
SendQuota & WithMaxSendRate(double value)
Definition: SendQuota.h:95
Aws::SESV2::Model::SendQuota::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::SendQuota::GetMaxSendRate
double GetMaxSendRate() const
Definition: SendQuota.h:74
Aws::SESV2::Model::SendQuota::SendQuota
SendQuota(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::SendQuota::SentLast24HoursHasBeenSet
bool SentLast24HoursHasBeenSet() const
Definition: SendQuota.h:108