AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendDataPoint.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace SES
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SES_API SendDataPoint();
37 AWS_SES_API SendDataPoint(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_SES_API SendDataPoint& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
49 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
50 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
51 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
52 inline SendDataPoint& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
53 inline SendDataPoint& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
55
57
60 inline long long GetDeliveryAttempts() const{ return m_deliveryAttempts; }
61 inline bool DeliveryAttemptsHasBeenSet() const { return m_deliveryAttemptsHasBeenSet; }
62 inline void SetDeliveryAttempts(long long value) { m_deliveryAttemptsHasBeenSet = true; m_deliveryAttempts = value; }
63 inline SendDataPoint& WithDeliveryAttempts(long long value) { SetDeliveryAttempts(value); return *this;}
65
67
70 inline long long GetBounces() const{ return m_bounces; }
71 inline bool BouncesHasBeenSet() const { return m_bouncesHasBeenSet; }
72 inline void SetBounces(long long value) { m_bouncesHasBeenSet = true; m_bounces = value; }
73 inline SendDataPoint& WithBounces(long long value) { SetBounces(value); return *this;}
75
77
80 inline long long GetComplaints() const{ return m_complaints; }
81 inline bool ComplaintsHasBeenSet() const { return m_complaintsHasBeenSet; }
82 inline void SetComplaints(long long value) { m_complaintsHasBeenSet = true; m_complaints = value; }
83 inline SendDataPoint& WithComplaints(long long value) { SetComplaints(value); return *this;}
85
87
90 inline long long GetRejects() const{ return m_rejects; }
91 inline bool RejectsHasBeenSet() const { return m_rejectsHasBeenSet; }
92 inline void SetRejects(long long value) { m_rejectsHasBeenSet = true; m_rejects = value; }
93 inline SendDataPoint& WithRejects(long long value) { SetRejects(value); return *this;}
95 private:
96
97 Aws::Utils::DateTime m_timestamp;
98 bool m_timestampHasBeenSet = false;
99
100 long long m_deliveryAttempts;
101 bool m_deliveryAttemptsHasBeenSet = false;
102
103 long long m_bounces;
104 bool m_bouncesHasBeenSet = false;
105
106 long long m_complaints;
107 bool m_complaintsHasBeenSet = false;
108
109 long long m_rejects;
110 bool m_rejectsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace SES
115} // namespace Aws
void SetTimestamp(Aws::Utils::DateTime &&value)
void SetTimestamp(const Aws::Utils::DateTime &value)
AWS_SES_API SendDataPoint(const Aws::Utils::Xml::XmlNode &xmlNode)
SendDataPoint & WithDeliveryAttempts(long long value)
void SetComplaints(long long value)
void SetBounces(long long value)
SendDataPoint & WithComplaints(long long value)
AWS_SES_API SendDataPoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SendDataPoint & WithBounces(long long value)
SendDataPoint & WithTimestamp(Aws::Utils::DateTime &&value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
long long GetComplaints() const
void SetDeliveryAttempts(long long value)
void SetRejects(long long value)
SendDataPoint & WithRejects(long long value)
long long GetDeliveryAttempts() const
const Aws::Utils::DateTime & GetTimestamp() const
SendDataPoint & WithTimestamp(const Aws::Utils::DateTime &value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_ostream< char, std::char_traits< char > > OStream