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/pinpoint-email/PinpointEmail_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 PinpointEmail
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_PINPOINTEMAIL_API SendQuota();
35 AWS_PINPOINTEMAIL_API SendQuota(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PINPOINTEMAIL_API SendQuota& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline double GetMax24HourSend() const{ return m_max24HourSend; }
46 inline bool Max24HourSendHasBeenSet() const { return m_max24HourSendHasBeenSet; }
47 inline void SetMax24HourSend(double value) { m_max24HourSendHasBeenSet = true; m_max24HourSend = value; }
48 inline SendQuota& WithMax24HourSend(double value) { SetMax24HourSend(value); return *this;}
50
52
57 inline double GetMaxSendRate() const{ return m_maxSendRate; }
58 inline bool MaxSendRateHasBeenSet() const { return m_maxSendRateHasBeenSet; }
59 inline void SetMaxSendRate(double value) { m_maxSendRateHasBeenSet = true; m_maxSendRate = value; }
60 inline SendQuota& WithMaxSendRate(double value) { SetMaxSendRate(value); return *this;}
62
64
68 inline double GetSentLast24Hours() const{ return m_sentLast24Hours; }
69 inline bool SentLast24HoursHasBeenSet() const { return m_sentLast24HoursHasBeenSet; }
70 inline void SetSentLast24Hours(double value) { m_sentLast24HoursHasBeenSet = true; m_sentLast24Hours = value; }
71 inline SendQuota& WithSentLast24Hours(double value) { SetSentLast24Hours(value); return *this;}
73 private:
74
75 double m_max24HourSend;
76 bool m_max24HourSendHasBeenSet = false;
77
78 double m_maxSendRate;
79 bool m_maxSendRateHasBeenSet = false;
80
81 double m_sentLast24Hours;
82 bool m_sentLast24HoursHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace PinpointEmail
87} // namespace Aws
AWS_PINPOINTEMAIL_API SendQuota()
void SetMaxSendRate(double value)
Definition SendQuota.h:59
AWS_PINPOINTEMAIL_API SendQuota & operator=(Aws::Utils::Json::JsonView jsonValue)
SendQuota & WithMax24HourSend(double value)
Definition SendQuota.h:48
SendQuota & WithSentLast24Hours(double value)
Definition SendQuota.h:71
SendQuota & WithMaxSendRate(double value)
Definition SendQuota.h:60
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMax24HourSend(double value)
Definition SendQuota.h:47
void SetSentLast24Hours(double value)
Definition SendQuota.h:70
AWS_PINPOINTEMAIL_API SendQuota(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue