AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventDetails.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/Bounce.h>
9#include <aws/sesv2/model/Complaint.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SESV2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SESV2_API EventDetails();
38 AWS_SESV2_API EventDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Bounce& GetBounce() const{ return m_bounce; }
48 inline bool BounceHasBeenSet() const { return m_bounceHasBeenSet; }
49 inline void SetBounce(const Bounce& value) { m_bounceHasBeenSet = true; m_bounce = value; }
50 inline void SetBounce(Bounce&& value) { m_bounceHasBeenSet = true; m_bounce = std::move(value); }
51 inline EventDetails& WithBounce(const Bounce& value) { SetBounce(value); return *this;}
52 inline EventDetails& WithBounce(Bounce&& value) { SetBounce(std::move(value)); return *this;}
54
56
59 inline const Complaint& GetComplaint() const{ return m_complaint; }
60 inline bool ComplaintHasBeenSet() const { return m_complaintHasBeenSet; }
61 inline void SetComplaint(const Complaint& value) { m_complaintHasBeenSet = true; m_complaint = value; }
62 inline void SetComplaint(Complaint&& value) { m_complaintHasBeenSet = true; m_complaint = std::move(value); }
63 inline EventDetails& WithComplaint(const Complaint& value) { SetComplaint(value); return *this;}
64 inline EventDetails& WithComplaint(Complaint&& value) { SetComplaint(std::move(value)); return *this;}
66 private:
67
68 Bounce m_bounce;
69 bool m_bounceHasBeenSet = false;
70
71 Complaint m_complaint;
72 bool m_complaintHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SESV2
77} // namespace Aws
AWS_SESV2_API EventDetails(Aws::Utils::Json::JsonView jsonValue)
EventDetails & WithComplaint(Complaint &&value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Bounce & GetBounce() const
EventDetails & WithComplaint(const Complaint &value)
void SetBounce(const Bounce &value)
void SetComplaint(Complaint &&value)
EventDetails & WithBounce(const Bounce &value)
void SetBounce(Bounce &&value)
void SetComplaint(const Complaint &value)
AWS_SESV2_API EventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
EventDetails & WithBounce(Bounce &&value)
const Complaint & GetComplaint() const
Aws::Utils::Json::JsonValue JsonValue