AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetSendQuotaResult.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/model/ResponseMetadata.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Xml
19{
20 class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace SES
24{
25namespace Model
26{
35 {
36 public:
37 AWS_SES_API GetSendQuotaResult() = default;
40
41
43
47 inline double GetMax24HourSend() const { return m_max24HourSend; }
48 inline void SetMax24HourSend(double value) { m_max24HourSendHasBeenSet = true; m_max24HourSend = value; }
49 inline GetSendQuotaResult& WithMax24HourSend(double value) { SetMax24HourSend(value); return *this;}
51
53
58 inline double GetMaxSendRate() const { return m_maxSendRate; }
59 inline void SetMaxSendRate(double value) { m_maxSendRateHasBeenSet = true; m_maxSendRate = value; }
60 inline GetSendQuotaResult& WithMaxSendRate(double value) { SetMaxSendRate(value); return *this;}
62
64
67 inline double GetSentLast24Hours() const { return m_sentLast24Hours; }
68 inline void SetSentLast24Hours(double value) { m_sentLast24HoursHasBeenSet = true; m_sentLast24Hours = value; }
69 inline GetSendQuotaResult& WithSentLast24Hours(double value) { SetSentLast24Hours(value); return *this;}
71
73
74 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
75 template<typename ResponseMetadataT = ResponseMetadata>
76 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
77 template<typename ResponseMetadataT = ResponseMetadata>
78 GetSendQuotaResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
80 private:
81
82 double m_max24HourSend{0.0};
83 bool m_max24HourSendHasBeenSet = false;
84
85 double m_maxSendRate{0.0};
86 bool m_maxSendRateHasBeenSet = false;
87
88 double m_sentLast24Hours{0.0};
89 bool m_sentLast24HoursHasBeenSet = false;
90
91 ResponseMetadata m_responseMetadata;
92 bool m_responseMetadataHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SES
97} // namespace Aws
GetSendQuotaResult & WithResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
GetSendQuotaResult & WithSentLast24Hours(double value)
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