AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendQuota.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SESV2
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_SESV2_API SendQuota();
35 AWS_SESV2_API SendQuota(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline double GetMax24HourSend() const{ return m_max24HourSend; }
47 inline bool Max24HourSendHasBeenSet() const { return m_max24HourSendHasBeenSet; }
48 inline void SetMax24HourSend(double value) { m_max24HourSendHasBeenSet = true; m_max24HourSend = value; }
49 inline SendQuota& WithMax24HourSend(double value) { SetMax24HourSend(value); return *this;}
51
53
58 inline double GetMaxSendRate() const{ return m_maxSendRate; }
59 inline bool MaxSendRateHasBeenSet() const { return m_maxSendRateHasBeenSet; }
60 inline void SetMaxSendRate(double value) { m_maxSendRateHasBeenSet = true; m_maxSendRate = value; }
61 inline SendQuota& WithMaxSendRate(double value) { SetMaxSendRate(value); return *this;}
63
65
69 inline double GetSentLast24Hours() const{ return m_sentLast24Hours; }
70 inline bool SentLast24HoursHasBeenSet() const { return m_sentLast24HoursHasBeenSet; }
71 inline void SetSentLast24Hours(double value) { m_sentLast24HoursHasBeenSet = true; m_sentLast24Hours = value; }
72 inline SendQuota& WithSentLast24Hours(double value) { SetSentLast24Hours(value); return *this;}
74 private:
75
76 double m_max24HourSend;
77 bool m_max24HourSendHasBeenSet = false;
78
79 double m_maxSendRate;
80 bool m_maxSendRateHasBeenSet = false;
81
82 double m_sentLast24Hours;
83 bool m_sentLast24HoursHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SESV2
88} // namespace Aws
bool Max24HourSendHasBeenSet() const
Definition SendQuota.h:47
void SetSentLast24Hours(double value)
Definition SendQuota.h:71
AWS_SESV2_API SendQuota & operator=(Aws::Utils::Json::JsonView jsonValue)
SendQuota & WithMax24HourSend(double value)
Definition SendQuota.h:49
bool SentLast24HoursHasBeenSet() const
Definition SendQuota.h:70
AWS_SESV2_API SendQuota(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
double GetMaxSendRate() const
Definition SendQuota.h:58
bool MaxSendRateHasBeenSet() const
Definition SendQuota.h:59
void SetMax24HourSend(double value)
Definition SendQuota.h:48
SendQuota & WithMaxSendRate(double value)
Definition SendQuota.h:61
double GetSentLast24Hours() const
Definition SendQuota.h:69
SendQuota & WithSentLast24Hours(double value)
Definition SendQuota.h:72
double GetMax24HourSend() const
Definition SendQuota.h:46
void SetMaxSendRate(double value)
Definition SendQuota.h:60
Aws::Utils::Json::JsonValue JsonValue