AWS SDK for C++  1.8.129
AWS SDK for C++
SendDataPoint.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SES
22 {
23 namespace Model
24 {
25 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
48 
52  inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
53 
57  inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
58 
62  inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
63 
67  inline SendDataPoint& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
68 
72  inline SendDataPoint& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
73 
74 
78  inline long long GetDeliveryAttempts() const{ return m_deliveryAttempts; }
79 
83  inline bool DeliveryAttemptsHasBeenSet() const { return m_deliveryAttemptsHasBeenSet; }
84 
88  inline void SetDeliveryAttempts(long long value) { m_deliveryAttemptsHasBeenSet = true; m_deliveryAttempts = value; }
89 
93  inline SendDataPoint& WithDeliveryAttempts(long long value) { SetDeliveryAttempts(value); return *this;}
94 
95 
99  inline long long GetBounces() const{ return m_bounces; }
100 
104  inline bool BouncesHasBeenSet() const { return m_bouncesHasBeenSet; }
105 
109  inline void SetBounces(long long value) { m_bouncesHasBeenSet = true; m_bounces = value; }
110 
114  inline SendDataPoint& WithBounces(long long value) { SetBounces(value); return *this;}
115 
116 
120  inline long long GetComplaints() const{ return m_complaints; }
121 
125  inline bool ComplaintsHasBeenSet() const { return m_complaintsHasBeenSet; }
126 
130  inline void SetComplaints(long long value) { m_complaintsHasBeenSet = true; m_complaints = value; }
131 
135  inline SendDataPoint& WithComplaints(long long value) { SetComplaints(value); return *this;}
136 
137 
141  inline long long GetRejects() const{ return m_rejects; }
142 
146  inline bool RejectsHasBeenSet() const { return m_rejectsHasBeenSet; }
147 
151  inline void SetRejects(long long value) { m_rejectsHasBeenSet = true; m_rejects = value; }
152 
156  inline SendDataPoint& WithRejects(long long value) { SetRejects(value); return *this;}
157 
158  private:
159 
160  Aws::Utils::DateTime m_timestamp;
161  bool m_timestampHasBeenSet;
162 
163  long long m_deliveryAttempts;
164  bool m_deliveryAttemptsHasBeenSet;
165 
166  long long m_bounces;
167  bool m_bouncesHasBeenSet;
168 
169  long long m_complaints;
170  bool m_complaintsHasBeenSet;
171 
172  long long m_rejects;
173  bool m_rejectsHasBeenSet;
174  };
175 
176 } // namespace Model
177 } // namespace SES
178 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SES::Model::SendDataPoint::WithComplaints
SendDataPoint & WithComplaints(long long value)
Definition: SendDataPoint.h:135
Aws::SES::Model::SendDataPoint::WithRejects
SendDataPoint & WithRejects(long long value)
Definition: SendDataPoint.h:156
Aws::SES::Model::SendDataPoint::WithDeliveryAttempts
SendDataPoint & WithDeliveryAttempts(long long value)
Definition: SendDataPoint.h:93
Aws::SES::Model::SendDataPoint::GetDeliveryAttempts
long long GetDeliveryAttempts() const
Definition: SendDataPoint.h:78
DateTime.h
Aws::SES::Model::SendDataPoint::GetTimestamp
const Aws::Utils::DateTime & GetTimestamp() const
Definition: SendDataPoint.h:47
Aws::SES::Model::SendDataPoint::SendDataPoint
SendDataPoint(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::SendDataPoint::WithTimestamp
SendDataPoint & WithTimestamp(Aws::Utils::DateTime &&value)
Definition: SendDataPoint.h:72
Aws::SES::Model::SendDataPoint::operator=
SendDataPoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::SES::Model::SendDataPoint::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::SendDataPoint::RejectsHasBeenSet
bool RejectsHasBeenSet() const
Definition: SendDataPoint.h:146
Aws::SES::Model::SendDataPoint::GetRejects
long long GetRejects() const
Definition: SendDataPoint.h:141
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::SendDataPoint::TimestampHasBeenSet
bool TimestampHasBeenSet() const
Definition: SendDataPoint.h:52
Aws::SES::Model::SendDataPoint::SetRejects
void SetRejects(long long value)
Definition: SendDataPoint.h:151
Aws::SES::Model::SendDataPoint::ComplaintsHasBeenSet
bool ComplaintsHasBeenSet() const
Definition: SendDataPoint.h:125
Aws::SES::Model::SendDataPoint::SetBounces
void SetBounces(long long value)
Definition: SendDataPoint.h:109
Aws::SES::Model::SendDataPoint::DeliveryAttemptsHasBeenSet
bool DeliveryAttemptsHasBeenSet() const
Definition: SendDataPoint.h:83
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::SendDataPoint::WithTimestamp
SendDataPoint & WithTimestamp(const Aws::Utils::DateTime &value)
Definition: SendDataPoint.h:67
Aws::SES::Model::SendDataPoint::WithBounces
SendDataPoint & WithBounces(long long value)
Definition: SendDataPoint.h:114
Aws::SES::Model::SendDataPoint::SetTimestamp
void SetTimestamp(Aws::Utils::DateTime &&value)
Definition: SendDataPoint.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::SendDataPoint::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
index
int index
Definition: cJSON.h:171
Aws::SES::Model::SendDataPoint::GetBounces
long long GetBounces() const
Definition: SendDataPoint.h:99
Aws::SES::Model::SendDataPoint::SetTimestamp
void SetTimestamp(const Aws::Utils::DateTime &value)
Definition: SendDataPoint.h:57
Aws::SES::Model::SendDataPoint::SendDataPoint
SendDataPoint()
Aws::SES::Model::SendDataPoint::GetComplaints
long long GetComplaints() const
Definition: SendDataPoint.h:120
Aws::SES::Model::SendDataPoint::BouncesHasBeenSet
bool BouncesHasBeenSet() const
Definition: SendDataPoint.h:104
Aws::SES::Model::SendDataPoint
Definition: SendDataPoint.h:34
Aws::SES::Model::SendDataPoint::SetDeliveryAttempts
void SetDeliveryAttempts(long long value)
Definition: SendDataPoint.h:88
Aws::SES::Model::SendDataPoint::SetComplaints
void SetComplaints(long long value)
Definition: SendDataPoint.h:130