AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
GetSendQuotaResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/email/SES_EXPORTS.h>
9#include <aws/email/model/ResponseMetadata.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace SES {
23namespace Model {
32 public:
33 AWS_SES_API GetSendQuotaResult() = default;
36
38
42 inline double GetMax24HourSend() const { return m_max24HourSend; }
43 inline void SetMax24HourSend(double value) {
44 m_max24HourSendHasBeenSet = true;
45 m_max24HourSend = value;
46 }
47 inline GetSendQuotaResult& WithMax24HourSend(double value) {
48 SetMax24HourSend(value);
49 return *this;
50 }
52
54
59 inline double GetMaxSendRate() const { return m_maxSendRate; }
60 inline void SetMaxSendRate(double value) {
61 m_maxSendRateHasBeenSet = true;
62 m_maxSendRate = value;
63 }
64 inline GetSendQuotaResult& WithMaxSendRate(double value) {
65 SetMaxSendRate(value);
66 return *this;
67 }
69
71
74 inline double GetSentLast24Hours() const { return m_sentLast24Hours; }
75 inline void SetSentLast24Hours(double value) {
76 m_sentLast24HoursHasBeenSet = true;
77 m_sentLast24Hours = value;
78 }
80 SetSentLast24Hours(value);
81 return *this;
82 }
84
86
87 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
88 template <typename ResponseMetadataT = ResponseMetadata>
89 void SetResponseMetadata(ResponseMetadataT&& value) {
90 m_responseMetadataHasBeenSet = true;
91 m_responseMetadata = std::forward<ResponseMetadataT>(value);
92 }
93 template <typename ResponseMetadataT = ResponseMetadata>
94 GetSendQuotaResult& WithResponseMetadata(ResponseMetadataT&& value) {
95 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
96 return *this;
97 }
99 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
100
101 private:
102 double m_max24HourSend{0.0};
103
104 double m_maxSendRate{0.0};
105
106 double m_sentLast24Hours{0.0};
107
108 ResponseMetadata m_responseMetadata;
109 Aws::Http::HttpResponseCode m_HttpResponseCode;
110 bool m_max24HourSendHasBeenSet = false;
111 bool m_maxSendRateHasBeenSet = false;
112 bool m_sentLast24HoursHasBeenSet = false;
113 bool m_responseMetadataHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace SES
118} // namespace Aws
GetSendQuotaResult & WithResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
GetSendQuotaResult & WithSentLast24Hours(double value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetResponseMetadata(ResponseMetadataT &&value)
GetSendQuotaResult & WithMaxSendRate(double value)
AWS_SES_API GetSendQuotaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_SES_API GetSendQuotaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_SES_API GetSendQuotaResult()=default
GetSendQuotaResult & WithMax24HourSend(double value)
Aws::Utils::Xml::XmlDocument XmlDocument