AWS SDK for C++  0.14.3
AWS SDK for C++
GetSendQuotaResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/email/SES_EXPORTS.h>
18 
19 namespace Aws
20 {
21 template<typename RESULT_TYPE>
22 class AmazonWebServiceResult;
23 
24 namespace Utils
25 {
26 namespace Xml
27 {
28  class XmlDocument;
29 } // namespace Xml
30 } // namespace Utils
31 namespace SES
32 {
33 namespace Model
34 {
40  {
41  public:
45 
50  inline double GetMax24HourSend() const{ return m_max24HourSend; }
51 
56  inline void SetMax24HourSend(double value) { m_max24HourSend = value; }
57 
62  inline GetSendQuotaResult& WithMax24HourSend(double value) { SetMax24HourSend(value); return *this;}
63 
69  inline double GetMaxSendRate() const{ return m_maxSendRate; }
70 
76  inline void SetMaxSendRate(double value) { m_maxSendRate = value; }
77 
83  inline GetSendQuotaResult& WithMaxSendRate(double value) { SetMaxSendRate(value); return *this;}
84 
88  inline double GetSentLast24Hours() const{ return m_sentLast24Hours; }
89 
93  inline void SetSentLast24Hours(double value) { m_sentLast24Hours = value; }
94 
98  inline GetSendQuotaResult& WithSentLast24Hours(double value) { SetSentLast24Hours(value); return *this;}
99 
100 
101  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
102 
103 
104  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
105 
106 
107  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
108 
109 
110  inline GetSendQuotaResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
111 
112 
113  inline GetSendQuotaResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
114 
115  private:
116  double m_max24HourSend;
117  double m_maxSendRate;
118  double m_sentLast24Hours;
119  ResponseMetadata m_responseMetadata;
120  };
121 
122 } // namespace Model
123 } // namespace SES
124 } // namespace Aws
const ResponseMetadata & GetResponseMetadata() const
GetSendQuotaResult & WithMax24HourSend(double value)
GetSendQuotaResult & WithSentLast24Hours(double value)
GetSendQuotaResult & WithResponseMetadata(const ResponseMetadata &value)
void SetResponseMetadata(const ResponseMetadata &value)
GetSendQuotaResult & WithMaxSendRate(double value)
void SetResponseMetadata(ResponseMetadata &&value)
GetSendQuotaResult & WithResponseMetadata(ResponseMetadata &&value)
#define AWS_SES_API
Definition: SES_EXPORTS.h:37
JSON (JavaScript Object Notation).