AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetSendStatisticsResult.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/email/model/ResponseMetadata.h>
10#include <aws/email/model/SendDataPoint.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace SES
26{
27namespace Model
28{
37 {
38 public:
39 AWS_SES_API GetSendStatisticsResult() = default;
42
43
45
48 inline const Aws::Vector<SendDataPoint>& GetSendDataPoints() const { return m_sendDataPoints; }
49 template<typename SendDataPointsT = Aws::Vector<SendDataPoint>>
50 void SetSendDataPoints(SendDataPointsT&& value) { m_sendDataPointsHasBeenSet = true; m_sendDataPoints = std::forward<SendDataPointsT>(value); }
51 template<typename SendDataPointsT = Aws::Vector<SendDataPoint>>
52 GetSendStatisticsResult& WithSendDataPoints(SendDataPointsT&& value) { SetSendDataPoints(std::forward<SendDataPointsT>(value)); return *this;}
53 template<typename SendDataPointsT = SendDataPoint>
54 GetSendStatisticsResult& AddSendDataPoints(SendDataPointsT&& value) { m_sendDataPointsHasBeenSet = true; m_sendDataPoints.emplace_back(std::forward<SendDataPointsT>(value)); return *this; }
56
58
59 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
60 template<typename ResponseMetadataT = ResponseMetadata>
61 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
62 template<typename ResponseMetadataT = ResponseMetadata>
63 GetSendStatisticsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
65 private:
66
67 Aws::Vector<SendDataPoint> m_sendDataPoints;
68 bool m_sendDataPointsHasBeenSet = false;
69
70 ResponseMetadata m_responseMetadata;
71 bool m_responseMetadataHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SES
76} // 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)
const ResponseMetadata & GetResponseMetadata() const
GetSendStatisticsResult & WithSendDataPoints(SendDataPointsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument