AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
GetSendStatisticsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/email/SES_EXPORTS.h>
10#include <aws/email/model/ResponseMetadata.h>
11#include <aws/email/model/SendDataPoint.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace SES {
25namespace Model {
34 public:
35 AWS_SES_API GetSendStatisticsResult() = default;
38
40
43 inline const Aws::Vector<SendDataPoint>& GetSendDataPoints() const { return m_sendDataPoints; }
44 template <typename SendDataPointsT = Aws::Vector<SendDataPoint>>
45 void SetSendDataPoints(SendDataPointsT&& value) {
46 m_sendDataPointsHasBeenSet = true;
47 m_sendDataPoints = std::forward<SendDataPointsT>(value);
48 }
49 template <typename SendDataPointsT = Aws::Vector<SendDataPoint>>
50 GetSendStatisticsResult& WithSendDataPoints(SendDataPointsT&& value) {
51 SetSendDataPoints(std::forward<SendDataPointsT>(value));
52 return *this;
53 }
54 template <typename SendDataPointsT = SendDataPoint>
55 GetSendStatisticsResult& AddSendDataPoints(SendDataPointsT&& value) {
56 m_sendDataPointsHasBeenSet = true;
57 m_sendDataPoints.emplace_back(std::forward<SendDataPointsT>(value));
58 return *this;
59 }
61
63
64 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
65 template <typename ResponseMetadataT = ResponseMetadata>
66 void SetResponseMetadata(ResponseMetadataT&& value) {
67 m_responseMetadataHasBeenSet = true;
68 m_responseMetadata = std::forward<ResponseMetadataT>(value);
69 }
70 template <typename ResponseMetadataT = ResponseMetadata>
71 GetSendStatisticsResult& WithResponseMetadata(ResponseMetadataT&& value) {
72 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
73 return *this;
74 }
76 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
77
78 private:
79 Aws::Vector<SendDataPoint> m_sendDataPoints;
80
81 ResponseMetadata m_responseMetadata;
82 Aws::Http::HttpResponseCode m_HttpResponseCode;
83 bool m_sendDataPointsHasBeenSet = false;
84 bool m_responseMetadataHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace SES
89} // namespace Aws
AWS_SES_API GetSendStatisticsResult()=default
void SetSendDataPoints(SendDataPointsT &&value)
GetSendStatisticsResult & AddSendDataPoints(SendDataPointsT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
const Aws::Vector< SendDataPoint > & GetSendDataPoints() const
AWS_SES_API GetSendStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_SES_API GetSendStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetSendStatisticsResult & WithResponseMetadata(ResponseMetadataT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const ResponseMetadata & GetResponseMetadata() const
GetSendStatisticsResult & WithSendDataPoints(SendDataPointsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument