AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeliverabilityTestReport.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/pinpoint-email/model/DeliverabilityTestStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PinpointEmail
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PINPOINTEMAIL_API DeliverabilityTestReport() = default;
38 AWS_PINPOINTEMAIL_API DeliverabilityTestReport(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetReportId() const { return m_reportId; }
48 inline bool ReportIdHasBeenSet() const { return m_reportIdHasBeenSet; }
49 template<typename ReportIdT = Aws::String>
50 void SetReportId(ReportIdT&& value) { m_reportIdHasBeenSet = true; m_reportId = std::forward<ReportIdT>(value); }
51 template<typename ReportIdT = Aws::String>
52 DeliverabilityTestReport& WithReportId(ReportIdT&& value) { SetReportId(std::forward<ReportIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetReportName() const { return m_reportName; }
60 inline bool ReportNameHasBeenSet() const { return m_reportNameHasBeenSet; }
61 template<typename ReportNameT = Aws::String>
62 void SetReportName(ReportNameT&& value) { m_reportNameHasBeenSet = true; m_reportName = std::forward<ReportNameT>(value); }
63 template<typename ReportNameT = Aws::String>
64 DeliverabilityTestReport& WithReportName(ReportNameT&& value) { SetReportName(std::forward<ReportNameT>(value)); return *this;}
66
68
72 inline const Aws::String& GetSubject() const { return m_subject; }
73 inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
74 template<typename SubjectT = Aws::String>
75 void SetSubject(SubjectT&& value) { m_subjectHasBeenSet = true; m_subject = std::forward<SubjectT>(value); }
76 template<typename SubjectT = Aws::String>
77 DeliverabilityTestReport& WithSubject(SubjectT&& value) { SetSubject(std::forward<SubjectT>(value)); return *this;}
79
81
85 inline const Aws::String& GetFromEmailAddress() const { return m_fromEmailAddress; }
86 inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
87 template<typename FromEmailAddressT = Aws::String>
88 void SetFromEmailAddress(FromEmailAddressT&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::forward<FromEmailAddressT>(value); }
89 template<typename FromEmailAddressT = Aws::String>
90 DeliverabilityTestReport& WithFromEmailAddress(FromEmailAddressT&& value) { SetFromEmailAddress(std::forward<FromEmailAddressT>(value)); return *this;}
92
94
98 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
99 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
100 template<typename CreateDateT = Aws::Utils::DateTime>
101 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet = true; m_createDate = std::forward<CreateDateT>(value); }
102 template<typename CreateDateT = Aws::Utils::DateTime>
103 DeliverabilityTestReport& WithCreateDate(CreateDateT&& value) { SetCreateDate(std::forward<CreateDateT>(value)); return *this;}
105
107
115 inline DeliverabilityTestStatus GetDeliverabilityTestStatus() const { return m_deliverabilityTestStatus; }
116 inline bool DeliverabilityTestStatusHasBeenSet() const { return m_deliverabilityTestStatusHasBeenSet; }
117 inline void SetDeliverabilityTestStatus(DeliverabilityTestStatus value) { m_deliverabilityTestStatusHasBeenSet = true; m_deliverabilityTestStatus = value; }
118 inline DeliverabilityTestReport& WithDeliverabilityTestStatus(DeliverabilityTestStatus value) { SetDeliverabilityTestStatus(value); return *this;}
120 private:
121
122 Aws::String m_reportId;
123 bool m_reportIdHasBeenSet = false;
124
125 Aws::String m_reportName;
126 bool m_reportNameHasBeenSet = false;
127
128 Aws::String m_subject;
129 bool m_subjectHasBeenSet = false;
130
131 Aws::String m_fromEmailAddress;
132 bool m_fromEmailAddressHasBeenSet = false;
133
134 Aws::Utils::DateTime m_createDate{};
135 bool m_createDateHasBeenSet = false;
136
137 DeliverabilityTestStatus m_deliverabilityTestStatus{DeliverabilityTestStatus::NOT_SET};
138 bool m_deliverabilityTestStatusHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace PinpointEmail
143} // namespace Aws
void SetDeliverabilityTestStatus(DeliverabilityTestStatus value)
DeliverabilityTestReport & WithCreateDate(CreateDateT &&value)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
DeliverabilityTestReport & WithReportId(ReportIdT &&value)
AWS_PINPOINTEMAIL_API DeliverabilityTestReport()=default
DeliverabilityTestReport & WithSubject(SubjectT &&value)
DeliverabilityTestReport & WithReportName(ReportNameT &&value)
DeliverabilityTestReport & WithDeliverabilityTestStatus(DeliverabilityTestStatus value)
DeliverabilityTestReport & WithFromEmailAddress(FromEmailAddressT &&value)
AWS_PINPOINTEMAIL_API DeliverabilityTestReport & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API DeliverabilityTestReport(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue