AWS SDK for C++  0.12.9
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 {
36  {
37  public:
41 
46  inline double GetMax24HourSend() const{ return m_max24HourSend; }
47 
52  inline void SetMax24HourSend(double value) { m_max24HourSend = value; }
53 
58  inline GetSendQuotaResult& WithMax24HourSend(double value) { SetMax24HourSend(value); return *this;}
59 
65  inline double GetMaxSendRate() const{ return m_maxSendRate; }
66 
72  inline void SetMaxSendRate(double value) { m_maxSendRate = value; }
73 
79  inline GetSendQuotaResult& WithMaxSendRate(double value) { SetMaxSendRate(value); return *this;}
80 
84  inline double GetSentLast24Hours() const{ return m_sentLast24Hours; }
85 
89  inline void SetSentLast24Hours(double value) { m_sentLast24Hours = value; }
90 
94  inline GetSendQuotaResult& WithSentLast24Hours(double value) { SetSentLast24Hours(value); return *this;}
95 
96 
97  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
98 
99 
100  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
101 
102 
103  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
104 
105 
106  inline GetSendQuotaResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
107 
108 
109  inline GetSendQuotaResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
110 
111  private:
112  double m_max24HourSend;
113  double m_maxSendRate;
114  double m_sentLast24Hours;
115  ResponseMetadata m_responseMetadata;
116  };
117 
118 } // namespace Model
119 } // namespace SES
120 } // 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:34
JSON (JavaScript Object Notation).