AWS SDK for C++  1.8.128
AWS SDK for C++
GetSendStatisticsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace SES
26 {
27 namespace Model
28 {
37  {
38  public:
42 
43 
47  inline const Aws::Vector<SendDataPoint>& GetSendDataPoints() const{ return m_sendDataPoints; }
48 
52  inline void SetSendDataPoints(const Aws::Vector<SendDataPoint>& value) { m_sendDataPoints = value; }
53 
57  inline void SetSendDataPoints(Aws::Vector<SendDataPoint>&& value) { m_sendDataPoints = std::move(value); }
58 
62  inline GetSendStatisticsResult& WithSendDataPoints(const Aws::Vector<SendDataPoint>& value) { SetSendDataPoints(value); return *this;}
63 
67  inline GetSendStatisticsResult& WithSendDataPoints(Aws::Vector<SendDataPoint>&& value) { SetSendDataPoints(std::move(value)); return *this;}
68 
72  inline GetSendStatisticsResult& AddSendDataPoints(const SendDataPoint& value) { m_sendDataPoints.push_back(value); return *this; }
73 
77  inline GetSendStatisticsResult& AddSendDataPoints(SendDataPoint&& value) { m_sendDataPoints.push_back(std::move(value)); return *this; }
78 
79 
80 
81  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
82 
83 
84  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
85 
86 
87  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
88 
89 
90  inline GetSendStatisticsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
91 
92 
93  inline GetSendStatisticsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
94 
95  private:
96 
97  Aws::Vector<SendDataPoint> m_sendDataPoints;
98 
99  ResponseMetadata m_responseMetadata;
100  };
101 
102 } // namespace Model
103 } // namespace SES
104 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::GetSendStatisticsResult::SetSendDataPoints
void SetSendDataPoints(const Aws::Vector< SendDataPoint > &value)
Definition: GetSendStatisticsResult.h:52
Aws::SES::Model::GetSendStatisticsResult::GetSendStatisticsResult
GetSendStatisticsResult()
Aws::SES::Model::GetSendStatisticsResult::SetSendDataPoints
void SetSendDataPoints(Aws::Vector< SendDataPoint > &&value)
Definition: GetSendStatisticsResult.h:57
Aws::SES::Model::GetSendStatisticsResult::GetSendDataPoints
const Aws::Vector< SendDataPoint > & GetSendDataPoints() const
Definition: GetSendStatisticsResult.h:47
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SES::Model::GetSendStatisticsResult::WithSendDataPoints
GetSendStatisticsResult & WithSendDataPoints(const Aws::Vector< SendDataPoint > &value)
Definition: GetSendStatisticsResult.h:62
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SES::Model::GetSendStatisticsResult::WithSendDataPoints
GetSendStatisticsResult & WithSendDataPoints(Aws::Vector< SendDataPoint > &&value)
Definition: GetSendStatisticsResult.h:67
AWSVector.h
SendDataPoint.h
Aws::SES::Model::GetSendStatisticsResult::WithResponseMetadata
GetSendStatisticsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetSendStatisticsResult.h:93
Aws::SES::Model::GetSendStatisticsResult::GetSendStatisticsResult
GetSendStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::GetSendStatisticsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetSendStatisticsResult.h:84
Aws::SES::Model::GetSendStatisticsResult::operator=
GetSendStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::GetSendStatisticsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetSendStatisticsResult.h:87
Aws::SES::Model::GetSendStatisticsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetSendStatisticsResult.h:81
Aws::SES::Model::GetSendStatisticsResult::WithResponseMetadata
GetSendStatisticsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetSendStatisticsResult.h:90
ResponseMetadata.h
Aws::SES::Model::GetSendStatisticsResult
Definition: GetSendStatisticsResult.h:37
Aws::SES::Model::GetSendStatisticsResult::AddSendDataPoints
GetSendStatisticsResult & AddSendDataPoints(const SendDataPoint &value)
Definition: GetSendStatisticsResult.h:72
Aws::SES::Model::SendDataPoint
Definition: SendDataPoint.h:34
Aws::SES::Model::GetSendStatisticsResult::AddSendDataPoints
GetSendStatisticsResult & AddSendDataPoints(SendDataPoint &&value)
Definition: GetSendStatisticsResult.h:77