AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
SendQuota.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SESV2 {
17namespace Model {
18
26class SendQuota {
27 public:
28 AWS_SESV2_API SendQuota() = default;
29 AWS_SESV2_API SendQuota(Aws::Utils::Json::JsonView jsonValue);
31 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
39 inline double GetMax24HourSend() const { return m_max24HourSend; }
40 inline bool Max24HourSendHasBeenSet() const { return m_max24HourSendHasBeenSet; }
41 inline void SetMax24HourSend(double value) {
42 m_max24HourSendHasBeenSet = true;
43 m_max24HourSend = value;
44 }
45 inline SendQuota& WithMax24HourSend(double value) {
46 SetMax24HourSend(value);
47 return *this;
48 }
50
52
57 inline double GetMaxSendRate() const { return m_maxSendRate; }
58 inline bool MaxSendRateHasBeenSet() const { return m_maxSendRateHasBeenSet; }
59 inline void SetMaxSendRate(double value) {
60 m_maxSendRateHasBeenSet = true;
61 m_maxSendRate = value;
62 }
63 inline SendQuota& WithMaxSendRate(double value) {
64 SetMaxSendRate(value);
65 return *this;
66 }
68
70
74 inline double GetSentLast24Hours() const { return m_sentLast24Hours; }
75 inline bool SentLast24HoursHasBeenSet() const { return m_sentLast24HoursHasBeenSet; }
76 inline void SetSentLast24Hours(double value) {
77 m_sentLast24HoursHasBeenSet = true;
78 m_sentLast24Hours = value;
79 }
80 inline SendQuota& WithSentLast24Hours(double value) {
81 SetSentLast24Hours(value);
82 return *this;
83 }
85 private:
86 double m_max24HourSend{0.0};
87
88 double m_maxSendRate{0.0};
89
90 double m_sentLast24Hours{0.0};
91 bool m_max24HourSendHasBeenSet = false;
92 bool m_maxSendRateHasBeenSet = false;
93 bool m_sentLast24HoursHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace SESV2
98} // namespace Aws
bool Max24HourSendHasBeenSet() const
Definition SendQuota.h:40
void SetSentLast24Hours(double value)
Definition SendQuota.h:76
AWS_SESV2_API SendQuota & operator=(Aws::Utils::Json::JsonView jsonValue)
SendQuota & WithMax24HourSend(double value)
Definition SendQuota.h:45
bool SentLast24HoursHasBeenSet() const
Definition SendQuota.h:75
AWS_SESV2_API SendQuota(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
double GetMaxSendRate() const
Definition SendQuota.h:57
bool MaxSendRateHasBeenSet() const
Definition SendQuota.h:58
void SetMax24HourSend(double value)
Definition SendQuota.h:41
SendQuota & WithMaxSendRate(double value)
Definition SendQuota.h:63
double GetSentLast24Hours() const
Definition SendQuota.h:74
SendQuota & WithSentLast24Hours(double value)
Definition SendQuota.h:80
double GetMax24HourSend() const
Definition SendQuota.h:39
AWS_SESV2_API SendQuota()=default
void SetMaxSendRate(double value)
Definition SendQuota.h:59
Aws::Utils::Json::JsonValue JsonValue